libs/gst/controller/gstcontroller.*: Clarify the docs of gst_controller_get_value_arr...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2
3         * libs/gst/controller/gstcontroller.c:
4         (gst_controller_get_value_array):
5         * libs/gst/controller/gstcontroller.h:
6         Clarify the docs of gst_controller_get_value_array(): The array where
7         the values should be written to must be allocated as there seems to be
8         no way to get the size of a random GType. This doesn't change any
9         behaviour. Also fix some typos all over the place and remove an unused,
10         commented function that is not necessary as g_object_set() could be
11         used instead.
12         * tests/check/libs/controller.c: (GST_START_TEST),
13         (gst_controller_suite):
14         Add unit test for gst_controller_get_value_array().
15
16 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
17
18         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
19
20         Disable part of the gst_buffer_try_new_and_alloc test, because
21         it can happily succeed on 64-bit systems where there's more address
22         space available.
23
24 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
25
26         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
27         Add unit test for the improved caps checking from bug #421543.
28
29 2007-05-21  Wim Taymans  <wim@fluendo.com>
30
31         * docs/design/part-synchronisation.txt:
32         Small addition.
33
34         * gst/gstbin.c: (gst_bin_query):
35         * plugins/elements/gstqueue.c: (apply_segment):
36         Improve debugging.
37
38         * gst/gstmessage.h:
39         Improve docs.
40
41 2007-05-21  Wim Taymans  <wim@fluendo.com>
42
43         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
44         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
45         (gst_pad_configure_src):
46         Added simple version of improved caps checking. It was previously
47         assumed that a setcaps function would check the validity of the caps but
48         people prefer us to check caps against the template automatically. 
49         Fixes #421543.
50
51 2007-05-21  Wim Taymans  <wim@fluendo.com>
52
53         * libs/gst/base/gstbasetransform.h:
54         Fix macro for locking/unlocking the transform lock.
55
56 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
57
58         * docs/plugins/tmpl/.cvsignore:
59           Ignore more.
60
61 2007-05-18  Edward Hervey  <edward@fluendo.com>
62
63         * plugins/elements/gstqueue.c: (gst_queue_loop):
64         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
65         for the subtle art of warning a potentially blocking thread that it
66         should check the source pad return value, and relay the information
67         upstream.
68
69 2007-05-18  Edward Hervey  <edward@fluendo.com>
70
71         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
72         Release the queue lock !
73
74 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
75
76         * docs/libs/gstreamer-libs-sections.txt:
77         Add the two new controller functions to the appropiate places.
78
79 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
80
81         reviewed by: Stefan Kost <ensonic@users.sf.net>
82
83         * libs/gst/controller/gstcontroller.c:
84         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
85         (_gst_controller_get_property), (_gst_controller_set_property),
86         (_gst_controller_init), (_gst_controller_class_init):
87         * libs/gst/controller/gstcontroller.h:
88         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
89         (gst_object_get_control_rate), (gst_object_set_control_rate):
90         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
91         Add API that provides sync suggestion timestamps for elements that
92         call gst_object_sync_values() from which those elements can subdivide
93         their processing loop to get the best results for the controlled
94         properties. For now it just suggests last_sync + control_rate as
95         new timestamp but this will be improved in the future.
96
97         While doing that change the control-rate property to a GstClockTime
98         from guint and change it's meaning from samples to nanoseconds as
99         the GstController doesn't know anything about sampling rate. Strictly
100         speaking this breaks ABI but as the control-rate property didn't do
101         anything in the past and as such couldn't be used this should be no
102         problem.        
103
104 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
105
106         reviewed by: Stefan Kost <ensonic@users.sf.net>
107
108         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
109         (gst_controller_unset_all):
110         * libs/gst/controller/gstcontrollerprivate.h:
111         * libs/gst/controller/gstinterpolation.c:
112         (gst_controlled_property_find_control_point_node):
113         Save last synced value from the list to continue searching from there
114         in future syncs. This speeds everything up a bit.
115         
116 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
117
118         reviewed by: Stefan Kost <ensonic@users.sf.net>
119
120         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
121         (gst_control_point_find), (gst_controlled_property_new),
122         (gst_control_point_free), (gst_controlled_property_free),
123         (gst_controller_set), (gst_controller_set_from_list),
124         (gst_controller_unset), (gst_controller_unset_all),
125         (gst_controller_sync_values):
126         * libs/gst/controller/gstcontroller.h:
127         * libs/gst/controller/gstcontrollerprivate.h:
128         * libs/gst/controller/gstinterpolation.c:
129         (gst_controlled_property_find_control_point_node),
130         (interpolate_none_get), (interpolate_trigger_get):
131         Add a new private GstControlPoint struct which "inherits" from
132         GstTimedValue to allow different interpolators to store internal
133         values next to each control point. From the outside everything is
134         still a GstControlPoint so we don't loose binary compatibility.
135         Also fixup all the GValue handling to not leak GValues or list nodes.
136         * tests/check/libs/controller.c: (GST_START_TEST):
137         Free the list nodes and GValues in the controller_misc test.
138
139 2007-05-17  Edward Hervey  <edward@fluendo.com>
140
141         * gst/gstsegment.c:
142         Small doc fix.
143
144 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
145
146         * gst/gstplugin.c: (gst_plugin_load_file):
147           If we fail to load a plugin because of unresolved symbols or missing
148           libraries and spew a warning to stderr, we may just as well mention
149           which plugin it was that failed to load.
150
151 2007-05-13  David Schleef  <ds@schleef.org>
152
153         * docs/Makefile.am: the gtk-doc makefile snippet correctly
154           handles the case when ENABLE_GTK_DOC is false, and installs
155           the prebuilt documentation.  So gtk-doc subdirs are 
156           unconditionally enabled.  Fixes: #349099.
157
158 2007-05-13  David Schleef  <ds@schleef.org>
159
160         * gst/gstutils.h: Reword some documentation.
161
162 2007-05-12  David Schleef  <ds@schleef.org>
163
164         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
165           do anything with the passed "module" parameter, so remove it.
166           Allows removal of additional vestigal code.
167
168 2007-05-12  David Schleef  <ds@schleef.org>
169
170         * gst/gstplugin.c:
171           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
172           Switch to using g_stat() because it's more portable.
173
174 2007-05-12  David Schleef  <ds@schleef.org>
175
176         * gst/gst.c:
177           Add GST_DISABLE_OPTION_PARSING, in order to disable option
178           parsing for embedded systems.
179         * gst/gstelementfactory.c:
180           Allow gst_element_register() to be called with plugin==NULL.
181           Did nobody notice that static elements were broken?
182
183 2007-05-12  Wim Taymans  <wim@fluendo.com>
184
185         * tools/gst-launch.c: (event_loop):
186         Give more interesting info when buffering starts and stops.
187         Fix case where buffering starts but we fail to update the buffering flag
188         because the target state is not PLAYING.
189
190 2007-05-12  Wim Taymans  <wim@fluendo.com>
191
192         * plugins/elements/gstqueue.c: (gst_queue_init),
193         (gst_queue_finalize), (update_time_level), (apply_segment),
194         (apply_buffer), (gst_queue_locked_flush),
195         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
196         (gst_queue_handle_sink_event), (gst_queue_chain),
197         (gst_queue_push_one), (gst_queue_loop):
198         * plugins/elements/gstqueue.h:
199         Refactor an cleanup queue a bit.
200         Do better time level calculations that also work when the srcpad is not
201         yet running.
202         Remove some unneeded debug lines.
203
204         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
205         Added testcase for time level measurement.
206         Try to make some stuff more racefree.
207
208 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
209
210         * gst/gsturi.c: (gst_element_make_from_uri):
211           Don't leak plugin feature.
212
213         * tests/check/Makefile.am:
214         * tests/check/gst/.cvsignore:
215         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
216           Add brain-dead unit test.
217
218 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
219
220         Patch by: Jeroen Wouters <woutersj at gmail com>
221
222         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
223           Treat protocol strings in a case-insensitive way (#437563).
224
225 2007-05-11  Michael Smith <msmith@fluendo.com>
226
227         * gst/gstplugin.c: (gst_plugin_load_file):
228         * gst/gstregistry.c: (gst_registry_scan_path_level):
229           Don't print a g_warning for any failure to load a shared object.
230           Instead, push this down into gstplugin.c, and warn _only_ if we
231           failed to open the module (i.e. failure to link).
232           Avoids warnings on normal, working, non-plugin .so files.
233
234 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
235
236         * gst/gstplugin.c (gst_plugin_load_file):
237         * gst/gstregistry.c (GST_CAT_DEFAULT,
238           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
239           Print a g_warning if there was an error when loading a plugins during
240           registry scan. The shuld help beginners starting with gst-plugin
241           template.
242
243 2007-05-10  Wim Taymans  <wim@fluendo.com>
244
245         * plugins/elements/gstqueue.c: (gst_queue_class_init),
246         (update_time_level), (gst_queue_locked_flush),
247         (gst_queue_handle_sink_event), (gst_queue_chain),
248         (gst_queue_push_one), (gst_queue_loop):
249         * plugins/elements/gstqueue.h:
250         Be smarter when calculating the current amount of data in the queue by
251         measuring the difference between start and end timestamps (in running
252         time) inside the queue. Fixes #432876.
253         API: GstQueue::pushing to notify elements that we are pushing data again
254         since the running signal is rather broken for this purpose.
255
256 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
257
258         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
259           gst_queue_base_init, gst_queue_init):
260           use GST_BOILERPLATE
261
262 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
263
264         * win32/common/libgstreamer.def:
265         Add new exported functions.
266         * win32/vs6/grammar.dsp:
267         Use grammar pre-generated files.
268
269 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
270
271         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
272
273         * gst/Makefile.am:
274         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
275         * gst/gstparse.h:
276         * gst/gstutils.c: (gst_parse_bin_from_description):
277         * gst/gstutils.h:
278           Maintain API and ABI when --disable-parse is used. Now that
279           we have an appropriate error code, we can just return NULL and the
280           appropriate error when gst_parse_launch() is used despite it having
281           been disabled (#342564).
282
283         * tests/check/Makefile.am:
284         * tests/check/pipelines/.cvsignore:
285         * tests/check/pipelines/parse-disabled.c:
286           Make sure these functions exist and return NULL plus a GError when
287           --disable-parse is used.
288
289 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
290
291         * tests/benchmarks/complexity.c: (main):
292         * tests/benchmarks/mass-elements.c: (main):
293           Set a good example and don't leak messages.
294
295 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
296
297         * docs/gst/Makefile.am:
298         * docs/libs/Makefile.am:
299           Correct fixxrefs options.
300
301         * docs/plugins/Makefile.am:
302         * docs/plugins/gstreamer-plugins-docs.sgml:
303         * docs/plugins/gstreamer-plugins-sections.txt:
304         * plugins/elements/Makefile.am:
305         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
306         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
307           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
308           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
309           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
310           _GstCapsFilterClass, trans_class):
311         * plugins/elements/gstelements.c (name, rank, type, _elements):
312         * plugins/elements/gstidentity.c
313           (gst_identity_check_imperfect_timestamp,
314           gst_identity_check_imperfect_offset):
315           Document capsfilter and add doc-blurb to identity.
316
317 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
318
319         * libs/gst/controller/gstcontroller.c:
320         (gst_controlled_property_set_interpolation_mode):
321         * libs/gst/controller/gstinterpolation.c:
322           Don't crash if someone tries to set an interpolation mode that
323           is invalid or that isn't supported yet. Fixes #422295.
324
325         * tests/check/libs/controller.c: (GST_START_TEST),
326         (gst_controller_suite):
327           Add a test case for the above.
328
329 2007-05-03  Edward Hervey  <edward@fluendo.com>
330
331         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
332         Properly set the last_stop position on GstSegment. This will only happen
333         if there is a buffer to push out.
334
335 2007-05-03  Wim Taymans  <wim@fluendo.com>
336
337         * libs/gst/base/gstbasetransform.c:
338         (gst_base_transform_buffer_alloc):
339         always_in_place does not mean that the sink and source caps are the
340         same! Make sure we don't blindly proxy the buffer_alloc in this case.
341
342 2007-05-03  Wim Taymans  <wim@fluendo.com>
343
344         * docs/libs/gstreamer-libs-sections.txt:
345         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
346         (gst_base_src_default_query), (gst_base_src_get_range):
347         * libs/gst/base/gstbasesrc.h:
348         API: gst_base_src_query_latency(). Added method so that subclasses can
349         easily get the latency values of the base source class.
350
351 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
352
353         * tools/gst-inspect.c (print_implementation_info):
354         Remove 0.8 cruft.
355
356 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
357
358         * tools/Makefile.am:
359         * tools/gst-launch.1.in:
360           Don't create a customised man page based on the host architecture,
361           describe the default registry path generically. That way the man
362           page is the same for all architectures and packagers have one
363           multilib issue less to deal with. Fixes #434926.
364
365 2007-05-02  Wim Taymans  <wim@fluendo.com>
366
367         * gst/gstpad.c:
368         Fix documentation as spotted by rg on IRC. 
369
370 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
371
372         * gst/gstutils.c:
373           Improve docs for gst_element_{link,unlink}.
374
375 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
376
377         * docs/design/part-events.txt:
378         * docs/design/part-overview.txt:
379         * gst/gstevent.c:
380         * gst/gsturi.c:
381         * gst/gsturi.h:
382         * libs/gst/base/gstbasesink.c:
383           Typo fixes; minor docs addition.
384
385 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
386
387         * docs/gst/gstreamer-sections.txt:
388         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
389         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
390         * gst/gsturi.h:
391         API: Add gst_uri_protocol_is_supported(), which checks if an sink
392         or src that supports a given URI protocol exists.
393
394 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
395
396         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
397         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
398         Set the location to NULL if "file://" is set as URI. Otherwise
399         some random previous URI would still be set if "file://" is
400         set on an already used filesink/filesrc.
401
402 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
403
404         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
405         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
406         Special case the "file://" URI as as this is used by some
407         applications to test with gst_element_make_from_uri if there's
408         an element that supports the URI protocol.
409         Also move the g_path_is_absolute() check for the location part
410         of the URI to also check this for "file://localhost/bla" URIs.
411
412 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
413
414         * docs/gst/gstreamer-sections.txt:
415         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
416         * gst/gstbuffer.h:
417         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
418         (gst_buffer_suite):
419           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
420
421 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
422
423         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
424         (gst_registry_binary_load_pad_template),
425         (gst_registry_binary_load_plugin),
426         (gst_registry_binary_read_cache):
427         * gst/gstregistrybinary.h:
428           Implement no-mmap alternative for registry reading. Do code cleanups.
429           Add more comments about avoiding strdups for all text data. Comments
430           welcome.
431
432 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
433
434         * gst/gstregistrybinary.h (GstBinaryPluginElement,
435           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
436           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
437           Comment structs and reformat to fix the build (that stuff should go
438           into a priv. header).
439
440 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
441
442         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
443         (gst_registry_binary_load_feature):
444         * gst/gstregistrybinary.h:
445           Refactor so that we can implement multiple features. Add support for
446           TypeFindFactory features.
447
448 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
449
450         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
451
452         * configure.ac:
453           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
454
455 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
456
457         * gst/gstbin.c: (gst_bin_element_set_state),
458         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
459         (bin_handle_async_done), (gst_bin_handle_message_func):
460           Fix build with --gst-disable-gst-debug
461
462 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
463
464         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
465           Make sure streaming has finished before calling the ::stop() vfunc,
466           since that vfunc might clear state which is being used in the
467           streaming thread. This fixes a race that caused crashes in
468           audioresample when shutting down a pipeline (#420106).
469
470 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
471
472         * docs/gst/gstreamer-sections.txt:
473           That was one byte missing.
474
475 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
476
477         * configure.ac:
478         * docs/gst/gstreamer-sections.txt:
479         * gst/Makefile.am:
480         * gst/gstconfig.h.in:
481         * gst/gstobject.c: (gst_object_class_init),
482         (gst_signal_object_class_init):
483         * gst/gstobject.h:
484           2nd attempt to have a xml-less build as a joined effort of #413123
485           and #421480.
486
487 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
488
489         * docs/design/draft-tagreading.txt:
490           Added open issues/thoughts to draft.
491
492 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
493
494         * gst/parse/grammar.tab.pre.c:
495         * gst/parse/grammar.tab.pre.h:
496         * gst/parse/lex._gst_parse_yy.pre.c:
497         Update the prebuild parser sources.
498
499 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
500
501         * gst/parse/Makefile.am:
502         And now fix the building of the flex sources. Now everything should
503         work as expected.
504
505 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
506
507         * gst/parse/Makefile.am:
508         Now hopefully fix the build failures by setting proper rule
509         dependencies and moving instead of copying.
510
511 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
512
513         * tests/benchmarks/complexity.gnuplot:
514         * tests/benchmarks/complexity.scm:
515         * tests/benchmarks/mass-elements.gnuplot:
516         * tests/benchmarks/mass-elements.scm:
517           Total licensification.
518
519 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
520
521         * gst/parse/Makefile.am:
522           Fix the build by correcting the rule that gave wrong files to flex.
523
524 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
525
526         * tests/benchmarks/complexity.c:
527         * tests/benchmarks/mass-elements.c:
528           Change licence to LGPL as granted by Benjamin and Andy.
529
530 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
531
532         * gst/parse/Makefile.am:
533         Add correct grammar.tab.h dependency if compiling without new enough
534         flex. Fixes #431150.
535
536 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
537
538         * gst/parse/Makefile.am:
539         Fix typo and use outdated sources if the flex/bison sources are newer
540         than the pregenerated ones but flex is too old. Print a warning in
541         that case. This should fix the build on the build bot.
542
543 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
544
545         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
546         * gst/parse/Makefile.am:
547         * gst/parse/grammar.y:
548         * gst/parse/parse.l:
549         Make the parser reentrant and recursively callable. This requires flex
550         >= 2.5.31, for older versions pregenerated sources are used as we
551         can't bump the build dependency. Finally fixes #349180.
552
553         * gst/gstparse.c: (gst_parse_launch):
554         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
555         now anyway.
556
557         * docs/gst/Makefile.am:
558         * docs/gst/Makefile.am:
559         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
560         (__gst_parse_strfree), (__gst_parse_link_new),
561         (__gst_parse_link_free), (__gst_parse_chain_new),
562         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
563         (gst_parse_element_set), (gst_parse_free_link),
564         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
565         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
566         (_gst_parse_launch):
567         * gst/parse/grammar.tab.pre.h:
568         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
569         (yy_get_previous_state), (yy_try_NUL_trans), (input),
570         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
571         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
572         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
573         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
574         (_gst_parse_yypop_buffer_state),
575         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
576         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
577         (yy_fatal_error), (_gst_parse_yyget_extra),
578         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
579         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
580         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
581         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
582         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
583         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
584         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
585         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
586         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
587         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
588         (_gst_parse_yyfree):
589         If the installed flex version is too old use pre-generated parser
590         sources. These pre-generated parser sources are always updated when
591         the actual flex/bison sources change but require everybody who wants
592         to change something in the parser to have flex >= 2.5.31 installed.
593
594 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
595
596         * common/m4/gst-gettext.m4:
597         * gst/gst-i18n-lib.h:
598           Make --disable-nls to work
599
600 2007-04-17  Wim Taymans  <wim@fluendo.com>
601
602         * gst/gstconfig.h.in:
603         Revert previous change that broke the build.
604
605 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
606
607         * configure.ac:
608         * gst/Makefile.am:
609         * gst/gstconfig.h.in:
610           Drop libxml2 dependency when building with 
611           --enable-binary-registry --disable-loadsave
612
613 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
614
615         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
616         (gst_registry_binary_read_cache):
617         * gst/gstregistrybinary.h:
618           Remove unnecessary <sys/mman.h> include which broke the win32 build
619           with MingW; move includes from header file to .c file, even if the
620           header file isn't installed; use g_strerror() where UTF-8 strings
621           are expected, such as in GST_DEBUG messages.
622
623 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
624
625         * docs/libs/gstreamer-libs-sections.txt:
626         Remove bogus addition for API I didn't end up keeping.
627
628         * libs/gst/base/gstbasesrc.h:
629         Mention Since: 0.10.13 in the documentation.
630
631         Add the API keyword to the previous ChangeLog entry.
632
633 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
634
635         * docs/libs/gstreamer-libs-sections.txt:
636         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
637         (gst_base_src_default_prepare_seek_segment),
638         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
639         * libs/gst/base/gstbasesrc.h:
640         Allow basesrc derived classes to execute seeks in other formats
641         by providing a prepare_seek_segment vmethod. Sub-classes can choose
642         to prepare the GstSegment in any format that their perform_seek method
643         will be able to understand. The default implementation provides the
644         old behaviour of attempting to convert the seek offsets to the 
645         configured native format.
646
647         API: basesrc::prepare_seek_segment vmethod.
648
649 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
650
651         * gst/gstelement.c: (gst_element_get_state_func):
652         Don't output the same debug statement twice.
653
654         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
655         (gst_adapter_peek), (gst_adapter_take_buffer):
656         Optimise the case where we have buffers at the head of the queue that
657         can be joined quickly (because they're contiguous sub-buffers) by
658         merging them together rather than copying data out into new memory.
659
660         * gst/parse/grammar.y:
661         * tests/check/pipelines/parse-launch.c:
662         Fix a leak in an error path for parse_launch, and add a check 
663         for it to the testsuite.
664
665 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
666
667         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
668           Don't deadlock when releasing a pad - gst_pad_set_active may try
669           and take the multiqueue lock too.
670
671 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
672
673         * gst/gsterror.c: (_gst_core_errors_init):
674         * gst/gsterror.h:
675           API: add GST_CORE_ERROR_DISABLED (#392804).
676
677 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
678
679         * docs/faq/gst-uninstalled:
680           don't get empty paths on the PATH variables
681         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
682           Don't format for the uncommon terminal width of 84 characters.
683
684 2007-04-06  Wim Taymans  <wim@fluendo.com>
685
686         * gst/gstpipeline.c: (reset_stream_time),
687         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
688         Only try to select a different pipeline clock when we went back to
689         PAUSED and not when we merely got flushed.
690
691 2007-04-05  Michael Smith  <msmith@fluendo.com>
692
693         * tools/gst-launch.1.in:
694           fractions are better supported in gstreamer than ractions, so
695           suggest using those.
696
697 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
698
699         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
700
701         * po/LINGUAS:
702         * po/da.po:
703           Added Danish translation.
704
705 2007-04-05  Wim Taymans  <wim@fluendo.com>
706
707         * libs/gst/base/gstbasesink.c:
708         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
709         Fix leak caused when refusing newsegment after EOS.
710
711         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
712         (gst_fake_sink_init), (gst_fake_sink_set_property),
713         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
714         (gst_fake_sink_render), (gst_fake_sink_change_state):
715         * plugins/elements/gstfakesink.h:
716         Add num-buffers property to make the element generate EOS after a
717         configurable amount of buffers.
718         API: fakesink::num-buffers property.
719
720         * tests/check/elements/fakesink.c: (GST_START_TEST),
721         (fakesink_suite):
722         Fix GstBus leak in test.
723         Test for fakesink num-buffers.
724
725 2007-04-05  Wim Taymans  <wim@fluendo.com>
726
727         * libs/gst/base/gstbasesink.c:
728         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
729         (gst_base_sink_change_state):
730         Don't accept anything after an EOS, return UNEXPECTED instead.
731
732         * tests/check/elements/fakesink.c: (GST_START_TEST),
733         (fakesink_suite):
734         Unit test for new EOS behaviour.
735
736 2007-04-05  Wim Taymans  <wim@fluendo.com>
737
738         * gst/gstelement.c: (gst_element_get_request_pad):
739         Make padtemplates also work when they don't contain %s or %d.
740
741 2007-04-05  Wim Taymans  <wim@fluendo.com>
742
743         * docs/gst/gstreamer-sections.txt:
744         * gst/gstclock.c: (gst_clock_adjust_unlocked),
745         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
746         * gst/gstclock.h:
747         Improve _adjust_unlocked() so that it overflows less.
748         Add gst_clock_unadjust_unlocked to convert from external time to
749         internal time based on calibration.
750         Add some more debug.
751         API: GstClock::gst_clock_unadjust_unlocked()
752
753 2007-04-03  Wim Taymans  <wim@fluendo.com>
754
755         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
756
757         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
758         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
759         when releasing sink pad. Fixes #425400.
760
761 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
762
763         * docs/random/ensonic/dynlink.txt:
764           More work on proposal for new core api.
765
766         * docs/libs/gstreamer-libs-sections.txt:
767         * libs/gst/base/gstbasetransform.h:
768           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
769           
770         * libs/gst/controller/gstcontroller.c:
771         (on_object_controlled_property_changed),
772         (gst_controller_sync_values),
773         (gst_controller_set_interpolation_mode):
774         * libs/gst/controller/gstcontroller.h:
775           Less verbose logging add docs for unimplemented parts and correctly
776           return when using unavailable parts.
777
778 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
779
780         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
781         Move all the debug to the CLOCK category, and associate it with
782         the clock object.
783
784 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
785
786         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
787         Make take_buffer a bit quicker by removing redundant checks
788         caused by calling gst_adapter_take.
789
790 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
791
792         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
793           Don't leak GCond.
794
795         * tests/check/Makefile.am:
796         * tests/check/elements/.cvsignore:
797         * tests/check/elements/multiqueue.c: (setup_multiqueue),
798         (GST_START_TEST), (multiqueue_suite):
799           Add some dead simple unit tests for the 'multiqueue' element
800           (some bits don't work yet and are disabled for now).
801
802 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
803
804         * gst/gstelement.c: (gst_element_get_request_pad),
805         (gst_element_class_get_request_pad_template):
806           Make gst_element_get_request_pad() create request pads only for
807           request pad templates and not for, say, sometimes pad templates.
808
809 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
810
811         * docs/design/draft-klass.txt:
812           Add example that needs more thinking.
813         
814         * docs/design/draft-missing-plugins.txt:
815           More thoughts about wrapper plugins.
816         
817         * docs/random/ensonic/embedded.txt:
818         * docs/random/ensonic/profiling.txt:
819           More design work.
820
821 2007-03-25  Wim Taymans  <wim@fluendo.com>
822
823         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
824         (gst_base_src_loop):
825         Only push the segment events in the PLAYING state for live sources.
826
827 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
828
829         * gst/gstpipeline.c: (gst_pipeline_change_state):
830         Modify the clock distribution path in PAUSED->PLAYING so that we 
831         never attempt to choose a new clock unless we're actually leaving
832         the PAUSED state for the first time. This prevents choosing a
833         different clock when the state_change gets called for a 2nd time due
834         to some element doing an async state change.
835
836 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
837
838         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
839         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
840         (gst_pad_chain_unchecked), (gst_pad_push):
841         Revert last commit. This needs some more thoughts.
842
843 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
844
845         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
846         (gst_pad_chain_unchecked), (gst_pad_push):
847         Check in set_caps if the caps are compatible with the pad and remove
848         two functions that are redundant now. Fixes #421543.
849
850 2007-03-22  Wim Taymans  <wim@fluendo.com>
851
852         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
853         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
854         Unref some more to make valgrind happy.
855
856 2007-03-22  Wim Taymans  <wim@fluendo.com>
857
858         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
859         (gst_system_clock_id_wait_jitter),
860         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
861         Fix anoying regression that survived a few releases. When adding an
862         async entry while blocking on a sync entry, the sync entry will unblock
863         but still be busy, so it should continue to wait instead of returning
864         _BUSY to the app.
865         Add some comments here and there.
866
867         * tests/check/gst/gstsystemclock.c: (mixed_thread),
868         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
869         Add testcase for this.
870
871 2007-03-22  Wim Taymans  <wim@fluendo.com>
872
873         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
874         Handle errors from the clock sync better, only UNSCHEDULED indicates a
875         WRONG_STATE and can silently pause the task. All other cases should
876         error out.
877
878 2007-03-22  Wim Taymans  <wim@fluendo.com>
879
880         Patch by: <syrjala at sci dot fi>
881
882         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
883         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
884         Improve debugging.
885
886 2007-03-21  Michael Smith  <msmith@fluendo.com>
887
888         * docs/pwg/advanced-types.xml:
889           Fix some errors in the typefinding docs pointed out on irc.
890
891 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
892
893         * libs/gst/base/gstbasesrc.c:
894         Clarify FIXME comment in the face of having added unlock_stop()
895
896 2007-03-21  Wim Taymans  <wim@fluendo.com>
897
898         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
899         Prepare for release where we warn against possible app breakage in the
900         case of live pipelines along with an env var to enable/disable live
901         preroll mode (GST_COMPAT=[no-]live-preroll).
902
903 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
904
905         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
906         So we should use correct constants for checking for None offset.
907
908 2007-03-20  Wim Taymans  <wim@fluendo.com>
909
910         * docs/design/part-block.txt:
911         Mention the fact that the newly switched element should be set to at
912         least PAUSED.
913
914 2007-03-20  Wim Taymans  <wim@fluendo.com>
915
916         * gst/gst.c:
917         Fix compilation with registry disabled as spotted by Saur.
918
919 2007-03-20  Wim Taymans  <wim@fluendo.com>
920
921         Patch by: Olivier Crete <tester at tester dot ca>
922
923         * gst/gstelement.c: (gst_element_sync_state_with_parent):
924         Look at the pending state too when syncing the element state to the
925         parent. Fixes #420133.
926
927 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
928
929         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
930         (gst_base_sink_change_state):
931         * libs/gst/base/gstbasesink.h:
932         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
933         (gst_base_src_default_event), (gst_base_src_unlock_stop),
934         (gst_base_src_deactivate):
935         * libs/gst/base/gstbasesrc.h:
936         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
937         for sub-classes to correctly clear any state they set trying to
938         unlock, such as clearing out unlock commands from a command fd.
939
940         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
941         (gst_fd_sink_render), (gst_fd_sink_unlock),
942         (gst_fd_sink_unlock_stop):
943         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
944         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
945         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
946
947         Implement unlock_stop in fdsrc and fdsink.
948         Implement seeking in fdsrc when a seekable fd is passed, as in
949         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
950
951 2007-03-19  Wim Taymans  <wim@fluendo.com>
952
953         Patch by: Evan Nemerson <evan at coeus dash group dot com>
954
955         * gst/gstelement.c: (gst_element_class_init):
956         Fix pad-added and pad-removed signal signatures so that the pad type is
957         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
958
959 2007-03-19  Wim Taymans  <wim@fluendo.com>
960
961         * docs/gst/gstreamer-sections.txt:
962         Add new element field and method.
963
964         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
965         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
966         (gst_bin_recalc_state), (gst_bin_get_state_func),
967         (gst_bin_element_set_state), (gst_bin_change_state_func),
968         (gst_bin_continue_func), (bin_bus_handler),
969         (bin_push_state_continue), (bin_handle_async_start),
970         (bin_handle_async_done), (gst_bin_handle_message_func):
971         Make async state changes a bit smarter by using new ASYNC_START and
972         ASYNC_DONE messages. This reduces the number of times we run the state
973         recalculation thread.
974         Don't change state of element with a pending ASYNC_START message.
975         Deprecate STATE_DIRTY messages.
976         
977         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
978         (gst_element_get_state_func), (gst_element_continue_state),
979         (gst_element_lost_state), (gst_element_set_state_func),
980         (gst_element_change_state):
981         * gst/gstelement.h:
982         Keep the state that was last set by the app in a new element field.
983         Don't allow state changes when handling an element event.
984         Post ASYNC_START and ASYNC_DONE messages.
985         Change lost_state so that we go to PAUSED and wait for the parent to set
986         us to PLAYING again (so latency calculation can be performed)
987         Export gst_element_change_state() method so that subclasses can use it.
988         API: gst_element_change_state()
989         API: GST_STATE_TARGET
990
991         * gst/gstpipeline.c: (gst_pipeline_class_init),
992         (reset_stream_time), (gst_pipeline_change_state),
993         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
994         Using the new ASYNC_START message we can reset the base_time when
995         needed. This can then be used to implement base_time redistribution in
996         flushing seeks so that we can remove the explicit seek handling.
997         Perform latency query and configuration when going to PLAYING.
998
999         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1000         (gst_base_sink_query), (gst_base_sink_change_state):
1001         Post new ASYNC_START/ASYNC_DONE messages.
1002
1003         * tests/check/generic/sinks.c: (GST_START_TEST):
1004         Fix test because the bin will not set the async element to PLAYING right
1005         away.
1006
1007         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
1008         Make the message check a little stronger.
1009         Handle ASYNC messages.
1010
1011         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
1012         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
1013         Expect ASYNC_DONE messages.
1014
1015 2007-03-19  Wim Taymans  <wim@fluendo.com>
1016
1017         * docs/gst/gstreamer-sections.txt:
1018         * gst/gstmessage.c: (gst_message_new_async_start),
1019         (gst_message_new_async_done), (gst_message_parse_info),
1020         (gst_message_parse_async_start):
1021         * gst/gstmessage.h:
1022         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1023         support.
1024
1025 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
1026
1027         * tools/gst-inspect.c:
1028         (print_plugin_automatic_install_info_codecs):
1029           Now that we don't check for the 'Codec' keyword any longer in the
1030           klass, we shouldn't spew a warning if the klass isn't a decoder or
1031           encoder (since it might be a Source/Network, for example).
1032
1033 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1034
1035         * tools/gst-inspect.c:
1036         (print_plugin_automatic_install_info_codecs):
1037           Don't require decoder/demuxer/depayloader elements or
1038           encoder/muxer/paylader elements to have 'Codec' as part of their
1039           factory class string when introspecting a plugin's capabilities.
1040           draft-klass.txt mentions that it might be removed in future, and
1041           flump3dec doesn't have it as part of its class string, so chances
1042           are others might also not have it.
1043
1044 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1045
1046         * po/af.po:
1047         * po/az.po:
1048         * po/bg.po:
1049         * po/ca.po:
1050         * po/cs.po:
1051         * po/de.po:
1052         * po/en_GB.po:
1053         * po/fr.po:
1054         * po/it.po:
1055         * po/nb.po:
1056         * po/nl.po:
1057         * po/ru.po:
1058         * po/sq.po:
1059         * po/sr.po:
1060         * po/sv.po:
1061         * po/tr.po:
1062         * po/uk.po:
1063         * po/vi.po:
1064         * po/zh_CN.po:
1065         * po/zh_TW.po:
1066           Update translations from translation project
1067
1068 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
1069
1070         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1071         (gst_child_proxy_set_property):
1072           Invert precondition check to be alike the ones in the mimiced gobject
1073           api.
1074
1075 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
1076
1077         * docs/design/draft-tagreading.txt:
1078         * docs/random/ensonic/audiobaseclasses.txt:
1079           Do some Architect work.
1080
1081         * gst/gstobject.c: (gst_object_set_name):
1082           Add a WARNING.
1083
1084         * gst/gstpad.c:
1085           Add docs that point from gst_pad_get_range to gst_pad_pull_range
1086
1087 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
1088
1089         * gst/gstsystemclock.c: (gst_system_clock_init),
1090         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1091         Defer starting the async system clock thread until the first async
1092         wait is scheduled. Fixes #414986.
1093
1094 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
1095
1096         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1097         (gst_single_queue_free):
1098           Fix small leak (free GstSingleQueue structure too, not only contents).
1099
1100 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
1101
1102         * gst/gstbin.c:(gst_bin_add):
1103         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1104         * win32/common/libgstbase.def:
1105         * win32/common/libgstreamer.def:
1106         Add new exported functions.
1107
1108 2007-03-09  Wim Taymans  <wim@fluendo.com>
1109
1110         * docs/plugins/gstreamer-plugins-sections.txt:
1111         Fix GstTee docs.
1112
1113 2007-03-09  Wim Taymans  <wim@fluendo.com>
1114
1115         * docs/gst/gstreamer-sections.txt:
1116         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1117         * gst/gstbuffer.h:
1118         Add metadata copy functions. Fixes #393099.
1119
1120         * gst/gstutils.c: (gst_buffer_stamp):
1121         * libs/gst/base/gstbasetransform.c:
1122         (gst_base_transform_prepare_output_buffer):
1123         Use new metadata copy functions.
1124
1125 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1126
1127         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1128         (gst_identity_init), (gst_identity_check_perfect),
1129         (gst_identity_check_imperfect_timestamp),
1130         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1131         (gst_identity_set_property), (gst_identity_get_property):
1132         * plugins/elements/gstidentity.h:
1133         Separate out check-imperfect-timestamp and check-imperfect-offset.
1134         Put back check-perfect as it was to keep compatibility.
1135
1136 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
1137
1138         * gst/gstelement.c: (gst_element_dispose):
1139         There's no need to warn if VOID_PENDING is not NONE here, as
1140         long as the state is NULL it's ok, and that's checked immediately
1141         above.
1142
1143 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1144
1145         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1146         Fix check for perfect stream to ignore buffers with -1 
1147         offsets/offset ends when checking data contiguity.
1148
1149 2007-03-08  Wim Taymans  <wim@fluendo.com>
1150
1151         * tools/gst-launch.c: (event_loop):
1152         Print INFO messages.
1153
1154 2007-03-08  Wim Taymans  <wim@fluendo.com>
1155
1156         * libs/gst/base/gstbasetransform.c:
1157         (gst_base_transform_sink_eventfunc),
1158         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1159         (gst_base_transform_activate):
1160         * libs/gst/base/gstbasetransform.h:
1161         Add support for dropping buffers with custom GstFlowReturn.
1162         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1163         buffers or dropped buffers.
1164
1165         * docs/libs/gstreamer-libs-sections.txt:
1166         docs for new custom return code.
1167
1168         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1169         Use drop support in base class to implement drop-probability.
1170
1171 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
1172
1173         * gst/gst.c: (load_plugin_func):
1174         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1175         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1176         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1177           Remove newlines at end of debug log strings.
1178
1179 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1180
1181         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1182         Only post bus message at max, once per buffer received.
1183
1184 2007-03-07  Wim Taymans  <wim@fluendo.com>
1185
1186         * docs/design/Makefile.am:
1187         * docs/design/part-synchronisation.txt:
1188         Add doc about synchronisation
1189
1190         * docs/design/draft-latency.txt:
1191         * docs/design/part-TODO.txt:
1192         * docs/design/part-clocks.txt:
1193         * docs/design/part-events.txt:
1194         * docs/design/part-gstbus.txt:
1195         * docs/design/part-gstpipeline.txt:
1196         * docs/design/part-live-source.txt:
1197         * docs/design/part-messages.txt:
1198         * docs/design/part-overview.txt:
1199         * docs/design/part-streams.txt:
1200         * docs/design/part-trickmodes.txt:
1201         Documentation updates.
1202
1203 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
1204
1205         * gstreamer.doap:
1206         Update the doap file.
1207
1208 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1209
1210         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1211         Rename non-perfect to imperfect for Mike and for the sanctity of the
1212         language.
1213         Also make sure bus message gets emitted for data-incontiguities.
1214
1215 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1216
1217         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1218         (gst_identity_start):
1219         * plugins/elements/gstidentity.h:
1220         Emit bus message if check-perfect is true and we encounter a
1221         non-perfect stream between 2 consecutive buffers.
1222         Fixes #415394.
1223
1224 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
1225
1226         * configure.ac:
1227         Back to CVS
1228
1229 === release 0.10.12 ===
1230
1231 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
1232
1233         * configure.ac:
1234           releasing 0.10.12, "Inevitable Demise"
1235
1236 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
1237
1238         * configure.ac:
1239          Version 0.10.11.2 (0.10.12 pre-release)
1240          Bump libtool versioning.
1241
1242 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
1243
1244         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1245           Log flow-names and not numbers.
1246
1247 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1248
1249         * configure.ac:
1250           Convert to new AG_GST style.
1251
1252 2007-02-28  Wim Taymans  <wim@fluendo.com>
1253
1254         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1255         Don't unref query twice.
1256
1257 2007-02-28  Wim Taymans  <wim@fluendo.com>
1258
1259         * gst/gstvalue.c: (gst_value_transform_object_string),
1260         (_gst_value_initialize):
1261         Implement GstObject -> string transform so we print object names
1262         when serializing GValues containing GstObjects.
1263
1264 2007-02-28  Wim Taymans  <wim@fluendo.com>
1265
1266         * docs/gst/gstreamer-sections.txt:
1267         Add new stuff to docs.
1268
1269 2007-02-28  Wim Taymans  <wim@fluendo.com>
1270
1271         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1272         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1273         (gst_base_sink_change_state):
1274         Improve latency query code.
1275         Don't leak latency events.
1276
1277         * tests/check/gst/gstbin.c: (GST_START_TEST):
1278         Improve debugging.
1279
1280 2007-02-28  Wim Taymans  <wim@fluendo.com>
1281
1282         * gst/gstelement.c: (gst_element_message_full),
1283         (gst_element_get_state_func):
1284         * gst/gstelement.h:
1285         Improve docs a little. Added Since: for new macro.
1286
1287         * gst/gstobject.c: (gst_object_sink):
1288         * gst/gstpipeline.c: (gst_pipeline_change_state),
1289         (gst_pipeline_set_new_stream_time):
1290         * gst/gstpipeline.h:
1291         Improve debugging and docs.
1292
1293         * gst/gstutils.c: (gst_element_state_change_return_get_name):
1294         Improve debugging.
1295
1296 2007-02-28  Wim Taymans  <wim@fluendo.com>
1297
1298         * gst/gstelement.c: (gst_element_message_full),
1299         (gst_element_set_locked_state), (gst_element_get_state_func),
1300         (gst_element_change_state):
1301         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1302         Documentation updates.
1303         Small code cleanups.
1304
1305         * gst/gstmessage.c: (gst_message_new_info),
1306         (gst_message_parse_info):
1307         * gst/gstmessage.h:
1308         API: gst_message_new_info()
1309         API: gst_message_parse_info()
1310         Add INFO message create and parse code.
1311
1312 2007-02-28  Wim Taymans  <wim@fluendo.com>
1313
1314         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1315         (bin_query_latency_done):
1316         Also report the live parameter of a latency query.
1317
1318 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1319
1320         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1321           Copy the current generic/states example from -base and adapt so
1322           we can use the exact same code everywhere.
1323           Check a STATES_IGNORE_ELEMENTS env var which can be used
1324           to ignore certain element factories for this test, which is
1325           what is being done in -base
1326         * tests/check/Makefile.am:
1327           Mention this environment variable.
1328
1329 2007-02-27  Wim Taymans  <wim@fluendo.com>
1330
1331         * docs/gst/gstreamer-sections.txt:
1332         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1333         (gst_bus_timed_pop), (gst_bus_pop):
1334         * gst/gstbus.h:
1335         API: gst_bus_timed_pop()
1336         Implement gst_bus_timed_pop() to do a blocking timed wait for a
1337         message to arrive on the bus.
1338
1339         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1340         (gst_bus_suite):
1341         Two unit tests for new _timed_pop() function.
1342
1343 2007-02-23  Wim Taymans  <wim@fluendo.com>
1344
1345         * gst/gstpipeline.c: (gst_pipeline_change_state),
1346         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1347         Don't ref a NULL clock in _provide_clock_func().
1348         Don't allow an INVALID delay.
1349         Don't try to calculate base_time with an invalid start_time.
1350         Also distribute and notify a NULL clock when it was selected.
1351
1352         * tools/gst-launch.c: (event_loop):
1353         Don't crash when a NULL clock was selected in the pipeline.
1354
1355 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
1356
1357         * docs/design/Makefile.am:
1358         * docs/design/draft-missing-plugins.txt:
1359         * docs/random/draft-missing-plugins.txt:
1360           Some small updates: update plugin system identifier prefix
1361           ('gstreamer.net' to 'gstreamer'), mention our new install
1362           API in libgstbaseutils rather than libgimme-codec, add
1363           reference to the online docs.
1364
1365 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1366
1367         * win32/common/config.h:
1368           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
1369           use moap cl ci to only check in what is mentioned in the ChangeLog.
1370
1371 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1372
1373         * docs/gst/gstreamer-sections.txt:
1374         * gst/gstelement.h:
1375           Fix up documentation to link to the correct GstGError section.
1376           Add GST_ELEMENT_INFO macro since someone else added a Info message.
1377
1378 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1379
1380         * tools/gst-launch.c: (event_loop):
1381           Make sure that we actually show the important message part of a
1382           warning message.
1383           No need to check if the gerror is not NULL to free; first of all
1384           g_free accepts NULL; and second the default error handler would
1385           segfault if gerror was NULL.
1386
1387 2007-02-21  Wim Taymans  <wim@fluendo.com>
1388
1389         * docs/gst/gstreamer-sections.txt:
1390         Removed docs as well.
1391
1392 2007-02-21  Wim Taymans  <wim@fluendo.com>
1393
1394         * gst/gstmessage.c: (gst_message_parse_duration):
1395         * gst/gstmessage.h:
1396         Remove new messages for release.
1397
1398 2007-02-20  Wim Taymans  <wim@fluendo.com>
1399
1400         * docs/design/part-gstghostpad.txt:
1401         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1402         (gst_ghost_pad_new_full):
1403         Make the ghostpad a parent of the internal pad again for better backward
1404         compatibility. Don't write code that relies on this however.
1405
1406         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1407         (gst_pad_link_check_hierarchy):
1408         Require that parents should be GstElements in the hierarchy check.
1409
1410 2007-02-20  Wim Taymans  <wim@fluendo.com>
1411
1412         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1413         (gst_bin_change_state_func), (bin_query_min_max_init),
1414         (bin_query_latency_fold), (bin_query_latency_done),
1415         (gst_bin_query):
1416         Improve debug info.
1417         Implement latency query.
1418
1419 2007-02-20  Wim Taymans  <wim@fluendo.com>
1420
1421         * docs/design/part-gstghostpad.txt:
1422         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1423         (gst_ghost_pad_internal_do_activate_push),
1424         (gst_ghost_pad_internal_do_activate_pull),
1425         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1426         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1427         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1428         Do not set the internal pad as a parent anymore so we can avoid
1429         hierarchy linking errors when the ghostpad has no parent yet. This also
1430         fixes failed activation because of unlinked internal pads, which in
1431         turn fixes the impossible case where you have to activate a pad before
1432         you can add it to a running element.
1433         Also fix the docs.
1434
1435         * gst/gstpad.c: (pre_activate), (post_activate),
1436         (gst_pad_set_active), (gst_pad_activate_pull),
1437         (gst_pad_activate_push), (gst_pad_check_pull_range):
1438         Add some more debug info.
1439         Mark activation mode in pre_activate so that we don't try to activate in
1440         endless loops. Fixes #385084.
1441
1442 2007-02-19  Wim Taymans  <wim@fluendo.com>
1443
1444         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1445         (gst_base_transform_check_get_range):
1446         Implement a checkgetrange function instead of relying on the default
1447         core behaviour that assumes we can operate in pull mode if we have a
1448         getrange function. First step at fixing #385084.
1449
1450 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
1451
1452         * gst/gstchildproxy.h:
1453         * libs/gst/base/gstbasesink.h:
1454         * libs/gst/base/gstbasesrc.h:
1455         * libs/gst/base/gstbasetransform.h:
1456         More docs coverage and some ChangeLog surgery (add missing names)
1457
1458 2007-02-15  Wim Taymans  <wim@fluendo.com>
1459
1460         * docs/design/part-TODO.txt:
1461         * docs/design/part-activation.txt:
1462         * docs/design/part-block.txt:
1463         * docs/design/part-buffering.txt:
1464         * docs/design/part-clocks.txt:
1465         * docs/design/part-element-source.txt:
1466         * docs/design/part-events.txt:
1467         * docs/design/part-gstbin.txt:
1468         * docs/design/part-gstbus.txt:
1469         * docs/design/part-gstpipeline.txt:
1470         * docs/design/part-live-source.txt:
1471         * docs/design/part-messages.txt:
1472         * docs/design/part-overview.txt:
1473         * docs/design/part-qos.txt:
1474         * docs/design/part-query.txt:
1475         * docs/design/part-states.txt:
1476         * docs/design/part-trickmodes.txt:
1477         Some doc updates. Start renaming from stream_time to running_time where
1478         it was used wrongly.
1479
1480 2007-02-15  Wim Taymans  <wim@fluendo.com>
1481
1482         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1483         Answer LATENCY query.
1484
1485 2007-02-15  Wim Taymans  <wim@fluendo.com>
1486
1487         * tests/check/gst/gstevent.c: (event_probe), (test_event),
1488         (GST_START_TEST):
1489         Improve debugging.
1490
1491 2007-02-15  Wim Taymans  <wim@fluendo.com>
1492
1493         * gst/gstpad.c: (gst_pad_get_internal_links_default),
1494         (gst_pad_dispatcher):
1495         Improve debugging of default pad dispatcher and query functions.
1496
1497 2007-02-15  Wim Taymans  <wim@fluendo.com>
1498
1499         * docs/gst/gstreamer-sections.txt:
1500         Remove old unused method.
1501
1502 2007-02-13  Wim Taymans  <wim@fluendo.com>
1503
1504         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1505         Fix check
1506
1507 2007-02-13  Wim Taymans  <wim@fluendo.com>
1508
1509         * docs/design/part-seeking.txt:
1510         Some small update.
1511
1512         * gst/gstsegment.c: (gst_segment_set_seek):
1513         Revert old bogus change that should make seeking work again.
1514
1515 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1516
1517         * docs/random/ensonic/dynlink.txt:
1518         * docs/random/ensonic/interfaces.txt:
1519         * docs/random/ensonic/receipies.txt:
1520           Possible dynamic reconnection api, plus some type fixes the other two
1521           docs.
1522
1523 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1524
1525         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1526         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1527         Also check for an absolute path following file:// in the filesrc
1528         element. Remove redundant check and call g_path_is_absolute() on the
1529         unescaped location.
1530
1531 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1532
1533         * docs/design/draft-klass.txt:
1534           Add existing category analysis.
1535           
1536         * gst/gstcaps.c:
1537           Fix doc example, framerate is a fraction.
1538
1539 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1540
1541         * configure.ac:
1542         * docs/gst/Makefile.am:
1543         * docs/gst/gstreamer-sections.txt:
1544         * docs/libs/Makefile.am:
1545           Erm, forgot a bunch of --extra-dir.
1546
1547 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1548
1549         * configure.ac:
1550         * docs/gst/Makefile.am:
1551         * docs/libs/Makefile.am:
1552         * docs/plugins/Makefile.am:
1553           Add crossreferences to glib/gobject docs.
1554
1555 2007-02-12  Wim Taymans  <wim@fluendo.com>
1556
1557         * docs/design/draft-latency.txt:
1558         Small update.
1559
1560         * docs/libs/gstreamer-libs-sections.txt:
1561         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1562         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1563         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1564         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1565         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1566         (gst_base_sink_get_position), (gst_base_sink_query),
1567         (gst_base_sink_change_state):
1568         * libs/gst/base/gstbasesink.h:
1569         API: gst_base_sink_query_latency() to let subclasses query the upstream
1570         latency.
1571         API: gst_base_sink_get_latency() to let subclasses query the configured
1572         latency in the sink.
1573         Implement query and set latency.
1574         Update some docs.
1575         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1576         don't continue preroll when we are flushing. Fixes #405284.
1577
1578         * tests/check/pipelines/stress.c: (change_state_timeout),
1579         (quit_timeout), (GST_START_TEST), (stress_suite):
1580         Test for #405284.
1581
1582 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1583
1584         Patch by: René Stadler <mail at renestadler de>
1585
1586         * docs/gst/gstreamer-sections.txt:
1587         * gst/gsttaglist.c: (_gst_tag_initialize):
1588         * gst/gsttaglist.h:
1589           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1590
1591 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1592
1593         * docs/libs/Makefile.am:
1594           Fix path to core docs.
1595
1596         * gst/gstbin.c: (gst_bin_get_by_interface),
1597         (gst_bin_iterate_all_by_interface):
1598           Refix docs by also renaming 'interface' to 'iface' in implementation.
1599
1600         * docs/gst/gstreamer-sections.txt:
1601         * gst/gstcaps.c:
1602         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1603         * gst/gstchildproxy.h:
1604         * gst/gstelementfactory.c:
1605         * gst/gstpadtemplate.h:
1606         * libs/gst/controller/gstcontroller.c:
1607         (gst_controlled_property_new):
1608           Document more.
1609
1610 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1611
1612         * gst/gstbin.h:(gst_bin_get_by_interface),
1613         (gst_bin_iterate_all_by_interface):
1614         Replace interface parameter name by iface as interface is 
1615         a reserved keyword in Visual Studio for C++ projects so it removes
1616         a build error for application developpers using VS.
1617         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1618         Fix a bug on Windows in uri format check. Now the prefix checked
1619         is file:// and next we check if the path after file:// is absolute.
1620         * win32/common/libgstbase.def:
1621         * win32/common/libgstdataprotocol.def:
1622         * win32/common/libgstgstreamer.def:
1623         Add new exported functions.
1624
1625 2007-02-09  Andy Wingo  <wingo@pobox.com>
1626
1627         * tests/check/pipelines/simple-launch-lines.c
1628         (simple_launch_lines_suite, test_tee): Disable tee test until I
1629         have time to fix it :-(
1630
1631         * tests/check/Makefile.am (noinst_HEADERS): 
1632         * tests/check/libs/libsabi.c: 
1633         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1634         * tests/check/gst/gstabi.c: 
1635         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1636
1637         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1638         tests for push and pull tee behavior.
1639
1640         * plugins/elements/gsttee.h: 
1641         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1642         mark as deprecated as well as unimplemented. It was a crack idea.
1643         Add support for tee operating in pull mode, off by default.
1644
1645         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1646         normal-case logs down to LOG, raise errors to WARNING.
1647         (gst_registry_xml_read_cache): Don't log before calling a function
1648         that logs.
1649
1650         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1651         exit (registry finalize).
1652         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1653         DEBUG log when we emit signals that people don't even have the
1654         chance to connect to.
1655         (gst_registry_scan_path_level): Less logging in the normal case.
1656
1657 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1658
1659         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1660
1661         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1662         Correctly generate EOS for non-seekable files. We don't have a total
1663         length for them and would get an unexpected end of file if we only
1664         special-cased for regular files. (Fixes: #404569)
1665
1666 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1667
1668         * tests/check/elements/filesrc.c: (GST_START_TEST),
1669         (filesrc_suite):
1670         Add unit test for the GstURIHandler interface in filesrc. This also
1671         tests the newly added file://localhost/foo/bar support.
1672
1673 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1674
1675         * gst/gstelementfactory.h:
1676           The klass string is not a hierarchy. Add reference to the design doc
1677           for more information and common types.
1678
1679 2007-02-02  Wim Taymans  <wim@fluendo.com>
1680
1681         * gst/gstquery.c: (gst_query_new_latency):
1682         Remove old structure field.
1683
1684 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1685
1686         * tools/gst-launch.1.in:
1687           Give example for network streaming (#351998)
1688
1689 2007-02-02  Wim Taymans  <wim@fluendo.com>
1690
1691         * docs/gst/gstreamer-sections.txt:
1692         Add docs for new methods.
1693
1694         * gst/gstevent.c: (gst_event_new_latency),
1695         (gst_event_parse_latency):
1696         * gst/gstevent.h:
1697         Add new LATENCY event to configure latency in a pipeline.
1698         API: gst_event_new_latency
1699         API: gst_event_parse_latency
1700
1701         * gst/gstmessage.c: (gst_message_new_buffering),
1702         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1703         (gst_message_new_latency), (gst_message_parse_buffering),
1704         (gst_message_parse_lost_preroll):
1705         * gst/gstmessage.h:
1706         Added messages used in draft-latency.
1707         API: gst_message_new_lost_preroll
1708         API: gst_message_parse_lost_preroll
1709         API: gst_message_new_prerolled
1710         API: gst_message_new_latency
1711
1712         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1713         (gst_query_parse_latency):
1714         * gst/gstquery.h:
1715         Implemented new latency query as in design doc.
1716         API: gst_query_new_latency
1717         API: gst_query_set_latency
1718         API: gst_query_parse_latency
1719
1720 2007-02-02  Wim Taymans  <wim@fluendo.com>
1721
1722         * docs/design/draft-latency.txt:
1723         Slight redesign to allow for dynamic latency adjustments.
1724
1725         * docs/design/part-negotiation.txt:
1726         Fix some typos.
1727
1728 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1729
1730         reviewed by: Wim Taymans <wim@fluendo.com>
1731
1732         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1733         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1734         Allow file://localhost/foo/bar URLs and correctly fail for every other
1735         hostname that one sets. This was gnomevfssrc is linked for those if
1736         installed as it can handle it (#403172)
1737
1738 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1739
1740         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1741
1742         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1743         (unref_data), (gst_collect_pads_add_pad_full):
1744         * libs/gst/base/gstcollectpads.h:
1745         Don't put the previously added destroy notify in the GstCollectData
1746         struct as all it's padding is already used and we don't want to break
1747         ABI. Instead put in the pad's GObject data for now. This should be
1748         cleaned up for 0.11 (#402393).
1749
1750 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1751
1752         reviewed by: Wim Taymans <wim@fluendo.com>
1753
1754         * docs/libs/gstreamer-libs-sections.txt:
1755         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1756         (unref_data), (gst_collect_pads_add_pad),
1757         (gst_collect_pads_add_pad_full):
1758         * libs/gst/base/gstcollectpads.h:
1759         API: Add function to specify a destroy notification for custom
1760         GstCollectData when adding new pads in GstCollectPads (#402393).
1761
1762 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1763
1764         * po/sv.po:
1765           Update Swedish translation (#378255).
1766
1767 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1768
1769         * docs/design/draft-klass.txt:
1770           Fix the previous change, this is a list of categories and not a hierarchy.
1771
1772 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1773
1774         * docs/design/draft-klass.txt:
1775           Add info about how to get a list of used classes.
1776
1777 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1778
1779         * plugins/elements/gsttypefindelement.c:
1780         (gst_type_find_element_chain_do_typefinding),
1781         (gst_type_find_element_change_state):
1782           Don't leak found caps in chain function (no idea why that never
1783           showed up as a leak anywhere).
1784
1785 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * gst/gstplugin.h:
1788           Fix and expand GstPluginDesc API docs.
1789
1790 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1791
1792         * gst/gstcaps.c:
1793         * gst/gstelementfactory.c:
1794         * gst/gstpadtemplate.h:
1795           api doc fixes
1796
1797         * libs/gst/controller/gstcontroller.c:
1798         (gst_controlled_property_new):
1799         * tests/examples/controller/audio-example.c:
1800           comment fixes
1801
1802 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1803
1804         * configure.ac:
1805           comment about refining the xml deps
1806
1807         * docs/manuals.mak:
1808           comments about moving away from jade for docs
1809         
1810         * gst/gst.c:
1811           recommit the ifdefs to use the binary registry
1812         
1813         * gst/gstbin.c: (gst_bin_change_state_func):
1814           this break is obsolete
1815
1816         * gst/gstelementfactory.h:
1817           better GST_ELEMENT_DETAILS docs, add comment about translation
1818
1819         * gst/gstinfo.h:
1820           remove eol slash
1821
1822         * gst/gstobject.c: (gst_signal_object_get_type):
1823           add G_UNLIKELY as usual
1824
1825         * gst/gstpad.c: (gst_pad_event_default):
1826           add fall trhu comment
1827
1828         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1829         (gst_registry_binary_initialize_magic),
1830         (gst_registry_binary_save_string),
1831         (gst_registry_binary_save_pad_template),
1832         (gst_registry_binary_save_feature),
1833         (gst_registry_binary_save_plugin),
1834         (gst_registry_binary_write_cache),
1835         (gst_registry_binary_check_magic),
1836         (gst_registry_binary_load_pad_template),
1837         (gst_registry_binary_load_feature),
1838         (gst_registry_binary_load_plugin),
1839         (gst_registry_binary_read_cache):
1840           comment typo and formatting
1841
1842         * gst/gstutils.c: (gst_element_state_get_name),
1843         (gst_element_state_change_return_get_name):
1844           remove obsolete breaks
1845
1846         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1847           add FIXME 0.11 and remove cpp comment
1848
1849 2007-01-29  Edward Hervey  <edward@fluendo.com>
1850
1851         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1852         Fix print statement in an even more portable way.
1853
1854 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1855
1856         * docs/gst/gstreamer-sections.txt:
1857         * gst/gstutils.h:
1858           API: add GST_ROUND_DOWN_* macros (#401781).
1859
1860 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1861
1862         * docs/gst/gstreamer.types.in:
1863         * gst/gstregistry.c: (gst_registry_class_init):
1864           Document registry signals and make gtk-doc pick them up (#401381).
1865
1866 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1867
1868         * docs/pwg/building-testapp.xml:
1869           Add some audioconverts and audioresample to the pipeline, and some
1870           more comments and error handling.
1871
1872 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1873
1874         * docs/manual/manual.xml:
1875         * docs/pwg/pwg.xml:
1876           Fix typo (#400987).
1877
1878 2007-01-26  Wim Taymans  <wim@fluendo.com>
1879
1880         * gst/gstcaps.c: (gst_static_caps_get):
1881         Init caps flags too.
1882
1883 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1884
1885         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1886
1887         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1888         If not using mmap'ed files try to seek to the end instead of the
1889         start to determine whether we can seek at all. This fixes the case
1890         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1891         seeks for everything afterwards fail. Fixes #400656
1892
1893 2007-01-25  Wim Taymans  <wim@fluendo.com>
1894
1895         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1896         Add some refcount debugging.
1897         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1898         in multiple streaming threads.
1899
1900 2007-01-25  Wim Taymans  <wim@fluendo.com>
1901
1902         Patch by: David Schleef <ds at schleef dot org>
1903
1904         * docs/libs/gstreamer-libs-sections.txt:
1905         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1906         * libs/gst/base/gstadapter.h:
1907         API: gst_adapter_copy() that can reduce the amount of memcpy when
1908         getting data from the adapter. Fixes #388201.
1909
1910 2007-01-25  Edward Hervey  <edward@fluendo.com>
1911
1912         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1913         In print statements, "%x" is for guint. Fixes build on macosx.
1914
1915 2007-01-24  Edward Hervey  <edward@fluendo.com>
1916
1917         * plugins/elements/gstmultiqueue.c:
1918         (gst_multi_queue_loop):
1919         Small fix.
1920         (single_queue_overrun_cb), (single_queue_underrun_cb),
1921         (single_queue_check_full), (gst_single_queue_new):
1922         Implement single queue growth system.
1923         This uses the extra-size properties, and will grow single queues by
1924         that much if one goes full whereas there are others empty. This is
1925         called extra-mode in the code.
1926         When a single queue's levels go back below the initial max-size
1927         limits, it is no longer in extra-mode. This is to ensure we don't
1928         consume too much memory.
1929         Fixes #399875
1930
1931 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1932
1933         * gst/gst.c: (gst_init_get_option_group):
1934           Make warning about late g_thread_init() calls a bit more explicit,
1935           so that it's more obvious to application developers what they need
1936           to do if a user files a bug against their application.
1937
1938 2007-01-22  Edward Hervey  <edward@fluendo.com>
1939
1940         * plugins/elements/gstmultiqueue.c:
1941         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1942         Remove previous hack of unsetting the flushing flag for the source pad
1943         instead of activating it. Instead, fix the source pad activate function
1944         so that it no longer depends on having a parent set or not.
1945
1946 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1947
1948         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1949
1950         * docs/manual/basics-bus.xml:
1951           Fix example code, gst_element_unref() doesn't exist any longer.
1952
1953 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1954
1955         Patch by: Mark Nauwelaerts <manauw at skynet be>
1956
1957         * gst/gstpad.c:
1958           Fix two docs typoes (#399094).
1959
1960 2007-01-19  Edward Hervey  <edward@fluendo.com>
1961
1962         * docs/faq/gst-uninstalled:
1963         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1964         depending on libgstbaseutils can work in uninstalled environment.
1965
1966 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1967
1968         * gst/gsttaglist.h:
1969         * gst/gsttagsetter.c:
1970         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1971         statement for new tag.
1972
1973 2007-01-17  Edward Hervey  <edward@fluendo.com>
1974
1975         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1976         When dynamically creating single queues, activate sinkpad before adding
1977         it.
1978         We should be doing the same thing for the source pad, but we can't
1979         since it would call a method which needs the parent to be set in order
1980         to work propertly. Instead of activating the source pad, we just unset
1981         the flushing flag, which is the minimal requirement for adding a pad
1982         to an element in a state greater than READY.
1983
1984 2007-01-17  Edward Hervey  <edward@fluendo.com>
1985
1986         * docs/faq/gst-uninstalled:
1987         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1988         Mac OS X.
1989
1990 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1991
1992         * tests/check/gst/gstabi.c:
1993         * tests/check/gst/struct_hppa.h:
1994         * tests/check/libs/libsabi.c:
1995         * tests/check/libs/struct_hppa.h:
1996           Add ABI structs for HPPA (see #393796).
1997
1998 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1999
2000         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2001           Actually write ABI structs to the file specified in the GST_ABI
2002           environment variable, as the message we print claims we would.
2003
2004 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
2005
2006         * tests/check/gst/gsttask.c:
2007           Fix header comment.
2008
2009 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
2010
2011         * gst/gsttaglist.c: (_gst_tag_initialize):
2012           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
2013           previous two entries.
2014
2015 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
2016
2017         * docs/gst/gstreamer-sections.txt:
2018         * gst/gsttaglist.c: (_gst_tag_initialize):
2019         * gst/gsttaglist.h:
2020           Add tag support for beat-per-minute.
2021
2022 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
2023
2024         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2025         (gst_registry_binary_initialize_magic),
2026         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2027         (gst_registry_binary_save_pad_template),
2028         (gst_registry_binary_save_feature),
2029         (gst_registry_binary_save_plugin),
2030         (gst_registry_binary_write_cache),
2031         (gst_registry_binary_check_magic),
2032         (gst_registry_binary_load_pad_template),
2033         (gst_registry_binary_load_feature),
2034         (gst_registry_binary_load_plugin),
2035         (gst_registry_binary_read_cache):
2036         * gst/gstregistrybinary.h:
2037           Use glib types, cleanup comments, impement interfaces and uri-types.
2038
2039 2007-01-13  Andy Wingo  <wingo@pobox.com>
2040
2041         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2042         getrange() to return buffers with other caps, while we fix
2043         demuxers and typefind, or otherwise change part-negotiation.txt.
2044
2045 2007-01-12  Andy Wingo  <wingo@pobox.com>
2046
2047         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2048         Factor start/stop into this private function instead of partially
2049         in activate functions and partially in the change_state function.
2050         Fixes setup before the element has changed from READY->PAUSED, as
2051         is the case in pull-mode pipelines.
2052         (gst_base_transform_sink_activate_push)
2053         (gst_base_transform_src_activate_pull): Refactor to use
2054         gst_base_transform_activate().
2055         (gst_base_transform_change_state): Removed, not needed any more.
2056
2057         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2058         Truncate before fixating.
2059         
2060         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2061         Don't set_caps() if the result of fixating is ANY, as it's not
2062         supported, and not necessary in the case of a link with no
2063         template caps on either side. Fixes tests/check/libs/basesrc in
2064         some pull-mode tests.
2065
2066         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2067         (gst_base_transform_init, gst_base_transform_sink_activate_push)
2068         (gst_base_transform_src_activate_pull): 
2069         Track the activation mode.
2070         (gst_base_transform_setcaps): In pull mode, when activating the
2071         src pad, after activating the sink pad, activate the sink pad's
2072         peer, as discussed in part-negotiation.txt.
2073
2074         * libs/gst/base/gstbasesrc.h: 
2075         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2076         vmethod, as in basesink.
2077
2078         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2079
2080         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2081         mode, first proxy the setcaps to the peer pad.
2082         (gst_base_sink_pad_fixate): Add a fixate function that calls the
2083         new fixate vmethod.
2084         (gst_base_sink_default_activate_pull): Rename from
2085         gst_base_sink_activate_pull.
2086         (gst_base_sink_negotiate_pull): New function, performs negotiation
2087         in pull mode before calling ::activate_pull().
2088         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2089         vmethod instead of the default implementation. I have no idea how
2090         this worked before. Negotiate before calling activate_pull.
2091
2092         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2093         sink pads in pull mode. In addition to being correct, fixes
2094         filesrc ! decodebin ! identity ! fakesink.
2095         (gst_pad_get_range, gst_pad_pull_range): Don't call
2096         gst_pad_set_caps() if the caps changes; instead error out with
2097         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2098
2099 2007-01-12  Andy Wingo  <wingo@pobox.com>
2100
2101         * docs/design/part-negotiation.txt: Update with more policy.
2102
2103 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
2104
2105         * libs/gst/check/gstbufferstraw.h:
2106         * libs/gst/check/gstcheck.h:
2107           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2108           belongs.
2109
2110 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
2111
2112         * tests/check/Makefile.am:
2113         * tests/check/gst/.cvsignore:
2114         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2115         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2116         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2117         (GST_START_TEST), (gst_tag_setter_suite):
2118           Add minimal unit test for beforementioned GstTagSetter bug.
2119
2120 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
2121
2122         Patch by: René Stadler <mail at renestadler dot de>
2123
2124         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2125           gst_tag_list_merge() returns a new list, so it's not the best idea
2126           to ingore its return value. Effectively meant that tags could only
2127           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2128           Also add function guard to require a non-NULL taglist as input (has
2129           always been so due to gst_tag_list_copy(), just making it explicit).
2130
2131 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2132
2133         * docs/random/draft-missing-plugins.txt:
2134           Some additions: mention new API that is supposed to be used at the
2135           various stages; short blob about new gst-inspect introspection
2136           option; mention potential future problem with plugins that have
2137           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2138
2139 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2140
2141         * tools/gst-inspect.c:
2142         (print_plugin_automatic_install_info_codecs),
2143         (print_plugin_automatic_install_info_protocols),
2144         (print_plugin_automatic_install_info), (main):
2145         Add --print-plugin-auto-install-info option to gst-inspect, so we can
2146         introspect plugin files and get machine-parsable output that corresponds
2147         to the last bit of the missing-plugin installer string (small gotcha:
2148         doesn't take into account ranks).
2149
2150 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
2151
2152         * configure.ac:
2153         * docs/gst/gstreamer-sections.txt:
2154         * gst/Makefile.am:
2155         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2156         (gst_registry_lookup_locked):
2157         * gst/gstregistry.h:
2158         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2159         (gst_registry_binary_initialize_magic),
2160         (gst_registry_binary_save_string),
2161         (gst_registry_binary_save_pad_template),
2162         (gst_registry_binary_save_feature),
2163         (gst_registry_binary_save_plugin),
2164         (gst_registry_binary_write_cache),
2165         (gst_registry_binary_check_magic),
2166         (gst_registry_binary_load_pad_template),
2167         (gst_registry_binary_load_feature),
2168         (gst_registry_binary_load_plugin),
2169         (gst_registry_binary_read_cache):
2170         * gst/gstregistrybinary.h:
2171         * gst/gstregistryxml.c: (load_feature),
2172         (gst_registry_xml_read_cache):
2173           commit binary registry (disabled by default, see #359653)
2174
2175 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2176
2177         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2178           Fix 'make check' too.
2179
2180 2007-01-10  Andy Wingo  <wingo@pobox.com>
2181
2182         * docs/design/part-negotiation.txt: Fix a typo, add a couple
2183         notes.
2184         
2185         * docs/design/part-negotiation.txt: Update with, um, one way that
2186         pull-mode negotiation might work?
2187
2188         * gst/gstpad.h: 
2189         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2190         that the pad must be a src pad; makes sense to call it the other
2191         way in pull mode, and the logic is symmetric anyway.
2192
2193 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2194
2195         * plugins/elements/gstfilesink.c:
2196           Include <stdio.h> for fseeko().
2197
2198 2007-01-10  Wim Taymans  <wim@fluendo.com>
2199
2200         * gst/gstevent.c:
2201         * gst/gstevent.h:
2202         Reserve LATENCY event.
2203
2204 2007-01-09  Wim Taymans  <wim@fluendo.com>
2205
2206         * docs/design/draft-latency.txt:
2207         Updates.
2208
2209 2007-01-09  Wim Taymans  <wim@fluendo.com>
2210
2211         * docs/design/draft-latency.txt:
2212         Updates.
2213
2214         * gst/gstelement.h:
2215         * gst/gststructure.c:
2216         * gst/gsttrace.c:
2217         Small typo fixes.
2218
2219 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2220
2221         * tests/check/.cvsignore:
2222           Ignore test-registry.xml as well.
2223
2224 2007-01-09  Wim Taymans  <wim@fluendo.com>
2225
2226         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2227         unref data at the end when we are done with the pad.
2228
2229 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2230
2231         * docs/gst/gstreamer-sections.txt:
2232         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2233         (init_post), (gst_deinit), (gst_update_registry):
2234         * gst/gst.h:
2235           API: add gst_update_registry() (#391296).
2236
2237         * tests/check/Makefile.am:
2238         * tests/check/gst/gstregistry.c:
2239         * tests/check/gst/.cvsignore:
2240           Simple unit test for the above.
2241
2242 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2243
2244         * gst/gstregistry.c: (gst_registry_scan_path_level):
2245           Plugin extension on HP-UX is .sl, add that to the list of approved
2246           plugin extensions (see #393796).
2247
2248         * tests/check/gst/gstpad.c: (GST_START_TEST):
2249           ulong => gulong. Fixes compilation with HP-UX compiler.
2250
2251         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2252           Fix compilation if valgrind headers are not available.
2253
2254 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
2255
2256         * win32/common/libgstreamer.def: 
2257           Add new exported function.
2258         * win32/vs6/libgstbase.dsp: 
2259           Add gstdataqueue.c to the build.
2260         * win32/vs6/libgstcoreelements.dsp:
2261           Add gstmultiqueue.c to the build.
2262         
2263 2007-01-06  Andy Wingo  <wingo@pobox.com>
2264
2265         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2266         activate_pull(), providing for a way to specialize the process of
2267         spawning a thread to pull on the sink pad. There is a default
2268         implementation.
2269
2270         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2271         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2272         (gst_base_sink_init): Renamed pad activation functions (inserting
2273         "_pad" in their names). Refactor to use the new activate_pull
2274         vmethod, as appropriate.
2275         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2276         default activate_pull function to start a task pulling from the
2277         sink pad, as before.
2278
2279         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2280         on the pads if necessary, as in push()/chain(). Update docs.
2281         Shouldn't affect existing pull() usage as it is currently only
2282         being used on buffers without caps.
2283
2284 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2285
2286         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2287         (init_pre):
2288           Call g_thread_init() first thing in gst_init() / gst_check_init().
2289           When initialisation is done via gst_init_get_option_group() and
2290           GOption parsing, issue a warning if the GLib thread system has not
2291           been initialised yet by the time gst_init_get_option_group() is
2292           called, as it's quite likely other GLib functions such as
2293           g_option_context_new() have been called already then, and
2294           g_thread_init() must be called before any other GLib function. The
2295           application in question must be fixed in that case, since memory
2296           corruption might happen otherwise.
2297           We issue the warning because even if the GLib folks decide to work
2298           around the problem on their end in future, this is still an issue
2299           with all GLib versions >= 2.10.0, so we should warn until we depend
2300           on a GLib version we know to be safe.
2301           Update documentation as well.
2302           Closes bug #391278.
2303
2304 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2305
2306         * tools/gst-inspect.c: (main):
2307         * tools/gst-launch.c: (main):
2308         * tools/gst-typefind.c: (main):
2309         * tools/gst-xmlinspect.c: (main):
2310           Call g_thread_init() really really early, before any other GLib
2311           function (see #342564 and recent discussion on gtk-devel-list).
2312
2313 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2314
2315         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
2316
2317         * gst/gst_private.h:
2318         * gst/gstconfig.h.in:
2319         * gst/gstinfo.h:
2320           On win32, all the __declspec stuff for symbol exporting is
2321           apparently only needed with MSVC, but doesn't work with MingW.
2322           Fixes compilation with MingW and #391909.
2323
2324 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2325
2326         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2327           Change some GST_ERROR_OBJECT that aren't really errors to
2328           GST_WARNING_OBJECT in order to reduce terminal spam.
2329
2330 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
2331
2332         * tests/check/Makefile.am:
2333           disable test again, as there seem to be still race problems
2334
2335 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
2336
2337         * tests/check/Makefile.am:
2338         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2339         (GST_START_TEST), (queue_suite):
2340           enable queue test again, add tests for the leaky behaviour
2341
2342 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
2343
2344         * configure.ac:
2345         * tests/examples/Makefile.am:
2346           Compile adapter test/example only if the required headers are
2347           available (fixes #391915).
2348
2349 2007-01-01  David Schleef  <ds@schleef.org>
2350
2351         * gst/gstplugin.c:
2352           Restore the previous signal handler for SIGSEGV instead of
2353           setting to default, since we may have stolen it away from
2354           someone.  (i.e., Mono)
2355
2356 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
2357
2358         * docs/random/draft-missing-plugins.txt:
2359           Some small additions and clarifications.
2360
2361 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
2362
2363         * gst/gstregistryxml.c: (gst_registry_save_escaped):
2364           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2365           since that can lead to random memory corruptions and crashes
2366           (may or may not be related to #383244, #386711, and #386711).
2367
2368 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2369
2370         * tests/check/.cvsignore:
2371         * tests/check/Makefile.am:
2372           sync .cvsignome and CLEANFILES
2373
2374 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2375
2376         * tests/check/Makefile.am:
2377           fix distcheck
2378
2379 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2380
2381         * docs/design/part-states.txt:
2382           two tiny additional comments
2383         
2384         * gst/gststructure.c:
2385           doc fixing
2386
2387         * tests/check/Makefile.am:
2388         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2389         (GST_START_TEST):
2390           disable test for now, unless it gets fixed
2391
2392 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2393
2394         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2395         (GST_START_TEST):
2396           fix race in underrun test
2397
2398 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2399
2400         * tests/check/elements/.cvsignore:
2401           ignore more
2402
2403         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2404         (GST_START_TEST):
2405           try to narrow test failure
2406
2407 2006-12-21  David Schleef  <ds@schleef.org>
2408
2409         * plugins/elements/gstfakesrc.c:
2410           Use g_random_int_range(), since it produces better random
2411           numbers in a range than almost-correct floating point code.
2412
2413 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2414
2415         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2416         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2417         (gst_check_teardown_sink_pad):
2418           do not automatically (de)activate pads
2419
2420         * tests/check/Makefile.am:
2421         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2422         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2423           add new, yet simple tests for queue
2424
2425         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2426         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2427         * tests/check/elements/filesrc.c: (cleanup_filesrc),
2428         (GST_START_TEST):
2429         * tests/check/elements/identity.c: (cleanup_identity):
2430           consistent pad (de)activation
2431
2432 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2433
2434         Patch by: Sebastian Dröge  <slomo ubuntu com>
2435
2436         * libs/gst/base/gstcollectpads.c:
2437           Fix two doc typos (#387866).
2438
2439 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2440
2441         * docs/manual/advanced-dparams.xml:
2442           Fix typo (g_object_control_properties() doesn't exist).
2443
2444 2006-12-19  Edward Hervey  <edward@fluendo.com>
2445
2446         * gst/gstsegment.c: (gst_segment_set_seek):
2447         Fine tune the cases where the segment start/stop values are really
2448         updated.
2449         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2450         Add tests for the return values of gst_segment_set_seek().
2451
2452 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2453
2454         * gst/gst.c:
2455           Docs typo fix.
2456
2457         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2458         (gst_queue_init):
2459           Fix incorrect documentation and flesh it out a bit more.
2460           Set default values for the max properties on the GParamSpec as well,
2461           so it shows up correctly in gst-inspect.
2462
2463 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
2464
2465         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2466           Correct docs of queue, add more detail and crosslink it more.
2467
2468 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2469
2470         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2471           Print additional debug info when the stream isn't perfectly
2472           timestamped; don't try to use invalid durations.
2473
2474 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2475
2476         * docs/design/Makefile.am:
2477           Dist new design docs.
2478
2479 2006-12-16  Wim Taymans  <wim@fluendo.com>
2480
2481         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2482
2483         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2484         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2485         (gst_collect_pads_stop), (gst_collect_pads_event),
2486         (gst_collect_pads_chain):
2487         * libs/gst/base/gstcollectpads.h:
2488         Add refcounting to the collectpads data so we can track when it's safe
2489         to free the data. Fixes #383382.
2490
2491 2006-12-15  Wim Taymans  <wim@fluendo.com>
2492
2493         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2494         (gst_collect_pads_remove_pad):
2495         Automatically activate/deactivate pads when they are added to a
2496         started/stoped collectpads.
2497
2498 2006-12-15  Wim Taymans  <wim@fluendo.com>
2499
2500         * gst/gstelement.c: (gst_element_add_pad):
2501         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2502         * gst/gstpad.c: (gst_pad_init):
2503         Set pads to FLUSHING when they are created. Check, warn and fix when a
2504         demuxer adds an inactive pad to itself when running. Fixes #339326.
2505
2506 2006-12-15  Wim Taymans  <wim@fluendo.com>
2507
2508         * gst/gstelement.c: (gst_element_class_init),
2509         (gst_element_default_send_event), (gst_element_send_event),
2510         (gst_element_default_query), (gst_element_query):
2511         Expose default element send_event and query handling as vmethods that
2512         subclasses can chain up to.
2513
2514 2006-12-15  Wim Taymans  <wim@fluendo.com>
2515
2516         * gst/gstelement.c: (gst_element_set_state_func):
2517         Small documentation fixes.
2518
2519 2006-12-15  Wim Taymans  <wim@fluendo.com>
2520
2521         * docs/design/draft-latency.txt:
2522         Checked in draft for handling latency in pipelines.
2523
2524 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2525
2526         * Makefile.am:
2527         * gstreamer.doap:
2528         * gstreamer.spec.in:
2529           adding .doap file
2530
2531 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2532
2533         * gst/gst.c: (init_pre), (init_post):
2534           init_pre() and init_post() might be called via our GOptionGroup or
2535           from gst_init(), and we should skip both of them if we've already
2536           been initialised, otherwise we will init some things twice or add
2537           two default log functions.
2538
2539 2006-12-13  Edward Hervey  <edward@fluendo.com>
2540
2541         * docs/manual/basics-bus.xml:
2542         No, gst_main_loop does not exist. Its g_main_loop.
2543         Discovered by somebody who abused the copy-paste technique of coding :)
2544
2545 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2546
2547         * gst/gstghostpad.c:
2548           Log ghostpad debug stuff to the GST_PADS category as well rather
2549           than just to the default category.
2550
2551 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2552
2553         * configure.ac:
2554         * gst/gst.c: (init_pre):
2555           Add some basic system details such as OS and architecture
2556           to the debug output if possible, courtesy of uname().
2557
2558 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2559
2560         * docs/gst/running.xml:
2561           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2562           environment variables.
2563
2564 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2565
2566         * tests/check/gst/gstbin.c: (GST_START_TEST):
2567         It is acceptable to have a refcount of 2 or 3 at this point in the
2568         test, because the pipeline might be just posting its state_change
2569         message. The next line then waits for that message to appear using
2570         bus_poll, so that should be fine too.
2571
2572 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2573
2574         * gst/gst.c: (ensure_current_registry_forking):
2575         Ignore EINTR when reading from the child registry pipe.
2576         Explicitly ignore the return value from close, since it makes no
2577         difference.
2578
2579         * gst/gstminiobject.c: (gst_mini_object_ref),
2580         (gst_mini_object_unref):
2581         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2582
2583         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2584         When removing cached plugins, remove their features too, so they're
2585         not visible after they've disappeared.
2586
2587         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2588         In the unlikely case that we are linking pads with no parents, don't
2589         crash trying to get the non-existent parent bin.
2590
2591         * gst/parse/grammar.y:
2592         Output debug in the PIPELINE category
2593
2594 2005-03-08  Wim Taymans  <wim@fluendo.com>
2595
2596         Patch by: René Stadler <mail at renestadler dot de>
2597
2598         * gst/gstclock.c: (gst_clock_new_periodic_id):
2599         Reject invalid clock times for interval of periodic ids.
2600         Fixes ##383506.
2601
2602 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2603
2604         * gst/gstelementfactory.c: (gst_element_factory_create):
2605         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2606         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2607         * tools/gst-inspect.c: (print_element_info):
2608         Fix refcounting of gst_plugin_feature_load to match the docs. 
2609         Fixes: #380129
2610
2611 2006-12-07  Wim Taymans  <wim@fluendo.com>
2612
2613         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2614         (gst_base_sink_get_position):
2615         Improve debugging of events.
2616
2617 2006-12-07  Wim Taymans  <wim@fluendo.com>
2618
2619         Patch by: René Stadler <mail at renestadler dot de>
2620
2621         * gst/gstclock.c: (gst_clock_id_wait):
2622         Make period ids add the interval to the origial requested time instead
2623         of the possibly updated time which can be wrong when there are multiple
2624         waiters for the same id. Fixes #382592.
2625
2626         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2627         (gst_system_clock_id_wait_jitter_unlocked),
2628         (gst_system_clock_id_wait_jitter):
2629         Fix restart in the async notify thread when an async entry is added to
2630         the front of the list. Fixes #381492. 
2631
2632         * tests/check/gst/gstsystemclock.c: (store_callback),
2633         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2634         Added test for multiple async waits.
2635         Added test for async wait order.
2636
2637 2006-12-07  Wim Taymans  <wim@fluendo.com>
2638
2639         * gst/gstbin.c: (gst_bin_query):
2640         Add some more docs about the POSITION query.
2641
2642 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2643
2644         * configure.ac:
2645         Bump version nano - back to CVS.
2646
2647 === release 0.10.11 ===
2648
2649 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2650
2651         * configure.ac:
2652           releasing 0.10.11, "Love never runs on time"
2653
2654 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2655
2656         * win32/common/libgstbase.def:
2657         * win32/common/libgstreamer.def:
2658         * win32/vs8/libgstbase.vcproj:
2659         * win32/vs8/libgstcoreelements.vcproj:
2660         * win32/vs8/libgstreamer.vcproj:
2661         Fix compilation on win32 under VS8
2662         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2663         Partially fixes #381175
2664
2665 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2666
2667         * gst/gstvalue.c: (gst_value_compare_fraction):
2668         If someone is foolish enough to compare 2 fractions with denominator =
2669         0, return UNORDERED rather than aborting.
2670
2671 2006-11-28  Edward Hervey  <edward@fluendo.com>
2672
2673         * libs/gst/base/Makefile.am:
2674         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2675         (gst_data_queue_base_init), (gst_data_queue_class_init),
2676         (gst_data_queue_init), (gst_data_queue_new),
2677         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2678         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2679         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2680         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2681         (gst_data_queue_set_flushing), (gst_data_queue_push),
2682         (gst_data_queue_pop), (gst_data_queue_drop_head),
2683         (gst_data_queue_set_property), (gst_data_queue_get_property):
2684         * libs/gst/base/gstdataqueue.h:
2685         New GstDataQueue object for threadsafe queueing. Most useful for
2686         elements that need some queueing functionnality.
2687         * docs/libs/gstreamer-libs-docs.sgml:
2688         * docs/libs/gstreamer-libs-sections.txt:
2689         Insert documentation for GstDataQueue
2690         * plugins/elements/Makefile.am:
2691         * plugins/elements/gstelements.c:
2692         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2693         (gst_multi_queue_class_init), (gst_multi_queue_init),
2694         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2695         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2696         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2697         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2698         (gst_multi_queue_loop), (gst_multi_queue_chain),
2699         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2700         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2701         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2702         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2703         (wake_up_next_non_linked), (compute_next_non_linked),
2704         (single_queue_overrun_cb), (single_queue_underrun_cb),
2705         (single_queue_check_full), (gst_single_queue_new):
2706         * plugins/elements/gstmultiqueue.h:
2707         New multiqueue element, using GstDataQueue. Used for queuing multiple
2708         streams.
2709         Closes #344639 and #347785
2710
2711 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2712
2713         * docs/pwg/advanced-types.xml:
2714           add more missing type details
2715
2716         * tools/gst-run.c: (main):
2717           remove unused variable
2718
2719 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2720
2721         * docs/libs/Makefile.am:
2722         * docs/libs/gstreamer-libs.types:
2723           add types of base classes to enable gobject specific stuff in the docs
2724
2725         * docs/random/ensonic/embedded.txt:
2726           more ideas about isolating platform specific things
2727
2728 2006-11-20  Wim Taymans  <wim@fluendo.com>
2729
2730         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2731
2732         * libs/gst/check/gstcheck.h:
2733         Fix compilation and running against 0.9.4. Fixes #377332.
2734
2735 2006-11-20  Wim Taymans  <wim@fluendo.com>
2736
2737         * gst/gstsegment.c: (gst_segment_set_seek),
2738         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2739         (gst_segment_to_running_time):
2740         Fix boundary checking in to_running_time() and to_stream_time().
2741         Fixes #377183.
2742
2743         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2744         stream and running time can now be calculated for the complete
2745         clipped segment.
2746
2747 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2748
2749         * gst/gstpad.c: (gst_pad_push_event):
2750           Can't access event structure after giving away ownership of
2751           the event.
2752
2753 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2754
2755         * docs/random/ensonic/embedded.txt:
2756         * docs/random/ensonic/profiling.txt:
2757         * docs/random/ensonic/receipies.txt:
2758           more thinking
2759
2760 2006-11-13  Wim Taymans  <wim@fluendo.com>
2761
2762         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2763
2764         * gst/gstpad.c:
2765         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2766
2767 2006-11-13  Wim Taymans  <wim@fluendo.com>
2768
2769         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2770
2771         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2772         Store new length in segment duration so we don't keep on calling the
2773         potentially expensize get_size() call. Fixes #370865.
2774
2775 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2776
2777         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2778
2779         * win32/common/libgstreamer.def:
2780           Add two missing symbols (#366492).
2781
2782 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2783
2784         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2785         (gst_adapter_take_buffer):
2786         Fix format string to use all its arguments.
2787         Remove useless >= check on a guint
2788
2789 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2790
2791         * tests/examples/adapter/.cvsignore:
2792         Ignore build file as commanded by the build-bot
2793
2794 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2795
2796         * tests/examples/adapter/Makefile.am:
2797         * tests/examples/adapter/adapter_test.c: (run_test_take),
2798         (run_test_take_buffer), (run_tests), (main):
2799
2800         Add new files from the previous commit
2801
2802 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2803
2804         * Makefile.am:
2805         * configure.ac:
2806         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2807         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2808         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2809         * libs/gst/base/gstadapter.h:
2810         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2811         (GST_START_TEST), (gst_adapter_suite):
2812         * tests/examples/Makefile.am:
2813         Do some optimisation work in GstAdapter to avoid copies in more cases.
2814         It could still do slightly better by merging buffers when
2815         gst_buffer_is_span_fast is true, but is already faster. 
2816
2817         Also, avoid traversing a single-linked list to append each incoming 
2818         buffer inside the adapter.
2819
2820         Add simple test app that times the adapter behaviour in different
2821         situations, and extend the unit test to check that bytes enter and
2822         exit the adapter in their original order.
2823
2824 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * docs/random/draft-missing-plugins.txt:
2827           Update: use element message instead of adding a new message
2828           type to the core; don't provide GStreamer API to initiate the
2829           plugin download, just provide API to compose the strings needed
2830           and let an external libgimmestuff handle the rest.
2831
2832 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2833
2834         * tools/gst-inspect.c: (print_element_properties_info):
2835         Print a string instead of 'unknown type' for GValueArray properties
2836
2837 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2838
2839         * docs/random/draft-missing-plugins.txt:
2840         More small fixes.
2841
2842 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2843
2844         * tests/examples/typefind/typefind.c: (type_found), (main):
2845           Make typefind element example work again (#371894); add a
2846           license header.
2847
2848 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2849
2850         * docs/random/draft-missing-plugins.txt:
2851           Commit initial draft about how to deal with missing plugins,
2852           needs work (API too).
2853
2854 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2855
2856         * docs/pwg/advanced-types.xml:
2857           documents the new caps elements (see #363118)
2858
2859 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2860
2861         * gst/gstplugin.c: (gst_plugin_load_file):
2862         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2863         (gst_file_src_map_region), (gst_file_src_start):
2864         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2865         (gst_file_index_commit):
2866           Use g_strerror() instead of strerror() - we want UTF-8.
2867
2868 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2869
2870         Patch by: Peter Kjellerstedt <pkj at axis com>
2871
2872         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2873           Another printf fix (#371493).
2874
2875 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2876
2877         * tests/check/gst/gsttag.c:
2878           relicence (okay with author=company)
2879
2880 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2881
2882         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2883         (gst_pad_push_event):
2884           Enhance debug and improve docs
2885         
2886         * gst/gsturi.c:
2887           Fix docs
2888
2889 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2890
2891         * docs/random/ensonic/distributed.txt:
2892         * docs/random/ensonic/profiling.txt:
2893           more ideas
2894
2895 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2896
2897         * docs/gst/gstreamer-sections.txt:
2898           add new API and fix the build
2899           
2900         * gst/gstbin.c: (gst_bin_recalc_state):
2901         * gst/gstelement.c: (gst_element_message_full),
2902         (gst_element_get_state_func), (gst_element_set_state_func):
2903           use new API and improve logging
2904         
2905         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2906         * gst/gstutils.h:
2907           API: add function to get StateChangereturn names to improve logs 
2908
2909 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2910
2911         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2912           I'm considering shooting the next person to put strerror stuff
2913           in the translateable part of the message.
2914
2915 2006-11-03  Wim Taymans  <wim@fluendo.com>
2916
2917         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2918         Get the type and printf conversion specifiers right.
2919
2920 2006-11-03  Wim Taymans  <wim@fluendo.com>
2921
2922         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2923
2924         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2925         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2926         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2927         Some small cleanups. Improve debugging.
2928         * gst/gstpad.h:
2929         Signal all waiting threads with a broadcast instead of just one.
2930         Fixes #369942.
2931
2932 2006-11-03  Wim Taymans  <wim@fluendo.com>
2933
2934         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2935         (gst_fd_src_create):
2936         Add some debugging. 
2937         Only update fd when it's different from the old.
2938
2939 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2940
2941         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2942           Printf fixes for PPC/OSX, take two (#369366).
2943
2944 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2947
2948         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2949         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2950         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2951           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2952           don't cast to long long for portability reasons, but use
2953           GLib's types instead.
2954
2955 2006-10-30  Michael Smith  <msmith@fluendo.com>
2956
2957         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2958           Get the arguments to lseek() the right way around.
2959           Fixes 367677.
2960
2961 2006-10-30  Wim Taymans  <wim@fluendo.com>
2962
2963         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2964
2965         * gst/gstinfo.h:
2966         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2967
2968 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2969
2970         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2971
2972         * docs/design/part-MT-refcounting.txt:
2973         * docs/random/wtay/capsnego2-docs:
2974         * gst/gstclock.c:
2975         * gst/gstxml.c:
2976           Typo fixes (#366212).
2977
2978 2006-10-28  Wim Taymans  <wim@fluendo.com>
2979
2980         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2981
2982         * gst/gst.c:
2983         * win32/common/libgstbase.def:
2984         * win32/common/libgstreamer.def:
2985         * win32/vs8/libgstbase.vcproj:
2986         * win32/vs8/libgstcontroller.vcproj:
2987         Add needed entries in .def files.
2988         Use HAVE_UNISTD_H.
2989         Rearrange def files in vs8 solutions. Fixes #366286.
2990
2991 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * win32/common/gstconfig.h:
2994           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2995           hand-made win32 gstconfig.h. Fixes #366321.
2996
2997 2006-10-27  Wim Taymans  <wim@fluendo.com>
2998
2999         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
3000         (gst_ghost_pad_new_full):
3001         Make acceptcaps return TRUE when we don't have a target, just like
3002         setcaps does.
3003
3004 2006-10-27  Wim Taymans  <wim@fluendo.com>
3005
3006         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3007         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
3008
3009 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3010
3011         * gst/gststructure.c: (gst_structure_id_set_value):
3012           If someone tries to set a non-UTF8 string field on a structure,
3013           don't just print a warning, but also ignore the request and do
3014           not change/add that field to the structure.
3015
3016         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3017           Test for the above.
3018
3019 2006-10-25  David Schleef  <ds@schleef.org>
3020
3021         * gst/gstinfo.c:
3022           g_hash_table_insert() needs a cast to a non-const pointer duh.
3023
3024 2006-10-25  David Schleef  <ds@schleef.org>
3025
3026         * gst/gstinfo.c:
3027         * gst/gstinfo.h:
3028           Change name parameter of _gst_debug_register_funcptr to const
3029           to reflect the constness of its use in the function as well
3030           as to quiet a gcc warning.
3031
3032 2006-10-25  Edward Hervey  <edward@fluendo.com>
3033
3034         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3035         Don't push the buffer if it's empty.
3036         Closes #363095
3037
3038 2006-10-24  Wim Taymans  <wim@fluendo.com>
3039
3040         * gst/gstevent.h:
3041         Add small comment.
3042
3043         * libs/gst/base/gstbasetransform.c:
3044         (gst_base_transform_sink_eventfunc):
3045         Debug segment values *after* updating them as this is more
3046         interesting.
3047
3048 2006-10-23  Wim Taymans  <wim@fluendo.com>
3049
3050         * docs/design/part-events.txt:
3051         Update some docs.
3052
3053         * docs/design/part-block.txt:
3054         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3055         (gst_pad_push_event):
3056         Revert BLOCKING patch, it tries to be smart without really having a
3057         clear idea what or how. So, now we discard all FLUSHING events again on
3058         a blocking pad. Should fix gnonlin again.
3059
3060 2006-10-23  Wim Taymans  <wim@fluendo.com>
3061
3062         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3063
3064         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3065         (gst_base_src_start), (gst_base_src_activate_push):
3066         Make sure size is always initialized. Fixes #364388.
3067
3068 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
3069
3070         * docs/random/ensonic/distributed.txt:
3071           add some ideas about doing distributed processing
3072
3073         * docs/random/ensonic/profiling.txt:
3074           get_rusage look promising
3075
3076 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
3077
3078         * docs/manual/basics-helloworld.xml:
3079           Add a cast in example to fix compile warning
3080
3081 2006-10-18  Wim Taymans  <wim@fluendo.com>
3082
3083         * gst/gstsegment.c: (gst_segment_set_last_stop),
3084         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3085         Relax arg checking again, -1 is allowed.
3086
3087 2006-10-18  Wim Taymans  <wim@fluendo.com>
3088
3089         * gst/gstsegment.c: (gst_segment_set_last_stop),
3090         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3091         _set_last_stop() must be with a value != -1
3092         A _TYPE_SET to -1 means seek to 0.
3093         Calc last_stop correctly for negative rates.
3094         Make sure we work with positive durations when updating a segment.
3095
3096 2006-10-18  Wim Taymans  <wim@fluendo.com>
3097
3098         * docs/design/part-live-source.txt:
3099         * gst/gstclock.h:
3100         Small docs fixes.
3101
3102 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
3103
3104         * gst/gstbuffer.h:
3105           Add an explicit cast to GstBuffer** to keep old code that added an
3106           explicit cast to GstMiniObject** for gst_mini_object_replace()
3107           compiling without warning.
3108
3109 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
3110
3111         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3112           check for validity of dates
3113
3114 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
3115
3116         * docs/gst/gstreamer-sections.txt:
3117           Forgot this one, makes gtk-doc shut up.
3118
3119 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
3120
3121         Patch by: Peter Kjellerstedt <pkj at axis com>
3122
3123         * gst/gstobject.h:
3124           Don't define xmlNodePtr to gpointer if the core was built with
3125           --disable-loadsave and --disable-registry, this will break
3126           applications that want to use libxml2 but are buildling against a
3127           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3128           instead so we don't have to mess with the libxml2 namespace
3129           (#361675).
3130
3131 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
3132
3133         * gst/gstbuffer.h:
3134           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3135           type-punned pointer warnings.
3136
3137 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3138
3139         * gst/gstelement.h:
3140           Add casts to the correct return type to state <=> state transition
3141           macros.
3142
3143 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
3144
3145         * docs/design/part-live-source.txt:
3146           describe howto handle latency
3147         
3148         * docs/random/ensonic/profiling.txt:
3149           more ideas
3150
3151         * tools/gst-plot-timeline.py:
3152           fix log parsing for solaris, remove unused function
3153
3154 2006-10-16  Wim Taymans  <wim@fluendo.com>
3155
3156         * docs/design/part-trickmodes.txt:
3157         * gst/gstevent.c:
3158         Update some docs regarding reverse playback.
3159
3160 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3161
3162         Patch by: Marcus Granado  <mrc dot gran at gmail com>
3163
3164         * win32/vs8/grammar.vcproj:
3165           Error out with a warning if glib-genmarshal.exe is not in path,
3166           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3167
3168 2006-10-13  Wim Taymans  <wim@fluendo.com>
3169
3170         * gst/gstsegment.c: (gst_segment_set_seek):
3171         When seeking to stop -1, set last_stop (current position) to the
3172         duration of the segment.
3173
3174 2006-10-13  Wim Taymans  <wim@fluendo.com>
3175
3176         * gst/gstelement.h:
3177         Clarify _NO_PREROLL a bit more.
3178
3179         * gst/gstevent.c:
3180         Fix docs.
3181
3182         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3183         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3184         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3185         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3186         due to wrong locking order. Fixes #361769.
3187         Remove some redundant/misplaced checks in pad_block.
3188
3189         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3190         For negative rates, count backwards from the duration.
3191
3192 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3193
3194         * gst/gsterror.c: (_gst_library_errors_init):
3195           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3196           up with something better).
3197
3198 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
3199
3200         * win32/vs6/libgstreamer.dsp:
3201         * win32/vs7/libgstreamer.vcproj:
3202         * win32/vs8/libgstreamer.vcproj:
3203           Don't reference glib-compat.c which is currently not used and not
3204           disted; add gstquark.c which was recently added. Fixes #361730.
3205
3206 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
3207
3208         * win32/common/libgstbase.def:
3209         * win32/common/libgstcontroller.def:
3210         * win32/common/libgstreamer.def:
3211           Add gst_caps_merge() and a bunch of other recently-added functions.
3212           Fixes #361732.
3213
3214 2006-10-11  Wim Taymans  <wim@fluendo.com>
3215
3216         * docs/plugins/gstreamer-plugins.args:
3217         * docs/plugins/inspect/plugin-coreelements.xml:
3218         * docs/plugins/inspect/plugin-coreindexers.xml:
3219         Update element args.
3220
3221         * gst/gstsystemclock.c:
3222         Small comment update.
3223
3224         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3225         (gst_tee_request_new_pad), (gst_tee_release_pad),
3226         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3227         (gst_tee_sink_activate_pull):
3228         * plugins/elements/gsttee.h:
3229         Some tee loving:
3230         Add default property defines.
3231         Implement release pad function.
3232         Give properties better blubs etc.
3233         Activate pads before adding them to a running tee.
3234         Do simple buffer_alloc on the first requested pad.
3235         Post error when activation fails.
3236
3237 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
3238
3239         * gst/gst.c: (ensure_current_registry_forking):
3240           Check return value of write() to make compiler happy.
3241
3242 2006-10-11  Wim Taymans  <wim@fluendo.com>
3243
3244         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3245
3246         * plugins/elements/gstqueue.c: (gst_queue_chain):
3247         Recheck queue filledness after signalling the overrun when we're about
3248         to leak downstream because we released the lock when emitting the signal
3249         and the queue could be empty again. Fixes #352345.
3250
3251 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
3252
3253         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3254           Fix refcounting here too, just like we did for _new_valist() a few
3255           days ago (#357180) (thanks to René Stadler). Also remove all those
3256           'Since: 0.9' from the gtk-doc blobs.
3257
3258         * tests/check/libs/controller.c: (controller_refcount_new_list),
3259         (gst_controller_suite):
3260           Unit test for the above.
3261
3262 2006-10-10  Wim Taymans  <wim@fluendo.com>
3263
3264         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3265
3266         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3267         (gst_pad_save_thyself):
3268         Update some docs.
3269         Write pad direction in XML output. Fixes #345496.
3270
3271 2006-10-10  Wim Taymans  <wim@fluendo.com>
3272
3273         Patch by: René Stadler <mail at renestadler dot de>
3274
3275         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3276         (gst_controller_new_list), (_gst_controller_dispose),
3277         (_gst_controller_finalize), (_gst_controller_class_init):
3278         Take ref to controlled object so that it cannot disappear. 
3279         Fixes #357432.
3280
3281 2006-10-10  Wim Taymans  <wim@fluendo.com>
3282
3283         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3284         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3285         (gst_check_teardown_sink_pad):
3286         Activate/deactivate pads in setup/teardown respectively.
3287
3288 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3289
3290         Patch by: Josep Torre Valles <josep@fluendo.com>
3291
3292         * gst/Makefile.am:
3293         Cast values when making gstenumtypes.h.  This pacifies Forte
3294         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3295         in the enumeration.
3296
3297 2006-10-09  Wim Taymans  <wim@fluendo.com>
3298
3299         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3300         Rename some more @cur to @start to fix docs. 
3301
3302         * gst/gstsegment.c: (gst_segment_set_seek):
3303         Fix typo.
3304         time and start must always stay in sync as defined in design doc.
3305
3306         * gst/gsttaglist.c: (gst_tag_list_is_empty):
3307         Rename param to fix docs.
3308
3309         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3310         Check that start and time are in sync.
3311
3312         * tests/check/pipelines/parse-launch.c:
3313         (gst_parse_test_element_change_state):
3314         Activate pad before adding to the element.
3315
3316 2006-10-09  Wim Taymans  <wim@fluendo.com>
3317
3318         * docs/design/part-qos.txt:
3319         Fix typo.
3320
3321         * gst/gstevent.c:
3322         * gst/gstevent.h:
3323         Update seek event docs regarding negative rates.
3324         Rename @cur to @start. 
3325
3326         * gst/gstsegment.c: (gst_segment_set_seek):
3327         * gst/gstsegment.h:
3328         Update set_seek docs regarding negative rates.
3329         Correctly update last_stop to @stop when dealing with negative
3330         rates.
3331         Rename @cur to @start. 
3332
3333         * tests/check/gst/gstpad.c: (GST_START_TEST):
3334         Activate pads before trying to use them.
3335
3336         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3337         (gst_segment_suite):
3338         Add simple check for segments and negative rates.
3339
3340 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         * gst/gsttaglist.c: (gst_tag_list_is_empty):
3343         * gst/gsttaglist.h:
3344         * docs/gst/gstreamer-sections.txt:
3345           API: add gst_tag_list_is_empty() (#360467).
3346
3347         * tests/check/gst/gsttag.c: (GST_START_TEST):
3348           And a test case.
3349
3350 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3351
3352         * gst/gstmessage.h:
3353         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3354         a value that doesn't fit on enumeration.
3355
3356 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3357
3358         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3359         Remove local debugging system and use Gstreamer's instead.
3360
3361 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3362
3363         Patch by: Josep Torre Valles <josep@fluendo.com>
3364
3365         * common/m4/gst-error.m4:
3366         Disable warning of statement not reached on Forte.
3367         * gst/gstmessage.h:
3368         Fix warning on Forte (value doesn't fit on enumeration).
3369         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3370         Fix warning on Forte (value doesn't fit on enumeration).
3371         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3372         DEBUG macro says it takes minimum of 2 args and so Forte
3373         complains about the use with just 1 arg.
3374         * plugins/elements/gstfdsink.c:
3375         * plugins/elements/gstfdsrc.c:
3376         * plugins/elements/gstfilesink.c:
3377         * plugins/elements/gstfilesrc.c:
3378         Use correct return type for the uri handler implementations.
3379
3380         All these fix warnings in Forte.  Fixes bug #360860.
3381
3382 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3383
3384         * gst/gstelement.h:
3385           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3386           format string, so don't use G_GNUC_PRINTF for those versions.
3387
3388 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3389
3390         * gst/gsttaglist.c: (gst_is_tag_list):
3391         * gst/gsttaglist.h:
3392           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3393
3394         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3395           Small test for the above.
3396
3397 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3398
3399         * gst/gsttaglist.h:
3400           Less tabs, more spaces.
3401
3402 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
3403
3404         * gst/gstinfo.h:
3405           Those two function declarations do actually belong there, revert
3406           commit from yesterday that turned them intro macros.
3407
3408 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3409
3410         Patch by: Josep Torre Valles <josep@fluendo.com>
3411
3412         * gst/gst.c: (gst_init_get_option_group):
3413         Fix empty declaration and type mismatch.
3414         * gst/gstbin.c: (gst_bin_change_state_func):
3415         Fix type mismatch.
3416         * gst/gstelement.c: (gst_element_continue_state),
3417         (gst_element_set_state_func), (gst_element_change_state),
3418         (gst_element_change_state_func):
3419         Fix type mismatches.
3420         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3421         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3422         Cast as appropriate.
3423         * gst/gstobject.c: (gst_class_signal_connect):
3424         Cast as appropriate.  The function pointer parameter really
3425         has the wrong type but would break API if we change it.
3426         * gst/gstquery.c:
3427         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3428         order of including string.h.
3429         * gst/gstutils.c: (gst_element_state_get_name):
3430         Remove unreachable line.
3431         * gst/gstxml.c: (gst_xml_parse_doc):
3432         Fix type mismatch.
3433         All these caught by Forte.
3434
3435 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3436
3437         Patch by: Josep Torre Valles <josep@fluendo.com>
3438
3439         * common/m4/gst-error.m4:
3440         Fixed bug #360151.
3441         We need to disable warnings on Forte for empty declarations
3442         due to gst-indent adding ;s to lines that just use macros
3443         where the macro actually doesn't need a ; at end to end
3444         statement.
3445
3446 2006-10-06  Wim Taymans  <wim@fluendo.com>
3447
3448         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3449         (gst_file_sink_close_file), (gst_file_sink_event),
3450         (gst_file_sink_render):
3451         Add some FIXME for the NEWSEGMENT handling.
3452
3453 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3454
3455         * gst/parse/grammar.y:
3456         Remove static function gst_parse_element_lock as all it does
3457         is return.  Looks like cruft from 0.8.
3458
3459 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3460
3461         Patch by: Josep Torre Valles <josep@fluendo.com>
3462
3463         * common/m4/gst-error.m4:
3464         * configure.ac:
3465         * libs/gst/net/Makefile.am:
3466         Fix a compilation issue with Forte on Solaris.  inet_aton is in
3467         libresolv.
3468
3469 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3470
3471         * gst/gstpad.c: (pre_activate):
3472         * gst/gstregistry.c: (gst_registry_scan_path_level):
3473         * gst/gstregistryxml.c: (load_plugin):
3474         * libs/gst/controller/gstcontroller.c:
3475         (gst_controlled_property_set_interpolation_mode):
3476         * libs/gst/dataprotocol/dataprotocol.c:
3477         (gst_dp_packet_from_event_1_0):
3478         * libs/gst/net/gstnetclientclock.c:
3479         (gst_net_client_clock_observe_times):
3480         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3481           Printf fixes.
3482
3483 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3484
3485         * configure.ac:
3486         * docs/gst/gstreamer-sections.txt:
3487         * gst/gstconfig.h.in:
3488         * gst/gstelement.h:
3489         * gst/gstinfo.h:
3490           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3491           whether we can use G_GNUC_PRINTF in other header files and at
3492           least check the printf format/arguments of debug messages and
3493           GST_ELEMENT_ERROR messages when the printf extension is not
3494           being used.
3495           Replace more tabs with spaces in gstinfo.h and remove two spurious
3496           function declarations in GST_DISABLE_DEBUG part with macros.
3497
3498 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3499
3500         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3501           More docs for the sync-message signal (mention that it is not
3502           emitted by default); log message structures of messages posted on
3503           the bus as well.
3504
3505 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3506
3507         * gst/gst.c: (ensure_current_registry_forking):
3508         Use a pipe pair to receive status results from the forked child, and
3509         ignore the result from waitpid. Fixes #355499
3510
3511 2006-10-02  Wim Taymans  <wim@fluendo.com>
3512
3513         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3514         (gst_ghost_pad_suite):
3515         Fix leak in check.
3516
3517 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3518
3519         * gst/gstpad.c:
3520           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3521
3522 2006-10-02  Edward Hervey  <edward@fluendo.com>
3523
3524         * docs/design/part-block.txt:
3525         Further explain the use of flushing on blocked pads.
3526         * docs/gst/gstreamer-sections.txt:
3527         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3528         (gst_pad_push_event):
3529         * gst/gstpad.h:
3530         Added new GstPadFlag : GST_PAD_BLOCKING.
3531         Adds the notion of pads really blocking, which enables to properly
3532         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3533         Fixes #358999
3534         API: gst_pad_is_blocking()
3535         API: GST_PAD_IS_BLOCKING() macro
3536         API: GST_PAD_BLOCKING GstPadFlag
3537         
3538 2006-10-02  Wim Taymans  <wim@fluendo.com>
3539
3540         Patch by: mrcgran <mrc.gran at gmail dot com>
3541
3542         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3543         Filter the proxied caps against the padtemplate if we have one.
3544
3545         * gst/gstquery.c: (gst_query_new_segment):
3546         Add include for gstinfo.h so that compilation with
3547         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3548
3549 2006-10-02  Wim Taymans  <wim@fluendo.com>
3550
3551         Patch by: Alessandro Decina  <alessandro at nnva org>
3552
3553         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3554         (gst_file_sink_set_location), (gst_file_sink_open_file),
3555         (gst_file_sink_close_file), (gst_file_sink_event),
3556         (gst_file_sink_render):
3557         Set file to NULL when closing filesink so that we can set a new filename
3558         in READY. Fixes #358613.
3559
3560 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3561
3562         Patch by: Alessandro Decina  <alessandro at nnva org>
3563
3564         * gst/gstevent.c: (_gst_event_copy):
3565           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3566           with event structures by setting the parent refcount address of the
3567           copied structure to the address of the refcount member of the newly
3568           copied event rather than the address of the refcount member of the
3569           original event. Fixes #358737.
3570
3571         * tests/check/gst/gstevent.c: (GST_START_TEST):
3572           Unit test for the above.
3573
3574 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3575
3576         * docs/design/Makefile.am:
3577           Dist some more files.
3578
3579 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3580
3581         * tests/check/libs/controller.c: (GST_START_TEST),
3582         (gst_controller_suite):
3583           Add test for the previous fix; add some more tests
3584           for correct refcounting behaviour; fix a few leaks
3585           in test cases; call gst_controller_init() at start
3586           of all tests.
3587
3588 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3589
3590         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3591         (gst_controller_set_from_list):
3592           Don't g_return_val_if_fail() on timed values with invalid timestamps
3593           inside a critical section without unlocking the mutex. Spotted by
3594           René Stadler. (#357617)
3595           Also, fix up refcounting properly: when returning an existing
3596           controller, we should increase the reference only once and not
3597           once per property and when trying to control a property again
3598           we should also increase the refcount.
3599
3600 2006-09-29  Wim Taymans  <wim@fluendo.com>
3601
3602         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3603         * libs/gst/net/gstnettimeprovider.c:
3604         (gst_net_time_provider_thread):
3605         Stop reading commands when EOF as well.
3606
3607         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3608         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3609         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3610         Unify description of the dump property.
3611
3612 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3613
3614         * tests/examples/manual/.cvsignore:
3615         OK, so it's actually cvsignore that needs changing. Stop laughing.
3616
3617 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3618
3619         * tests/examples/manual/Makefile.am:
3620         Gah, declare vars *before* using them
3621
3622 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3623
3624         * gst/gst.c: (init_pre), (scan_and_update_registry),
3625         (ensure_current_registry_nonforking),
3626         (ensure_current_registry_forking), (ensure_current_registry),
3627         (init_post), (gst_debug_help), (gst_deinit):
3628         * gst/gst_private.h:
3629         * gst/gstregistry.c: (gst_registry_finalize),
3630         (gst_registry_remove_features_for_plugin_unlocked),
3631         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3632         (gst_registry_scan_path),
3633         (_priv_gst_registry_remove_cache_plugins),
3634         (_priv_gst_registry_cleanup):
3635         * gst/gstregistry.h:
3636         Re-commit the registry changes, along with an extra fix:
3637           When a cached plugin is encountered at a different file path,
3638           update the stored path in the registry cache so that the parent
3639           process knows where it actually is now when it re-reads the registry
3640           cache. Fixes the thing that broke distcheck with the previous commit.
3641
3642         * tests/check/Makefile.am:
3643         Clean up files named 'core' too when running make clean.
3644
3645         * tests/examples/manual/Makefile.am:
3646         Set up a registry path for running these tests, and clean it properly
3647         for distcheck.
3648
3649 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3650
3651         * configure.ac:
3652         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3653         want gmodule-no-export-2.0.pc instead so that we don't drag in
3654         --export-dynamic on every project that links to GStreamer.
3655
3656         Also, make our export regex only match the start of symbols, rather 
3657         than any symbol that contains '_gst' somewhere.
3658
3659         * libs/gst/check/Makefile.am:
3660         The libgstcheck we build does however need export-dynamic, as it
3661         produces some symbols that don't match our _gst... style regex.
3662         Fixes: #318031
3663
3664 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3665
3666         * gst/gst.c: (init_pre), (scan_and_update_registry),
3667         (ensure_current_registry_nonforking),
3668         (ensure_current_registry_forking), (ensure_current_registry),
3669         (init_post), (gst_debug_help), (gst_deinit):
3670         * gst/gst_private.h:
3671         * gst/gstregistry.c: (gst_registry_finalize),
3672         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3673         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3674         (_gst_registry_cleanup):
3675         * gst/gstregistry.h:
3676           Revert previous change until I figure out why it breaks distcheck.
3677
3678 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3679
3680         * gst/gst.c: (init_pre), (scan_and_update_registry),
3681         (ensure_current_registry_nonforking),
3682         (ensure_current_registry_forking), (ensure_current_registry),
3683         (init_post), (gst_debug_help), (gst_deinit):
3684
3685           Make init_pre and init_post take the full complement of GOptionFunc
3686           args so they can return useful GErrors. Make the registry updating
3687           functions do so.
3688
3689           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3690           ensure that the registry we're about to write out doesn't contain
3691           stale information about old-deleted plugin files.
3692
3693           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3694           that deletion of plugin files is considered a registry change.
3695
3696         * gst/gst_private.h:
3697         * gst/gstregistry.c: (gst_registry_finalize),
3698         (gst_registry_remove_features_for_plugin_unlocked),
3699         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3700         (gst_registry_scan_path),
3701         (_priv_gst_registry_remove_cache_plugins),
3702         (_priv_gst_registry_cleanup):
3703         * gst/gstregistry.h:
3704         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3705         by adding _priv prefix, so that they won't appear in the global
3706         symbol table. They still do atm though because of #318031. Move the
3707         prototypes to gst_private.h
3708
3709         When removing a plugin, remove all features for that plugin too. 
3710         Fixes #340878.
3711
3712 2006-09-27  Wim Taymans  <wim@fluendo.com>
3713
3714         * docs/random/moving-plugins:
3715         Make it clear that the "compiled-in descriptions" really mean
3716         the element details.
3717
3718         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3719         (gst_base_sink_wait_preroll):
3720         Update docs.
3721
3722         * docs/libs/gstreamer-libs-sections.txt:
3723         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3724         (gst_base_src_get_range), (gst_base_src_activate_push):
3725         * libs/gst/base/gstbasesrc.h:
3726         Added function to block while waiting for PLAYING, this function
3727         is used by live sources that block on the clock.
3728         API: gst_base_src_wait_playing()
3729
3730 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3731
3732         Patch by: Peter Kjellerstedt <pkj at axis com>
3733
3734         * Makefile.am:
3735           gst-element-check.m4 is generated and should therefore be
3736           copied from the build dir rather than the source dir (#357593).
3737           'make distcheck' hasn't noticed this because we were disting
3738           the file as well, so stop doing that.
3739
3740 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3741
3742         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3743           Add some tests for gst_caps_intersect().
3744
3745         * tools/gst-launch.c: (event_loop):
3746           Print all buffering percentages we get, even the 100% one.
3747
3748 2006-09-26  Wim Taymans  <wim@fluendo.com>
3749
3750         * tools/gst-inspect.c: (print_element_properties_info),
3751         (print_signal_info):
3752         Fix printing of flags to match the look of enums.
3753
3754 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3755
3756         * gst/gstelementfactory.c:
3757           Fix typo in docs blurb.
3758
3759 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         * gst/gsturi.c: (search_by_entry):
3762           Don't assert/crash here if a uri handler doesn't return any
3763           supported protocols. The list of protocols could be generated
3764           dynamically at runtime or at plugin registration, and an error
3765           in the underlying library shouldn't be fatal (#353301).
3766
3767 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3768
3769         * gst/gstinfo.c:
3770           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3771           (spotted by Peter Kjellerstedt).
3772
3773 2006-09-23  Wim Taymans  <wim@fluendo.com>
3774
3775         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3776
3777         * libs/gst/base/gstbasesrc.c:
3778         (gst_base_src_default_check_get_range), (gst_base_src_start),
3779         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3780         (gst_base_src_change_state):
3781         Match _start/_stop calls in the activate functions. Remove redundant
3782         _stop call from the state change function. Fixes #356910.
3783         Turn failure DEBUG into ERROR. 
3784
3785 2006-09-22  Wim Taymans  <wim@fluendo.com>
3786
3787         * docs/design/part-buffering.txt:
3788         * gst/gstmessage.c: (gst_message_new_buffering),
3789         (gst_message_parse_buffering):
3790         Update docs about buffering.
3791
3792         * docs/design/part-trickmodes.txt:
3793         Fix typo.
3794
3795 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3796
3797         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3798         (gst_controller_new_list):
3799           Ref instances when returning them again (fixes #357180)
3800
3801 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3802
3803         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3804           Don't forget to release proxy lock when there's an error.
3805
3806 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3807
3808         * gst/gstcaps.h:
3809           Add extra initialisers for Caps things, to fix some plugin warnings
3810           when using -Wextra
3811
3812 2006-09-18  Wim Taymans  <wim@fluendo.com>
3813
3814         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3815           Also set template on the internal pad so that a getcaps from the 
3816           target pad returns the template caps.
3817
3818 2006-09-18  Wim Taymans  <wim@fluendo.com>
3819
3820         * gst/gstelement.c: (gst_element_post_message),
3821         (gst_element_dispose):
3822         Use _DEBUG_OBJECT some more.
3823
3824         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3825         Avoid typechecks.
3826
3827         * tools/gst-launch.c: (main):
3828         If the toplevel element is not a GstPipeline, it must be put in a
3829         pipeline so that a bus and clock is selected.
3830
3831 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3832
3833         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3834           JITTER, RATE, and LATENCY query should be handled by the
3835           default case and not by the CONVERT query code.
3836
3837 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3838
3839         * gst/gstformat.c: (gst_format_register):
3840           Fix locking order (must take lock before using n_values).
3841
3842         * gst/gstvalue.c: (gst_value_serialize_enum),
3843         (gst_value_deserialize_enum_iter_cmp),
3844         (gst_value_deserialize_enum):
3845           Fix serialisation/deserialisation of custom registered GstFormats.
3846
3847         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3848           Unit test for custom format serialisation/deserialisation.
3849
3850 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * docs/pwg/building-boiler.xml:
3853         * plugins/elements/gstcapsfilter.c:
3854         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3855         section.
3856
3857 2006-09-16  Edward Hervey  <edward@fluendo.com>
3858
3859         * libs/gst/base/gstbasetransform.c:
3860         (gst_base_transform_buffer_alloc):
3861         Check if requested caps are the same as the sinks caps IF
3862         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3863         is FALSE.
3864         This fixes the renegotiation issues stated in #352827.
3865
3866 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3867
3868         * configure.ac:
3869         * docs/manual/advanced-autoplugging.xml:
3870         * tests/examples/Makefile.am:
3871         * tests/examples/manual/.cvsignore:
3872         * tests/examples/manual/Makefile.am:
3873         * tests/examples/manual/extract.pl:
3874           Extract the manual examples again like we used to do.
3875           Fix one of them.
3876
3877 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3878
3879         * win32/common/config.h:
3880           update for version
3881
3882 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3883
3884         * gst/gsterror.c:
3885           Documents how to receive errors.
3886
3887 2006-09-15  Wim Taymans  <wim@fluendo.com>
3888
3889         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3890         (event_loop), (main):
3891         Added some comments here and there.
3892         Post an application message when an interrupt is caught instead of doing
3893         an uncontrolled state change.
3894         Clean up the event loop.
3895         Handle buffering messages, pause/resume the pipeline.
3896         Make shutdown because of an interrupt more reliable.
3897
3898 2006-09-15  Wim Taymans  <wim@fluendo.com>
3899
3900         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3901         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3902         (gst_base_sink_preroll_object):
3903         Make sure that our internal state is correct when we commit our state
3904         asynchronously. This solves a race where a state change to PLAYING
3905         could cause the sink to remain blocked in preroll in some situations.
3906
3907 2006-09-15  Wim Taymans  <wim@fluendo.com>
3908
3909         * tools/gst-inspect.c: (print_element_properties_info),
3910         (print_signal_info):
3911         List flags as hex so it's easier to deal with.
3912
3913 2006-09-15  Wim Taymans  <wim@fluendo.com>
3914
3915         * docs/libs/gstreamer-libs-sections.txt:
3916         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3917         (gst_base_sink_do_sync):
3918         * libs/gst/base/gstbasesink.h:
3919         Expose logic to wait for preroll so that subclasses such as audiosink
3920         can also use this method.
3921         API: gst_base_sink_wait_preroll()
3922
3923 2006-09-15  Wim Taymans  <wim@fluendo.com>
3924
3925         * gst/gstobject.c: (gst_object_set_parent):
3926         * gst/gstpipeline.c: (do_pipeline_seek):
3927         Small cleanups in docs and code.
3928
3929         * gst/gstsegment.c: (gst_segment_clip):
3930         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3931         if stop == start and start is in the segment, no clipping should be
3932         done. Also add a test for this.
3933
3934 2006-09-15  Wim Taymans  <wim@fluendo.com>
3935
3936         * docs/design/part-buffering.txt:
3937         * docs/gst/gstreamer-sections.txt:
3938         * gst/gstmessage.c: (gst_message_new_buffering),
3939         (gst_message_parse_buffering):
3940         * gst/gstmessage.h:
3941         Added methods to create and parse BUFFERING messages.
3942         Added preliminary docs about buffering.
3943         API: gst_message_new_buffering
3944         API: gst_message_parse_buffering
3945
3946 2006-09-06  Wim Taymans  <wim@fluendo.com>
3947
3948         * gst/gstbin.c:
3949         Update documentation.
3950
3951         * gst/gstelement.c: (gst_element_class_init),
3952         (gst_element_release_request_pad), (gst_element_set_clock),
3953         (gst_element_get_index), (gst_element_add_pad),
3954         (gst_element_remove_pad), (gst_element_get_random_pad),
3955         (gst_element_send_event), (gst_element_get_query_types),
3956         (gst_element_query), (gst_element_post_message),
3957         (gst_element_message_full), (gst_element_continue_state),
3958         (gst_element_lost_state), (gst_element_save_thyself),
3959         (gst_element_restore_thyself):
3960         Documentation updates.
3961         Rename last bit of the new-pad -> pad-added signal rename.
3962         Fix the case where an element query would only work if the source
3963         pad was linked.
3964         Avoid some useless type checking in message handling.
3965
3966         * gst/gstevent.c:
3967         * gst/gstevent.h:
3968         * gst/gstutils.c:
3969         Documentation updates.
3970
3971 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3972
3973         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3974           add an INFO line for when we actually update the fd
3975
3976 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3977
3978         * configure.ac:
3979           back to TRUNK
3980
3981 === release 0.10.10 ===
3982
3983 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3984
3985         * configure.ac:
3986           releasing 0.10.10, "Pais"
3987
3988 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * docs/manual/advanced-position.xml:
3991           Fix typo in sample code.
3992
3993 2006-09-05  Wim Taymans  <wim@fluendo.com>
3994
3995         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3996         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3997         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3998         * libs/gst/net/gstnetclientclock.h:
3999         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4000         * libs/gst/net/gstnettimepacket.h:
4001         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
4002         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
4003         (gst_net_time_provider_thread), (gst_net_time_provider_new):
4004         * libs/gst/net/gstnettimeprovider.h:
4005         Make stuff compile on windows. Fixes #345295.
4006
4007 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
4008
4009         * gst/gst.c: (ensure_current_registry_forking):
4010           Print better details when child was terminated by signal.
4011
4012 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
4013
4014         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4015           Print a warning rather than g_assert() if a plugin feature
4016           is a URI handler but returns no protocols (#353976).
4017
4018 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
4019
4020         * docs/random/moving-plugins:
4021         Fix two typos.         
4022
4023 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4026           Fix locking order, handle NULL function values properly.
4027
4028         * gst/gstinfo.h:
4029           Fix docs.
4030
4031         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4032           Initialise variable before using it and fix debug statement to
4033           print the address of the function rather than the address of the
4034           variable on the stack holding the address of the function.
4035
4036 2006-09-01  Wim Taymans  <wim@fluendo.com>
4037
4038         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4039         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4040         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4041         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4042         (gst_ghost_pad_parent_unset),
4043         (gst_ghost_pad_internal_do_activate_push),
4044         (gst_ghost_pad_internal_do_activate_pull),
4045         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4046         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4047         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4048         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4049         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4050         (gst_ghost_pad_new_no_target_from_template),
4051         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4052         More cleanups.
4053         Avoid needless typechecking in macros.
4054         Since the internal pad is always present and never changes, there is
4055         no need to locking or ref when retrieving it.
4056         Improve debugging a bit.
4057         Handle link errors when setting the target. Fixes #341029.
4058
4059 2006-09-01  Wim Taymans  <wim@fluendo.com>
4060
4061         * docs/libs/gstreamer-libs-sections.txt:
4062         * docs/plugins/gstreamer-plugins-sections.txt:
4063         Fix docs some more.
4064
4065         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4066         (gst_collect_pads_event):
4067         * libs/gst/base/gstcollectpads.h:
4068         Documentation updates.
4069         Free queued buffer when removing a pad.
4070
4071 2006-08-31  Michael Smith  <msmith@fluendo.com>
4072
4073         * gst/gstutils.c: (gst_element_link_pads),
4074         (gst_element_link_pads_filtered):
4075           Ensure that we set a capsfilter to NULL if we failed to link it
4076           when doing filtered linking, to avoid criticals.
4077
4078           No need to check for unreffing srcpad, which is explicly NULLed
4079           above (a trivial code cleanup).
4080
4081 2006-08-31  Wim Taymans  <wim@fluendo.com>
4082
4083         * docs/design/part-gstghostpad.txt:
4084         Update ascii art in documentation.
4085
4086         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4087         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4088         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4089         (gst_ghost_pad_internal_do_activate_push),
4090         (gst_ghost_pad_internal_do_activate_pull),
4091         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4092         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4093         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4094         (gst_ghost_pad_set_target):
4095         Small cleanups and leak fixes.
4096         Remove some checks now that the internal pad is never NULL.
4097         Fix the case where linking pads without a target would create nasty
4098         criticals. Fixes #341029.
4099         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4100         value of _set_target().
4101
4102         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4103         (gst_ghost_pad_suite):
4104         Some more tests for creating and linking untargeted ghostpads.
4105
4106 2006-08-31  Edward Hervey  <edward@fluendo.com>
4107
4108         * docs/gst/gstreamer-sections.txt:
4109         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4110         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4111         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4112         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4113         (gst_ghost_pad_new_from_template),
4114         (gst_ghost_pad_new_no_target_from_template):
4115         * gst/gstghostpad.h:
4116         Refactored *_new() functions.
4117         Templates are now used as a g_object_new() parameter.
4118         Use template in _do_getcaps() if we don't have a target.
4119         Small documentation cleanups.
4120         Added two new constructors:
4121         gst_ghost_pad_new_from_template()
4122         gst_ghost_pad_new_no_target_from_template()
4123         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4124         (gst_ghost_pad_suite):
4125         Added tests for new ghostpad instanciation functions.
4126
4127         API additions: gst_ghost_pad_new_from_template,
4128         gst_ghost_pad_new_no_target_from_template
4129
4130 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
4131
4132         * docs/random/ensonic/profiling.txt:
4133           Ideas about qos profiling.
4134
4135 2006-08-29  Wim Taymans  <wim@fluendo.com>
4136
4137         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4138         Code cleanups.
4139         Fix memleak.
4140
4141 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
4142
4143         * gst/gstxml.c:
4144           Improve and detypofy docs.
4145
4146         * tests/check/Makefile.am:
4147         * tests/check/gst/.cvsignore:
4148         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4149           Add a basic test suite for GstXML.
4150
4151 2006-08-29  Wim Taymans  <wim@fluendo.com>
4152
4153         * gst/gstelement.c: (activate_pads), (clear_caps),
4154         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4155         Clear the pad caps when the element shut down all of the pads and
4156         is not streaming data that could modify the caps. 
4157         Fixes #352958.
4158
4159 2006-08-28  Michael Smith  <msmith@fluendo.com>
4160
4161         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4162           Revert previous change; I misunderstood single-segment mode.
4163
4164 2006-08-28  Michael Smith  <msmith@fluendo.com>
4165
4166         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4167           Unset DISCONT on buffers when using single-segment mode.
4168
4169 2006-08-28  Wim Taymans  <wim@fluendo.com>
4170
4171         * gst/gstcaps.c: (gst_caps_merge_structure):
4172         * gst/gstcaps.h:
4173         Fix docs and indentation again.
4174
4175         * tests/check/gst/gstquery.c: (GST_START_TEST):
4176         Fix leak in tests and add some more tests.
4177
4178 2006-08-28  Edward Hervey  <edward@fluendo.com>
4179
4180         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4181         Inform GstSegment of the last stop position in order for the current
4182         segment to have a proper duration if it doesn't have a specific stop
4183         position from which a duration could be calculated.
4184         This bug was noticeable when a non-flushing, non-update new segment was
4185         followed by another segment (all buffers from the new segment were being
4186         dropped).
4187
4188 2006-08-28  Wim Taymans  <wim@fluendo.com>
4189
4190         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4191         Small comment update.
4192
4193         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4194         (gst_identity_transform_ip):
4195         Drop-probability is broken, mention this in the code with a 
4196         FIXME and also in the property description.
4197         Make silent also be silent about the drop messages.
4198
4199 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
4200
4201         * docs/manual/appendix-win32.xml:
4202           Remove mention of popt, we don't depend on that any
4203           longer (#353136). Add some comments pointing out that
4204           this section is slightly outdated.
4205
4206 2006-08-28  Wim Taymans  <wim@fluendo.com>
4207
4208         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4209
4210         * gst/gstquery.c: (gst_query_new_segment):
4211         * tests/check/gst/gstquery.c: (GST_START_TEST):
4212         Initialize variables when creating a new segment query.
4213         Fixes #353121.
4214
4215 2006-08-28  Wim Taymans  <wim@fluendo.com>
4216
4217         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4218
4219         * gst/gstelement.c: (gst_element_get_bus):
4220         * tests/check/gst/gstelement.c: (GST_START_TEST):
4221         Check for NULL before _reffing the bus. Fixes #353122.
4222
4223 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
4224
4225         * docs/manual/basics-bus.xml:
4226           Docs update: fix wrong callback return value explanation; add
4227           some lines about the implicit relationship between main loop
4228           and main context; remove duplicate main loop variable declaration.
4229
4230 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
4231
4232         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4233           Don't leak caps in unit test; add a few more simple
4234           checks. 
4235
4236 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
4237
4238         * docs/gst/gstreamer-sections.txt:
4239         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4240         (gst_caps_structure_is_subset), (gst_caps_merge),
4241         (gst_caps_merge_structure):
4242         * gst/gstcaps.h:
4243         * libs/gst/base/gstbasetransform.c:
4244         (gst_base_transform_transform_caps):
4245         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4246           implement caps merging (fixes #352580)
4247
4248 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
4249
4250         * tools/Makefile.am:
4251         * tools/gst-plot-timeline.py:
4252           add debug-log plotting developer tool (#340674)
4253
4254 2006-08-23  Wim Taymans  <wim@fluendo.com>
4255
4256         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4257         (gst_pad_stop_task):
4258         Improve debugging for task functions.
4259
4260         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4261         (gst_task_start), (gst_task_pause), (gst_task_join):
4262         Make sure that the task function started and finished after a 
4263         join(). 
4264         Don't try to push the task function on the threadpool multiple
4265         times.
4266         Improve the g_warning message with some useful suggestions
4267         about how to fix the problem. 
4268
4269 2006-08-23  Wim Taymans  <wim@fluendo.com>
4270
4271         * gst/gstutils.c: (gst_pad_proxy_getcaps):
4272         Handle RESYNC correctly in _proxy_getcaps.
4273
4274 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
4275
4276         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4277         (gst_xml_parse_memory), (gst_xml_get_element):
4278           Chain up to parent class in dispose function and also
4279           unref the elements in the toplevel_elements GList.
4280           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4281           Always return a reference in gst_xml_get_element() rather
4282           than only sometimes.
4283
4284         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4285           Don't leak GstXml object.
4286
4287 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
4288
4289         * docs/gst/gstreamer-sections.txt:
4290         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4291         (gst_caps_merge):
4292         * gst/gstcaps.h:
4293         * libs/gst/base/gstbasetransform.c:
4294         (gst_base_transform_transform_caps):
4295           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4296           in a better way
4297
4298 2006-08-21  Edward Hervey  <edward@fluendo.com>
4299
4300         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4301         Implement GObject::dispose virtual method in GstXML so we can free the
4302         top_elements GList.
4303
4304 2006-08-21  Wim Taymans  <wim@fluendo.com>
4305
4306         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4307         (gst_buffer_create_sub):
4308         Copy duration/offset_end/caps when creating a subbuffer of the
4309         complete parent.
4310         Make the subbuffer read-only when we make the metadata writable for
4311         now. Fixes #351768.
4312
4313         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4314         Added check for metadata copy when creating subbuffers.
4315
4316 2006-08-21  Edward Hervey  <edward@fluendo.com>
4317
4318         * libs/gst/base/gstbasetransform.c:
4319         (gst_base_transform_buffer_alloc):
4320         Only call downstream buffer_alloc if transform element is passthrough
4321         or always_in_place. Closes #350449.
4322
4323 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4324
4325         * ChangeLog:
4326           ChangeLog surgery to add comments to previous changes
4327
4328 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4329
4330         * gst/gst.c:
4331           Add comments
4332
4333         * gst/gstpad.c: (gst_pad_set_active):
4334           Be more verbose in the log
4335
4336         * libs/gst/base/gstbasetransform.c:
4337         (gst_base_transform_transform_caps):
4338           Simplify caps to get rid of duplicates, fixes #345444
4339
4340 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4341
4342         * gst/gstvalue.c:
4343         * gst/gstvalue.h:
4344           Use these optimizations only internally.
4345
4346 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4347
4348         * gst/gstvalue.c: (gst_value_compare_list),
4349         (gst_value_compare_fraction_range),
4350         (gst_value_intersect_fraction_fraction_range),
4351         (gst_value_intersect_fraction_range_fraction_range),
4352         (gst_value_subtract_fraction_fraction_range),
4353         (gst_value_subtract_fraction_range_fraction_range),
4354         (gst_value_get_compare_func), (gst_value_compare),
4355         (gst_value_compare_with_func):
4356         * gst/gstvalue.h:
4357           Saves the expensive lookup of the compare function in many cases
4358          (#345444)
4359
4360 2006-08-18  Edward Hervey  <edward@fluendo.com>
4361
4362         * tests/check/gst/gstinfo.c: (gst_info_suite):
4363         Disable test that require gstdebug if it wasn't built in core.
4364
4365 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
4366
4367         * docs/random/ensonic/logging.txt:
4368           update ideas
4369           
4370         * gst/gstinfo.c: (gst_debug_log_default):
4371           reorder fields, save some columns, add optional color codes for log
4372           levels
4373
4374 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
4375
4376         * docs/random/ensonic/logging.txt:
4377           add ideas about making the logs a bit more useful
4378
4379 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4380
4381         * docs/pwg/advanced-events.xml:
4382         * docs/pwg/titlepage.xml:
4383           Update for 0.10 API (#340627). Add myself
4384           to authors list.
4385
4386 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4387
4388         * docs/libs/gstreamer-libs-docs.sgml:
4389         * docs/libs/gstreamer-libs-sections.txt:
4390         * libs/gst/check/gstbufferstraw.c:
4391           Make gstcheck stuff show up in docs (still needs to
4392           be documented properly though).
4393
4394 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
4395
4396         * docs/gst/gstreamer-sections.txt:
4397         * gst/Makefile.am:
4398         * gst/gst.c: (init_post):
4399         * gst/gst_private.h:
4400         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4401         * gst/gstquark.h:
4402         * gst/gstquery.c: (gst_query_new_position),
4403         (gst_query_set_position), (gst_query_parse_position),
4404         (gst_query_new_duration), (gst_query_set_duration),
4405         (gst_query_parse_duration), (gst_query_new_convert),
4406         (gst_query_set_convert), (gst_query_parse_convert),
4407         (gst_query_new_segment), (gst_query_set_segment),
4408         (gst_query_parse_segment), (gst_query_new_seeking),
4409         (gst_query_set_seeking), (gst_query_parse_seeking):
4410         Add internal helpers for pre-registering quarks from static strings
4411         and using the quark values directly instead of looking them up when
4412         creating and parsing queries. Can be used for event construction too.
4413         Closes #350432.
4414
4415 2006-08-16  Wim Taymans  <wim@fluendo.com>
4416
4417         * gst/gstbin.c:
4418         Fix bogus docs.
4419
4420 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422         * gst/gstutils.c: (gst_util_set_value_from_string):
4423           Fix memleak (#351502).
4424
4425         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4426           Add unit test for most of gst_util_set_value_from_string()
4427           (not that one would want to encourage use of this function).
4428
4429 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4430
4431         * libs/gst/check/gstcheck.h:
4432           Use const gchar * variables in fail_unless_equals_string
4433           macro to avoid compiler warnings (and don't use tabs for
4434           indenting).
4435
4436 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4437
4438         * tools/gst-launch.c: (print_tag):
4439           More space on the left for the tag names, to cater
4440           for the 'extended comment' tag (not touching the
4441           string for the first line since it's translated).
4442
4443 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4444
4445         * libs/gst/check/gstcheck.h:
4446           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4447           print something when they fail.
4448
4449 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4450
4451         * docs/gst/gstreamer-sections.txt:
4452         * gst/gsttaglist.c: (_gst_tag_initialize):
4453         * gst/gsttaglist.h:
4454           API: add GST_TAG_EXTENDED_COMMENT (#350935).
4455           Also change merge function for GST_TAG_COMMENT to
4456           use_first.
4457
4458 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4459
4460         * gst/gstinfo.c: (gst_debug_print_object):
4461           Make GST_PTR_FORMAT print messages as well.
4462
4463         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4464         (GST_START_TEST), (gst_info_suite):
4465           More tests.
4466
4467 2006-08-14  Edward Hervey  <edward@fluendo.com>
4468
4469         * gst/gstelementfactory.c: (gst_element_register):
4470         If the GstElementClass doesn't have a GstElementDetails with all fields
4471         filled up correctly (longname, description AND author), then error out
4472         nicely instead of crashing.
4473
4474 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4475
4476         * gst/gststructure.c:
4477           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4478
4479         * gst/gstvalue.h:
4480           Expand on the difference between arrays and lists as we use them.
4481           
4482 2006-08-14  Wim Taymans  <wim@fluendo.com>
4483
4484         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4485         If the parent state change function failed, don't assume we can safely
4486         stop the source, this will be done when the pads are deactivated.
4487
4488 2006-08-14  Wim Taymans  <wim@fluendo.com>
4489
4490         * gst/gstbuffer.c:
4491         * gst/gsttask.c: (gst_task_join):
4492         Small doc updates.
4493
4494         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4495         (gst_pad_stop_task):
4496         When pad (de)activation failed for some reason, restore the old
4497         activation mode and set the pad to flushing instead of assuming the
4498         pad is deactivated.
4499         If the _task_join() failed, reinstall the task on the pad so that it can
4500         be stopped later and return an error.
4501
4502 2006-08-11  Andy Wingo  <wingo@pobox.com>
4503
4504         * configure.ac:
4505         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4506         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4507         is only for users of API that don't want to see deprecated
4508         functions in the headers; people that want to compile out
4509         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4510         CFLAGS. Fixes the build of multifdsink, or will soon..
4511
4512 2006-08-11  Wim Taymans  <wim@fluendo.com>
4513
4514         * docs/gst/gstreamer-sections.txt:
4515         Add GstClockClass vmethod docs.
4516
4517         * gst/gstcaps.h:
4518         Mark #endif with comment for associated #if
4519
4520         * gst/gstclock.c: (gst_clock_id_wait):
4521         * gst/gstclock.h:
4522         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4523         most clock implementations.
4524         Document vmethods.
4525         Flesh out docs about resolution methods.
4526         API: GstClockClass::wait_jitter
4527
4528         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4529         (gst_system_clock_async_thread),
4530         (gst_system_clock_id_wait_jitter_unlocked),
4531         (gst_system_clock_id_wait_jitter):
4532         Use base class wait_jitter variant for improved performance
4533         due to less clock polling.
4534
4535 2006-08-11  Edward Hervey  <edward@fluendo.com>
4536
4537         * gst/gst.c: (gst_init_check), (init_post):
4538         Set gst as being initialized before scanning/updating the registry,
4539         since there might be my python plugin loader that calls gst_init() and
4540         we don't want to loop back in.
4541         Closes #350879
4542
4543 2006-08-11  Wim Taymans  <wim@fluendo.com>
4544
4545         * docs/design/part-qos.txt:
4546         Bring docs in line with the code. Mostly the sign of the jitter was
4547         wrong in the docs. Fixes #349943.
4548
4549         * gst/gstclock.c:
4550         Fix the docs for the jitter.
4551
4552         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4553         (gst_event_parse_tag), (gst_event_new_buffer_size),
4554         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4555         (gst_event_new_seek), (gst_event_parse_seek),
4556         (gst_event_new_navigation):
4557         Make sure the GstStructure has no parent when creating custom
4558         events.
4559         Add some more argument checking so that we avoid 0.0 rates.
4560         Flesh out the docs for the QoS event some more.
4561
4562 2006-08-11  Wim Taymans  <wim@fluendo.com>
4563
4564         * docs/gst/gstreamer-sections.txt:
4565         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4566         (ensure_current_registry_forking), (ensure_current_registry),
4567         (parse_one_option), (parse_goption_arg), (gst_deinit),
4568         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4569         * gst/gst.h:
4570         Doc updates.
4571         Added API and command line option to disable registry forking in
4572         addition to the environment variable.
4573         Constify some static arrays.
4574         Added some more debug.
4575         Don't deinit twice.
4576         API: gst_registry_fork_is_enabled()
4577         API: gst_registry_fork_set_enabled()
4578         API: --gst-disable-registry-fork command line option
4579         Fixes #348918.
4580
4581 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         * gst/gst.c: (gst_init):
4584           Fix typo in error message.
4585
4586 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4587
4588         * libs/gst/controller/gstcontroller.h:
4589           fix ABI size-correction
4590
4591         * tests/check/libs/gdp.c: (gst_dp_suite):
4592           make tests that use deprecated API conditional
4593
4594 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4595
4596         * docs/libs/gstreamer-libs-sections.txt:
4597         * libs/gst/controller/gstcontroller.c:
4598         (_gst_controller_get_property), (_gst_controller_set_property),
4599         (_gst_controller_init), (_gst_controller_class_init):
4600         * libs/gst/controller/gstcontroller.h:
4601         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4602         (gst_object_set_control_rate):
4603           API: add gst_object_{s,g}et_control_rate(), add private data section,
4604           fix docs
4605
4606         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4607         * libs/gst/dataprotocol/dataprotocol.h:
4608           add deprecation guards to make gtk-doc happy and allow disabling cruft
4609
4610 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4611
4612         * tests/check/Makefile.am:
4613         * tests/check/gst/.cvsignore:
4614           Let's enable the new unit test as well.
4615
4616 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4617
4618         * configure.ac:
4619         * docs/gst/gstreamer-sections.txt:
4620         * gst/gstconfig.h.in:
4621         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4622         (_gst_info_printf_extension_ptr),
4623         (_gst_info_printf_extension_segment):
4624           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4625           register that lets us easily dump GstSegments into debug
4626           logs (#350419).
4627
4628         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4629         (info_segment_format_printf_extension), (gst_info_suite):
4630           Add simple unit test that logs a bunch of different segments (not
4631           valgrinded at the moment because of leaks in
4632           gst_debug_add_log_function).
4633
4634 2006-08-09  Edward Hervey  <edward@fluendo.com>
4635
4636         * libs/gst/base/gstbasetransform.c:
4637         (gst_base_transform_buffer_alloc):
4638         Even if we can't figure out the proper format to request downstream,
4639         call buffer_alloc() downstream with the input parameters without setting
4640         the caps on the srcpad. This will force negotiation in the chain
4641         function.
4642         Closes #350449
4643
4644 2006-08-08  Edward Hervey  <edward@fluendo.com>
4645
4646         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4647         Unlinking from a pad without a target is now a perfectly valid case
4648         which should NOT raise an assertion.
4649         This case would happen if a linked ghostpad its target set to NULL after
4650         it was previously linked.
4651
4652 2006-08-08  Edward Hervey  <edward@fluendo.com>
4653
4654         * tests/check/libs/gdp.c:
4655         Also comment out the test (see below).
4656
4657 2006-08-08  Edward Hervey  <edward@fluendo.com>
4658
4659         * tests/check/libs/gdp.c: (gst_dp_suite):
4660         Use the architecture information from config.h and not gcc macros
4661         in order to properly disable a test that fails on PPC64.
4662
4663 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4664
4665         * gst/gstelement.c: (gst_element_remove_pad):
4666           Don't crash printing the warning if the pad has no parent.
4667
4668 2006-08-02  Wim Taymans  <wim@fluendo.com>
4669
4670         * libs/gst/dataprotocol/dataprotocol.c:
4671         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4672         (gst_dp_crc), (gst_dp_header_payload_length),
4673         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4674         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4675         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4676         (gst_dp_event_from_packet), (gst_dp_validate_header),
4677         (gst_dp_validate_payload):
4678         Make debug category static
4679         Constify the crc table.
4680         Do some more arg checking in public functions.
4681         Fix some docs and do some small cleanups.
4682
4683         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4684         Add some more checks to see if GDP deals with bogus input.
4685
4686 2006-07-31  Wim Taymans  <wim@fluendo.com>
4687
4688         * gst/gstvalue.c: (gst_value_compare_list):
4689         Fix GstValueList comparison code. Fixes #347293.
4690
4691         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4692         Check to test GstValueList comparison.
4693
4694 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4695
4696         * gst/gstelementfactory.c: (gst_element_factory_create):
4697         Remove unnecessary ref/unref pair
4698
4699         * gst/parse/grammar.y:
4700         Make sure to free the parse buffer on all code paths.
4701         Move a g_free up to the error handler where it's easier to see.
4702
4703         * tests/check/gst/gstevent.c: (test_event):
4704         Extending timeout for downstream travelling events to 10 seconds to
4705         hopefully avoid intermittent failure on the buildbots.
4706
4707         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4708         Don't manually set the state of the src element - it will happen as a
4709         natural consequence of the pipeline changing state, and that way it
4710         will do it in the right order too.
4711
4712 2006-07-31  Wim Taymans  <wim@fluendo.com>
4713
4714         * libs/gst/base/gstbasetransform.c:
4715         (gst_base_transform_buffer_alloc):
4716         Use OBJECT_LOCK and refcounting to get the pad caps in the
4717         buffer_alloc function because the caps could change while we are
4718         busy with them. Fixes #349105
4719
4720 2006-07-31  Wim Taymans  <wim@fluendo.com>
4721
4722         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4723         Protect _PAD_CAPS with OBJECT_LOCK.
4724
4725 2006-07-31  Wim Taymans  <wim@fluendo.com>
4726
4727         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4728         (gst_pad_get_property), (gst_pad_activate_pull),
4729         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4730         (gst_pad_set_activate_function),
4731         (gst_pad_set_activatepull_function),
4732         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4733         (gst_pad_set_getrange_function),
4734         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4735         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4736         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4737         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4738         (gst_pad_set_acceptcaps_function),
4739         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4740         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4741         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4742         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4743         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4744         (gst_pad_configure_sink), (gst_pad_configure_src),
4745         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4746         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4747         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4748         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4749         (gst_pad_send_event):
4750         Use _DEBUG_OBJECT when it makes sense.
4751         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4752         Small cleanups and code reflows.
4753         Avoid caps refcounting in _accept_caps.
4754         Refactor alloc_buffer so that the code performed on the peer is in a
4755         separate function. Also if the pad does not implement a buffer alloc
4756         function, we should still check if the pad is flushing before falling
4757         back to the default allocator.
4758
4759 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4760
4761         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4762         Make all uses of identity and fakesink have silent=true to avoid
4763         serialising every passing data structure, which is breaking tests
4764         on FC4 for some unknown reason.
4765
4766 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4767
4768         * gst/parse/Makefile.am:
4769         * gst/parse/grammar.y:
4770         * gst/parse/parse.l:
4771           Reverted previous patch as it required to bump the flex dependency to
4772           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4773
4774 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4775
4776         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4777
4778         * gst/parse/Makefile.am:
4779         * gst/parse/grammar.y:
4780         * gst/parse/parse.l:
4781           push & pop the state of the lexer for reentrant use case
4782           Fixes #349180
4783
4784 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4785
4786         * libs/gst/base/gstbasesrc.h:
4787           Note in the docs that the ::newsegment vfunc is not actually used by
4788           GstBaseSrc.
4789
4790 2006-07-28  Wim Taymans  <wim@fluendo.com>
4791
4792         * libs/gst/base/gstcollectpads.c:
4793         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4794         (gst_collect_pads_clear), (gst_collect_pads_flush),
4795         (gst_collect_pads_event), (gst_collect_pads_chain):
4796         When flushing a pad, also clear the queued buffer so that we don't
4797         accidentally use it when we shouldn't.
4798         Fix leaks by inreffing incomming buffer.
4799         Flush out queued buffers in case of errors.
4800         Fixes #347452.
4801
4802 2006-07-28  Wim Taymans  <wim@fluendo.com>
4803
4804         * docs/random/phonon-gst:
4805         Random notes about a Phonon backend.
4806
4807 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4808
4809         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4810         Extra debug output
4811         * tests/check/libs/gdp.c: (gst_dp_suite):
4812         Take a whack at fixing the ppc compile using a different define to
4813         disable the broken test.
4814
4815         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4816         Remove excess g_print()
4817
4818 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4819
4820         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4821         Oops, meant to uncomment this line too to dampen the noise a bit.
4822
4823 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4824
4825         * gst/parse/grammar.y:
4826         * gst/parse/parse.l:
4827         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4828         (GST_START_TEST), (parse_suite):
4829         Fix some of the leaks exposed by extending the parse-launch testsuite,
4830         and move the 3 I can't figure out into a separate test that won't run
4831         the pipelines unless the appropriate line is uncommented.
4832
4833 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4834
4835         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4836           Requesting 0 bytes before the end of the file should result in
4837           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4838           unit test.
4839
4840 2006-07-27  Wim Taymans  <wim@fluendo.com>
4841
4842         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4843         Fix useless assert, a uint is always positive.
4844
4845         * gst/gststructure.c: (gst_structure_nth_field_name),
4846         (gst_structure_foreach), (gst_structure_map_in_place):
4847         Check input arguments for public functions to avoid obvious crashes.
4848
4849         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4850         * plugins/elements/gstfakesink.h:
4851         Do less useless typechecking.
4852
4853 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4854
4855         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4856           Do not use mmap() by default since there are a number of error
4857           conditions that we would like to handle in a non-fatal way that
4858           will result in a SIGBUS if we use mmap(). Examples: external
4859           devices (USB harddrive, portable music player) being unplugged
4860           while in use; file on mounted CD/DVD that can't be read because
4861           the medium is partly damaged. Fixes #348455 and #348475.
4862
4863 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4864
4865         * gst/gstquery.h:
4866         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4867         rates are a gdouble
4868
4869 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4870
4871         * gst/gstregistry.c:
4872           Move big documentation comment into class section header, so that it
4873           appears in the API docs.
4874
4875 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4876
4877         * docs/gst/gstreamer-sections.txt:
4878         Oops. Commit the docs additions too for new API.
4879         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4880
4881 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4882
4883         * gst/gststructure.c: (gst_structure_id_set),
4884         (gst_structure_id_set_valist):
4885         * gst/gststructure.h:
4886         Add API for setting values into structures without performing
4887         a quark lookup, if the appropriate quark is already known.
4888
4889         API: gst_structure_id_set
4890         API: gst_structure_id_set_valist
4891
4892         * gst/parse/grammar.y:
4893         * gst/parse/parse.l:
4894         Remove some dead code shown by the coverage information.
4895         Don't throw a critical g_warning when encountering a syntax error,
4896         just warn and let the normal error path handle it.
4897
4898         * plugins/elements/gstelements.c:
4899         Bump the rank of filesink up to PRIMARY so that it is preferred over
4900         gnomevfssink for file:// sink uri's
4901
4902         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4903         (GST_START_TEST), (run_delayed_test),
4904         (gst_parse_test_element_base_init),
4905         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4906         (gst_parse_test_element_change_state),
4907         (gst_register_parse_element), (parse_suite):
4908         Beef up the tests for parse syntax to check that more error cases
4909         fail as they are supposed to. Increases the test coverage a bit.
4910
4911 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * docs/manual/basics-elements.xml:
4914           Fix gst_element_link() example.
4915
4916         * gst/gstutils.c:
4917           Mention in API docs that one should usually gst_bin_add()
4918           elements to a bin or pipeline before doing the linking.
4919           
4920 2006-07-26  Wim Taymans  <wim@fluendo.com>
4921
4922         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4923         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4924         Avoid function call for known types by keeping the buffer and
4925         subbuffer GType global.
4926
4927         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4928         Random silly optimisations in read() path.
4929
4930 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4931
4932         * tools/gst-launch.c: (main):
4933           If the top-level of the parse is a normal bin, it doesn't do the
4934           right logic to run as a top-level element, so place it inside a
4935           pipeline.
4936
4937 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4938
4939         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4940           Remove superfluous g_object_notify() calls, GObject does
4941           that for us automatically.
4942
4943 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4944
4945         * gst/gstinfo.h:
4946           on Win32, use dllspec to export the debug category symbols
4947
4948 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4949
4950         * gst/gsttaglist.c: (_gst_tag_initialize):
4951           Allow more than one GST_TAG_IMAGE per taglist.
4952
4953 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4954
4955         * gst/gstminiobject.c:
4956           update docs
4957         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4958         (gst_fd_src_create):
4959           log recurring events at LOG level
4960           add more debug for when the fd gets set
4961
4962 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4963
4964         * gst/gstparse.c: (gst_parse_launch):
4965           Also remove reentrance checks if flex is MT safe (#348179)
4966          Fix my empty ChangeLog entry below
4967
4968 2006-07-21  Andy Wingo  <wingo@pobox.com>
4969
4970         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4971
4972         * libs/gst/check/Makefile.am
4973         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4974         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4975         * libs/gst/check/gstbufferstraw.h:
4976         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4977         functions, thus proving I am still a GStreamer haxor. OK I wrote
4978         them a long time ago, but anyways.
4979
4980 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4981
4982         * configure.ac:
4983         * gst/gstparse.c: (gst_parse_launch):
4984           Check for flex version and omit mutex if we have a MT save flex
4985           (fixes #348179)
4986
4987 2006-07-21  Wim Taymans  <wim@fluendo.com>
4988
4989         * gst/gstparse.c: (gst_parse_launch):
4990         Protect recursive calls to _parse with a recursive mutex
4991         and busy flag.
4992
4993 2006-07-21  Wim Taymans  <wim@fluendo.com>
4994
4995         * tests/check/gst/gstpad.c: (GST_START_TEST):
4996         Fix leak in test.
4997
4998 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4999
5000         * gst/gstparse.c: (gst_parse_launch):
5001           Do not hang on recursive usage of gst_parse_launch()
5002
5003 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
5004
5005         * gst/gsttaglist.c:
5006           Add some more docs, comments and FIXME 0.11s here and there
5007           and also fix some typos.
5008
5009 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
5010
5011         * gst/gstsegment.h:
5012           Convert tabs to spaces for better readability. 
5013
5014 2006-07-20  Edward Hervey  <edward@fluendo.com>
5015
5016         * tests/check/libs/gdp.c: (gst_dp_suite):
5017         the test_buffer test fails at line 140 on ppc64 at the following
5018         check:
5019         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5020                 GST_BUFFER_FLAG_IN_CAPS),
5021                 "GST_BUFFER_IN_CAPS flag should have been copied !");
5022         See bug #348114 for more details.
5023
5024 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
5025
5026         * docs/pwg/advanced-scheduling.xml:
5027         * gst/gstpad.c:
5028           Fix typos (#348000).
5029
5030 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
5031
5032         * docs/pwg/intro-basics.xml:
5033           Fix wrong links (#347927).
5034
5035 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
5036
5037         * gst/gstregistry.h:
5038         * gst/gstregistryxml.c: (load_feature),
5039         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5040         * win32/common/config.h:
5041           make --disable-index work (#342564)
5042
5043 2006-07-18  Wim Taymans  <wim@fluendo.com>
5044
5045         Patch by: Peter Kjellerstedt <pkj at axis dot com>
5046
5047         * gst/Makefile.am:
5048         * gst/gsttrace.h:
5049         The attached patch adds two missing defines to gsttrace.h when tracing
5050         is disabled.  It also corrects one existing define.
5051         Fixes #347756.
5052
5053 2006-07-17  Wim Taymans  <wim@fluendo.com>
5054
5055         * docs/gst/gstreamer-sections.txt:
5056         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5057         * gst/gst.h:
5058         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5059         Add two functions to check and change the SIGSEGV behaviour
5060         when loading plugins.
5061         Don't mess with the SIGSEGV handler when we were told not to.
5062         Fixes #347794.
5063         API: gst_segtrap_is_enabled
5064         API: gst_segtrap_set_enabled
5065
5066 2006-07-14  Wim Taymans  <wim@fluendo.com>
5067
5068         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5069         * tests/check/elements/filesrc.c: (GST_START_TEST):
5070         Revert fix for regression in #347408 after release.
5071
5072 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         Patch by: Antoine Tremblay <hexa00 at gmail com>
5075
5076         * gst/gstutils.c: (gst_element_unlink):
5077           Free iterator when done (#347311).
5078
5079         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5080           And add a test case for this.
5081
5082 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
5083
5084         * configure.ac:
5085         Bump nano back to CVS
5086
5087 === release 0.10.9 ===
5088
5089 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
5090
5091         * configure.ac:
5092           releasing 0.10.9, "On the road again"
5093
5094 2006-07-13  Wim Taymans  <wim@fluendo.com>
5095
5096         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5097         * tests/check/elements/filesrc.c: (GST_START_TEST):
5098         Revert pull-0 fix for release. Disable check. Fixes #347408.
5099
5100 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5101
5102         * libs/gst/dataprotocol/dataprotocol.c:
5103         (gst_dp_event_from_packet_1_0):
5104           Fixes #347337: failure to deserialize event packets with
5105           empty payload (only event type)
5106
5107 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5108
5109         * gst/Makefile.am:
5110           do not install a .c file in the header directory
5111
5112 2006-07-13  Edward Hervey  <edward@fluendo.com>
5113
5114         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5115         GhostPad no longer implicitely use the padtemplates of the targets.
5116         Fixes #347384
5117
5118 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
5119
5120         * gst/gstvalue.c: (gst_value_compare_list),
5121         (gst_value_compare_array), (_gst_value_initialize):
5122         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5123         Make GstValueArray comparison be order dependent as designed.
5124         Add checks for value lists and value array comparisons.
5125         Fixes #347221
5126
5127 2006-07-11  Edward Hervey  <edward@fluendo.com>
5128
5129         * gst/gstbin.c: (activate_pads),
5130         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5131         (gst_bin_change_state_func):
5132         (de)activate src pads before calling state_change on the childs.
5133         This is to avoid the case where a src ghostpad is blocked (holding the
5134         stream lock), which would block the deactivation of the ghostpad's
5135         target pad.
5136         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5137         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5138         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5139         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5140         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5141         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5142         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5143         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5144         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5145         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5146         (gst_ghost_pad_class_init),
5147         (gst_ghost_pad_internal_do_activate_push),
5148         (gst_ghost_pad_internal_do_activate_pull),
5149         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5150         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5151         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5152         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5153         GhostPads now create their internal GstProxyPad at creation (and not
5154         when they're linked, as it was being done previously).
5155         The internal and target pads are linked straight away.
5156         The data will also travel through the other pad in order to make
5157         pad blocking and probes non-hackish (the probe/block now really happens
5158         on the GhostPad and not on the target).
5159         * gst/gstpad.c: (gst_pad_set_blocked_async),
5160         (gst_pad_link_prepare), (gst_pad_push_event):
5161         Remove previous ghostpad cruft.
5162         * gst/gstutils.c: (gst_pad_add_data_probe),
5163         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5164         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5165         (gst_pad_remove_buffer_probe):
5166         Remove previous ghost pad cruft.
5167         Added more detailed debug statements.
5168         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5169         Fix the testsuite for refcounting changes.
5170         The comments about who has references were correct, but the refcount
5171         being checked wasn't the same (!?!).
5172
5173         Fixes #341029
5174
5175 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
5176
5177         * docs/gst/gstreamer-sections.txt:
5178         * gst/gstconfig.h.in:
5179         More docs for configuration options, add docs to gtk-doc.
5180
5181 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
5182
5183         * gst/Makefile.am:
5184         * gst/gstconfig.h.in:
5185         * win32/common/config.h:
5186         Fix build when disabling tracing (fixes #344016). Also start to document
5187         the defines that disable the sub-systems.
5188
5189 2006-07-10  Edward Hervey  <edward@fluendo.com>
5190
5191         * gst/gst.c: (ensure_current_registry_forking):
5192         let's make valgrind happy...
5193
5194 2006-07-09  Wim Taymans  <wim@fluendo.com>
5195
5196         * gst/gstelement.c: (activate_pads),
5197         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5198         Better pad activation code: Reset the collect value too on resync.
5199         Add some comments.
5200
5201 2006-07-09  Wim Taymans  <wim@fluendo.com>
5202
5203         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5204         (gst_pad_activate_push):
5205         Use some more macros where it makes sense.
5206         Allow pad mode switching instead of asserting. When a pad
5207         is activated in one mode and we activate it in another, 
5208         deactivate it first before activating it in a different mode.
5209         Fixes #329198.
5210
5211 2006-07-08  Andy Wingo  <wingo@pobox.com>
5212
5213         * tools/gst-launch.c (main): Handle err == NULL.
5214
5215         * gst/gst.c (init_post, ensure_current_registry)
5216         (ensure_current_registry_forking)
5217         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5218         factoring out the registry scanning into separate functions. Don't
5219         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5220         Better environment var name/interface suggestions accepted.
5221
5222 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5223
5224         * gst/gstobject.c: (gst_object_set_name_default),
5225         (gst_object_set_name):
5226           Random micro-optimisation: don't use a hash table
5227           with strings as keys and the usual strdup/strcmp
5228           involved, but rather just use the GQuark of the
5229           type name as key, since it needs to be looked up
5230           anyway to get the type name string.
5231
5232         * tests/check/gst/gstobject.c: (GST_START_TEST):
5233           Fix various leaks.
5234
5235 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5236
5237         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5238         (gst_bin_iterate_all_by_interface):
5239           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5240           GTypes are gulongs and thus the top 4 bytes might be cut
5241           off on some platforms when doing GPOINTER_TO_INT, leading
5242           to invalid GTypes and bad things happening (see RH bug #179654).
5243           Also add a check to make sure the type passed in is really
5244           an interface type.
5245
5246 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * .cvsignore:
5249           Ignore more.
5250
5251 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5252
5253         * Makefile.am:
5254         * configure.ac:
5255         * gst-element-check.m4:
5256         * gst-element-check.m4.in:
5257           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5258           instead of the unversioned gst-inspect (#324176, #168659).
5259
5260 2006-07-06  Wim Taymans  <wim@fluendo.com>
5261
5262         * gst/gstmessage.h:
5263         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5264         warnings.
5265
5266 2006-07-06  Wim Taymans  <wim@fluendo.com>
5267
5268         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5269         (gst_base_src_wait), (gst_base_src_update_length),
5270         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5271         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5272         (gst_base_src_loop), (gst_base_src_start),
5273         (gst_base_src_activate_pull):
5274         Update docs.
5275         blocksize == 0 now means the default blocksize when working in push
5276         based mode.
5277         Remove some pointless asserts in _wait function.
5278         Fix offset/length calculations and EOS handling. We can now pull 0
5279         bytes as well, which is allowed.
5280         use _check_get_range() to decide if we can operate in _pull based
5281         mode.
5282         Fix refcounting leak when check_get_range function was not 
5283         implemented.
5284         API GstBaseSrc::blocksize range can be 0 too now (default)
5285
5286         * tests/check/elements/filesrc.c: (GST_START_TEST),
5287         (filesrc_suite):
5288         Added check to test _get_range() behaviour.
5289
5290 2006-07-06  Wim Taymans  <wim@fluendo.com>
5291
5292         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5293         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5294         (gst_pad_pull_range):
5295         * gst/gstpad.h:
5296         Lots of comments and docs added to the pad functions.
5297         Flesh out the expected behaviour of the get_range() functions.
5298
5299 2006-07-06  Wim Taymans  <wim@fluendo.com>
5300
5301         * gst/gstbus.h:
5302         * gst/gstclock.h:
5303         * gst/gstevent.h:
5304         * gst/gstiterator.h:
5305         * gst/gstpad.h:
5306         * gst/gstplugin.h:
5307         * gst/gsttask.h:
5308         Remove comma at end of enumerator list. 
5309
5310 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
5311
5312         * win32/common/libgstbase.def:
5313         * win32/common/libgstdataprotocol.def:
5314         * win32/common/libsgtreamer.def:
5315         Add new exported functions.
5316
5317 2006-07-05  Wim Taymans  <wim@fluendo.com>
5318
5319         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5320         Add some more docs here and there.
5321
5322 2006-07-05  Wim Taymans  <wim@fluendo.com>
5323
5324         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5325         (gst_base_sink_loop), (gst_base_sink_get_position):
5326         When operating in pull mode update the offset so that we
5327         read sequentially.
5328
5329 2006-07-05  Wim Taymans  <wim@fluendo.com>
5330
5331         * gst/gstregistryxml.c: (read_string):
5332         Avoid strdup. (will happen in libxml, but hey!)
5333
5334         * gst/gsturi.c:
5335         Add some more docs.
5336
5337 2006-07-05  Wim Taymans  <wim@fluendo.com>
5338
5339         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5340         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5341         (gst_buffer_suite):
5342         No point in checking if the size of the subbuffer > 0, the
5343         code handles it correclty as demonstrated by unit test.
5344         Also add a unit test for the zero sized _new_and_alloc and
5345         _copy. Fixes #346663.
5346
5347 2006-07-05  Wim Taymans  <wim@fluendo.com>
5348
5349         * libs/gst/base/gstbasetransform.c:
5350         (gst_base_transform_prepare_output_buffer),
5351         (gst_base_transform_buffer_alloc),
5352         (gst_base_transform_handle_buffer):
5353         Make sure the buffer we pass to transform_ip has a refcount of
5354         1 and thus is writable. Fixes #343196
5355
5356 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
5357
5358         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5359         (gst_file_src_init), (gst_file_src_set_property),
5360         (gst_file_src_get_property), (gst_file_src_map_region):
5361         * plugins/elements/gstfilesrc.h:
5362         Add "sequential" property, off by default, to use madvise and hint
5363         to the kernel that sequential access is desired.
5364         Touch all retrieved pages by default to ensure they are pulled
5365         into memory. (Closes #345720)
5366
5367 2006-07-03  Wim Taymans  <wim@fluendo.com>
5368
5369         * docs/design/part-block.txt:
5370         * docs/design/part-dynamic.txt:
5371         Small docs updates.
5372
5373 2006-07-03  Wim Taymans  <wim@fluendo.com>
5374
5375         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5376         (gst_caps_unref), (gst_static_caps_get),
5377         (gst_caps_append_structure):
5378         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5379         Use GSlice when the glib we build against is >= 2.10
5380
5381 2006-07-03  Wim Taymans  <wim@fluendo.com>
5382
5383         * gst/gstelement.c: (gst_element_pads_activate):
5384         Small cleanup in pad activation code.
5385
5386 2006-07-03  Wim Taymans  <wim@fluendo.com>
5387
5388         Patch by: Peter Kjellerstedt <pkj at axis dot com>
5389
5390         * gst/gst-i18n-app.h:
5391         * gst/gst-i18n-lib.h:
5392         * tools/gst-inspect.c: (print_signal_info):
5393         The attached patch will make the inclusion of gettext.h unconditional in
5394         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5395         libintl.h in tools/gst-inspect.c.
5396         This allows use of --disable-nls again and fixes #344642.
5397
5398 2006-07-03  Edward Hervey  <edward@fluendo.com>
5399
5400         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5401         Implement pad blocking on events according to part-block.txt.
5402         More comments on behaviour.
5403         * tests/check/gst/gstevent.c: (test_event):
5404         Send event to peer pad of blocked pad (else it will block).
5405
5406 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5407
5408         * libs/gst/check/gstcheck.c: (gst_check_message_error),
5409         (gst_check_run_suite):
5410           if we get the wrong message, give us the types as string
5411         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5412           Fix a translatable
5413         * tests/check/elements/filesrc.c: (GST_START_TEST):
5414           add a test for trying to open a non-existing file
5415
5416 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5417
5418         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5419           add a test for adding self
5420
5421 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5422
5423         * libs/gst/check/gstcheck.h:
5424           add some assert_ as alias for fail_unless_*
5425         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5426           increase test coverage
5427
5428 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5429
5430         * Makefile.am:
5431           include lcov.mak for lcov coverage generation
5432         * tools/Makefile.am:
5433           add to CLEANFILES
5434
5435 2006-07-02  Edward Hervey  <edward@fluendo.com>
5436
5437         * tests/check/elements/.cvsignore:
5438         moaping
5439
5440 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5441
5442         * configure.ac:
5443           don't set CFLAGS and friends for gcov, done from GST_GCOV now
5444         * tests/check/Makefile.am:
5445           clean up gcov files
5446
5447 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5448
5449         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5450           remove gst_caps_simplify; it was not declared and not used
5451           and deprecated in 0.8
5452
5453 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5454
5455         * docs/faq/gst-uninstalled:
5456           don't put empty paths on PYTHONPATH
5457         * docs/gst/gstreamer-sections.txt:
5458           remove some symbols that are not there
5459
5460 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5461
5462         * gst/gstcaps.c: (gst_caps_compare_structures):
5463           whitespace fixes
5464         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5465         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5466           add more tests
5467
5468 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5469
5470         * libs/gst/dataprotocol/Makefile.am:
5471           build dataprotocol test by linking to the lib, instead of
5472           compiling the source, so we get coverage
5473         * tests/check/Makefile.am:
5474         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5475         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5476           add a test for filesrc
5477
5478 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5479
5480         * tests/check/gst/gststructure.c: (GST_START_TEST),
5481         (gst_structure_suite):
5482           Push coverage from 59.04% to 70.00%
5483
5484 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5485
5486         * tests/check/Makefile.am:
5487           gst-inspect every element; this makes sure that we also get
5488           coverage on element's get/set functions
5489
5490 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5491
5492         * configure.ac:
5493           set CFLAGS and friends to -O0 if gcov is being used
5494           add GCOV LIBS
5495         * gst/Makefile.am:
5496         * libs/gst/base/Makefile.am:
5497         * libs/gst/check/Makefile.am:
5498         * libs/gst/controller/Makefile.am:
5499         * libs/gst/dataprotocol/Makefile.am:
5500         * libs/gst/net/Makefile.am:
5501         * plugins/elements/Makefile.am:
5502         * plugins/indexers/Makefile.am:
5503           add makefile rules to generate gcov data and clean up
5504         * tests/check/Makefile.am:
5505           add a coverage target that generates an html overview
5506           of coverage data
5507
5508 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5509
5510         * tests/check/elements/fakesink.c:
5511         * tests/check/elements/fakesrc.c:
5512         * tests/check/elements/fdsrc.c:
5513         * tests/check/elements/identity.c:
5514         * tests/check/generic/sinks.c: (gst_sinks_suite):
5515         * tests/check/generic/states.c:
5516         * tests/check/gst/gst.c:
5517         * tests/check/gst/gstabi.c:
5518         * tests/check/gst/gstbin.c:
5519         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5520         * tests/check/gst/gstbus.c: (gst_bus_suite):
5521         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5522         * tests/check/gst/gstelement.c:
5523         * tests/check/gst/gstevent.c: (gst_event_suite):
5524         * tests/check/gst/gstghostpad.c:
5525         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5526         * tests/check/gst/gstmessage.c: (gst_message_suite):
5527         * tests/check/gst/gstminiobject.c:
5528         * tests/check/gst/gstobject.c:
5529         * tests/check/gst/gstpad.c:
5530         * tests/check/gst/gstpipeline.c:
5531         * tests/check/gst/gstplugin.c:
5532         * tests/check/gst/gstquery.c: (gst_query_suite):
5533         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5534         * tests/check/gst/gststructure.c:
5535         * tests/check/gst/gstsystemclock.c:
5536         * tests/check/gst/gsttag.c:
5537         * tests/check/gst/gsttask.c: (gst_task_suite):
5538         * tests/check/gst/gstutils.c:
5539         * tests/check/gst/gstvalue.c:
5540         * tests/check/libs/adapter.c:
5541         * tests/check/libs/basesrc.c:
5542         * tests/check/libs/collectpads.c:
5543         * tests/check/libs/controller.c:
5544         * tests/check/libs/gdp.c: (gst_dp_suite):
5545         * tests/check/libs/gstnetclientclock.c:
5546         * tests/check/libs/gstnettimeprovider.c:
5547         * tests/check/libs/libsabi.c: (libsabi_suite):
5548         * tests/check/libs/typefindhelper.c:
5549         * tests/check/pipelines/cleanup.c:
5550         * tests/check/pipelines/parse-launch.c:
5551         * tests/check/pipelines/simple-launch-lines.c:
5552         * tests/check/pipelines/stress.c: (stress_suite):
5553           use the new macro
5554
5555 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5556
5557         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5558         * libs/gst/check/gstcheck.h:
5559           create a macro and function so that the simple unit test
5560           case can be just one macro to create main()
5561
5562 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5563
5564         * gst/gstbin.c: (gst_bin_restore_thyself):
5565         * gst/gstxml.c: (gst_xml_make_element):
5566           Fix deserialisation from XML. Set parent manually
5567           instead of using gst_bin_add(), since gst_bin_add()
5568           will unlink all pads of the element being added.
5569           Fixes #341667.
5570
5571 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         Patch by: Peter Kjellerstedt <pkj at axis com>
5574
5575         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5576           Fix missing g_strdup() and double free when using the
5577           --gst-plugin-load command line option (#346097).
5578
5579 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5580
5581         * gst/gstinfo.c:
5582           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5583
5584         * libs/gst/net/gstnetclientclock.c:
5585         * libs/gst/net/gstnettimeprovider.c:
5586           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5587
5588 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5589
5590         * docs/manual/advanced-dataaccess.xml:
5591           Fix buffer probe example compilation in
5592           ADM (#345708).
5593         
5594 2006-06-22  Edward Hervey  <edward@fluendo.com>
5595
5596         * gst/gstelement.c: (gst_element_pads_activate):
5597         We need to deactivate src pads first and then sink pads.
5598         The reason is the src pads might be blocking while holding the streaming
5599         lock, so we need to deactivate them first so that deactivating the sink
5600         pads doesn't block (since it will require the streaming lock).
5601
5602 2006-06-22  Wim Taymans  <wim@fluendo.com>
5603
5604         * libs/gst/base/gstbasetransform.c:
5605         (gst_base_transform_buffer_alloc):
5606         Forgot to remove two unneeded unrefs.
5607         Simplify a check _is_equal allready checks the obvious case.
5608
5609 2006-06-22  Wim Taymans  <wim@fluendo.com>
5610
5611         * docs/design/part-block.txt:
5612         Some docs about what pad_block should do.
5613
5614 2006-06-22  Wim Taymans  <wim@fluendo.com>
5615
5616         * gst/gstcaps.c: (gst_caps_replace):
5617         Fix crasher when passed NULL. Doc clarification.
5618         Optimize for the trivial case.
5619
5620         * gst/gstpipeline.c: (gst_pipeline_change_state):
5621         Small cleanups.
5622
5623         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5624         Small documentation cleanup.
5625
5626         * libs/gst/base/gstbasetransform.c:
5627         (gst_base_transform_buffer_alloc):
5628         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5629         is what we need and it avoids a whole lot of redundant 
5630         refcount operations.
5631
5632 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5633
5634         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5635
5636         * docs/manual/advanced-dataaccess.xml:
5637           Fix 'Embedding static elements' section to use
5638           GST_PLUGIN_DEFINE_STATIC (#345607).
5639
5640 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5641
5642         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5643           Attempt to 'fix' spuriously failing test case: it seems like the
5644           timeout of half a second is simply too small when the system is under
5645           load otherwise, and the timeout doesn't really seem to serve any
5646           particular purpose here. Give the pipeline a few seconds to preroll
5647           first, and then give it another half a second to go from PAUSED to
5648           PLAYING and marshal the message into the main thread.
5649
5650 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5651
5652         * tools/gst-feedback-m.m:
5653           Don't only use unversioned tools, try versioned tools as well
5654           (#345086).
5655
5656 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5657
5658         * gst/gstbus.c: (gst_bus_class_init):
5659           Fix some typos, make docs more explicit.
5660
5661 2006-06-20  Wim Taymans  <wim@fluendo.com>
5662
5663         * tests/check/gst/gstghostpad.c: (block_callback),
5664         (GST_START_TEST), (gst_ghost_pad_suite):
5665         Added some more ghostpad tests, mainly blocking
5666         and probes.
5667
5668 2006-06-16  Wim Taymans  <wim@fluendo.com>
5669
5670         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5671         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5672         (gst_file_sink_event), (gst_file_sink_render):
5673         * plugins/elements/gstfilesink.h:
5674         Check if we can seek in the file instead of assuming
5675         we always can. Post an error when we are asked to seek in a
5676         non-seekable file (like a fifo). Fixes #343312.
5677         Some cleanups.
5678
5679 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5680
5681         * tools/gst-launch.1.in:
5682           Un-garble (fourcc) bit in filtered caps section.
5683
5684 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5685
5686         * docs/manual/advanced-autoplugging.xml:
5687         * docs/manual/basics-helloworld.xml:
5688         * docs/manual/highlevel-components.xml:
5689           Don't leak bus reference in sample code.
5690
5691 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5692
5693         * autogen.sh:
5694           Add default for new --enable-plugin-docs switch.
5695
5696         * configure.ac:
5697           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5698           Fixes #344039.
5699
5700         * docs/Makefile.am:
5701           Use new ENABLE_PLUGIN_DOCS conditional.
5702
5703 2006-06-14  Wim Taymans  <wim@fluendo.com>
5704
5705         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5706         Make it clear with a FIXME and a real define what the #if 0
5707         previously disabled.
5708
5709 2006-06-14  Wim Taymans  <wim@fluendo.com>
5710
5711         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5712         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5713         * libs/gst/base/gstbasetransform.c:
5714         (gst_base_transform_sink_eventfunc):
5715         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5716         Don't randomly and silently reset a segment when the format 
5717         changes as this is a bug somewhere upstream. Fixes #330379.
5718
5719 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         Patch by: Wouter Paesen  <wouter at kangaroot net>
5722
5723         * libs/gst/controller/gstcontroller.c:
5724         (gst_controlled_property_new):
5725           Fix controlling of float properties (#344849).
5726
5727         * tests/check/libs/controller.c:
5728         (gst_test_mono_source_get_property),
5729         (gst_test_mono_source_set_property),
5730         (gst_test_mono_source_class_init), (GST_START_TEST):
5731           While we're at it, add some float stuff to unit test.
5732
5733 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5734
5735         * docs/README:
5736         * docs/images/gdp-header.svg:
5737           add a gdp image
5738         * docs/libs/Makefile.am:
5739         * docs/libs/gdp-header.png:
5740         * libs/gst/dataprotocol/dataprotocol.c:
5741           add it to the API docs
5742         * docs/manual/intro-motivation.xml:
5743           fix typo
5744
5745 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5746
5747         * gst/gst.c: (scan_and_update_registry), (init_post):
5748           If the fork()'ed child process can't write the updated registry cache
5749           file to disk for some reason, make it exit with a failure exit code,
5750           so that the parent can then re-scan the plugins itself and update the
5751           registry structures in memory and work with that (rather than failing
5752           when creating elements because seemingly no plugins are available).
5753           Refactor registry scanning code into separate function for this and
5754           also separate fork() and non-fork() code paths. Fixes #344748.
5755
5756 2006-06-13  Wim Taymans  <wim@fluendo.com>
5757
5758         * docs/manual/advanced-dataaccess.xml:
5759         Fix wrong PluginDesc. Fixes #344755.
5760
5761 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5764           Fix silly bug that prevented us from creating
5765           ~/.gstreamer-0.10 and writing the registry in one
5766           go (the first call to g_mkstemp() would overwrite the
5767           placeholder in the template string, so the second call
5768           to g_mkstemp() after creating the missing directory
5769           would then error out with 'invalid argument').
5770
5771 2006-06-13  Edward Hervey  <edward@fluendo.com>
5772
5773         * gst/gst.c: (init_post):
5774         Free string.
5775
5776 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5777
5778         * gst/glib-compat-private.h:
5779         * gst/glib-compat.c:
5780         * gst/glib-compat.h:
5781         * gst/gstvalue.c: (gst_value_serialize_flags):
5782           remove GLib 2.6 compatibility code
5783
5784 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5785
5786         * gst/parse/Makefile.am:
5787           Fix build with 'make -j N' even more (#340016).
5788
5789 2006-06-12  Wim Taymans  <wim@fluendo.com>
5790
5791         * docs/gst/gstreamer-sections.txt:
5792         Fix docs.
5793
5794 2006-06-12  Wim Taymans  <wim@fluendo.com>
5795
5796         * gst/gstsegment.c: (gst_segment_set_duration),
5797         (gst_segment_set_last_stop), (gst_segment_set_seek),
5798         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5799         (gst_segment_to_running_time), (gst_segment_clip):
5800         Use G_UNLIKELY to help the compiler a bit.
5801
5802 2006-06-12  Wim Taymans  <wim@fluendo.com>
5803
5804         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5805
5806         * gst/gstevent.c: (gst_event_get_type):
5807         * gst/gstmessage.c:
5808         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5809         (gst_pad_push):
5810         constify quark registration strings. Fixes #344115
5811         Avoid unneeded type checking is _pad_push() by internally
5812         calling gst_pad_chain_unchecked().
5813
5814 2006-06-12  Wim Taymans  <wim@fluendo.com>
5815
5816         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5817         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5818         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5819         (gst_buffer_is_span_fast), (gst_buffer_span):
5820         Init _type for consistency.
5821         Use _FLAGS macro to avoid type check.
5822         Avoid unneeded type checks in subbufer code.
5823
5824 2006-06-12  Wim Taymans  <wim@fluendo.com>
5825
5826         * gst/gst.c: (gst_debug_help):
5827         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5828         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5829         (gst_plugin_feature_list_free):
5830         * gst/gstregistry.c: (gst_registry_add_plugin),
5831         (gst_registry_add_feature), (gst_registry_plugin_filter),
5832         (gst_registry_feature_filter), (gst_registry_find_plugin),
5833         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5834         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5835         * gst/gstregistryxml.c: (load_feature),
5836         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5837         * gst/gstminiobject.c: (gst_mini_object_unref),
5838         (gst_mini_object_replace), (gst_value_mini_object_free),
5839         (gst_value_mini_object_copy):
5840         Use _CAST macros to avoid unneeded type checking.
5841         Added some more G_UNLIKELY.
5842
5843 2006-06-12  Wim Taymans  <wim@fluendo.com>
5844
5845         * gst/gstbuffer.h:
5846         Avoid unneeded type checking.
5847         API: GST_BUFFER_IS_DISCONT
5848
5849         * gst/gstminiobject.h:
5850         Avoid type check in flag accessor.
5851
5852         * gst/gstelementfactory.h:
5853         * gst/gstplugin.h:
5854         * gst/gstpluginfeature.h:
5855         Add _CAST macros.
5856         API: GST_ELEMENT_FACTORY_CAST
5857         API: GST_PLUGIN_CAST
5858         API: GST_PLUGIN_FEATURE_CAST
5859
5860 2006-06-12  Wim Taymans  <wim@fluendo.com>
5861
5862         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5863         (gst_object_unref):
5864         Add G_UNLIKELY in type registration.
5865         Avoid type check in _ref/_unref since that is also
5866         done in glib.
5867
5868 2006-06-12  Wim Taymans  <wim@fluendo.com>
5869
5870         * gst/gsterror.c: (gst_g_error_get_type):
5871         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5872         (gst_static_pad_template_get_type):
5873         * gst/gsttaglist.c: (gst_tag_list_get_type):
5874         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5875         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5876         * gst/gsturi.c: (gst_uri_handler_get_type):
5877         * gst/gstvalue.c: (gst_date_get_type):
5878         * gst/gstxml.c: (gst_xml_get_type):
5879         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5880         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5881         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5882         Add G_UNLIKELY in type registration.
5883
5884 2006-06-12  Wim Taymans  <wim@fluendo.com>
5885
5886         * tools/gst-inspect.c: (print_signal_info):
5887         Properly print enum values.
5888
5889 2006-06-12  Wim Taymans  <wim@fluendo.com>
5890
5891         * gst/gstinfo.c: (gst_debug_set_active),
5892         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5893         * gst/gstinfo.h:
5894         Add some G_[UN]LIKELY.
5895         Maintain __gst_debug_min to avoid formatting the arguments of
5896         debug messages that will be dropped anyway to avoid a lot of 
5897         overhead from the debugging system.
5898
5899 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * po/POTFILES.in:
5902         * po/POTFILES.skip:
5903           add missing files containing translatable strings, tell intltool about
5904           one exception
5905
5906 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5907
5908         * tests/check/libs/.cvsignore:
5909         add test-binary to ignore list
5910
5911 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5912
5913         * docs/libs/gstreamer-libs-docs.sgml:
5914         reorder (put dp into a chapter) and indent
5915
5916 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5917
5918         * configure.ac:
5919           back to HEAD
5920
5921 === release 0.10.8 ===
5922
5923 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5924
5925         * configure.ac:
5926           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5927
5928 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5929
5930         * gst/gst.c: (init_post):
5931           move pid declaration to declaration block
5932
5933 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5934
5935         * gst/gst.c: (init_post):
5936           use _exit() instead of exit() in our forked child; this ensures
5937           that none of the registered exit handlers from whatever is using
5938           GStreamer get executed.  This fixes gnome-mixer-applet failing
5939           to load, because ORBit would shut down.
5940           Spotted by: Edward Hervey  <edward@fluendo.com>
5941           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5942           Fixes #344474
5943
5944 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5945
5946         * configure.ac:
5947           back to TRUNK
5948
5949 === release 0.10.7 ===
5950
5951 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5952
5953         * configure.ac:
5954           releasing 0.10.7, "Soepeke, ik zie ou"
5955
5956 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5957
5958         * configure.ac:
5959         * po/af.po:
5960         * po/az.po:
5961         * po/bg.po:
5962         * po/ca.po:
5963         * po/cs.po:
5964         * po/de.po:
5965         * po/en_GB.po:
5966         * po/fr.po:
5967         * po/it.po:
5968         * po/nb.po:
5969         * po/nl.po:
5970         * po/ru.po:
5971         * po/sq.po:
5972         * po/sr.po:
5973         * po/sv.po:
5974         * po/tr.po:
5975         * po/uk.po:
5976         * po/vi.po:
5977         * po/zh_CN.po:
5978         * po/zh_TW.po:
5979         * win32/common/config.h:
5980           0.10.6.2 prerelease
5981
5982 2006-06-07  Wim Taymans  <wim@fluendo.com>
5983
5984         * gst/gstindex.c: (gst_index_gtype_resolver):
5985         * tools/gst-xmlinspect.c: (print_plugin_info):
5986         Fix leak spotted by coverity checker. Fixes #343827
5987         Fix another other leak found by paolo borelli.
5988
5989 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5990
5991         * libs/gst/dataprotocol/dataprotocol.c:
5992         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5993         (gst_dp_version_get_type), (gst_dp_init),
5994         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5995         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5996         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5997         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5998         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5999         (gst_dp_packetizer_free):
6000         * libs/gst/dataprotocol/dataprotocol.h:
6001           API: add a GstDPPacketizer object, and create/free functions
6002           API: add GstDPVersion enum
6003           Add 1.0 event function that uses the string serialization
6004           Serialize more useful buffer flags
6005           Fixes #343988
6006
6007 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6008
6009         * tests/check/Makefile.am:
6010         * tests/check/gst/gstabi.c:
6011         * tests/check/gst/struct_ppc64.h:
6012         * tests/check/libs/libsabi.c:
6013         * tests/check/libs/struct_ppc64.h:
6014           add ppc64 structure sizes
6015
6016 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6017
6018         * tests/check/Makefile.am:
6019         * tests/check/gst/gstabi.c:
6020         * tests/check/gst/struct_x86_64.h:
6021         * tests/check/libs/libsabi.c:
6022         * tests/check/libs/struct_x86_64.h:
6023           generate and add structure size lists for x86_64
6024
6025 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6026
6027         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6028         * libs/gst/check/gstcheck.h:
6029           factor out the method from tests that checks size of structures,
6030           and add code to generate the header containing these sizes
6031         * tests/check/gst/gstabi.c: (GST_START_TEST):
6032         * tests/check/gst/struct_i386.h:
6033         * tests/check/libs/libsabi.c: (GST_START_TEST):
6034         * tests/check/libs/struct_i386.h:
6035           use it
6036
6037 2006-06-06  Michael Smith  <msmith@fluendo.com>
6038
6039         * gst/gstsegment.h:
6040           Don't use c++-style comments, fixes #343929
6041
6042 2006-06-05  Edward Hervey  <edward@fluendo.com>
6043
6044         * gst/gst.c:
6045         plugin_paths is not used if we build without registry support.
6046
6047         * gst/gstsegment.c: (gst_segment_copy): 
6048         _copy() was always returning NULL...
6049
6050 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6051
6052         * libs/gst/dataprotocol/dataprotocol.c:
6053         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6054         (gst_dp_packet_from_event):
6055           factor out CRC code
6056
6057 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6058
6059         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6060           make sure we unset caps
6061
6062 2006-06-02  Michael Smith  <msmith@fluendo.com>
6063
6064         * libs/gst/check/gstcheck.c: (gst_check_init),
6065         (gst_check_chain_func):
6066         * libs/gst/check/gstcheck.h:
6067           Add a cond/mutex to the check support lib, signal this whenever we
6068           add to the buffers list. This will allow tests to not busy-wait on
6069           the buffer-list.
6070
6071 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6072
6073         * libs/gst/dataprotocol/dataprotocol.c:
6074         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6075         (gst_dp_packet_from_event):
6076           factor out some common header init code
6077
6078 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6079
6080         * docs/libs/gstreamer-libs-sections.txt:
6081         * docs/libs/tmpl/gstdataprotocol.sgml:
6082         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6083         * libs/gst/dataprotocol/dataprotocol.h:
6084           API: make gst_dp_crc() public
6085
6086 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
6087
6088         * plugins/indexers/gstindexers.c: (plugin_init):
6089         conditionally register fileindexer (fixes #343598)
6090
6091 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
6092
6093         * gst/gsttagsetter.h:
6094         Can't cast ifaces to a class
6095
6096         * libs/gst/net/gstnetclientclock.h:
6097         * libs/gst/net/gstnettimeprovider.h:
6098         * plugins/elements/gstfakesink.h:
6099         * plugins/elements/gstfakesrc.h:
6100         * plugins/elements/gstfdsink.h:
6101         * plugins/elements/gstfdsrc.h:
6102         * plugins/elements/gstfilesink.h:
6103         * plugins/elements/gstfilesrc.h:
6104         * plugins/elements/gstidentity.h:
6105         * plugins/elements/gstqueue.h:
6106         * plugins/elements/gsttee.h:
6107         * plugins/indexers/gstfileindex.c:
6108         * plugins/indexers/gstmemindex.c:
6109         * tests/old/examples/plugins/example.h:
6110         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6111
6112 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6113
6114         * libs/gst/dataprotocol/dataprotocol.c:
6115         (gst_dp_header_from_buffer):
6116           make sure we zero the whole ABI-compatible area
6117
6118 2006-06-01  Wim Taymans  <wim@fluendo.com>
6119
6120         Patch by: Alessandro Decina <alessandro at nnva dot org>
6121
6122         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6123         Make sure the EOS flag is cleared from pads after a flush
6124         or stop. Fixes #343538.
6125
6126         * tests/check/libs/collectpads.c: (GST_START_TEST),
6127         (gst_collect_pads_suite):
6128         Added test for collectpads reusage after EOS.
6129
6130 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
6131
6132         * gst/gst.c:
6133          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6134         * win32/common/libgstbase.def:
6135          export gst_collect_pads_set_flushing
6136         * win32/common/libgstreamer.def:
6137          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6138          gst_value_fraction_multiply
6139         * win32/vs6/gst_inspect.dsp:
6140          add a link to intl.lib
6141
6142 2006-05-30  Wim Taymans  <wim@fluendo.com>
6143
6144         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6145         (gst_collect_pads_chain):
6146         Handle the case where a pad is removed from the collection
6147         that could cause the other pads to become collectable.
6148
6149 2006-05-30  Wim Taymans  <wim@fluendo.com>
6150
6151         * gst/gstelement.c:
6152         Clarify the use of _release_request_pad() and
6153         _get_request_pad() a bit better.
6154
6155         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6156         (gst_adapter_take_buffer):
6157         Fix some doc and comment typos.
6158
6159 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6160
6161         * docs/gst/gstreamer-sections.txt:
6162         * docs/libs/gstreamer-libs-sections.txt:
6163           add declared symbols
6164
6165 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
6166
6167         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6168         Add debug that can be enabled using a #define at the top of the file,
6169         for dumping stats about how late/early we were when waking up from
6170         waiting on the clock.
6171
6172 2006-05-30  Wim Taymans  <wim@fluendo.com>
6173
6174         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6175         When rebuilding the pad list, don't leak the previous list.
6176
6177 2006-05-30  Wim Taymans  <wim@fluendo.com>
6178
6179         Patch by: Lutz Mueller <lutz at topfrose dot de>
6180
6181         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6182         (gst_base_src_get_query_types), (gst_base_src_update_length):
6183         Publish supported query types.
6184         Update last_stop field in get_range mode so the position
6185         query works. Fixes #342321.
6186
6187 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
6188
6189         * docs/gst/gstreamer-sections.txt:
6190         * gst/gsttaglist.c: (_gst_tag_initialize):
6191         * gst/gsttaglist.h:
6192           API: add GST_TAG_PREVIEW_IMAGE (#343341).
6193
6194 2006-05-30  Wim Taymans  <wim@fluendo.com>
6195
6196         Patch by: Alessandro Decina <alessandro at nnva dot org>
6197
6198         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6199         Unlock mutex when removing an unknown pad.
6200         Fixes #343334.
6201
6202         * tests/check/Makefile.am:
6203         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6204         (push_event), (setup), (teardown), (GST_START_TEST),
6205         (gst_collect_pads_suite), (main):
6206         Added collecpads check, disabled for now as check crashes for
6207         some reason.
6208
6209 2006-05-29  Wim Taymans  <wim@fluendo.com>
6210
6211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6212         Don't leak pads lists.
6213
6214 2006-05-29  Wim Taymans  <wim@fluendo.com>
6215
6216         * docs/libs/gstreamer-libs-sections.txt:
6217         * libs/gst/base/gstcollectpads.c:
6218         (gst_collect_pads_set_flushing_unlocked),
6219         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6220         (gst_collect_pads_stop):
6221         * libs/gst/base/gstcollectpads.h:
6222         API: gst_collect_pads_set_flushing()
6223         Added api to set the pads to flushing, useful for seeking
6224         code in elements using collectpads.
6225         Clear segment when receiving a flush.
6226
6227 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
6228
6229         * gst/gst.c: (add_path_func), (init_post):
6230           Don't scan registry paths passed via --gst-plugin-path immediately
6231           (will crash, because absolutely nothing is set up and no types are
6232           registered etc.); do this later in init_post(). Fixes #343057.
6233
6234 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6235
6236         * gst/gst.c: (init_post):
6237           if we have fork, fork while reading/rebuilding the registry
6238           so the parent doesn't take the hit of having all plugins loaded
6239           in memory.  Fixes #342777.
6240         * configure.ac:
6241           Check if we have fork()
6242         * win32/common/config.h.in:
6243           no fork() on win32
6244
6245 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
6246
6247         * plugins/elements/gstelements.c:
6248         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6249         (gst_file_src_init), (gst_file_src_set_property),
6250         (gst_file_src_get_property), (gst_file_src_start):
6251         * plugins/elements/gstfilesrc.h:
6252           API: GstFileSrc::use-mmap
6253
6254         Add a use-mmap property to enable easier testing of all code paths.
6255         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6256         in the absence of gnomevfssrc. (Closes #340501)
6257
6258 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6259
6260         * tools/gst-inspect.c:
6261         Add missing include, removes warning of ngettext not being defined on
6262         some arches.
6263
6264 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
6265
6266         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6267         Handle NULL input and output pointers silently as a failed conversion,
6268         rather than g_warnings.
6269
6270 2006-05-25  Wim Taymans  <wim@fluendo.com>
6271
6272         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6273         Initialize variable before using. Fixes #342820.
6274
6275 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6276
6277         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6278           Fix off-by-one bug that would only allow peeks of N-1 bytes
6279           from the start even if the buffer to typefind on contains
6280           in fact N bytes of data (makes vorbis typefinding from a
6281           vorbis identification header buffer work).
6282
6283         * tests/check/Makefile.am:
6284         * tests/check/libs/.cvsignore:
6285         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6286         (gst_typefindhelper_suite), (main), (foobar_typefind),
6287         (plugin_init):
6288           Add very basic unit test for gst_type_find_helper_for_buffer()
6289           that checks for the problem fixed above.
6290
6291 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6292
6293         * tools/gst-inspect.c: (print_interfaces),
6294         (print_element_properties_info), (print_element_list), (main):
6295           add more translatable strings
6296
6297 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         Patch by: Julien Moutte  <julien at moutte net>
6300
6301         * docs/gst/gstreamer-sections.txt:
6302           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6303           
6304         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6305         (gst_fake_sink_preroll):
6306         * plugins/elements/gstfakesink.h:
6307           API: Add new GstFakeSink::preroll-handoff signal (#337100).
6308
6309 2006-05-23  Wim Taymans  <wim@fluendo.com>
6310
6311         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6312         * gst/gstpad.h:
6313         Added _CUSTOM error and success GstFlowReturn that can be
6314         used be elements internally. 
6315         Added macro to check for SUCCESS flowreturns.
6316         API: GST_FLOW_CUSTOM_SUCCESS
6317         API: GST_FLOW_CUSTOM_ERROR
6318         API: GST_FLOW_IS_SUCCESS
6319
6320         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6321         Added check for GstFlowReturn sanity.
6322
6323 2006-05-23  Wim Taymans  <wim@fluendo.com>
6324
6325         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6326
6327         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6328         (gst_collect_pads_event):
6329         clear/reset segment info in FLUSH_STOP.
6330         Fixes #336929.
6331
6332 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
6333
6334         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6335         (gst_collect_pads_check_collected):
6336         Flush queued buffer on _stop(), fixes playing again (#342454)
6337
6338 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6339
6340         * tests/check/gst/gststructure.c: (GST_START_TEST),
6341         (gst_structure_suite):
6342           add a test for a complete structure
6343
6344 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6345
6346         * docs/faq/developing.xml:
6347         * docs/faq/faq.xml:
6348         * docs/faq/troubleshooting.xml:
6349         * docs/faq/using.xml:
6350           Some minor FAQ updates that won't change the fact that
6351           our FAQ is badly structured, full of information hardly
6352           anyone new to GStreamer needs to know and lacking lots
6353           of information people constantly ask for.
6354           
6355 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
6356
6357         * gst/gstpad.c: (gst_pad_set_caps):
6358           Short-circuit gst_pad_set_caps if setting the existing
6359           caps pointer again, and avoid printing debug and 
6360           reffing/unreffing the caps.
6361
6362         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6363           There's actually no need to set the caps before pushing -
6364           the acceptcaps method will handle it anyway.
6365
6366 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6367
6368         * docs/gst/gstreamer-sections.txt:
6369         * win32/common/libgstreamer.def:
6370         * gst/gstutils.c: (gst_element_seek_simple):
6371         * gst/gstutils.h:
6372           API: add gst_element_seek_simple() (#342238).
6373
6374 2006-05-18  Edward Hervey  <edward@fluendo.com>
6375
6376         * gst/gsttypefind.c: (gst_type_find_get_type):
6377         * gst/gsttypefind.h:
6378         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6379         registered for GstTypeFind pointers. This allows wrapping the structure
6380         in bindings (i.e. gst-python).
6381
6382 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6383
6384         * gst/gsttagsetter.c:
6385           Docs additions and fixes (see #339918).
6386
6387 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6388
6389         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6390         The caps intersection algorithm can produce multiple copies of the
6391         caps. Until that is fixed, we need to simplify the result to be
6392         sure whether the allowed caps are fixed or not.
6393
6394         * plugins/elements/gstqueue.c: (gst_queue_init),
6395         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6396         (gst_queue_push_one):
6397         Proxied buffer alloc should not set the caps on the source pad.
6398         When pushing buffers, we always accept the caps change that triggers.
6399         This prevents negotiation errors caused by caps changing mid-stream 
6400         and then being refused on our source pad (because upstream is now
6401         refusing those caps).
6402
6403 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6404
6405         * tests/examples/helloworld/helloworld.c: (main):
6406           Must plug audioconvert and audioresample between decoder
6407           and audio sink.
6408
6409 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
6410
6411         * gst/gstregistryxml.c: (read_string), (load_pad_template),
6412         (load_feature), (load_plugin):
6413         Allow empty strings for some of the plugin fields so we don't 
6414         drop valid plugin entries that were written out correctly
6415         (Fixes #341479)
6416
6417 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
6418         
6419         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6420           Use g_remove and g_rename instead of remove and rename that don't 
6421           handle utf8 characters. rename was failing for users who had specific
6422           characters in their name then the registry was built at each 
6423           gstreamer init.
6424         * win32/vs6/gst_inspect.dsp:
6425         * win32/vs6/gst_launch.dsp:
6426         * win32/vs6/libgstbase.dsp:
6427         * win32/vs6/libgstcoreelements.dsp:
6428         * win32/vs6/libgstreamer.dsp:
6429           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
6430           build of libgstreamer and clean unused libraries in projects link 
6431           settings.
6432
6433 2006-05-17  Edward Hervey  <edward@fluendo.com>
6434
6435         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6436         The queue is not responsible for pushing an EOS when receiving a fatal
6437         flow error. It's up to the real element driving the pipeline to do that.
6438
6439 2006-05-16  Edward Hervey  <edward@fluendo.com>
6440
6441         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6442         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6443         buffer returned a fatal error. It should just send an EOS and stop
6444         its task.
6445         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6446         when pushing buffers on the queue and will be able to handle the event.
6447
6448 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6449
6450         * docs/manual/basics-bins.xml:
6451         * docs/manual/basics-init.xml:
6452           Fix typos and minor errors in sample code (#341856).
6453
6454 2006-05-16  Wim Taymans  <wim@fluendo.com>
6455
6456         * docs/design/part-qos.txt:
6457         Fix indexes in formulas to make more sense.
6458
6459 2006-05-15  Wim Taymans  <wim@fluendo.com>
6460
6461         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6462         Don't report POSITION based on clock time if sync is
6463         disabled in a sink.
6464
6465 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
6466
6467         * gst/gstobject.h:
6468           Add cast to make compiler happy - refcount variable was a gint
6469           in GstObject but is a guint in GObject and g_atomic_int_get()
6470           wants a gint *.
6471
6472 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6473
6474         * gst/parse/Makefile.am:
6475           chain commands using &&, which also makes parallel make work
6476
6477 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
6478
6479         * docs/gst/gstreamer-sections.txt:
6480         * gst/gstevent.c:
6481         * gst/gstevent.h:
6482         * gst/gstmessage.h:
6483           Minor docs fixes.
6484
6485 === release 0.10.6 ===
6486
6487 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
6488
6489         * configure.ac:
6490           releasing 0.10.6, "Take the cannoli"
6491
6492 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * tools/gst-launch.c: (print_tag):
6495           Fix use of uninitialized variable in the hypothetical
6496           case that some broken plugin creates a GST_TAG_IMAGE
6497           tag containing a NULL buffer (#341667).
6498
6499 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6500
6501         * tools/gst-launch.c: (print_tag):
6502           Print something more intelligible for image tags when
6503           using the -t switch (#341556).
6504
6505 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6506
6507         * Makefile.am:
6508           updates for win32
6509         * configure.ac:
6510           define GST_MAJORMINOR so we have it available in win32/common/config.h
6511           Possibly remove it from our Makefile.am files later
6512         * win32/common/config.h:
6513         * win32/common/config.h.in:
6514           added GST_MAJORMINOR
6515         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6516         * win32/common/gstversion.h:
6517           updated
6518
6519 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6520
6521         * win32/MANIFEST:
6522           Update win32 files listing.
6523         * win32/common/gstversion.h:
6524           Add GST_MAJORMINOR definition.
6525         * win32/common/libgstreamer.def:
6526           Add new exported functions.
6527           
6528 2006-05-12  Michael Smith  <msmith@fluendo.com>
6529
6530         * gst/gstplugin.c: (gst_plugin_load_file):
6531           If an so file has no plugin entry point, unload the module.
6532
6533 2006-05-11  Wim Taymans  <wim@fluendo.com>
6534
6535         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6536         (gst_queue_set_property):
6537         Don't forget to signal the _chain or _loop function 
6538         when the queue size or thresholds change since that might
6539         cause them to make progres again.
6540
6541 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6542
6543         * gst/gstclock.c: (gst_clock_class_init):
6544         * gst/gstindex.c: (gst_index_class_init):
6545         * gst/gstobject.c: (gst_object_class_init):
6546         * gst/gstpad.c: (gst_pad_class_init):
6547         * gst/gstpipeline.c: (gst_pipeline_class_init):
6548         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6549         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6550         * libs/gst/base/gstbasetransform.c:
6551         (gst_base_transform_class_init):
6552         * libs/gst/net/gstnetclientclock.c:
6553         (gst_net_client_clock_class_init):
6554         * libs/gst/net/gstnettimeprovider.c:
6555         (gst_net_time_provider_class_init):
6556         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6557         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6558         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6559         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6560         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6561         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6562         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6563         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6564         * plugins/elements/gsttee.c: (gst_tee_class_init):
6565         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6566         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6567           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6568
6569 2006-05-11  Wim Taymans  <wim@fluendo.com>
6570
6571         * gst/gstbuffer.c: (_gst_buffer_initialize):
6572         Register subbufer along with the buffer type so that
6573         it does not accidentally gets registered from N
6574         different streaming threads in a non threadsafe way.
6575
6576 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6577
6578         * gst/gstbuffer.h:
6579         * gst/gstevent.h:
6580         * gst/gstmessage.h:
6581           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6582           gst_event_ref() and gst_message_ref() functions again
6583           (ugly hack, please do fix if there's a better way besides
6584           overrides.txt, which doesn't seem to work).
6585
6586 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6587
6588         * libs/gst/check/gstcheck.h:
6589           add an assert for setting state to avoid lots of repetitive code
6590           in the future
6591
6592 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6593
6594         * gst/gstvalue.c: (gst_value_serialize_flags):
6595           fix a leak if no flags are set
6596         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6597           fix leak in tests
6598
6599 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6600
6601         * docs/manual/basics-pads.xml:
6602           Expand a bit on caps and filtered links and update
6603           examples that were still using the no longer existing
6604           gst_pad_link_filtered() (#338206).
6605
6606 2006-05-10  Wim Taymans  <wim@fluendo.com>
6607
6608         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6609         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6610         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6611         (gst_collect_pads_stop):
6612         * libs/gst/base/gstcollectpads.h:
6613         No need to call _stop in _finalize.
6614         Iterate the main pad list in _finalize.
6615         Added some more debug.
6616         Free lists and data in the right order.
6617         Also free data whem doing _remove_pad when stopped for
6618         backward compatibility protect ::started with PAD_LOCK as
6619         well.
6620
6621 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6622
6623         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6624         (gst_structure_parse_value):
6625           add some comments
6626           rename a method so that it actually says what it does better
6627
6628 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6629
6630         * gst/gstevent.c: (_gst_event_initialize):
6631         * gst/gstformat.c: (_gst_format_initialize):
6632           make sure some essential types used by events are registered
6633           as part of gst_init()
6634         * gst/gstvalue.c: (gst_value_serialize_flags):
6635           if no flags are set, serialize them to a value that represents NONE
6636           so that deserializing them works
6637         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6638           add tests for serialization and deserialization of flags
6639
6640 2006-05-10  Wim Taymans  <wim@fluendo.com>
6641
6642         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6643         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6644         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6645         (gst_collect_pads_event), (gst_collect_pads_chain):
6646         Update docs.
6647         Better debug info.
6648         Catch and return errors from the collect function
6649         Refuse data on eos pads.
6650
6651 2006-05-10  Edward Hervey  <edward@fluendo.com>
6652
6653         * gst/gstinterface.h:
6654         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6655         GInterface type checking.
6656         They were previously using non-defined macros.
6657
6658 2006-05-09  Wim Taymans  <wim@fluendo.com>
6659
6660         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6661         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6662         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6663         (gst_collect_pads_start), (gst_collect_pads_stop),
6664         (gst_collect_pads_peek), (gst_collect_pads_pop),
6665         (gst_collect_pads_available), (gst_collect_pads_read),
6666         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6667         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6668         (gst_collect_pads_chain):
6669         * libs/gst/base/gstcollectpads.h:
6670         Clean up the mess that is collectpads, add comments and
6671         FIXMEs where needed.
6672         Maintain a separate pad list so we can add pads while
6673         collecting the other ones. For this we need a new separate 
6674         lock (see comics).
6675         Fix memory leak in finalize.
6676         Refactor some weird code to set/unset pad flushing flags, mark
6677         with comments.
6678         Don't crash in _available, _read, _flush when we're EOS.
6679
6680         * tests/check/libs/.cvsignore:
6681         Ignore adapter check binary.
6682
6683 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6684
6685         * gst/gstindex.c: (gst_index_resolver_get_type):
6686         * plugins/elements/gstfakesink.c:
6687         (gst_fake_sink_state_error_get_type):
6688         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6689         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6690         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6691           Const-ify GEnumValue arrays.
6692
6693 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6694
6695         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6696           Add test case for flags + gst_buffer_make_metadata_writable().
6697
6698 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6699
6700         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6701           gst_buffer_make_metadata_writable() should maintain the
6702           buffer flags (those that make sense at least) (see #340859).
6703
6704 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6705
6706         * tools/gst-inspect.c:
6707         * tools/gst-launch.c:
6708         * tools/gst-typefind.c:
6709         * tools/gst-xmlinspect.c:
6710         * tools/tools.h:
6711           Fix up includes: need to include stdlib.h in tools.h for exit().
6712
6713 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6714
6715         * gst/gsttaglist.c: (_gst_tag_initialize):
6716         * gst/gsttaglist.h:
6717           API: add GST_TAG_IMAGE tag (#340721).
6718
6719 2006-05-08  Wim Taymans  <wim@fluendo.com>
6720
6721         * gst/gstquery.c:
6722         Added some docs for the segment query.
6723
6724 2006-05-08  Wim Taymans  <wim@fluendo.com>
6725
6726         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6727         (gst_base_src_loop), (gst_base_src_change_state):
6728         Always push non-flushing serialized events in the streaming 
6729         thread.
6730
6731 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6732
6733         * gst/gsterror.c: (_gst_stream_errors_init):
6734           Add a missing error string.
6735
6736 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6737
6738         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6739         Add applied_rate to the debug
6740
6741         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6742         Copy applied_rate into the outgoing NEWSEGMENT event
6743
6744 2006-05-08  Wim Taymans  <wim@fluendo.com>
6745
6746         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6747
6748         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6749         (gst_base_sink_change_state):
6750         call ::unlock before taking the PREROLL_LOCK so we can safely
6751         handle elements that lock in ::render.
6752         Fixes #340174.
6753
6754 2006-05-08  Edward Hervey  <edward@fluendo.com>
6755
6756         * autogen.sh: (CONFIGURE_DEF_OPT): 
6757         Darwin's libtoolize is in fact called glibtoolize.
6758         Adding glibtoolize to the list of accepted names for libtoolize.
6759
6760 2006-05-08  Wim Taymans  <wim@fluendo.com>
6761
6762         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6763         Unify error handling, don't post an error message
6764         when a push() returns EOS but perform our normal EOS
6765         handling code. Fixes #340772.
6766
6767 2006-05-08  Wim Taymans  <wim@fluendo.com>
6768
6769         * docs/design/part-overview.txt:
6770         Make upsteam/downstream concepts more clear.
6771         Give an example of serialized/non-serialized events.
6772
6773         * docs/design/part-events.txt:
6774         * docs/design/part-streams.txt:
6775         Mention applied_rate.
6776
6777         * docs/design/part-trickmodes.txt:
6778         Mention applied rate, flesh out some more use cases.
6779
6780         * gst/gstevent.c: (gst_event_new_new_segment),
6781         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6782         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6783         (gst_event_parse_tag), (gst_event_new_buffer_size),
6784         (gst_event_parse_buffer_size), (gst_event_new_qos),
6785         (gst_event_parse_qos), (gst_event_parse_seek),
6786         (gst_event_new_navigation):
6787         * gst/gstevent.h:
6788         Add applied_rate field to NEWSEGMENT event.
6789         API: gst_event_new_new_segment_full()
6790         API: gst_event_parse_new_segment_full()
6791
6792         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6793         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6794         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6795         * gst/gstsegment.h:
6796         Add applied_rate to GstSegment structure.
6797         Make calculation of stream_time and running_time more correct
6798         wrt rate/applied_rate.
6799         Add some more docs.
6800         API: GstSegment::applied_rate field
6801         API: gst_segment_set_newsegment_full();
6802
6803         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6804         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6805         * libs/gst/base/gstbasetransform.c:
6806         (gst_base_transform_sink_eventfunc),
6807         (gst_base_transform_handle_buffer):
6808         Parse and use applied_rate in the GstSegment field.
6809
6810         * tests/check/gst/gstevent.c: (GST_START_TEST):
6811         Add check for applied_rate field.
6812
6813         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6814         (gstsegments_suite):
6815         Add more checks for various GstSegment operations.
6816
6817 2006-05-08  Wim Taymans  <wim@fluendo.com>
6818
6819         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6820         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6821         (gst_base_sink_get_position), (gst_base_sink_change_state):
6822         Store the sync time of the buffer end position separatly in a
6823         new variable eos_rtime so we can properly sync the EOS event.
6824         Fixes #340697.
6825         Fix the docs for gst_base_sink_set_qos_enabled().
6826         Don't set segment start to invalid value when we receive a 
6827         non TIME newsegment.
6828         get closer to handling position reporting for negative rates 
6829         correctly.
6830
6831 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6832
6833         * gst/gstcaps.c:
6834         Docs about how to print caps for debug purposes.
6835
6836         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6837         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6838
6839 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6840
6841         * gst/gstelement.c:
6842           use full enum names and preprend a '%' in docs strings to make recent 
6843           gtk-doc turn that into a link
6844
6845 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6846
6847         * docs/manual/basics-bins.xml:
6848         * docs/manual/basics-bus.xml:
6849         * docs/manual/basics-pads.xml:
6850           Some typo fixes, some additions, some clarifications. 
6851
6852 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6853
6854         * tools/gst-inspect.c: (main):
6855         * tools/gst-launch.c: (main):
6856         * tools/gst-run.c: (main):
6857         * tools/gst-typefind.c: (main):
6858         * tools/gst-xmlinspect.c: (main):
6859           Use the string passed to g_option_context_new() for
6860           what it's intended for - the program name is already
6861           printed elsewhere.
6862
6863 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6864
6865         * tools/Makefile.am:
6866         * tools/gst-inspect.c: (main):
6867         * tools/gst-launch.c: (main):
6868         * tools/gst-xmlinspect.c: (main):
6869         * tools/tools.h:
6870           Add back --version command line option (#340460).
6871
6872         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6873           Add --version option and use GOption for argument parsing; refactor a
6874           bit; accept directories as arguments and recurse into them; lastly,
6875           print a decent error message when things go wrong.
6876
6877 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6878
6879         * docs/manual/basics-bins.xml:
6880         Don't mention GstThread (#340611)
6881         * docs/manual/basics-elements.xml:
6882         Update link to GObject tutorial (#340607)
6883         
6884 2006-05-05  Wim Taymans  <wim@fluendo.com>
6885
6886         * gst/gstbuffer.h:
6887         * gst/gstminiobject.c:
6888         Add note about refcounting and miniobject/buffer writeability
6889         to docs. Fixes #340604
6890
6891         * gst/gstelementfactory.h:
6892         Added some explanation about @klass.
6893
6894 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6895
6896         * docs/manual/intro-motivation.xml:
6897         * docs/manual/manual.xml:
6898         Avoid CORBA & Bonobo references (#340598)
6899
6900 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6901
6902         * docs/manual/basics-bus.xml:
6903         * docs/manual/basics-pads.xml:
6904         Fix up some inaccuracies and omissions (#340609)
6905         
6906 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6907
6908         * gst/gstghostpad.c:
6909           Small typo in docs (#340625)
6910
6911 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6912
6913         * gst/parse/Makefile.am:
6914           Make 'make -j' proof (see #340698).
6915
6916 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6917
6918         * configure.ac:
6919           Require GLib-2.8 here as well.
6920
6921 2006-05-05  Wim Taymans  <wim@fluendo.com>
6922
6923         * gst/glib-compat.c:
6924         * gst/gst.c: (init_pre):
6925         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6926         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6927         (gst_object_dispatch_properties_changed):
6928         * gst/gstobject.h:
6929         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6930         * gst/gststructure.c: (gst_structure_set_valist):
6931         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6932         Remove pre glib2.8 compatibility, fixes #340508
6933
6934 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6935
6936         * gst/gsttaglist.h:
6937           Mention type of tags in doc blurbs.
6938
6939 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6940
6941         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6942         (gst_pad_configure_src), (gst_pad_push):
6943         Restore acceptcaps checking behaviour now that good plugins have
6944         been released.
6945
6946 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6947
6948         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6949
6950         * gst/gst.c:
6951         * gst/gstbus.c:
6952         * gst/gstclock.c:
6953         * gst/gstevent.c:
6954         * gst/gstformat.c:
6955         * gst/gstmessage.c:
6956         * gst/gstparse.c:
6957         * gst/gstquery.c:
6958         * gst/gstutils.c:
6959         * gst/parse/Makefile.am:
6960         * libs/gst/base/gstadapter.c:
6961         * libs/gst/base/gstbasesrc.c:
6962         * libs/gst/base/gstpushsrc.c:
6963         * libs/gst/base/gsttypefindhelper.c:
6964         * plugins/elements/gstfakesrc.c:
6965         * plugins/elements/gstidentity.c:
6966           Make sure gstprivate.h and/or config.h are
6967           always included first, otherwise some of our
6968           defines (like _FILE_OFFSET_BITS) might be
6969           redefined in the system headers. Fixes build
6970           on opensolaris (#340016).
6971
6972 2006-05-04  Wim Taymans  <wim@fluendo.com>
6973
6974         * docs/libs/gstreamer-libs-sections.txt:
6975         API: addition: gst_adapter_take_buffer()
6976         
6977         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6978         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6979         (gst_adapter_available_fast):
6980         * libs/gst/base/gstadapter.h:
6981         Prepare for optimizing the hell out of this hugely inefficient
6982         piece of code. 
6983         Added gst_adapter_take_buffer() so we can at least start thinking
6984         about subbuffering and merging.
6985         Added some comments.
6986
6987         * tests/check/Makefile.am:
6988         * tests/check/libs/adapter.c: (GST_START_TEST),
6989         (gst_adapter_suite), (main):
6990         Added GstAdapter check.
6991
6992 2006-05-04  Wim Taymans  <wim@fluendo.com>
6993
6994         * docs/design/part-overview.txt:
6995         Fix some typos, add blurb about buffer flags.
6996
6997 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6998
6999         * docs/libs/gstreamer-libs-sections.txt:
7000           make sure GstBaseTransformClass shows up in the docs
7001         * libs/gst/base/gstbasetransform.c:
7002         * libs/gst/base/gstbasetransform.h:
7003           move docs so gtk-doc picks it up now
7004
7005 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
7006
7007         * docs/libs/gstreamer-libs-sections.txt:
7008           add missing symbols to docs
7009
7010 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
7011
7012         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7013           back out the newsegment handling change, see #340060 for ongoing
7014           discussion
7015
7016 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
7017
7018         * tools/gst-run.c: (get_candidates), (main):
7019           Fix wrong g_file_test() usage (see glib docs for why it doesn't
7020           work); fix typo in error message. Fixes #340079.
7021
7022 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7023
7024         * common/Makefile.am:
7025         * docs/Makefile.am:
7026         * docs/faq/Makefile.am:
7027         * docs/gst/Makefile.am:
7028         * docs/libs/Makefile.am:
7029         * docs/manual/Makefile.am:
7030         * docs/plugins/Makefile.am:
7031         * docs/pwg/Makefile.am:
7032         * docs/slides/Makefile.am:
7033         * docs/upload.mak:
7034         * common/upload.mak:
7035           move upload.mak to common
7036
7037 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7038
7039         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7040           add more asserts on refcounts
7041           do more cleanup at end of tests
7042           fix test leaks showing in FC5
7043
7044 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
7045
7046         * plugins/elements/gsttypefindelement.c:
7047         (gst_type_find_element_handle_event):
7048         reverted wrong change and reflowed code to avoid others falling into
7049         this trap
7050
7051 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7052
7053         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7054           fix changelog entry about last collectpads change,
7055           add notes about proper fix
7056
7057 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7058
7059         * gst/gst.c:
7060         * gst/gstregistry.c: (gst_registry_scan_path_level),
7061         (gst_registry_scan_path):
7062         * gst/gstregistry.h:
7063           only write out registry if it has changed, fixes #338339
7064
7065 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7066
7067         * gst/gstbin.c:
7068         * gst/gstpipeline.c:
7069         * plugins/elements/gstcapsfilter.c:
7070         * plugins/elements/gstfakesink.c:
7071         * plugins/elements/gstfakesrc.c:
7072         * plugins/elements/gstfdsink.c:
7073         * plugins/elements/gstfdsrc.c:
7074         * plugins/elements/gstfilesink.c:
7075         * plugins/elements/gstfilesrc.c:
7076         * plugins/elements/gstidentity.c:
7077         * plugins/elements/gstqueue.c:
7078         * plugins/elements/gsttee.c:
7079         * plugins/elements/gsttypefindelement.c:
7080         (gst_type_find_element_handle_event):
7081           make GstElementDetails const
7082
7083 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7084
7085         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7086         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7087         (gst_collect_pads_is_collected), (gst_collect_pads_event):
7088           more detailed debug and formatting cleanup,
7089           forward newsegments to src-pad (so that e.g. adder not eats them)
7090
7091 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7092
7093         * gst/gstutils.c: (gst_element_link_pads):
7094           cleanup double code
7095
7096 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7097
7098         * libs/gst/controller/gstcontroller.c:
7099         (gst_controller_sync_values):
7100           some little tuning
7101         * tests/check/libs/controller.c: (GST_START_TEST),
7102         (gst_controller_suite):
7103           a new test for live value handling
7104
7105 2006-04-28  Wim Taymans  <wim@fluendo.com>
7106
7107         * gst/gstutils.c: (push_and_ref):
7108         Added some more docs.
7109         Fix refcount issue whith gst_element_found_tags() helper 
7110         function. Fixes #338335
7111
7112         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7113         Added testsuite for gst_element_found_tags().
7114
7115 2006-04-28  Michael Smith  <msmith@fluendo.com>
7116
7117         * gst/gstvalue.c: (gst_value_serialize_flags):
7118           Avoid NULL dereference when trying to serialize flags containing
7119           invalid values.
7120
7121 2006-04-28  Michael Smith  <msmith@fluendo.com>
7122
7123         * plugins/elements/gsttypefindelement.c:
7124         (gst_type_find_element_handle_event):
7125           If we get EOS before any data is accumulated, don't use
7126           uninitialised local variables.
7127
7128 2006-04-28  Michael Smith  <msmith@fluendo.com>
7129
7130         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7131         (gst_dp_event_from_packet):
7132           Fixes in reading/writing events over GDP (not currently used?) - 
7133           dereferencing NULL events for unknown/invalid event types, memory
7134           leak, and change g_warning to GST_WARNING.
7135
7136 2006-04-28  Wim Taymans  <wim@fluendo.com>
7137
7138         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7139         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7140         (gst_base_sink_get_position), (gst_base_sink_change_state):
7141         When frame dropping is enabled, we should not ignore frames
7142         without a duration.
7143         Update some documentation.
7144
7145 2006-04-28  Wim Taymans  <wim@fluendo.com>
7146
7147         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7148         (gst_base_src_send_event), (gst_base_src_change_state):
7149         Documentation updates.
7150
7151 2006-04-28  Wim Taymans  <wim@fluendo.com>
7152
7153         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7154         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7155         handle EAGAIN, EINTR and short writes correctly. Also clean
7156         up some error cases, avoid a deadlock on bad file descriptors and
7157         use GST_DEBUG_OBJECT.
7158         Fixes #339843
7159
7160 2006-04-28  Wim Taymans  <wim@fluendo.com>
7161
7162         * gst/gstvalue.c: (gst_value_serialize_buffer),
7163         (gst_value_deserialize_buffer):
7164         Don't try to serialize a GValue with a NULL buffer. 
7165         Fixes #339821.
7166
7167         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7168         Added check for serialisation of NULL buffers.
7169
7170 2006-04-28  Wim Taymans  <wim@fluendo.com>
7171
7172         * gst/gstminiobject.c: (gst_value_take_mini_object):
7173         Taking a NULL miniobject is valid, fix the case where
7174         we try to unref the NULL miniobject.
7175
7176 2006-04-28  Wim Taymans  <wim@fluendo.com>
7177
7178         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7179
7180         * gst/gstbin.c: (gst_bin_handle_message_func):
7181         Update docs.
7182         Don't leak bin refcount when a state recalc is
7183         in progress and we delay another one #339808.
7184
7185 2006-04-28  Wim Taymans  <wim@fluendo.com>
7186
7187         * docs/design/part-TODO.txt:
7188         Mention QoS as an ongoing work item.
7189
7190         * docs/design/part-buffering.txt:
7191         New doc about buffering that needs to be fleshed out
7192         at some point.
7193
7194         * docs/design/part-qos.txt:
7195         More QoS policy for decoders/demuxers/transforms
7196
7197         * docs/design/part-trickmodes.txt:
7198         Small update.
7199
7200 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7201
7202         * configure.ac:
7203           back to HEAD
7204
7205 === release 0.10.5 ===
7206
7207 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
7208
7209         * configure.ac:
7210           releasing 0.10.5, "Fogo"
7211
7212 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7213
7214         patch by: Wim Taymans
7215
7216         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7217         (gst_pad_configure_src), (gst_pad_push):
7218         * gst/gstpipeline.c: (gst_pipeline_init):
7219           Fix internal data flow errors.  Fixes #338711.
7220
7221 2006-04-12  Wim Taymans  <wim@fluendo.com>
7222
7223         * tests/check/gst/gstelement.c: (GST_START_TEST):
7224         Don't leak the factory.
7225
7226 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7227
7228         * configure.ac:
7229         * win32/common/config.h:
7230           prerelease
7231
7232 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7233
7234         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7235         (gst_controller_unset_all):
7236           Free allocated GstTimedValues when freeing list nodes.
7237           Should fix leaks 'make check-valgrind' complains about.
7238
7239         * win32/common/libgstcontroller.def:
7240           Add gst_controller_unset_all.
7241
7242 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
7243
7244         * docs/libs/gstreamer-libs-sections.txt:
7245         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7246         (gst_controller_unset_all):
7247         * libs/gst/controller/gstcontroller.h:
7248         API: Added new method gst_controller_unset_all()
7249         fixed gst_controller_unset()
7250         * tests/check/libs/controller.c: (GST_START_TEST),
7251         (gst_controller_suite):
7252         Added two testcases for new and fixed method
7253
7254 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
7255
7256         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7257           MSG_DONTWAIT is not defined on Cygwin, so work
7258           around that (fixes #317048).
7259           
7260 2006-04-11  Wim Taymans  <wim@fluendo.com>
7261
7262         * gst/gstelementfactory.c: (gst_element_register),
7263         (gst_element_factory_create), (gst_element_factory_make):
7264         Some cleanups.
7265         Fixed a FIXME.
7266         Updated docs (Fixes #131079)
7267
7268         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7269         Small cleanups.
7270
7271         * tests/check/gst/gstelement.c: (GST_START_TEST),
7272         (gst_element_suite):
7273         Added testcase for elementfactory class field.
7274
7275 2006-04-10  Wim Taymans  <wim@fluendo.com>
7276
7277         * gst/gstsegment.c:
7278         Added some more docs.
7279
7280         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7281         (gst_base_sink_reset_qos):
7282         Calculate more accurate rate values.
7283
7284 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
7285
7286         * gst/gst_private.h:
7287           add a new #ifdef to use __declspec(dllimport) only for
7288           other modules and not for gstreamer core
7289         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7290           use gst_guint64_to_gdouble for conversion
7291         * win32/common/libgstreamer.def:
7292           add new exported functions
7293         * win32/vs6/gst_inspect.dsp:
7294         * win32/vs6/gst_launch.dsp:
7295         * win32/vs6/libgstbase.dsp:
7296         * win32/vs6/libgstcontroller.dsp:
7297         * win32/vs6/libgstcoreelements.dsp:
7298         * win32/vs6/libgstdataprotocol.dsp:
7299         * win32/vs6/libgstnet.dsp:
7300           update project files
7301
7302 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
7303
7304         * gst/gstbuffer.c: (gst_subbuffer_class_init):
7305         * gst/gstclock.c: (gst_clock_class_init):
7306         * gst/gstelement.c: (gst_element_class_init):
7307         * gst/gstindex.c: (gst_index_class_init):
7308         * gst/gstindexfactory.c: (gst_index_factory_class_init):
7309         * gst/gstobject.c: (gst_object_class_init),
7310         (gst_signal_object_class_init):
7311         * gst/gstpad.c: (gst_pad_class_init):
7312         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7313         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7314         * gst/gstregistry.c: (gst_registry_class_init):
7315         * gst/gstsystemclock.c: (gst_system_clock_class_init):
7316         * gst/gsttask.c: (gst_task_class_init):
7317         * gst/gstxml.c: (gst_xml_class_init):
7318         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7319         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7320         (gst_base_src_loop):
7321         * libs/gst/controller/gstcontroller.c:/
7322         (_gst_controller_class_init):
7323         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7324         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7325         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7326         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7327         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7328         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7329
7330 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         * gst/gstpad.c: (gst_pad_link):
7333           Must set peer pads before calling the link function, otherwise
7334           a task started from a link function might get a flow-not-linked
7335           result when trying to push because the other thread where the
7336           linking happens hasn't had a chance to set the peers yet. This
7337           might happen for example when a queue gets linked to a downstream
7338           element, as queue starts a streaming task when its source pad
7339           gets linked. Happens in real life when playing back flac/musepack
7340           files in playbin (#332390).
7341           
7342 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
7343
7344         * gst/gstindex.h:
7345         * gst/gstxml.h:
7346         * libs/gst/base/gstadapter.h:
7347         * libs/gst/base/gstbasesink.h:
7348         * libs/gst/base/gstbasesrc.h:
7349         * libs/gst/base/gstbasetransform.h:
7350         * libs/gst/base/gstcollectpads.h:
7351         * libs/gst/base/gstpushsrc.h:
7352         Fix broken GObject macros
7353
7354 2006-04-07  Wim Taymans  <wim@fluendo.com>
7355
7356         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7357         Initialize start and stop times, thanks valgrind.
7358
7359 2006-04-07  Wim Taymans  <wim@fluendo.com>
7360
7361         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7362         Be a bit nicer to badly behaving upstream elements that expect
7363         us to deal with non TIME segments and timestamps (such as fakesrc
7364         in the testsuite).
7365
7366 2006-04-07  Wim Taymans  <wim@fluendo.com>
7367
7368         * gst/gstbus.c:
7369         Small documentation clarification about the signal watch.
7370
7371         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7372         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7373         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7374         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7375         (gst_base_sink_get_position_last),
7376         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7377         Convert and store timestamps in stream time and running time, the
7378         raw timestamps are not useful, also document this better.
7379         Use different window sizes for good and bad QoS observations so
7380         we react to badness a little quicker.
7381         Keep track of the amount of rendered and dropped buffers.
7382         Send QoS timestamps in running time.
7383
7384         * libs/gst/base/gstbasetransform.c:
7385         (gst_base_transform_sink_eventfunc),
7386         (gst_base_transform_handle_buffer):
7387         Compare QoS timestamps against running time.
7388
7389 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7390
7391         * gst/gstpad.c:
7392           Typo fixes in docs.
7393
7394 2006-04-06  Michael Smith  <msmith@fluendo.com>
7395
7396         * gst/gstpad.c: (gst_pad_set_property):
7397           Use g_value_get_object() instead of g_value_dup_gst_object(),
7398           to avoid double-reffing the pad template (which we then sink,
7399           so this worked previously if (and only if) the pad template
7400           was floating.
7401
7402         * gst/gstpadtemplate.c: (gst_pad_template_init),
7403         (gst_pad_template_pad_created):
7404           Never return floating references to pad templates, create
7405           them as initially-sunken.
7406
7407           Document an extra function (and make this stop sinking our
7408           pad template, since that is now guaranteed to do nothing,
7409           since we created it sunken).
7410
7411         * gst/gstghostpad.c:
7412           Fix docs typo.
7413
7414 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7415
7416         * gst/gstinfo.c: (__gst_in_valgrind):
7417           Add some newlines.
7418
7419         * plugins/elements/gsttypefindelement.c:
7420         (gst_type_find_element_chain):
7421           Don't leak buffer caps.
7422
7423 2006-04-06  Michael Smith  <msmith@fluendo.com>
7424
7425         * gst/parse/grammar.y:
7426           Fix a leak in parse-launch for any source-or-sink named element 
7427           references used.
7428
7429         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7430           Unref the pipeline if it exists after we've failed parsing.
7431
7432 2006-04-05  Michael Smith  <msmith@fluendo.com>
7433
7434         * gst/gstpipeline.c: (gst_pipeline_init):
7435           When we create a pipeline bus, initially create it in flushing mode.
7436           Fixes leaks in at least one test, and makes a new pipeline work the
7437           same as one that has gone to READY and then back to NULL.
7438
7439         * gst/gstelement.c:
7440           Typo fix in docs.
7441
7442 2006-04-05  Michael Smith  <msmith@fluendo.com>
7443
7444         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7445           Unref a pad we reffed.
7446         * tests/check/gst/gstutils.c: (GST_START_TEST):
7447           Unref bins
7448
7449 2006-04-05  Michael Smith  <msmith@fluendo.com>
7450
7451         * gst/gstquery.c: (gst_query_set_formats),
7452         (gst_query_set_formatsv):
7453           Fix leaking GValues in queries, as shown by valgrind/testsuite.
7454
7455 2006-04-05  Michael Smith  <msmith@fluendo.com>
7456
7457         * tests/check/generic/sinks.c: (GST_START_TEST):
7458           Fix a variety of memleaks in sinks check, which are only sometimes 
7459           shown by running the tests under valgrind (weird?).
7460
7461 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
7462
7463         * docs/version.entities.in:
7464           Fix the substituted entity name after thomas' changes on the
7465           weekend.
7466
7467 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7468
7469         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7470         VALGRIND_PRINTF
7471         
7472 2006-04-05  Andy Wingo  <wingo@pobox.com>
7473
7474         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7475
7476         * libs/gst/base/gstbasetransform.c
7477         (gst_base_transform_sink_eventfunc): When resetting our segment on
7478         FLUSH_STOP, also update the flag saying we haven't seen a
7479         newsegment.
7480
7481 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7482
7483         Patch by: Paolo Borelli  <pborelli at katamail dot com>
7484
7485         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7486         (gst_plugin_check_license):
7487           minor clean-ups: G_DEFINE_TYPE already takes care of the
7488           parent_class stuff, no need to do it twice. Mark array of
7489           license strings as constant. (#337103)
7490           
7491 2006-04-04  Michael Smith  <msmith@fluendo.com>
7492
7493         * tools/gst-inspect.c: (print_element_list):
7494           Free the right plugin list; fixes a memory leak.
7495
7496 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7497
7498         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
7499
7500         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7501           Don't error out on empty buffers (#336945).
7502           
7503 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
7504
7505         * docs/libs/gstreamer-libs-sections.txt:
7506         * gst/gsttaglist.c:
7507         * libs/gst/base/gstbasesink.c:
7508         * libs/gst/base/gstbasesink.h:
7509         * libs/gst/base/gstbasesrc.c:
7510         * libs/gst/base/gstbasesrc.h:
7511           Documentation updates. Make BaseSink and BaseSrc docs contain the
7512           class structure so that people can actually see the prototypes for
7513           virtual functions they're supposed to be overriding.
7514
7515 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7516
7517         * plugins/elements/gsttypefindelement.c:
7518         (gst_type_find_element_chain):
7519           More debug info; when skipping typefinding, send cached
7520           events in all cases.
7521
7522 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7523
7524         * configure.ac:
7525           use new AS_VERSION and AS_NANO macros
7526         * gst/gst-i18n-lib.h:
7527         * gst/gst.c:
7528         * gst/gsterror.c:
7529         * gst/gstversion.h.in:
7530         * win32/common/config.h:
7531         * win32/common/config.h.in:
7532           update accordingly
7533
7534 2006-03-31  Michael Smith  <msmith@fluendo.com>
7535
7536         * plugins/elements/gsttypefindelement.c:
7537         (gst_type_find_element_chain):
7538           Do not typefind content if the buffers already have caps.
7539           Neccesary for icydemux (#333657), and the right thing to do anyway.
7540
7541 2006-03-30  Wim Taymans  <wim@fluendo.com>
7542
7543         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7544         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7545         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7546         (gst_base_sink_record_qos_observation),
7547         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7548         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7549         (gst_base_sink_change_state):
7550         More QoS measurements as described in the design doc.
7551         Get rid of ringbuffer with observations, running average is
7552         more simple and equally good.
7553         Calculates valid proportion now.
7554         Added beginning of flood measurement.
7555
7556 2006-03-29  Wim Taymans  <wim@fluendo.com>
7557
7558         * docs/design/part-qos.txt:
7559         * gst/gstclock.c:
7560         Small documentation updates and additions.
7561
7562 2006-03-29  Wim Taymans  <wim@fluendo.com>
7563
7564         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7565         (gst_base_src_send_event), (gst_base_src_loop),
7566         (gst_base_src_change_state):
7567         Perform the EOS logic when we reach the segment stop position.
7568         Fix compilation on gcc4.1
7569
7570 2006-03-29  Wim Taymans  <wim@fluendo.com>
7571
7572         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7573
7574         * plugins/elements/gstqueue.c: (gst_queue_init),
7575         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7576         (gst_queue_set_property):
7577         * plugins/elements/gstqueue.h:
7578         In queue, when EOS is received, if minimum threshold > max_size -
7579         current_level, there is chance that queue blocks forever in conditional
7580         item del wait. This is because the queue is not emptied completely due
7581         to minimum threshold.  Here is another approach. Instead of setting
7582         cur_levels to max in EOS, just zero all minimum threshold levels. This
7583         should make sure that queue gives out all data. When going to READY
7584         (stop) state, just reset the original minimum threshold levels.
7585         Fixes #336336.
7586
7587 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7588
7589         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7590         (gst_type_find_element_handle_event),
7591         (gst_type_find_element_send_cached_events),
7592         (gst_type_find_element_change_state):
7593         * plugins/elements/gsttypefindelement.h:
7594           When typefinding is done in push mode, we should cache
7595           events we receive during typefinding instead of just
7596           dropping them (e.g. newsegment, custom events from
7597           dvdreadsrc etc.) and then send them out once we've
7598           determined the type of the stream (and decodebin
7599           has had a chance to plug in a decoder/demuxer).
7600           
7601 2006-03-27  Wim Taymans  <wim@fluendo.com>
7602
7603         * docs/design/part-qos.txt:
7604         First QoS ideas.
7605
7606 2006-03-27  Wim Taymans  <wim@fluendo.com>
7607
7608         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7609
7610         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7611         (gst_base_src_send_event), (gst_base_src_change_state):
7612         Handle element seek correctly when we are streaming.
7613         Fixes #326998.
7614
7615 2006-03-24  Michael Smith  <msmith@fluendo.com>
7616
7617         * docs/faq/gst-uninstalled:
7618           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7619           allow you to correctly run intalled applications built against old 
7620           core, using plugins that require updated core (e.g. running
7621           installed totem against a full uninstalled gstreamer stack)
7622
7623 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7624
7625         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7626         more debug details
7627
7628 2006-03-24  Wim Taymans  <wim@fluendo.com>
7629
7630         * docs/gst/gstreamer-sections.txt:
7631         Rearrange the order of the methods so that related methods
7632         are grouped together in sections.
7633
7634 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7635
7636         * gst/gstelement.c:
7637           Little clarification in the docs
7638
7639 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7640
7641         * docs/README:
7642         formatting fix
7643         * plugins/elements/gstidentity.c:
7644         * plugins/elements/gstqueue.c:
7645         * plugins/elements/gsttee.c:
7646         * plugins/elements/gsttypefindelement.c:
7647         GST_ELEMENT_DETAILS formatting
7648
7649 2006-03-24  Wim Taymans  <wim@fluendo.com>
7650
7651         * libs/gst/base/gstbasesink.h:
7652         Only add fields, not insert or we break ABI.
7653
7654 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7655
7656         * win32/common/libgstbase.def:
7657         * win32/common/libgstreamer.def:
7658           Update, add recently added functions.
7659
7660 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7661
7662         * docs/gst/gstreamer-sections.txt:
7663         * gst/gstutils.c: (gst_pad_query_peer_position),
7664         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7665         * gst/gstutils.h:
7666           API: add some new utility functions:
7667            - gst_pad_query_peer_position()
7668            - gst_pad_query_peer_duration()
7669            - gst_pad_query_peer_convert()
7670           
7671 2006-03-23  Wim Taymans  <wim@fluendo.com>
7672
7673         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7674         (gst_base_sink_init), (gst_base_sink_finalize),
7675         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7676         (gst_base_sink_set_property), (gst_base_sink_get_property),
7677         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7678         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7679         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7680         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7681         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7682         (gst_base_sink_preroll_object), (gst_base_sink_event),
7683         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7684         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7685         (gst_base_sink_query), (gst_base_sink_change_state):
7686         Decouple max-lateness and the fact that QoS messages are generated
7687         with a new property (qos).
7688         added API: GstBaseSink::async_play()
7689         Add vmethod so subclasses can be notified of ASYNC playing
7690         state changes.
7691         Collect timestamp start and stop to report better current
7692         position in EOS/PLAYING/PAUSED/READY/NULL.
7693         Refactor QoS/frame dropping and other measurements.
7694         API: GstBaseSrc::qos
7695         Fixes #326311
7696
7697         * libs/gst/base/gstbasesink.h:
7698         Added Private struct.
7699         API: gst_base_sink_set_qos_enabled()
7700         API: gst_base_sink_is_qos_enabled()
7701
7702 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7703
7704         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7705           If compiling against GLib-2.8 or newer, try to read the
7706           registry file using GMappedFile first before falling back
7707           to fopen() + fread() (#332151).
7708
7709 2006-03-22  Wim Taymans  <wim@fluendo.com>
7710
7711         * gst/gstinfo.c: (gst_debug_set_active),
7712         (gst_debug_category_set_threshold):
7713         Disable debugging unless explicitly activated.
7714         Fixes #335480.
7715
7716 2006-03-22  Wim Taymans  <wim@fluendo.com>
7717
7718         * gst/gstelement.c: (gst_element_set_locked_state),
7719         (gst_element_dispose):
7720         Cleanup the error case.
7721
7722         * gst/gstobject.c: (gst_object_dispose):
7723         print a critical when some object was disposed with
7724         a parent, also revive the object since it might
7725         crash the parent.
7726
7727 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7728
7729         * tools/gst-launch.1.in:
7730           Fix another typo.
7731
7732 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7733
7734         * configure.ac:
7735         * tests/check/Makefile.am:
7736           disable some tests when we don't have a registry
7737         * tests/check/gst/gstutils.c: (gst_utils_suite):
7738           don't build the part that needs parsing
7739
7740 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7741
7742         * gst/Makefile.am
7743         * tests/examples/Makefile.am:
7744           fix --disable-parse build
7745
7746 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7747
7748         * tools/gst-feedback.1.in:
7749           Fix typo: s/feeback/feedback/ (#133494).
7750
7751 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7752
7753         * tools/Makefile.am:
7754         * tools/gst-launch.1.in:
7755           Add FILES section and correct entry about GST_REGISTRY_PATH
7756           environment variable (#133495; #133494).
7757
7758 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7759
7760         * tools/Makefile.am:
7761         * tools/gst-md5sum.1.in:
7762         * tools/gst-md5sum.c:
7763           Remove gst-md5sum and man page (the md5sink element
7764           required was removed ages ago)
7765
7766 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7767
7768         * gst/gststructure.c: (gst_structure_id_set_value):
7769           Make sure that string fields in structures/taglists
7770           contain valid UTF-8 - we don't want to pass rubbish to
7771           applications because of a buggy plugin (cp. #334167).
7772
7773 2006-03-21  Edward Hervey  <edward@fluendo.com>
7774
7775         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7776         (gst_bin_handle_message_func):
7777         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7778         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7779         (gst_element_set_bus_func):
7780         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7781         * gst/gstminiobject.c: (gst_value_set_mini_object),
7782         (gst_value_take_mini_object):
7783         * gst/gstpad.c: (gst_pad_set_pad_template):
7784         * gst/gstpipeline.c: (gst_pipeline_dispose),
7785         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7786         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7787         (gst_collect_pads_chain):
7788         * libs/gst/net/gstnettimeprovider.c:
7789         (gst_net_time_provider_set_property):
7790         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7791         It's in fact all issues with gst_*object_replace().
7792
7793 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7794
7795         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7796         
7797         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7798         * pkgconfig/gstreamer-check.pc.in:
7799           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7800
7801 2006-03-21  Edward Hervey  <edward@fluendo.com>
7802
7803         * gst/gstbuffer.h:
7804         * gst/gstevent.h:
7805         * gst/gstmessage.h:
7806         gst_[buffer|event|message]_ref() macros are replaced by a static
7807         inline functions because gcc-4.1 will about if the return value
7808         isn't used.
7809         * tests/check/gst/gstevent.c: (event_probe):
7810         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7811
7812 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7813
7814         * gst/gstutils.h:
7815         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7816         the type' case. (Closes: #335195 for now). In the future, when we
7817         depend on GLib 2.10, we could also intern the type name using
7818         g_intern_static_string()
7819
7820 2006-03-20  Wim Taymans  <wim@fluendo.com>
7821
7822         * gst/gstbin.c: (gst_bin_handle_message_func),
7823         (bin_query_max_init), (bin_query_position_fold),
7824         (bin_query_position_done), (gst_bin_query):
7825         Position query should also take max of all streams.
7826
7827 2006-03-20  Wim Taymans  <wim@fluendo.com>
7828
7829         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7830         (gst_fake_src_finalize):
7831         Fix leaks in fakesrc.
7832
7833         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7834         Fix leaks in the testcase.
7835
7836 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7837
7838         * gst/gst_private.h:
7839           add win32 specific import decoration(__declspec(dllimport)) 
7840           for all extern GstDebugCategory * variables
7841         * win32/common/libgstbase.def:
7842         * win32/common/libgstcontroller.def:
7843         * win32/common/libgstreamer.def:
7844           Add some exports, remove empty lines
7845         * win32/common/libgstdataprotocol.def:
7846         * win32/common/libgstdataprotocol.dsp:
7847         * win32/common/libgstnet.def:
7848         * win32/common/libgstnet.dsp:
7849           new project files and exportation files added
7850         
7851 2006-03-19  Wim Taymans  <wim@fluendo.com>
7852
7853         * tests/check/libs/basesrc.c: (eos_event_counter):
7854         Use proper return value for probe.
7855
7856 2006-03-17  Wim Taymans  <wim@fluendo.com>
7857
7858         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7859         (gst_pad_push):
7860         Don't leak buffers, caps and pads on negotiation errors.
7861
7862 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7863
7864         * docs/faq/cvs.xml:
7865         * docs/faq/dependencies.xml:
7866         * docs/faq/developing.xml:
7867         * docs/faq/faq.xml:
7868         * docs/faq/general.xml:
7869         * docs/faq/getting.xml:
7870         * docs/faq/legal.xml:
7871         * docs/faq/troubleshooting.xml:
7872         * docs/faq/using.xml:
7873         Faq review and update.
7874
7875 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7876
7877         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7878         (gst_pad_push):
7879         Don't pound the cpu to pieces by checking get_caps when accept_caps
7880         is called with the same caps as the pad already has.
7881         Use GST_DEBUG_OBJECT when outputting caps change information.
7882
7883 2006-03-15  Wim Taymans  <wim@fluendo.com>
7884
7885         * gst/gstclock.c: (gst_clock_class_init):
7886         Fix docs.
7887
7888 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7889
7890         * gst/gstbuffer.h:
7891         Documentation fix.
7892
7893         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7894         (gst_pad_accept_caps), (gst_pad_configure_sink),
7895         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7896         Make the default acceptcaps behaviour be to check the requested 
7897         caps against the gst_pad_get_caps output. 
7898
7899         Ensure that gst_pad_accept_caps is used to check caps when a pad
7900         doesn't have a setcaps function, so that pads automatically refuse 
7901         caps that they don't allow in their pad template. (Fixes #332986)
7902
7903         When a buffer with attached caps is pushed, ensure that the source 
7904         pad receives those caps even if the element didn't call
7905         gst_pad_set_caps first.
7906
7907 2006-03-15  Wim Taymans  <wim@fluendo.com>
7908
7909         * libs/gst/base/gstadapter.c:
7910         Add some docs.
7911
7912 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7913
7914         * win32/common/libgstbase.def:
7915         * win32/common/libgstcontroller.def:
7916         * win32/common/libgstreamer.def:
7917           Add a whole bunch of missing functions (#334434).
7918
7919 2006-03-14  Wim Taymans  <wim@fluendo.com>
7920
7921         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7922         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7923         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7924         Better debug info when we receive a segment event.
7925         Reorganize a bit so we can pass the get_times() results around.
7926         Use the segment format when calculating the running time.
7927         Don't do QoS is sync is disabled or we have no clock or the
7928         element does not want us to sync to the clock.
7929         Don't drop buffers if QoS is disabled for now.
7930
7931 2006-03-14  Wim Taymans  <wim@fluendo.com>
7932
7933         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7934         Marked the stats property as unimplemented so people don't get
7935         wild ideas.
7936         Add debug message when regression goes wrong.
7937         Added some more docs.
7938
7939 2006-03-14  Wim Taymans  <wim@fluendo.com>
7940
7941         * gst/gstsegment.c: (gst_segment_to_stream_time):
7942         Return correct return type in case of errors.
7943
7944 2006-03-14  Wim Taymans  <wim@fluendo.com>
7945
7946         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7947           Don't segfault on invalid formats.
7948
7949 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7950
7951         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7952           Can't use gst_segment_to_running_time() when the segment
7953           is not in GST_TIME_FORMAT (like with filesink, for example).
7954           Stops flac encoding pipelines from spewing critical warnings
7955           at EOS (#331248).
7956           
7957 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7958
7959         * gst/gstpipeline.c: (gst_pipeline_class_init):
7960           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7961
7962         * plugins/elements/gsttypefindelement.c:
7963         (gst_type_find_element_handle_event):
7964           Don't try to typefind empty streams.
7965
7966 2006-03-14  Wim Taymans  <wim@fluendo.com>
7967
7968         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7969         (gst_base_sink_do_qos):
7970         Separate QoS calculation.
7971         Only drop buffers when lateness is bigger than the 
7972         duration of the buffer.
7973
7974 2006-03-13  Wim Taymans  <wim@fluendo.com>
7975
7976         * gst/gstpipeline.c: (gst_pipeline_set_property),
7977         (gst_pipeline_get_property), (do_pipeline_seek),
7978         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7979         (gst_pipeline_get_delay):
7980         Don't deadlock when reading properties.
7981
7982 2006-03-13  Wim Taymans  <wim@fluendo.com>
7983
7984         * libs/gst/base/gstbasetransform.c:
7985         (gst_base_transform_class_init), (gst_base_transform_init),
7986         (gst_base_transform_sink_event),
7987         (gst_base_transform_sink_eventfunc),
7988         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7989         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7990         (gst_base_transform_set_property),
7991         (gst_base_transform_get_property),
7992         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7993         (gst_base_transform_set_qos_enabled),
7994         (gst_base_transform_is_qos_enabled):
7995         * libs/gst/base/gstbasetransform.h:
7996         Make basetransform virtual method for src events too.
7997         Handle QOS in basetransform.
7998         API: gst_base_transform_update_qos()
7999         API: gst_base_transform_set_qos_enabled()
8000         API: gst_base_transform_is_qos_enabled()
8001
8002 2006-03-13  Wim Taymans  <wim@fluendo.com>
8003
8004         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8005         (gst_base_sink_do_sync):
8006         Small cleanups.
8007         Use QOS debug category.
8008
8009 2006-03-13  Wim Taymans  <wim@fluendo.com>
8010
8011         * plugins/elements/gstqueue.c:
8012         Very small doc update.
8013
8014 2006-03-13  Wim Taymans  <wim@fluendo.com>
8015
8016         * gst/gst_private.h:
8017         * gst/gstinfo.c: (_gst_debug_init):
8018         Added QOS debug category
8019
8020 2006-03-13  Wim Taymans  <wim@fluendo.com>
8021
8022         * docs/gst/gstreamer-sections.txt:
8023         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8024         * gst/gstbin.h:
8025         * gst/gstbus.c: (gst_bus_class_init):
8026         * gst/gstbus.h:
8027         * gst/gstclock.c:
8028         * gst/gstelement.c: (gst_element_set_locked_state):
8029         * gst/gstsegment.c:
8030         Documentation updates.
8031
8032         * gst/gstpipeline.c: (gst_pipeline_get_type),
8033         (gst_pipeline_class_init), (gst_pipeline_init),
8034         (gst_pipeline_dispose), (gst_pipeline_set_property),
8035         (gst_pipeline_get_property), (do_pipeline_seek),
8036         (gst_pipeline_send_event), (gst_pipeline_change_state),
8037         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8038         (gst_pipeline_get_delay):
8039         * gst/gstpipeline.h:
8040         Added methods for setting the delay.
8041         API: gst_pipeline_set_delay()
8042         API: gst_pipeline_get_delay()
8043         Add pipeline debug category
8044         Various cleanups.
8045         Updated docs.
8046         Don't reset stream time when seek failed.
8047
8048 2006-03-13  Wim Taymans  <wim@fluendo.com>
8049
8050         * docs/design/draft-klass.txt:
8051         * docs/design/part-clocks.txt:
8052         * docs/design/part-events.txt:
8053         * docs/design/part-gstbin.txt:
8054         * docs/design/part-gstpipeline.txt:
8055         * docs/design/part-messages.txt:
8056         * docs/design/part-negotiation.txt:
8057         * docs/design/part-overview.txt:
8058         * docs/design/part-preroll.txt:
8059         * docs/design/part-seeking.txt:
8060         * docs/design/part-states.txt:
8061         * docs/design/part-streams.txt:
8062         Documentation updates.
8063
8064 2006-03-12  Julien MOUTTE  <julien@moutte.net>
8065
8066         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8067         us to leak strings...
8068
8069 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8070
8071         * libs/gst/net/gstnettimeprovider.c:
8072           fix docs
8073         * win32/common/config.h:
8074           update
8075
8076 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8077
8078         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8079
8080         * configure.ac:
8081           Don't check for libgnomeui (leftover from old examples
8082           that aren't built or disted any longer) (#334303).
8083           
8084 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
8085
8086         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8087         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8088           Emit RESOURCE_NO_SPACE_LEFT error here as well when
8089           there's no space left on the device.
8090
8091 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
8092
8093         * gst/gstclock.h:
8094           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8095           to cast the input to GstClockTime before comparing with
8096           another GstClockTime value.
8097
8098 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8099
8100         * configure.ac:
8101           back to trunk
8102
8103 === release 0.10.4 ===
8104
8105 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
8106
8107         * configure.ac:
8108           releasing 0.10.4, "Light"
8109
8110 2006-03-10  Michael Smith  <msmith@fluendo.com>
8111
8112         * libs/gst/dataprotocol/dataprotocol.c:
8113           Fix docs for dataprocotol to not get the return types completely
8114           wrong for a few functions.
8115
8116 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
8117
8118         * docs/gst/gstreamer-sections.txt:
8119         * gst/gstpipeline.c: (gst_pipeline_class_init),
8120         (gst_pipeline_init), (gst_pipeline_set_property),
8121         (gst_pipeline_get_property), (gst_pipeline_change_state),
8122         (gst_pipeline_set_auto_flush_bus),
8123         (gst_pipeline_get_auto_flush_bus):
8124         * gst/gstpipeline.h:
8125           Add new API: gst_pipeline_set_auto_flush_bus() and
8126           gst_pipeline_get_auto_flush_bus() to disable automatic
8127           flushing of the pipeline's GstBus when going from READY
8128           to NULL state (#332045).
8129
8130 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
8131
8132         * docs/gst/gstreamer-sections.txt:
8133         * gst/gsturi.c: (gst_uri_has_protocol):
8134         * gst/gsturi.h:
8135            Add new API: gst_uri_has_protocol() (#333779).
8136
8137 2006-03-09  Wim Taymans  <wim@fluendo.com>
8138
8139         * gst/gstclock.c: (gst_clock_entry_new),
8140         (gst_clock_id_compare_func), (gst_clock_id_wait),
8141         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8142         (gst_clock_init), (gst_clock_get_internal_time),
8143         (gst_clock_set_master), (do_linear_regression),
8144         (gst_clock_add_observation), (gst_clock_set_property):
8145         * gst/gstclock.h:
8146         Review docs.
8147         Small cleanups.
8148         Fix a possible segfault when the window-size is made smaller.
8149         Calculate jitter before performing the clock wait. Ideally
8150         the clock implementation should calculate jitter but we need
8151         API breakage for that.
8152
8153         * gst/gstsystemclock.c: (gst_system_clock_init):
8154         Docs review.
8155         
8156         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8157         Remove leftover else
8158
8159         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8160         (gst_systemclock_suite):
8161         Added check to test GST_CLOCK_DIFF.
8162
8163 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
8164
8165         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8166         (gst_type_find_helper_get_range):
8167           If we are provided with the size, we should implement
8168           GstTypeFind::get_length, so that typefind functions who
8169           want to can actually peek at the middle of a file.
8170
8171 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
8172
8173         * docs/manual/advanced-dataaccess.xml:
8174           Add some very very basic error checking.
8175
8176         * docs/pwg/appendix-checklist.xml:
8177           Some updates to the list of things to check when writing an element.
8178
8179 2006-03-08  Wim Taymans  <wim@fluendo.com>
8180
8181         * docs/design/part-element-transform.txt:
8182         Added some docs about the design of tranform elements.
8183
8184         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8185         (gst_base_src_loop), (gst_base_src_change_state):
8186         Mark buffers with the DISCONT flag.
8187
8188 2006-03-08  Michael Smith  <msmith@fluendo.com>
8189
8190         * gst/gstregistry.h:
8191         * gst/gstregistryxml.c: (gst_registry_save),
8192         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8193         (gst_registry_xml_save_pad_template),
8194         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8195         (gst_registry_xml_write_cache):
8196           Rewrite registry-saving to avoid race conditions and check for
8197           failed writes.
8198
8199 2006-03-08  Wim Taymans  <wim@fluendo.com>
8200
8201         * libs/gst/base/gstbasetransform.c:
8202         (gst_base_transform_transform_caps),
8203         (gst_base_transform_transform_size),
8204         (gst_base_transform_prepare_output_buffer),
8205         (gst_base_transform_get_unit_size),
8206         (gst_base_transform_buffer_alloc),
8207         (gst_base_transform_handle_buffer),
8208         (gst_base_transform_change_state):
8209         Cleanups, separate normal flow from errors, add sensible
8210         DEBUG lines.
8211         Don't try to renegotiate when allocating an output buffer.
8212         Also copy DISCONT buffer flag when copying a buffer.
8213         Reset the transform after we finish streaming, not during.
8214
8215 2006-03-08  Wim Taymans  <wim@fluendo.com>
8216
8217         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8218         Use last buffer timestamp in qos message.
8219
8220 2006-03-07  Wim Taymans  <wim@fluendo.com>
8221
8222         Patch by: Christophe Fergeau
8223
8224         * docs/pwg/advanced-tagging.xml:
8225         * docs/pwg/building-pads.xml:
8226           fixes #333416
8227
8228 2006-03-07  Wim Taymans  <wim@fluendo.com>
8229
8230         * docs/libs/gstreamer-libs-sections.txt:
8231         Added basesink new methods.
8232
8233         * gst/gstevent.c:
8234         * gst/gstevent.h:
8235         Docs updates. Flesh out the QoS docs.
8236
8237         * libs/gst/base/gstadapter.c:
8238         Small doc clarification about ownership and flushing.
8239
8240         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8241         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8242         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8243         (gst_base_sink_get_property), (gst_base_sink_do_sync):
8244         * libs/gst/base/gstbasesink.h:
8245         API additions: 
8246         Added new methods to allow subclass to control max-lateness 
8247         and sync.
8248         Generate very basic QoS events based on last sync observation.
8249         Updated docs, fix typo, added some QoS blurb.
8250
8251         * libs/gst/base/gstbasesrc.c:
8252         Remove obsolete _get_state() calls from docs.
8253
8254 2006-03-07  Wim Taymans  <wim@fluendo.com>
8255
8256         * docs/libs/gstreamer-libs-sections.txt:
8257         * libs/gst/base/gstbasetransform.h:
8258         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8259         Fix docs for GstBaseSrc.
8260
8261 2006-03-07  Wim Taymans  <wim@fluendo.com>
8262
8263         * docs/gst/gstreamer-sections.txt:
8264         * gst/gstbuffer.h:
8265         * gst/gstvalue.c:
8266         * libs/gst/base/gstbasetransform.h:
8267         Small documentation fixes.
8268
8269 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8270
8271         * gst/gstvalue.c:
8272           Document thread-unsafety of gst_value_register_foo_func()
8273           when used at the same time as gst_value_foo() (#322628).
8274
8275 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8276
8277         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8278         (gst_push_src_check_get_range):
8279           Push sources don't support pull mode by default.
8280
8281 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
8282
8283         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8284         (gst_base_src_init), (gst_base_src_pad_check_get_range),
8285         (gst_base_src_default_check_get_range):
8286         * libs/gst/base/gstbasesrc.h:
8287           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8288           provide default implementation, and rename
8289           gst_base_src_check_get_range() to
8290           gst_base_src_pad_check_get_range() for clarity.
8291
8292 2006-03-06  Wim Taymans  <wim@fluendo.com>
8293
8294         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8295         Make property overridable.
8296
8297 2006-03-06  Wim Taymans  <wim@fluendo.com>
8298
8299         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8300         (gst_base_sink_init), (gst_base_sink_set_property),
8301         (gst_base_sink_get_property), (gst_base_sink_do_sync):
8302         * libs/gst/base/gstbasesink.h:
8303         API addition: Make max-lateness a property.
8304
8305 2006-03-06  Wim Taymans  <wim@fluendo.com>
8306
8307         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8308         (gst_base_sink_do_sync), (gst_base_sink_render_object):
8309         Don't ever draw a frame that is >10ms late.
8310
8311 2006-03-06  Michael Smith  <msmith@fluendo.com>
8312
8313         * gst/gstmessage.c: (_gst_message_copy):
8314           When copying a message, set the parent_refcount of the enclosed
8315           structure to point at the copy, not the original message.
8316
8317 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
8318
8319         Patch by: Christophe Fergeau
8320
8321         * gst/gstutils.h:
8322           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8323           usable in c++ code (#333417)
8324
8325 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8326
8327         * gst/gstclock.h:
8328           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8329
8330 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
8331
8332         * libs/gst/base/gstbasetransform.c:
8333         (gst_base_transform_transform_caps):
8334           Make sure caps are writable before passing them to
8335           gst_caps_append().
8336
8337 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
8338
8339         * gst/gsterror.h:
8340           Fix some minor docs errors.
8341
8342 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
8343
8344           Patch by: Ross Burton <ross at burtonini dot com>
8345
8346         * gst/gsterror.c: (_gst_resource_errors_init):
8347         * gst/gsterror.h:
8348           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8349
8350 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
8351
8352         * gst/gst.c:
8353         Add a check and output a g_warning when GStreamer is built
8354         against GLib 2.6 but running against 2.8 or higher, and vice 
8355         versa. (Closes: #323542)
8356
8357 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
8358
8359         * gst/parse/parse.l:
8360           Commit patch for parse_launch syntax from #331255. Removes 
8361           support for quoted strings and mimetypes when writing filtered 
8362           caps. See the bug report for more details - I'm pretty sure this
8363           obscure feature is not in use by _anyone_ anywhere.
8364
8365           With this simple change, the size of the gstreamer.so here 
8366           drops from 2193KB to 1565KB.
8367
8368 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * plugins/elements/gsttypefindelement.h:
8371         * plugins/elements/gsttypefindelement.c:
8372         (gst_type_find_element_src_event), (start_typefinding),
8373         (stop_typefinding), (gst_type_find_element_handle_event),
8374         (gst_type_find_element_chain),
8375         (gst_type_find_element_chain_do_typefinding):
8376           Use gst_type_find_helper_for_buffer() for chain-based
8377           typefinding.
8378
8379 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8380
8381         * plugins/elements/gsttypefindelement.c:
8382         (gst_type_find_element_class_init),
8383         (gst_type_find_element_set_property),
8384         (gst_type_find_element_get_property):
8385           Deprecate "maximum" property (not only was it only taken into
8386           account for typefinding in push-mode anyway, it also was never
8387           actually possible to set it in the first place because the
8388           property was registered with the numeric property ID for the
8389           "minimum" property). Register "maximum" property correctly,
8390           for the sake of future copy'n'pasters. Remove some cruft
8391           from property get/set functions.
8392
8393 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * plugins/elements/gsttypefindelement.c:
8396         (gst_type_find_element_activate):
8397           Use gst_type_find_helper_get_range() here, so we
8398           can honour the "minimum" property and also emit
8399           the signal with the correct probability of the found caps.
8400
8401 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
8402
8403         * docs/libs/gstreamer-libs-sections.txt:
8404         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8405         (helper_find_suggest), (gst_type_find_helper_get_range),
8406         (gst_type_find_helper):
8407         * libs/gst/base/gsttypefindhelper.h:
8408           New API: gst_type_find_helper_get_range() (#333042).
8409
8410 2006-03-02  Michael Smith  <msmith@fluendo.com>
8411
8412         * gst/gstregistryxml.c: (load_feature):
8413           Asserting on a failure to read part of the registry is Not Cool.
8414           Just log a warning and return NULL (which is already handled)
8415
8416 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
8417
8418         * win32/common/libgstbase.def:
8419           added export of gst_type_find_helper_for_buffer
8420         * win32/common/libgstbase.def:
8421           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8422           gst_ghost_pad_get_target
8423
8424 2006-02-28  Wim Taymans  <wim@fluendo.com>
8425
8426         * docs/design/draft-klass.txt:
8427         We use Filter now.
8428         Added Connector to mark elements that are only used to
8429         allow pipeline connections.
8430         Moved Debug to extra feature since most of them are 
8431         functionally something else.
8432
8433 2006-02-28  Wim Taymans  <wim@fluendo.com>
8434
8435         * docs/design/draft-klass.txt:
8436         Some updates and clarifications.
8437
8438 2006-02-28  Wim Taymans  <wim@fluendo.com>
8439
8440         * docs/design/draft-klass.txt:
8441         Proposal for klass field values.
8442
8443         * docs/design/part-streams.txt:
8444         Start of a doc describing stream anatomy.
8445
8446 2006-02-28  Wim Taymans  <wim@fluendo.com>
8447
8448         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8449         Help the compiler a bit with type registration.
8450         Use existing forward cod path instead of duplicating it when 
8451         handling a message.
8452         
8453         * gst/gstbus.c: (gst_bus_get_type):
8454         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8455         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8456         * gst/gstclock.c: (gst_clock_get_type):
8457         * gst/gstelement.c: (gst_element_get_type),
8458         * gst/gstelementfactory.c: (gst_element_factory_get_type):
8459         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8460         * gst/gstminiobject.c: (gst_mini_object_get_type):
8461         * gst/gstpad.c: (gst_pad_get_type):
8462         * gst/gstsegment.c: (gst_segment_get_type):
8463         * gst/gststructure.c: (gst_structure_get_type):
8464         * gst/gstsystemclock.c: (gst_system_clock_get_type):
8465         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8466         * gst/gstvalue.c:
8467         Help compiler with type registration.
8468
8469         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8470         Small doc update.
8471
8472 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8473
8474         * plugins/elements/gsttypefindelement.c:
8475         (gst_type_find_element_handle_event):
8476           When we get an EOS event and have not found a type yet
8477           (most likely because we had not yet accumulated
8478           TYPE_FIND_MIN_SIZE of data yet), try to determine the
8479           type given the data we have so far. Fixes typefinding
8480           for very short streams again, most notably quicktime
8481           redirections as used on Apple's trailer site (#331701).
8482
8483 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8484
8485         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8486         (gst_type_find_helper):
8487           Try typefinding factories with the highest rank first.
8488
8489 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8490
8491         * docs/libs/gstreamer-libs-docs.sgml:
8492         * docs/libs/gstreamer-libs-sections.txt:
8493         * libs/gst/base/gsttypefindhelper.c:
8494           Add section for typefind helper and add documentation
8495           for the old and the new function.
8496
8497 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8498
8499         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8500         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8501         (gst_type_find_helper_for_buffer):
8502         * libs/gst/base/gsttypefindhelper.h:
8503           New API: gst_type_find_helper_for_buffer() (#332723).
8504           
8505 2006-02-27  Michael Smith  <msmith@fluendo.com>
8506
8507         Patch by: Loïc Minier
8508
8509         * configure.ac:
8510         * docs/Makefile.am:
8511         * docs/slides/Makefile.am:
8512           prevent CVS directories getting disted.
8513
8514 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8515
8516         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8517           Use the REFCOUNTING category for caps refcounting.
8518           
8519 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8520
8521         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8522           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8523
8524 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * plugins/elements/gsttypefindelement.c:
8527         (gst_type_find_element_activate):
8528           Use gst_pad_check_pull_range() before _activate_pull()
8529           to avoid unnecessary open/close (see #331690).
8530
8531 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8532
8533         * gst/gstutils.c:
8534           Docs enhancement: make it crystal clear what the
8535           gst_pad_add_*_probe() callbacks should look like.
8536
8537 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8538
8539         * libs/gst/base/gstbasesrc.c:
8540           Document how applications can stop recording from
8541           live sources (see #330996).
8542
8543 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8544
8545         * tests/check/Makefile.am:
8546         * tests/check/libs/basesrc.c: (eos_event_counter),
8547         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8548         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8549         (gst_basesrc_suite), (main):
8550           ... and add some tests for the base source EOS stuff.
8551
8552 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8553
8554         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8555           Test case originally showed the problem fixed below,
8556           but was then amended. Add checks back at the place
8557           where they used to be.
8558
8559 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8560
8561         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8562         (gst_base_src_init), (gst_base_src_loop),
8563         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8564         (gst_base_src_change_state):
8565         * libs/gst/base/gstbasesrc.h:
8566           Don't unconditionally send EOS when going from PAUSED to
8567           READY state, esp. make sure we don't send two EOS events
8568           in some cases (e.g. one when reaching EOS and one when
8569           going from PAUSED to READY). Also, we don't want to send
8570           EOS events when operating in pull mode. However, we do
8571           want to send an EOS event when shutting down a live
8572           source explicitly, for example (fixes #330996).
8573           
8574 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8575
8576         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8577           Update src->read_position after a seek when not using mmap.
8578           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8579
8580 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8581
8582         * gst/Makefile.am:
8583         * gst/gstparse.h:
8584         * gst/gstutils.c:
8585         * gst/gstutils.h:
8586         Make things work with --disable-parse as they do with 
8587         --disable-load-save - the symbols involved disappear, but the
8588         header is still installed and GST_DISABLE_PARSE is included via
8589         gstconfig.h
8590
8591 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8592
8593         * libs/gst/base/gstbasetransform.c:
8594         (gst_base_transform_change_state): Fix a stupid bug. I was 
8595         sure I compiled that.
8596
8597 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8598
8599         * gst/gstpad.c: (gst_pad_set_blocked_async):
8600         * gst/gstutils.c: (gst_pad_add_data_probe),
8601         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8602         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8603         (gst_pad_remove_buffer_probe): Make those function act on the
8604         ghostpad target when it's a ghostpad. (Closes #331727)
8605
8606 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8607
8608         * libs/gst/base/gstbasetransform.c:
8609         (gst_base_transform_change_state): Make basetransform reusable.
8610         (Closes #331898)
8611
8612 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8613
8614         * docs/random/release:
8615         Move the current documentation of how to do a release to the top
8616         of the file.
8617
8618         * gst/gstbin.c: (gst_bin_class_init),
8619         (gst_bin_handle_message_func):
8620         Allow multiple state-recalculation threads. (Closes #328873)
8621
8622 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8623
8624         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8625         * gst/gstpad.c: (gst_pad_set_event_function),
8626         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8627         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8628         2 strings. You can't use the STR_NULL macro on that.
8629
8630 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8631
8632         * gst/gstpad.c: (gst_pad_set_event_function),
8633         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8634         (gst_pad_set_getcaps_function)
8635         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8636           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8637           So now, we can use --gst-debug-level=5 on Windows
8638         * win32/common/libgstcontroller.def:
8639           Added export of gst_controller_init
8640         * win32/vs6/libgstcontroller.dsp:
8641           Fixed Release post build configuration
8642
8643 2006-02-17  Wim Taymans  <wim@fluendo.com>
8644
8645         * tests/check/gst/gstquery.c: (GST_START_TEST):
8646         Added another check.
8647
8648 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8649
8650         * plugins/elements/gsttypefindelement.c: (find_peek):
8651           We can do peeks at non-zero offsets, as long as they
8652           fall within the buffer we have.
8653
8654 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8655
8656         * tests/check/Makefile.am:
8657         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8658         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8659         (parse_suite), (main):
8660           Add testsuite for parse launch syntax
8661
8662 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8663
8664         * plugins/elements/gsttypefindelement.c:
8665         (gst_type_find_element_chain):
8666           When typefinding is unsuccessful in the chain function, don't
8667           error out immediately. Only error out with NO_CAPS_FOUND if
8668           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8669           otherwise simply wait for more data so we can try typefinding
8670           again with more data later. Also, don't attempt to typefind
8671           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8672           this should improve typefinding from network sources where the
8673           size of the first buffer can be somewhat random.
8674
8675 2006-02-14  Wim Taymans  <wim@fluendo.com>
8676
8677         * docs/gst/gstreamer-sections.txt:
8678         * gst/gstpadtemplate.c:
8679         * gst/gstpadtemplate.h:
8680         Fix padtemplate docs, fixes #328805.
8681
8682 2006-02-14  Wim Taymans  <wim@fluendo.com>
8683
8684         * tools/gst-launch.c: (main):
8685         NO_PREROLL is not an ERROR so don't send confusing messages
8686         to the user.
8687
8688 2006-02-14  Wim Taymans  <wim@fluendo.com>
8689
8690         Patch by: Torsten Schoenfeld
8691
8692         * gst/gstregistry.c: (gst_registry_get_default),
8693         (_gst_registry_cleanup):
8694         Protect default registry with lock and ref/sink it.
8695         Fixes #324818
8696
8697 2006-02-14  Wim Taymans  <wim@fluendo.com>
8698
8699         * gst/gstbuffer.c:
8700         * gst/gstquery.c: (gst_query_list_add_format),
8701         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8702         (gst_query_parse_formats_nth):
8703         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8704         Docs fixes.
8705
8706 2006-02-14  Wim Taymans  <wim@fluendo.com>
8707
8708         * docs/gst/gstreamer-sections.txt:
8709         Reworked query docs.
8710
8711         * gst/gstquery.c: (gst_query_new_formats),
8712         (gst_query_list_add_format), (gst_query_set_formats),
8713         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8714         (gst_query_parse_formats_nth):
8715         * gst/gstquery.h:
8716         Flesh out formats query, added some new methods.
8717         Fix part of #324398.
8718
8719         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8720         Added query creation tests.
8721
8722 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8723
8724         * gst/gstpad.c: (fixate_value):
8725         Add a default fixation for fraction lists.
8726
8727 2006-02-13  Wim Taymans  <wim@fluendo.com>
8728
8729         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8730         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8731         (gst_task_join):
8732         * gst/gsttask.h:
8733         Detect and warn for obvious deadlocks. fixes #320340
8734         Fix error case where lock was not released.
8735
8736         * tests/check/Makefile.am:
8737         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8738         (task_func), (gst_element_suite), (main):
8739         Add task check.
8740
8741 2006-02-13  Wim Taymans  <wim@fluendo.com>
8742
8743         * docs/gst/gstreamer-sections.txt:
8744         * gst/gstbus.c:
8745         Add new functions to docs.
8746
8747 2006-02-13  Wim Taymans  <wim@fluendo.com>
8748
8749         * docs/design/part-TODO.txt:
8750         Updated TODO list, basesrc supports seeking to non-bytes
8751         formats.
8752
8753         * docs/design/part-element-sink.txt:
8754         Update docs.
8755
8756         * gst/gstbin.c: (bin_replace_message),
8757         (gst_bin_handle_message_func):
8758         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8759         * gst/gstevent.c: (gst_event_finalize):
8760         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8761         (gst_pad_send_event):
8762         Use shiny new _TYPE_NAME macros.
8763
8764         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8765         Move debug statement up.
8766
8767         * gst/gstelement.c: (gst_element_set_locked_state):
8768         Add some debugging.
8769
8770 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8771
8772         * docs/gst/gstreamer-sections.txt:
8773         * gst/gstmessage.h:
8774         * gst/gstquery.h:
8775           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8776           macros (#330906). Also, document the already existing
8777           GST_QUERY_TYPE macro.
8778
8779 2006-02-13  Wim Taymans  <wim@fluendo.com>
8780
8781         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8782         (event_probe), (GST_START_TEST):
8783         Only events up to the pipeline EOS are counted, there are
8784         some more when going to NULL currently which we don't care
8785         about for now.
8786
8787 2006-02-13  Wim Taymans  <wim@fluendo.com>
8788
8789         * gst/gstpad.c: (gst_pad_send_event):
8790         Correctly check flushing and emit probes. fixes #330125
8791
8792 2006-02-10  Andy Wingo  <wingo@pobox.com>
8793
8794         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8795         structure.
8796         (gst_bus_init): Cache the location of the private data in the
8797         instance structure.
8798         (gst_bus_enable_sync_message_emission) 
8799         (gst_bus_disable_sync_message_emission): Implement new public
8800         functions.
8801         (gst_bus_post): Emit the sync-message signal if the user asked for
8802         it. Fixes #330684.
8803
8804         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8805         location of the bus-private structure.
8806         (gst_bus_enable_sync_message_emission)
8807         (gst_bus_disable_sync_message_emission): API addition
8808
8809 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8810
8811         Patch by: Vincent Torri
8812
8813         * docs/pwg/building-boiler.xml:
8814         PWG patch from #326800
8815
8816 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8817
8818         * configure.ac:
8819         * docs/Makefile.am:
8820         * docs/design/Makefile.am:
8821           Dist design docs.
8822
8823 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8824
8825         * configure.ac:
8826           back to CVS
8827
8828 === release 0.10.3 ===
8829
8830 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8831
8832         * configure.ac:
8833           releasing 0.10.3, "Like a virgin"
8834
8835 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8836
8837         * configure.ac:
8838           2nd prerelease of 0.10.3
8839           Bump libtool versioning.
8840
8841 2006-02-07  Andy Wingo  <wingo@pobox.com>
8842
8843         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8844         update last_stop if we're in TIME format and the timestamp is
8845         valid.
8846
8847         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8848         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8849         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8850         If we get a new newsegment with a different format, adapt
8851         accordingly.
8852
8853         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8854         of 0. Not a problem, really.
8855
8856         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8857         warn if sync=true.
8858
8859 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8860
8861         * configure.ac:
8862           Prelease of 0.10.3
8863
8864 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8865
8866         * win32/vs7:
8867           project files updated to the default vs7 configuration
8868         * win32/common/libgstbase.def:
8869         * win32/common/libgstreamer.def:
8870           added new symbols,
8871           removed empty lines,
8872           sorted all exported symbols alphabetically
8873         * win32/common/dirent.c:
8874         * win32/common/dirent.h:
8875         * win32/common/gchar.h:
8876           use windows line end.
8877           
8878 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8879
8880         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8881           Send EOS event when stopping.
8882
8883 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8884
8885         * docs/README:
8886           Tell folks what to do if the plugin-foobar.xml file
8887           hasn't been generated for a newly-added plugin.
8888
8889 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8890
8891         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8892         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8893         (gst_collect_pads_start), (gst_collect_pads_stop),
8894         (gst_collect_pads_event): Collectpads now holds a reference
8895         to the GstPad that was added. Indeed we don't want to look
8896         at pads that might just go away with no warning...
8897
8898 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8899
8900         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8901         (gst_collect_pads_start), (gst_collect_pads_stop),
8902         (gst_collect_pads_event), (gst_collect_pads_chain):
8903         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8904         Mark Nauwelaerts's patch on bug #328491.
8905
8906 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8907
8908         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8909         (gst_utils_suite):
8910           Add some simple tests for gst_parse_bin_from_description() and
8911           gst_bin_find_unconnected_pad() (#329069).
8912
8913 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8914
8915         * tools/gst-launch.c: (event_loop), (main):
8916           Catch errors during preroll (#320084).
8917
8918 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8919
8920         * plugins/elements/gsttypefindelement.c:
8921         (gst_type_find_element_activate):
8922           Post TYPE_NOT_FOUND error message when typefinding
8923           is unsuccessful in the activate function as well.
8924
8925 2006-02-02  Wim Taymans  <wim@fluendo.com>
8926
8927         * docs/design/part-element-sink.txt:
8928         Updated doc.
8929
8930 2006-02-02  Wim Taymans  <wim@fluendo.com>
8931
8932         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8933         (gst_base_sink_render_object),
8934         (gst_base_sink_queue_object_unlocked):
8935         Only keep track of prerollable items when we are 
8936         prerolling.
8937         Before rendering after preroll, always check if we
8938         have queued items.
8939         Added some more debugging.
8940
8941 2006-02-02  Wim Taymans  <wim@fluendo.com>
8942
8943         * gst/gstelement.c: (gst_element_continue_state),
8944         (gst_element_set_state_func), (gst_element_change_state):
8945         Fixed #326576, been running this for quite some time with
8946         no regressions at all.
8947
8948 2006-02-02  Wim Taymans  <wim@fluendo.com>
8949
8950         * common/gst.supp:
8951         Added more suppressions
8952
8953 2006-02-02  Wim Taymans  <wim@fluendo.com>
8954
8955         * docs/design/part-element-sink.txt:
8956         Updated document.
8957
8958         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8959         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8960         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8961         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8962         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8963         (gst_base_sink_preroll_object),
8964         (gst_base_sink_queue_object_unlocked),
8965         (gst_base_sink_queue_object), (gst_base_sink_event),
8966         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8967         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8968         (gst_base_sink_get_position), (gst_base_sink_change_state):
8969         * libs/gst/base/gstbasesink.h:
8970         Totally refactored matching the design doc.
8971         Use two segments, one to clip incomming buffers and another to
8972         perform sync.
8973         Handle queueing correctly, bypass the queue when playing.
8974         Make EOS cancelable.
8975         Handle errors correctly when operating in pull based mode.
8976
8977         * tests/check/elements/fakesink.c: (GST_START_TEST),
8978         (fakesink_suite):
8979         Added new check for sinks.
8980
8981 2006-02-02  Wim Taymans  <wim@fluendo.com>
8982
8983         * gst/gstsegment.c: (gst_segment_clip):
8984         No reason to refuse to clip when start == -1
8985
8986 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8987
8988         * docs/README:
8989         * docs/manual/intro-basics.xml:
8990         * docs/manual/intro-preface.xml:
8991         * docs/manual/manual.xml:
8992         * docs/pwg/advanced-dparams.xml:
8993         * docs/pwg/intro-basics.xml:
8994         * docs/pwg/intro-preface.xml:
8995         * docs/pwg/pwg.xml:
8996           describe dparams (controller) for plugins
8997           unify docs a little more
8998
8999 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
9000
9001         * docs/gst/gstreamer-sections.txt:
9002         * gst/gstutils.c: (element_find_unconnected_pad),
9003         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
9004         * gst/gstutils.h:
9005           Add new API: gst_parse_bin_from_description() and
9006           gst_bin_find_unconnected_pad() (#329069).
9007
9008 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
9009
9010         * docs/manual/README:
9011           uncover a nasty detail of the docs build
9012
9013 2006-01-31  Wim Taymans  <wim@fluendo.com>
9014
9015         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9016         Don't cache duration messages if we're not going to use or
9017         free them.
9018
9019 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
9020
9021         * docs/manual/advanced-dparams.xml:
9022         * docs/pwg/advanced-dparams.xml:
9023           more dparam docs
9024         * gst/gstindex.c:
9025           fix docs
9026         * libs/gst/controller/lib.c: (gst_controller_init):
9027           init just once
9028
9029 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
9030
9031         * gst/gstelement.c: (gst_element_message_full):
9032           also show file/line/func if no additional debug was given
9033
9034 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
9035         
9036         * win32/vs7/grammar.vcproj:
9037           activate copy of autogenerated files for Release mode
9038
9039 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
9040         
9041         * win32/common/libgstreamer.def:
9042           export gst_value_compare
9043
9044 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
9045
9046         * plugins/elements/Makefile.am:
9047         * plugins/elements/gstelements.c:
9048         * plugins/elements/gstfdsink.c: (_do_init),
9049         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9050         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9051         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9052         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9053         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9054         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9055         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9056         * plugins/elements/gstfdsink.h:
9057         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9058
9059 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
9060
9061         * docs/manual/advanced-dparams.xml:
9062           describe controller
9063         * docs/manual/advanced-position.xml:
9064         * docs/manual/basics-init.xml:
9065         * docs/manual/manual.xml:
9066         * docs/manual/titlepage.xml:
9067         * docs/pwg/pwg.xml:
9068         * docs/pwg/titlepage.xml:
9069           cleanup xml (more to come)
9070         * libs/gst/controller/gstcontroller.c:
9071           fix typo
9072
9073 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
9074         
9075         * win32/vs6/grammar.dsp:
9076           add autogen of gstmarshal.c,h for Release mode
9077                 
9078 2006-01-30  Wim Taymans  <wim@fluendo.com>
9079
9080         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9081         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9082         (gst_base_sink_handle_object), (gst_base_sink_event),
9083         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9084         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9085         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9086         (gst_base_sink_deactivate), (gst_base_sink_activate),
9087         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9088         (gst_base_sink_query), (gst_base_sink_change_state):
9089         Basesink cleanups, remove some old code.
9090         Handle the case where a subclass can preroll in the render
9091         method (mostly audiosinks).
9092         Handle more events.
9093         Remove some locks around variables that are now protected
9094         with the PREROLL_LOCK (clock_id, flushing, ..).
9095         Optimize position query some more, do correct locking.
9096         Remove old code to push queue in state change, this is not
9097         needed anymore since preroll blocks on all prerollable items 
9098         now.
9099         Almost implemented as described in design doc.
9100
9101 2006-01-30  Wim Taymans  <wim@fluendo.com>
9102
9103         * tests/check/gst/gstbin.c: (GST_START_TEST):
9104         Wait for refcount to settle down before checking.
9105
9106 2006-01-30  Wim Taymans  <wim@fluendo.com>
9107
9108         * docs/design/part-element-sink.txt:
9109         Pseudo code overview of desired sink behaviour regarding
9110         preroll.
9111
9112 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
9113         * win32/vs6/grammar.dsp:
9114           fix some bugs in Release mode for autogenerated files
9115                 
9116 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
9117         * win32/common/libgstbase.def:
9118         * win32/common/libgstreamer.def:
9119           export some new symbols: gst_base_src_set_format,
9120           gst_iterator_next, gst_structure_set_valist
9121
9122 2006-01-29  Julien MOUTTE  <julien@moutte.net>
9123
9124         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9125         Set pad functions unconditionally. Fixes #329105.
9126
9127 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
9128         * win32/vs8:
9129           add vs8 project files created by Sergey Scobich
9130
9131 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
9132
9133         * gst/gstutils.c: (gst_element_unlink_pads):
9134         Don't leak pad references.
9135
9136         * tests/check/elements/fakesink.c: (GST_START_TEST):
9137         * tests/check/generic/sinks.c: (GST_START_TEST):
9138         * tests/check/generic/states.c: (GST_START_TEST):
9139         * tests/check/gst/gstbin.c: (GST_START_TEST):
9140         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9141         * tests/check/gst/gstelement.c: (GST_START_TEST):
9142         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9143         * tests/check/gst/gstiterator.c: (GST_START_TEST):
9144         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9145         Fix a bunch of leaks. Make generic/sinks.c
9146         use a bit less cpu by slowing the buffer rate
9147         between fakesrc and fakesink.
9148         
9149 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
9150         * gst/gstcaps.c:
9151         * gst/gstelement.c: (gst_element_send_event):
9152         * gst/gstevent.c:
9153         * gst/gstinfo.c:
9154         * gst/gstiterator.c:
9155         * gst/gstiterator.h:
9156         * gst/gstpad.c: (gst_pad_send_event):
9157         * gst/gststructure.c:
9158         * gst/gsturi.c:
9159         * gst/gstutils.c:
9160         * gst/gstvalue.c:
9161         * libs/gst/base/gstadapter.c:
9162           doc fixes, to link to function, just write gst_cool_function(), don't
9163           prefix with '#'
9164
9165 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9166
9167         * plugins/elements/gsttee.c: (gst_tee_do_push),
9168         (gst_tee_handle_buffer):
9169         Always prefer an actual return value from a src
9170         pad in place of NOT_LINKED. This means we return
9171         WRONG_STATE when all src pads are WRONG_STATE
9172         instead of NOT_LINKED.
9173
9174         Lock when replacing the last message to prevent
9175         racing with the get_property method.
9176
9177         Add debug output
9178
9179 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9180
9181         * tests/check/Makefile.am:
9182         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9183         (main):
9184         Add a very simple check that should have caught the memleak I fixed
9185         last night (if not for the slice allocator hiding it)
9186
9187 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9188
9189         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9190         (gst_bin_remove_func), (gst_bin_handle_message_func),
9191         (bin_query_duration_fold), (bin_query_generic_fold):
9192         Clean up references to the clock provider when disposed or when
9193         handling a clock-lost message from it.
9194
9195         Unref sinks when performing a query via gst_iterator_fold, as the
9196         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9197
9198         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9199         (gst_clock_set_master):
9200         Drop our reference to the master clock, if any, when we are disposed.
9201
9202         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9203         Chain up in dispose. 
9204
9205 2006-01-26  Wim Taymans  <wim@fluendo.com>
9206
9207         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9208         Add some debugging.
9209
9210 2006-01-26  Julien MOUTTE  <julien@moutte.net>
9211
9212         * plugins/elements/gsttee.c: (gst_tee_do_push),
9213         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9214         handles pad being NOT_LINKED or in WRONG_STATE.
9215
9216 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9217
9218         * win32/MANIFEST:
9219           more updating
9220
9221 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9222
9223         * win32/MANIFEST:
9224           remove obsolete entry
9225
9226 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9227
9228         * docs/gst/gstreamer-sections.txt:
9229         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9230         (gst_bin_iterate_sources), (gst_bin_send_event):
9231         * gst/gstbin.h:
9232         * gst/gstelement.c: (gst_element_send_event):
9233         * gst/gstevent.c:
9234         * gst/gstpad.c: (gst_pad_send_event):
9235           added code for downstream events, reviewed docs in gstevent.c
9236
9237 2006-01-25  Julien MOUTTE  <julien@moutte.net>
9238
9239         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9240         We only query position using the clock in the playing state.
9241         Query peer in the other cases.
9242         * win32/common/config.h: Updates.
9243
9244 2006-01-24  Wim Taymans  <wim@fluendo.com>
9245
9246         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9247         A clock entry that is scheduled for the exact time of the
9248         clock is still in time.
9249
9250         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9251         (gst_base_sink_do_sync):
9252         Add some more debug info.
9253
9254 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
9255
9256         * win32/vs7:
9257           Add new vs7 project files and solution.
9258
9259 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
9260
9261         * win32/vs7:
9262           all files removed as they were out-dated.
9263
9264 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9265
9266         * docs/random/release:
9267           update notes
9268         * gst/gstbin.c: (gst_bin_init):
9269         * gst/gstbus.c: (gst_bus_new):
9270         * gst/gstbus.h:
9271         * gst/gstpipeline.c: (gst_pipeline_init):
9272           use gst_bus_new(), improve logging, fix docs
9273         * win32/common/config.h:
9274           update for cvs build
9275
9276 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9277
9278         * autogen.sh:
9279           up required version of automake to 1.7
9280
9281 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
9282
9283         * win32/common/libgstreamer.def:
9284           export gst_buffer_is_metadata_writable
9285
9286 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
9287
9288         * docs/gst/gstreamer-sections.txt:
9289         * gst/gstevent.h:
9290           Add gst_event_replace() (#327001)
9291
9292 2006-01-20  Wim Taymans  <wim@fluendo.com>
9293
9294         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9295         Make it actually compile too..
9296
9297 2006-01-20  Wim Taymans  <wim@fluendo.com>
9298
9299         * gst/gstcaps.c:
9300         Clarify behaviour of _is_equal() when passing NULL parameters.
9301
9302         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9303         (gst_pad_set_caps):
9304         Cleanups. Don't unref NULL caps.
9305         When setting the same caps, protect caps of the pad with
9306         proper lock.
9307         Use full functionality of _is_equal() when comparing caps.
9308
9309 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
9310
9311         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9312         Don't loop infinitely if there are no buffers to present. Partially
9313         fixes #327197, but collectpads is just broken for reusing elements
9314         to do multiple encodes atm.
9315
9316 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
9317
9318         * tools/gst-inspect.c: (print_element_features):
9319         * tools/gst-xmlinspect.c: (main):
9320         URL_HANDLER is not a plugin feature we can search for in
9321         the registry.
9322
9323 2006-01-19  Edward Hervey  <edward@fluendo.com>
9324
9325         * gst/gstelement.c: (gst_element_pads_activate): 
9326         When activating, do src pads first, then sink pads.
9327         When de-activating, do sink pads first, then src pads.
9328
9329 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9330
9331         * docs/gst/gstreamer-sections.txt:
9332         Add gst_index_add_associationv to the docs
9333
9334 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9335
9336         * gst/gstevent.c:
9337           Fix docs typo
9338
9339         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9340         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9341           Do some refactoring. Doesn't actually change functionality,
9342           but makes landing the DRAIN event easier later.
9343
9344 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
9345
9346         * docs/pwg/advanced-scheduling.xml:
9347           Update from 0.9.x to 0.10 API and make example a bit
9348           clearer.
9349
9350 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9351
9352         * docs/gst/gstreamer-sections.txt:
9353         Add gst_buffer_(is|make)_metadata_writable methods.
9354
9355 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9356
9357         * docs/design/part-sparsestreams.txt:
9358         Update sparse streams doc, hopefully for greater clarity
9359
9360 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
9361
9362         * docs/design/part-events.txt:
9363         Remove mention of FILLER events.
9364         Add DRAIN event.
9365
9366         * docs/design/part-sparsestreams.txt:
9367         Write some things about using NEWSEGMENT to keep sparse streams
9368         flowing.
9369
9370 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9371
9372         * gst/gstbin.c: (gst_bin_dispose):
9373           Guard gst_object_unref call against a NULL object (dispose
9374           can theoretically be called multiple times).
9375           
9376 2006-01-18  Wim Taymans  <wim@fluendo.com>
9377
9378         * gst/gstbin.c: (gst_bin_element_set_state):
9379         * gst/gstclock.c: (gst_clock_id_wait):
9380         Added some more debug info.
9381
9382         * libs/gst/base/gstadapter.c:
9383         Added more docs.
9384
9385         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9386         (gst_base_sink_do_sync), (gst_base_sink_chain):
9387         Added some comments.
9388
9389 2006-01-18  Wim Taymans  <wim@fluendo.com>
9390
9391         * tests/check/Makefile.am:
9392         * tests/check/elements/fakesink.c: (chain_async_buffer),
9393         (chain_async), (chain_async_return), (GST_START_TEST),
9394         (fakesink_suite), (main):
9395         Added fakesink test that checks prerolling and clipping
9396         behaviour.
9397
9398         * tests/check/gst/gstutils.c: (GST_START_TEST):
9399         Make check run faster so that buildbots don't timeout.
9400
9401 2006-01-18  Wim Taymans  <wim@fluendo.com>
9402
9403         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9404         (gst_base_sink_do_sync):
9405         Some cleanups.
9406         When the sink finishes blocking on the preroll buffer, it can
9407         immediatly render it instead of rendering when the next buffer
9408         arrives.
9409
9410 2006-01-18  Wim Taymans  <wim@fluendo.com>
9411
9412         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9413         (gst_base_sink_get_property), (gst_base_sink_do_sync),
9414         (gst_base_sink_chain):
9415         Small cleanups.
9416         GST_ELEMENT_CLOCK and sync are protected with LOCK.
9417         Don't store _last_stop if the buffer is dropped.
9418
9419 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * plugins/elements/gsttypefindelement.c:
9422         (gst_type_find_element_class_init):
9423           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9424           object method handler that sets the caps on the pad and we want
9425           that to happen before we emit the signal (fixes e.g. feeding a
9426           plain text file to decodebin).
9427
9428 2006-01-18  Christian Schaller  <Christian@fluendo.com>
9429
9430         * gst/gstplugin.c: Add MPL and Proprietary as license options
9431
9432 2006-01-18  Andy Wingo  <wingo@pobox.com>
9433
9434         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9435         symbol was exported before, it appears this was just an oversight.
9436         Fixes #168703.
9437         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9438
9439         * gst/gstindex.c (gst_index_add_associationv): Changed int in
9440         prototype to gint. OK since this prototype was not in the header.
9441
9442 2006-01-17  Andy Wingo  <wingo@pobox.com>
9443
9444         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9445         registry while we remove plugins.
9446
9447         * tools/gst-inspect.c (print_element_info): Don't unref the
9448         factory arg, that should be the responsibility of whatever code
9449         received the ref. Fixes a double-free when called from
9450         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9451         (main): Unref the factory if we have one.
9452         (print_element_list): No change -- relies on the
9453         plugin_feature_list_free to free the list of features.
9454
9455 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
9456
9457         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9458         (gst_buffer_make_metadata_writable):
9459         * gst/gstbuffer.h:
9460         * libs/gst/base/gstbasetransform.c:
9461         (gst_base_transform_prepare_output_buf):
9462         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9463         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9464           Replace gst_buffer_(make|is)_metadata_writable patch now
9465           that the release is out.
9466
9467 2006-01-17  Andy Wingo  <wingo@pobox.com>
9468
9469         * gst/gstregistry.c: Reflow design comment. Update so as to speak
9470         in the present tense without reference to versions.
9471
9472         * gst/gstregistry.c (gst_registry_add_plugin)
9473         (gst_registry_remove_plugin, gst_registry_remove_feature)
9474         (gst_registry_find_feature, gst_registry_get_feature_list)
9475         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9476         (gst_registry_lookup, gst_registry_scan_path)
9477         (_gst_registry_remove_cache_plugins)
9478         (gst_registry_get_feature_list_by_plugin): Add argument
9479         validation.
9480
9481 === release 0.10.2 ===
9482
9483 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
9484
9485         * configure.ac:
9486           releasing 0.10.2, "If man is five"
9487
9488 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9489
9490         * gst/gstbuffer.c:
9491         * gst/gstbuffer.h:
9492         * libs/gst/base/gstbasetransform.c:
9493         (gst_base_transform_prepare_output_buf):
9494         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9495         * tests/check/gst/gstbuffer.c: (gst_test_suite):
9496           Back out patch until after the release.
9497
9498 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9499
9500         * gst/gstminiobject.c:
9501           Spelling fix in docs.
9502         * ChangeLog - remove conflict indicator
9503
9504 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9505
9506         Reviewed By: Andy Wingo
9507
9508         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9509         (gst_buffer_make_metadata_writable):
9510         * gst/gstbuffer.h:
9511           Add gst_buffer_(is|make)_metadata_writable as analogues of
9512           gst_buffer_(is|make)_writable.
9513
9514         * libs/gst/base/gstbasetransform.c:
9515         (gst_base_transform_prepare_output_buf):
9516         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9517           Use name gst_buffer_(is|make)_metadata_writable functions.
9518
9519         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9520           Test gst_buffer_(is|make)_metadata_writable
9521         
9522           (Closes: #324162)
9523
9524 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9525
9526         * docs/manual/Makefile.am:
9527           don't do parallel make
9528         * configure.ac:
9529           AC_SUBST HOST_CPU
9530         * win32/common/config.h.in:
9531           add generations for HOST_CPU and GST_MAJORMINOR
9532         * win32/common/config.h:
9533           commit generated result
9534
9535 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9536
9537         * docs/manual/appendix-integration.xml:
9538           Update GNOME integration section to use gst_init_get_option_group()
9539           instead of the old popt stuff (#322911). Also, GNOME applications
9540           should  now use gconf*sink and gconf*src instead of the old gconf
9541           helper lib we had.
9542
9543 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9544
9545
9546         * docs/gst/gstreamer-docs.sgml:
9547         * docs/gst/gstreamer-sections.txt:
9548         * docs/libs/gstreamer-libs-sections.txt:
9549           add new API entries to the docs
9550         * libs/gst/controller/Makefile.am:
9551         * libs/gst/controller/gstcontroller.c:
9552         * libs/gst/controller/gstcontroller.h:
9553         * libs/gst/controller/gstcontrollerprivate.h:
9554         * libs/gst/controller/gsthelper.c:
9555         * libs/gst/controller/gstinterpolation.c:
9556           move private structs to private header
9557         * po/README:
9558           gstreamer-0.7 -> gstreamer-0.10
9559         * tests/check/libs/struct_i386.h:
9560           remove private structs
9561
9562 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9563
9564         * plugins/indexers/Makefile.am:
9565           Fixes as part of #317048
9566
9567 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9568
9569         * plugins/indexers/Makefile.am:
9570           fix #316086 - compilation when mmap is missing
9571
9572 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9573
9574         * libs/gst/base/gstbasesink.c:
9575           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9576           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9577         * win32/common/config.h:
9578           added some defines GST_MAJORMINOR and HOST_CPU
9579         * win32/common/libgstbase.def:
9580         * win32/common/libgstreamer.def:
9581           added some exported functions.
9582
9583 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9584
9585         * libs/gst/controller/gstcontroller.c:
9586         (gst_controlled_property_set_interpolation_mode),
9587         (gst_controlled_property_new):
9588         * libs/gst/controller/gstcontroller.h:
9589         * libs/gst/controller/gstinterpolation.c:
9590         (interpolate_none_get_string_value_array):
9591           make G_TYPE_STRING controlable
9592
9593 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9594
9595         * tools/README:
9596         * tools/gst-feedback.1.in:
9597         * tools/gst-inspect.1.in:
9598         * tools/gst-launch.1.in:
9599         * tools/gst-md5sum.1.in:
9600         * tools/gst-typefind.1.in:
9601         * tools/gst-xmlinspect.1.in:
9602         * tools/gst-xmllaunch.1.in:
9603           cleanup man-pages, remove reference to gst-register, document env-vars
9604
9605 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9606
9607         * gst/gstbuffer.c: (gst_buffer_span):
9608           gst_buffer_span should copy the timestamp of the first buffer
9609           if they were both originally overlapping subbuffers of the 
9610           same parent, using the same logic as the 'slow copy' case.
9611
9612 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9613
9614         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9615           Need to awaken ALL the pads when we pop a buffer, otherwise
9616           collectpads only works when there is 2 input streams.
9617
9618 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9619
9620         * docs/random/ensonic/media-device-daemon.txt:
9621           more ideas (dbus)
9622         * gst/gstbuffer.c:
9623           fix doc example, add clarification
9624         * tools/gst-launch.1.in:
9625           add initial info about GST_PLUGIN_PATH, needs more work
9626
9627 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9628
9629         * docs/manual/basics-bins.xml:
9630         * docs/manual/basics-elements.xml:
9631         * docs/manual/intro-basics.xml:
9632           Some more minor docs additions and updates.
9633
9634 2006-01-11  Wim Taymans  <wim@fluendo.com>
9635
9636         * docs/manual/basics-bins.xml:
9637         * docs/manual/basics-elements.xml:
9638         Some small fixes as pointed out by Ser-ver on IRC.
9639
9640 2006-01-10  Edward Hervey  <edward@fluendo.com>
9641
9642         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9643         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9644         the single-segment mode.
9645
9646 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9647
9648         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9651         (gst_base_src_perform_seek), (gst_base_src_send_event),
9652         (gst_base_src_set_property), (gst_base_src_get_property),
9653         (gst_base_src_loop), (gst_base_src_start),
9654         (gst_base_src_activate_push):
9655         * libs/gst/base/gstbasesrc.h:
9656           Name (private) union; makes Sun's Forte compiler happy (#324900).
9657
9658 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9659
9660         * README:
9661           gst-register is gone.
9662
9663 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9664
9665         * gst/gstvalue.c: (_gst_value_initialize):
9666           make the G_TYPE_DATE instantiation work if debug is disabled
9667
9668 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9669
9670         * gst/gstmessage.c: (gst_message_parse_tag),
9671         (gst_message_parse_error), (gst_message_parse_warning):
9672           Don't crash when return location for error/warning debug
9673           string is NULL; add fact that return locations can be
9674           NULL to docs where appropriate.
9675
9676 2006-01-05  Wim Taymans  <wim@fluendo.com>
9677
9678         * gst/gstplugin.c: (gst_plugin_load_file):
9679         Replace strdup by g_strdup.
9680
9681 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9682
9683         * docs/pwg/advanced-types.xml:
9684           fix doc borkage
9685
9686 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9687
9688         submitted by: Abel Cheung
9689
9690         * po/LINGUAS:
9691         * po/zh_TW.po:
9692           Added Chinese (traditional) translation
9693
9694 2006-01-04  Wim Taymans  <wim@fluendo.com>
9695
9696         * docs/manual/basics-pads.xml:
9697         * docs/plugins/Makefile.am:
9698         * docs/plugins/gstreamer-plugins-docs.sgml:
9699         * docs/plugins/gstreamer-plugins-sections.txt:
9700         * docs/pwg/advanced-clock.xml:
9701         * docs/pwg/advanced-scheduling.xml:
9702         * docs/pwg/advanced-types.xml:
9703         * plugins/elements/gstfdsink.c:
9704         * plugins/elements/gstfdsrc.c:
9705         * plugins/elements/gstfdsrc.h:
9706         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9707         * plugins/elements/gstidentity.h:
9708         * plugins/elements/gstqueue.h:
9709         * plugins/elements/gsttee.c:
9710         * plugins/elements/gsttee.h:
9711         * plugins/elements/gsttypefindelement.c:
9712         (gst_type_find_element_class_init):
9713         * plugins/elements/gsttypefindelement.h:
9714         Small updates to various docs.
9715         Added core plugins to docs.
9716
9717 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9718
9719         * common/gst.supp:
9720           add a suppression for liboil's uninitialized variable
9721
9722 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9723
9724         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         * gst/gstutils.h:
9727           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9728           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9729           compiler switch is being used (#325429).
9730
9731 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9732
9733         * gst/gstbin.c: (gst_bin_query):
9734           Disable duration query caching in bins until it gets
9735           fixed (see #324807).
9736
9737 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9738
9739         * tools/gst-inspect.c: (print_element_properties_info):
9740           Handle properties of POINTER and BOXED type.
9741
9742 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9743
9744         * gst/gst.c: (init_post):
9745           Init tags stuff and some other things before loading
9746           any static plugins (there may be other static plugins
9747           than just the GStreamer ones, and they may want to
9748           register their own tags or formats or whatever, and
9749           preferably without segfaulting).
9750
9751         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9752           Print at least a warning in the debug logs if we drop a
9753           query just because we don't know how to adjust the value
9754           in the particular format.
9755
9756 2005-12-24  David Schleef  <ds@schleef.org>
9757
9758         * tools/gstreamer-completion:
9759           Replacement for gst-complete written in sh and sed.  Only
9760           completes names of features, but that's 90% of what I want
9761           it for.  Properties are not available in registry.xml.  (Maybe
9762           they should be...)
9763
9764 === release 0.10.1 ===
9765
9766 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9767
9768         * configure.ac:
9769           releasing 0.10.1, "Nollaig chridheil"
9770
9771 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9772
9773         * docs/faq/cvs.xml:
9774           Add missing quote, should be make ERROR_CFLAGS="".
9775
9776 2005-12-20  Wim Taymans  <wim@fluendo.com>
9777
9778         * docs/design/part-trickmodes.txt:
9779         More documentation on trickmodes.
9780
9781 2005-12-20  Edward Hervey  <edward@fluendo.com>
9782
9783         * gst/gstcaps.c: (gst_static_caps_get_type):
9784         * gst/gstcaps.h:
9785           API addition: GST_TYPE_STATIC_CAPS
9786         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9787         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9788         * gst/gstpadtemplate.h:
9789           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9790         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9791         bindings.
9792
9793 2005-12-18  Wim Taymans  <wim@fluendo.com>
9794
9795         * libs/gst/base/gstadapter.c:
9796         * libs/gst/base/gstadapter.h:
9797         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9798         (gst_base_sink_get_position):
9799         * libs/gst/base/gstbasesink.h:
9800         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9801         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9802         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9803         (gst_base_src_send_event), (gst_base_src_update_length),
9804         (gst_base_src_get_range), (gst_base_src_loop),
9805         (gst_base_src_start):
9806         * libs/gst/base/gstbasesrc.h:
9807         * libs/gst/base/gstbasetransform.h:
9808         * libs/gst/base/gstcollectpads.h:
9809         * libs/gst/base/gstpushsrc.c:
9810         * libs/gst/base/gstpushsrc.h:
9811         * libs/gst/dataprotocol/dataprotocol.c:
9812         * libs/gst/dataprotocol/dataprotocol.h:
9813         * libs/gst/net/gstnetclientclock.h:
9814         * libs/gst/net/gstnettimeprovider.h:
9815         Documentation updates.
9816
9817 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9818
9819         * docs/manual/basics-helloworld.xml:
9820           Remove superfluous closing bracket in helloworld example.
9821
9822 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9823
9824         * tools/gst-launch.1.in:
9825           Update gst-launch man page; add a section with useful
9826           environment variables. Fixes #323882.
9827
9828 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9829
9830         * gst/gst.c:
9831         * gst/gst_private.h:
9832           change some char* into char[]
9833
9834 2005-12-16  Wim Taymans  <wim@fluendo.com>
9835
9836         * gst/gstregistryxml.c: (load_feature):
9837         Cleanups.
9838         Don't use g_object_unref on GstObjects so that we avoid
9839         leaks on unsafe glibs.
9840
9841 2005-12-16  Wim Taymans  <wim@fluendo.com>
9842
9843         * gst/gstbin.c: (gst_bin_recalc_state):
9844         Small doc updates.
9845
9846 2005-12-16  Wim Taymans  <wim@fluendo.com>
9847
9848         * common/check.mak:
9849         Added make forever target for check.
9850
9851 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9852
9853         * gst/gst.c: (init_post):
9854           make the registry cache file HOST_CPU-dependent
9855
9856 2005-12-16  Andy Wingo  <wingo@pobox.com>
9857
9858         * plugins/elements/gstbufferstore.c
9859         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9860         return value.
9861
9862         * tests/check/gst/gstobject.c
9863         (test_fake_object_name_threaded_unique): Pay attention to
9864         g_list_sort return value.
9865
9866 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9867
9868         * tools/gst-feedback-m.m:
9869           Update for 0.9/0.10 (fixes #323870).
9870
9871 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9872
9873         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9874           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9875           
9876         * tests/check/gst/gstminiobject.c: (my_foo_init),
9877         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9878         (test_value_collection), (gst_mini_object_suite):
9879           Add test to ensure refcounts end up as expected when passing
9880           GstMiniObjects through g_object_get() and g_object_set().
9881
9882 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9883
9884         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9885         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9886         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9887         of collectpads. This version removes a lot of races without
9888         touching API/ABI. Yay !
9889
9890 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9891
9892         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9893           Don't allow activation of a srcpad in pull_range if it has no
9894           getrange function.
9895           Change some debug statements to be a little clearer
9896
9897         * plugins/elements/gsttypefindelement.c:
9898         (gst_type_find_handle_src_query):
9899           Check that we have a peer before executing queries thereupon.
9900
9901         * tests/examples/metadata/read-metadata.c: (message_loop):
9902           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9903           immediately return us any available message with 0 timeout.
9904
9905 2005-12-12  Michael Smith  <msmith@fluendo.com>
9906
9907         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9908           Don't unref factories after calling them.
9909         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9910         * plugins/elements/gsttypefindelement.c:
9911         (gst_type_find_element_chain):
9912           Free lists of factories after using them. Fixing typefinding memory
9913           leaks.
9914
9915 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9916
9917         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9918         (gst_plugin_feature_load):
9919           more meaningful debug output
9920         * configure.ac:
9921         * tests/Makefile.am:
9922         * tests/old/examples/Makefile.am:
9923           make make distcheck happy again
9924
9925 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9926
9927         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9928           Catch the special case where we are operating chain-based,
9929           but the downstream peer pad has no chain function. Emit a
9930           custom error message in this case instead of letting the
9931           core generate one implying that this is some sort of core
9932           bug. It's not, it just means that whatever got plugged
9933           into the pipeline downstream when we announced the type
9934           can only operate pull-based, while our source can only
9935           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9936           Error string has not been marked for translation yet, as
9937           it probably needs some more work first.
9938
9939         (gst_type_find_element_get_best_possibility):
9940           Add helper function to find the best of all available
9941           found possibilities that qualify given the min. threshold.
9942
9943         (gst_type_find_element_handle_event):
9944           Fix the case where we get an EOS while still in TYPEFIND
9945           mode (we want to chose the best of all possible types,
9946           not just the first type that happens to be in our unsorted
9947           list of possible types).
9948
9949         (gst_type_find_element_chain):
9950           Make sure we return GST_FLOW_ERROR when we errored out
9951           in stop_typefinding(); also, don't just find the best of
9952           all found type entries and then use the last examined
9953           type entry, but actually use the best entry.
9954
9955 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9956
9957         * tests/examples/typefind/typefind.c: (type_found):
9958         * tests/examples/xml/runxml.c: (xml_loaded):
9959           More gcc4 fixes and a mem leak fix.
9960
9961 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * tests/examples/xml/createxml.c: (object_saved):
9964           gcc 4 fixes
9965
9966 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9967
9968         * tests/Makefile.am:
9969           enable the examples even more
9970
9971 2005-12-12  Andy Wingo  <wingo@pobox.com>
9972
9973         * libs/gst/net/gstnettimeprovider.c
9974         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9975         (gst_net_time_provider_set_property)
9976         (gst_net_time_provider_get_property):
9977         API addition: Export "active" as a GObject property.
9978         (gst_net_time_provider_thread): Only respond to time queries if
9979         the time provider is active.
9980
9981         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9982         NetTimeProvider, preserving binary compat.
9983
9984 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9985
9986         * tests/examples/controller/audio-example.c: (main):
9987         * tests/examples/launch/Makefile.am:
9988           convert comments again
9989
9990 2005-12-12  Wim Taymans  <wim@fluendo.com>
9991
9992         * libs/gst/base/gstpushsrc.c:
9993         Fix typo.
9994
9995 2005-12-12  Wim Taymans  <wim@fluendo.com>
9996
9997         * docs/libs/gstreamer-libs-sections.txt:
9998         Added new symbol to docs.
9999
10000         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10001         (gst_base_src_init), (gst_base_src_set_format),
10002         (gst_base_src_default_query), (gst_base_src_query),
10003         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
10004         (gst_base_src_perform_seek), (gst_base_src_send_event),
10005         (gst_base_src_default_event), (gst_base_src_event_handler),
10006         (gst_base_src_set_property), (gst_base_src_get_property),
10007         (gst_base_src_wait), (gst_base_src_do_sync),
10008         (gst_base_src_update_length), (gst_base_src_get_range),
10009         (gst_base_src_check_get_range), (gst_base_src_loop),
10010         (gst_base_src_default_negotiate), (gst_base_src_start),
10011         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10012         (gst_base_src_change_state):
10013         * libs/gst/base/gstbasesrc.h:
10014         Implement seeking to other formats than _BYTES.
10015         Implement more seeking methods correctly.
10016         Doc updates.
10017         Added query vmethod.
10018         Added do_seek vmethod to make life easier for subclasses
10019         when seeking.
10020         API addition: gst_base_src_set_format()
10021
10022 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
10023
10024         * tests/examples/Makefile.am:
10025           added that too
10026
10027 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
10028
10029         * configure.ac:
10030         * docs/random/ensonic/media-device-daemon.txt:
10031         * tests/examples/controller/.cvsignore:
10032         * tests/examples/controller/Makefile.am:
10033         * tests/examples/controller/audio-example.c: (main):
10034         * tests/examples/helloworld/.cvsignore:
10035         * tests/examples/helloworld/Makefile.am:
10036         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10037         * tests/examples/launch/.cvsignore:
10038         * tests/examples/launch/Makefile.am:
10039         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10040         * tests/examples/metadata/.cvsignore:
10041         * tests/examples/metadata/Makefile.am:
10042         * tests/examples/metadata/read-metadata.c: (message_loop),
10043         (make_pipeline), (print_tag), (main):
10044         * tests/examples/queue/.cvsignore:
10045         * tests/examples/queue/Makefile.am:
10046         * tests/examples/queue/queue.c: (event_loop), (main):
10047         * tests/examples/typefind/.cvsignore:
10048         * tests/examples/typefind/Makefile.am:
10049         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10050         (main):
10051         * tests/examples/xml/.cvsignore:
10052         * tests/examples/xml/Makefile.am:
10053         * tests/examples/xml/createxml.c: (object_saved), (main):
10054         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10055         * tests/old/examples/Makefile.am:
10056         * tests/old/examples/TODO:
10057         * tests/old/examples/controller/.cvsignore:
10058         * tests/old/examples/controller/Makefile.am:
10059         * tests/old/examples/controller/audio-example.c:
10060         * tests/old/examples/helloworld/.cvsignore:
10061         * tests/old/examples/helloworld/Makefile.am:
10062         * tests/old/examples/helloworld/helloworld.c:
10063         * tests/old/examples/launch/.cvsignore:
10064         * tests/old/examples/launch/Makefile.am:
10065         * tests/old/examples/launch/mp3parselaunch.c:
10066         * tests/old/examples/launch/mp3play:
10067         * tests/old/examples/manual/Makefile.am:
10068         * tests/old/examples/metadata/Makefile.am:
10069         * tests/old/examples/metadata/read-metadata.c:
10070         * tests/old/examples/queue/.cvsignore:
10071         * tests/old/examples/queue/Makefile.am:
10072         * tests/old/examples/queue/queue.c:
10073         * tests/old/examples/typefind/.cvsignore:
10074         * tests/old/examples/typefind/Makefile.am:
10075         * tests/old/examples/typefind/typefind.c:
10076         * tests/old/examples/xml/.cvsignore:
10077         * tests/old/examples/xml/Makefile.am:
10078         * tests/old/examples/xml/createxml.c:
10079         * tests/old/examples/xml/runxml.c:
10080           applied some simple fixing to some examples
10081           re-enabled the working examples
10082
10083 2005-12-12  Wim Taymans  <wim@fluendo.com>
10084
10085         * gst/gstsegment.c: (gst_segment_init),
10086         (gst_segment_set_last_stop), (gst_segment_set_seek),
10087         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10088         (gst_segment_to_running_time):
10089         Added more documentation.
10090         Make sure the last_pos value is updated properly.
10091         Make sure to_stream_time and to_running_time don't
10092         operate on wrong values.
10093
10094         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10095         Update check.
10096
10097 2005-12-12  Michael Smith  <msmith@fluendo.com>
10098
10099         * plugins/elements/gsttypefindelement.c: (free_entry),
10100         (gst_type_find_element_chain):
10101           Now that we're not leaking factories, make sure we keep references
10102           to them while we need them.
10103
10104 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         * tests/check/gst/struct_i386.h:
10107           ifdef out the XML structs
10108
10109 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10110
10111         * gst/gstvalue.c: (gst_value_transform_double_fraction):
10112           floor is not needed, F is always positive; this obviates the
10113           need for adding -lm when building without libxml
10114
10115 2005-12-12  Wim Taymans  <wim@fluendo.com>
10116
10117         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10118         Take current playback rate into account when reporting
10119         the position.
10120
10121 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10122
10123         * docs/manual/mime-world.fig:
10124           Let's try this again, this time with a file that is
10125           actually in XFig format.
10126
10127 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10128
10129         * docs/manual/mime-world.fig:
10130           Add audioconvert element to diagram so that it
10131           matches the text and the code (fixes #319526).
10132
10133 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10134
10135         * docs/pwg/building-chainfn.xml:
10136         * docs/pwg/building-pads.xml:
10137         * docs/pwg/building-state.xml:
10138         * docs/pwg/other-source.xml:
10139           Update state change stuff for 0.10 (fixes #322969).
10140
10141 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10142
10143         * docs/manual/advanced-dataaccess.xml:
10144         * docs/manual/appendix-checklist.xml:
10145         * docs/manual/appendix-programs.xml:
10146         * docs/manual/basics-pads.xml:
10147         * docs/manual/highlevel-components.xml:
10148         * docs/manual/manual.xml:
10149           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10150           add converters in front of pipelines; remove curly
10151           brackets for threads stuff, they no longer exist; use
10152           GST_TYPE_FRACTION for framerates; update some pieces of
10153           code to 0.10, but there's plenty more to do.
10154
10155         * docs/manual/appendix-porting.xml:
10156           Expand on asynchroneous state changes; s/0.9/0.10/;
10157           mention disappearance of gst_init_get_popt_table()
10158           (fixes #322916).
10159
10160 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10161
10162         * docs/faq/using.xml:
10163           Spider no longer exists, and neither does gst-launch-ext.
10164           Update examples to use decodebin and playbin and put
10165           converters in front of sinks (fixes #323726).
10166
10167 2005-12-09  Michael Smith  <msmith@fluendo.com>
10168
10169         * plugins/elements/gsttypefindelement.c: (find_peek),
10170         (gst_type_find_element_chain):
10171           Fix leaking element factories in typefinding.
10172           Fix problem where we forgot about a probable type on non-seekable
10173           files, and thus later mis-typefound it.
10174
10175 2005-12-09  Michael Smith  <msmith@fluendo.com>
10176
10177         * common/m4/gst-makecontext.m4:
10178         * common/m4/gst-mcsc.m4:
10179         * configure.ac:
10180         * win32/common/config.h:
10181         * win32/common/config.h.in:
10182           Remove makecontext stuff; not used in 0.10 and causes problems on
10183           HPUX according to bug #322441
10184
10185 2005-12-07  Wim Taymans  <wim@fluendo.com>
10186
10187         * tests/check/Makefile.am:
10188         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10189         (main):
10190         * tests/check/libs/struct_i386.h:
10191         Added ABI check for libs
10192
10193 2005-12-07  Wim Taymans  <wim@fluendo.com>
10194
10195         * tests/check/Makefile.am:
10196         And add the struct_i386.h to dist.
10197
10198 2005-12-07  Wim Taymans  <wim@fluendo.com>
10199
10200         * tests/check/Makefile.am:
10201         * tests/check/gst/.cvsignore:
10202         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10203         (main):
10204         * tests/check/gst/struct_i386.h:
10205         Added check for ABI compatibility.
10206
10207 2005-12-07  Wim Taymans  <wim@fluendo.com>
10208
10209         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10210         (gst_fake_src_get_times), (gst_fake_src_create):
10211         Fix broken sync option, fixes #323259
10212
10213 2005-12-07  Wim Taymans  <wim@fluendo.com>
10214
10215         * gst/gstbuffer.c:
10216         Small docs update.
10217
10218         * gst/gstcaps.c: (gst_caps_is_equal):
10219         Don't assert on NULL <--> X. Fixes #323260
10220
10221         * gst/gstminiobject.c: (gst_mini_object_replace):
10222         If we're doing atomic operations, we might just as well use
10223         the proper way to get an atomic pointer.
10224
10225         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10226         Clean up debugging.
10227
10228 2005-12-07  Michael Smith  <msmith@fluendo.com>
10229
10230         * gst/parse/grammar.y:
10231           Remove handling of { } for threads.
10232
10233 2005-12-06  David Schleef  <ds@schleef.org>
10234
10235         * libs/gst/base/gstbasetransform.c: speling fix.
10236
10237 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10238
10239         * docs/libs/tmpl/gstdataprotocol.sgml:
10240         * docs/random/omega/testing/gstobject.c:
10241         * gst/gst.c:
10242         * gst/gstclock.c:
10243         * gst/gstelement.c:
10244         * gst/gstelementfactory.c:
10245         * gst/gsterror.c:
10246         * gst/gstevent.c:
10247         * gst/gstghostpad.c:
10248         * gst/gstinfo.c:
10249         * gst/gstpadtemplate.c:
10250         * gst/gstregistryxml.c:
10251         * gst/gsttaglist.c:
10252         * gst/gsttagsetter.c:
10253         * gst/gsttypefind.c:
10254         * gst/gstvalue.c:
10255         * libs/gst/base/gstbasesrc.c:
10256         * libs/gst/net/gstnetclientclock.c:
10257         * libs/gst/net/gstnettimeprovider.c:
10258         * plugins/elements/gstfakesrc.c:
10259         * plugins/elements/gstfdsrc.c:
10260         * plugins/elements/gstfilesrc.c:
10261         * plugins/elements/gstidentity.c:
10262         * plugins/elements/gstqueue.c:
10263         * plugins/elements/gsttypefindelement.c:
10264         * plugins/indexers/gstfileindex.c:
10265         * plugins/indexers/gstmemindex.c:
10266         * tests/check/gst/gsttag.c:
10267         * tests/old/examples/cutter/cutter.c:
10268         * tests/old/examples/mixer/mixer.c:
10269         * tests/old/examples/xml/runxml.c: (main):
10270         * tests/old/testsuite/caps/normalisation.c:
10271         * tests/old/testsuite/debug/global.c:
10272         * tests/old/testsuite/parse/parse1.c:
10273         * tools/gst-xmlinspect.c:
10274         * win32/common/dirent.c:
10275           expand tabs
10276
10277 === release 0.10.0 ===
10278
10279 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10280
10281         * configure.ac:
10282           releasing 0.10.0, "Maroilles"
10283
10284 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10285
10286         submitted by: Funda Wang <fundawang@linux.net.cn>
10287
10288         * po/LINGUAS:
10289         * po/zh_CN.po:
10290           added Chinese (Traditional) translation
10291
10292 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10293
10294         * docs/gst/gstreamer-sections.txt:
10295         * docs/libs/tmpl/gstdataprotocol.sgml:
10296         * docs/random/thomasvs/TODO:
10297         * gst/gstutils.c:
10298         * gst/gstutils.h:
10299           fix docs
10300
10301 2005-12-05  Andy Wingo  <wingo@pobox.com>
10302
10303         patch by: Wim Taymans <wim@fluendo.com>
10304
10305         * libs/gst/base/gstbasetransform.c
10306         (gst_base_transform_prepare_output_buf)
10307         (gst_base_transform_buffer_alloc):
10308         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10309         alloc_buffer_and_set_caps.
10310
10311         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10312         set_caps on the source pad.
10313         (gst_pad_alloc_buffer_and_set_caps): New function, does what
10314         alloc_buffer used to do. Fixes #322874.
10315
10316         * docs/gst/gstreamer-sections.txt: 
10317         * docs/design/part-negotiation.txt: 
10318         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10319         changes.
10320
10321 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10322
10323         patch by: Sebastien Moutte
10324
10325         * win32/MANIFEST:
10326         * win32/common/config.h.in:
10327         * win32/vs6/libgstcontroller.dsp:
10328           win32 build fixes
10329
10330 2005-12-05  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/gstcaps.c: (gst_caps_is_equal):
10333         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10334         (gst_fake_src_create):
10335         Back out previous code changes, leave doc updates, file bugs 
10336         instead. 
10337
10338 2005-12-05  Wim Taymans  <wim@fluendo.com>
10339
10340         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10341         (gst_fake_src_get_times), (gst_fake_src_create):
10342         * plugins/elements/gstfakesrc.h:
10343         Fix broken sync code.
10344
10345 2005-12-05  Wim Taymans  <wim@fluendo.com>
10346
10347         * gst/gstcaps.c: (gst_caps_is_equal):
10348         Comparing NULL against !NULL yields different caps, not a
10349         failure.
10350
10351 2005-12-05  Wim Taymans  <wim@fluendo.com>
10352
10353         * gst/gstpipeline.c:
10354         Fix small typo in docs.
10355
10356 2005-12-05  Andy Wingo  <wingo@pobox.com>
10357
10358         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
10359
10360         * gst/gst.c (init_post): remove hard-coded 0.9 location for
10361         registries/plugins with a MAJORMINOR one.
10362         (plugin_desc): Rename library from gstcoreleements to
10363         staticelements. Fixes #323222.
10364
10365 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
10366
10367         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10368           Change debug category to 'collectpads' from 'collect_pads'
10369           (fixes #323250).
10370
10371 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10372
10373         patch by: Sebastien Moutte
10374
10375         * libs/gst/controller/gstinterpolation.c:
10376           use convert function for uint64/double
10377         * win32/vs6/libgstcontroller.dsp:
10378           link to GLib
10379
10380 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10381
10382         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10383         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10384         * gst/gstutils.h:
10385         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10386           add tests that seem to show that the guint64/gdouble conversions
10387           are correct.
10388
10389 2005-12-02  Wim Taymans  <wim@fluendo.com>
10390
10391         * gst/gstregistry.c: (gst_registry_add_path):
10392         * gst/gstregistry.h:
10393         * gst/gstregistryxml.c:
10394         Fix docs again.
10395
10396 2005-12-02  Wim Taymans  <wim@fluendo.com>
10397
10398         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10399         (gst_util_uint64_scale_int):
10400         Small cleanup.
10401
10402         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10403         Add debug log line.
10404
10405         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10406         Add FIXME.
10407
10408 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10409
10410         * win32/MANIFEST:
10411         * win32/common/config.h:
10412         * win32/vs6/gstreamer.dsw:
10413         * win32/vs6/libgstcoreelements.dsp:
10414         * win32/vs6/libgstelements.dsp:
10415           renamed core elements plugin
10416
10417 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10418
10419         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10420         (get_candidates):
10421           do piece-wise major/minor comparison so 0.9 < 0.10
10422           also allow .exe extensions for tools
10423
10424 2005-12-02  Michael Smith  <msmith@fluendo.com>
10425
10426         * gst/gst.c:
10427           Escape a % to make gtkdoc happier; bug 322958.
10428
10429 === release 0.9.7 ===
10430
10431 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10432
10433         * configure.ac:
10434           releasing 0.9.7, "My Dog Has No Nose"
10435
10436 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10437
10438         * common/gst-xmlinspect.py:
10439         * configure.ac:
10440         * docs/libs/tmpl/gstdataprotocol.sgml:
10441         * docs/random/release:
10442         * po/af.po:
10443         * po/az.po:
10444         * po/bg.po:
10445         * po/ca.po:
10446         * po/cs.po:
10447         * po/de.po:
10448         * po/en_GB.po:
10449         * po/fr.po:
10450         * po/it.po:
10451         * po/nb.po:
10452         * po/nl.po:
10453         * po/ru.po:
10454         * po/sq.po:
10455         * po/sr.po:
10456         * po/sv.po:
10457         * po/tr.po:
10458         * po/uk.po:
10459         * po/vi.po:
10460         * win32/common/config.h:
10461         * win32/common/config.h.in:
10462         * win32/vs6/gst_inspect.dsp:
10463         * win32/vs6/gst_launch.dsp:
10464         * win32/vs6/libgstbase.dsp:
10465         * win32/vs6/libgstelements.dsp:
10466         * win32/vs6/libgstreamer.dsp:
10467         * win32/vs7/GStreamer.vcproj:
10468         * win32/vs7/gst-inspect.vcproj:
10469         * win32/vs7/gst-launch.vcproj:
10470         * win32/vs7/libgstbase.vcproj:
10471           bump GST_MAJORMINOR to 0.10
10472           reset libtool version
10473
10474 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10475
10476         * po/LINGUAS:
10477         * po/bg.po:
10478           Added Bulgarian translation by (Alexander Shopov)
10479
10480 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10481
10482         * tests/check/gst/gstplugin.c:
10483           fix test
10484
10485 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10486
10487         * common/gst-xmlinspect.py:
10488         * common/gtk-doc-plugins.mak:
10489         * configure.ac:
10490         * docs/Makefile.am:
10491         * docs/gst/Makefile.am:
10492         * docs/gst/gstreamer-docs.sgml:
10493         * docs/gst/gstreamer-sections.txt:
10494         * docs/gst/gstreamer.types:
10495         * docs/gst/gstreamer.types.in:
10496         * docs/plugins/Makefile.am:
10497         * docs/plugins/gstreamer-plugins-docs.sgml:
10498         * docs/plugins/gstreamer-plugins-sections.txt:
10499         * docs/plugins/gstreamer-plugins.types:
10500         * docs/plugins/inspect.stamp:
10501         * docs/plugins/inspect/plugin-coreelements.xml:
10502         * docs/plugins/inspect/plugin-coreindexers.xml:
10503         * docs/plugins/scanobj-build.stamp:
10504         * gstreamer.spec.in:
10505         * plugins/elements/Makefile.am:
10506         * plugins/elements/gstelements.c:
10507         * plugins/elements/gstfakesink.c:
10508         * plugins/elements/gstfakesrc.c:
10509         * plugins/elements/gstfilesink.c:
10510         * plugins/elements/gstfilesrc.c:
10511         * plugins/elements/gstqueue.c:
10512         * plugins/indexers/Makefile.am:
10513         * plugins/indexers/gstindexers.c:
10514           document core plugins in a separate document just like all the
10515           others
10516           rename these plugins to something starting with core
10517
10518 2005-12-01  Andy Wingo  <wingo@pobox.com>
10519
10520         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10521         padding here before, but it missed the commit.
10522
10523 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10524
10525         * libs/gst/controller/gstinterpolation.c:
10526           whitespace prices have crashed, we should feel free to use some now
10527           use gst_guint64_to_gdouble
10528
10529 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10530
10531         * libs/gst/controller/gstcontroller.c:
10532         * libs/gst/controller/gsthelper.c:
10533         * libs/gst/controller/gstinterpolation.c:
10534         * libs/gst/controller/lib.c:
10535           wrap config.h include
10536
10537 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10538
10539         * docs/gst/gstreamer-sections.txt:
10540           update docs
10541
10542 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10543
10544         * plugins/elements/gstelements.c:
10545         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10546         (gst_fd_sink__class_init), (gst_fd_sink__init),
10547         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10548         (gst_fd_sink__get_property):
10549         * plugins/elements/gstfdsink.h:
10550         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10551         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10552         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10553         (gst_fd_src_unlock), (gst_fd_src_set_property),
10554         (gst_fd_src_get_property), (gst_fd_src_create),
10555         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10556         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10557         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10558         (gst_fd_src_uri_handler_init):
10559         * plugins/elements/gstfdsrc.h:
10560         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10561           more anal cleanup
10562
10563 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10564
10565         * docs/gst/Makefile.am:
10566         * docs/gst/gstreamer.types.in:
10567         * gst/Makefile.am:
10568           fix the docs build
10569
10570 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10571
10572         * configure.ac:
10573         * gst/Makefile.am:
10574         * gst/gst.c:
10575         * gst/gstplugin.h:
10576         * gst/gstregistry.h:
10577         * tests/benchmarks/complexity.c:
10578         * tests/benchmarks/mass-elements.c:
10579         * tests/check/Makefile.am:
10580         * tools/Makefile.am:
10581         * tools/gst-inspect.c:
10582         * tools/gst-xmlinspect.c:
10583           various fixes to make
10584           --disable-nls --disable-registry --disable-loadsave
10585           --disable-parse --disable-gst-debug
10586           work and get the core .so down to 360444 bytes after stripping
10587
10588 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10589
10590         * Makefile.am:
10591         * configure.ac:
10592           descend into tests
10593         * docs/random/thomasvs/TODO:
10594         * tests/Makefile.am:
10595         * tests/README:
10596           add a README
10597
10598 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10599
10600         * win32/GStreamer.vcproj:
10601         * win32/MANIFEST:
10602         * win32/Makefile:
10603         * win32/Makefile.inspect:
10604         * win32/Makefile.launch:
10605         * win32/Makefile.register:
10606         * win32/README.txt:
10607         * win32/gst-inspect.vcproj:
10608         * win32/gst-launch.vcproj:
10609         * win32/gst-register.vcproj:
10610         * win32/gstelements.vcproj:
10611         * win32/gstgetbits.def:
10612         * win32/gstgetbits.vcproj:
10613         * win32/gstreamer-dbg.def:
10614         * win32/gstreamer.def:
10615         * win32/libgstbase.def:
10616         * win32/libgstbase.vcproj:
10617         * win32/link_oldruntime.c:
10618         * win32/mman.c:
10619         * win32/mman.h:
10620         * win32/mman.inl:
10621         * win32/msvc71.sln:
10622           move even more stuff, win32/ is nice and clean now
10623
10624 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10625
10626         * libs/gst/control/.cvsignore:
10627         * win32/MANIFEST:
10628         * win32/config.h:
10629         * win32/dirent.c:
10630         * win32/dirent.h:
10631         * win32/gstbytestream.def:
10632         * win32/gstbytestream.vcproj:
10633         * win32/gstconfig.h:
10634         * win32/gstenumtypes.c:
10635         * win32/gstenumtypes.h:
10636         * win32/gstoptimalscheduler.vcproj:
10637         * win32/gstversion.h:
10638         * win32/gtchar.h:
10639         * win32/testsuite/bins.vcproj:
10640         * win32/testsuite/bytestream.vcproj:
10641         * win32/testsuite/caps.vcproj:
10642         * win32/testsuite/cleanup.vcproj:
10643         * win32/testsuite/clock.vcproj:
10644         * win32/testsuite/debug.vcproj:
10645         * win32/testsuite/dlopen.vcproj:
10646         * win32/testsuite/dynparams.vcproj:
10647         * win32/testsuite/elements.vcproj:
10648         * win32/testsuite/ghostpads.vcproj:
10649         * win32/testsuite/indexers.vcproj:
10650         * win32/testsuite/negotiation.vcproj:
10651         * win32/testsuite/parse.vcproj:
10652         * win32/testsuite/plugin.vcproj:
10653         * win32/testsuite/refcounting.vcproj:
10654         * win32/testsuite/schedulers.vcproj:
10655         * win32/testsuite/states.vcproj:
10656         * win32/testsuite/tags.vcproj:
10657         * win32/testsuite/threads.vcproj:
10658           remove old win32 stuff that isn't maintained and should be
10659           reorganized
10660
10661 2005-11-30  Andy Wingo  <wingo@pobox.com>
10662
10663         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10664         loading the gst.interfaces python module bork.
10665
10666         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10667         available since GLib 2.2. Fixes #318031.
10668
10669 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10670
10671         * Makefile.am:
10672         * check/.cvsignore:
10673         * check/Makefile.am:
10674         * check/elements/.cvsignore:
10675         * check/elements/fakesrc.c:
10676         * check/elements/fdsrc.c:
10677         * check/elements/identity.c:
10678         * check/generic/.cvsignore:
10679         * check/generic/states.c:
10680         * check/gst-libs/.cvsignore:
10681         * check/gst-libs/controller.c:
10682         * check/gst-libs/gdp.c:
10683         * check/gst/.cvsignore:
10684         * check/gst/capslist.h:
10685         * check/gst/gst.c:
10686         * check/gst/gstbin.c:
10687         * check/gst/gstbuffer.c:
10688         * check/gst/gstbus.c:
10689         * check/gst/gstcaps.c:
10690         * check/gst/gstelement.c:
10691         * check/gst/gstevent.c:
10692         * check/gst/gstghostpad.c:
10693         * check/gst/gstiterator.c:
10694         * check/gst/gstmessage.c:
10695         * check/gst/gstminiobject.c:
10696         * check/gst/gstobject.c:
10697         * check/gst/gstpad.c:
10698         * check/gst/gstpipeline.c:
10699         * check/gst/gstplugin.c:
10700         * check/gst/gstsegment.c:
10701         * check/gst/gststructure.c:
10702         * check/gst/gstsystemclock.c:
10703         * check/gst/gsttag.c:
10704         * check/gst/gstutils.c:
10705         * check/gst/gstvalue.c:
10706         * check/net/.cvsignore:
10707         * check/net/gstnetclientclock.c:
10708         * check/net/gstnettimeprovider.c:
10709         * check/pipelines/.cvsignore:
10710         * check/pipelines/cleanup.c:
10711         * check/pipelines/simple_launch_lines.c:
10712         * check/pipelines/stress.c:
10713         * check/states/.cvsignore:
10714         * check/states/sinks.c:
10715         * configure.ac:
10716         * examples/Makefile.am:
10717         * examples/appreader/.cvsignore:
10718         * examples/appreader/Makefile.am:
10719         * examples/appreader/appreader.c:
10720         * examples/controller/.cvsignore:
10721         * examples/controller/Makefile.am:
10722         * examples/controller/audio-example.c:
10723         * examples/cutter/.cvsignore:
10724         * examples/cutter/Makefile.am:
10725         * examples/cutter/cutter.c:
10726         * examples/cutter/cutter.h:
10727         * examples/events/Makefile.am:
10728         * examples/events/seek.c:
10729         * examples/helloworld/.cvsignore:
10730         * examples/helloworld/Makefile.am:
10731         * examples/helloworld/helloworld.c:
10732         * examples/helloworld2/.cvsignore:
10733         * examples/helloworld2/Makefile.am:
10734         * examples/helloworld2/helloworld2.c:
10735         * examples/launch/.cvsignore:
10736         * examples/launch/Makefile.am:
10737         * examples/launch/mp3parselaunch.c:
10738         * examples/launch/mp3play:
10739         * examples/manual/.cvsignore:
10740         * examples/manual/Makefile.am:
10741         * examples/manual/extract.pl:
10742         * examples/metadata/Makefile.am:
10743         * examples/metadata/read-metadata.c:
10744         * examples/mixer/.cvsignore:
10745         * examples/mixer/Makefile.am:
10746         * examples/mixer/mixer.c:
10747         * examples/mixer/mixer.h:
10748         * examples/pingpong/.cvsignore:
10749         * examples/pingpong/Makefile.am:
10750         * examples/pingpong/pingpong.c:
10751         * examples/plugins/.cvsignore:
10752         * examples/plugins/Makefile.am:
10753         * examples/plugins/example.c:
10754         * examples/plugins/example.h:
10755         * examples/pwg/.cvsignore:
10756         * examples/pwg/Makefile.am:
10757         * examples/pwg/extract.pl:
10758         * examples/queue/.cvsignore:
10759         * examples/queue/Makefile.am:
10760         * examples/queue/queue.c:
10761         * examples/queue2/.cvsignore:
10762         * examples/queue2/Makefile.am:
10763         * examples/queue2/queue2.c:
10764         * examples/queue3/.cvsignore:
10765         * examples/queue3/Makefile.am:
10766         * examples/queue3/queue3.c:
10767         * examples/queue4/.cvsignore:
10768         * examples/queue4/Makefile.am:
10769         * examples/queue4/queue4.c:
10770         * examples/retag/.cvsignore:
10771         * examples/retag/Makefile.am:
10772         * examples/retag/retag.c:
10773         * examples/retag/transcode.c:
10774         * examples/thread/.cvsignore:
10775         * examples/thread/Makefile.am:
10776         * examples/thread/thread.c:
10777         * examples/typefind/.cvsignore:
10778         * examples/typefind/Makefile.am:
10779         * examples/typefind/typefind.c:
10780         * examples/xml/.cvsignore:
10781         * examples/xml/Makefile.am:
10782         * examples/xml/createxml.c:
10783         * examples/xml/runxml.c:
10784         * tests/Makefile.am:
10785         * tests/check/Makefile.am:
10786         * testsuite/.cvsignore:
10787         * testsuite/Makefile.am:
10788         * testsuite/Rules:
10789         * testsuite/caps/.cvsignore:
10790         * testsuite/caps/Makefile.am:
10791         * testsuite/caps/app_fixate.c:
10792         * testsuite/caps/audioscale.c:
10793         * testsuite/caps/caps.c:
10794         * testsuite/caps/caps.h:
10795         * testsuite/caps/caps_strings:
10796         * testsuite/caps/compatibility.c:
10797         * testsuite/caps/deserialize.c:
10798         * testsuite/caps/enumcaps.c:
10799         * testsuite/caps/eratosthenes.c:
10800         * testsuite/caps/filtercaps.c:
10801         * testsuite/caps/fixed.c:
10802         * testsuite/caps/fraction-convert.c:
10803         * testsuite/caps/fraction-multiply-and-zero.c:
10804         * testsuite/caps/intersect2.c:
10805         * testsuite/caps/intersection.c:
10806         * testsuite/caps/normalisation.c:
10807         * testsuite/caps/random.c:
10808         * testsuite/caps/renegotiate.c:
10809         * testsuite/caps/sets.c:
10810         * testsuite/caps/simplify.c:
10811         * testsuite/caps/string-conversions.c:
10812         * testsuite/caps/structure.c:
10813         * testsuite/caps/subtract.c:
10814         * testsuite/caps/union.c:
10815         * testsuite/debug/.cvsignore:
10816         * testsuite/debug/Makefile.am:
10817         * testsuite/debug/category.c:
10818         * testsuite/debug/commandline.c:
10819         * testsuite/debug/global.c:
10820         * testsuite/debug/output.c:
10821         * testsuite/debug/printf_extension.c:
10822         * testsuite/dlopen/.cvsignore:
10823         * testsuite/dlopen/Makefile.am:
10824         * testsuite/dlopen/dlopen_gst.c:
10825         * testsuite/dlopen/loadgst.c:
10826         * testsuite/elements/.cvsignore:
10827         * testsuite/elements/Makefile.am:
10828         * testsuite/elements/gst-inspect-check.in:
10829         * testsuite/elements/struct_i386.h:
10830         * testsuite/elements/struct_size.c:
10831         * testsuite/indexers/.cvsignore:
10832         * testsuite/indexers/Makefile.am:
10833         * testsuite/indexers/cache1.c:
10834         * testsuite/indexers/indexdump.c:
10835         * testsuite/parse/.cvsignore:
10836         * testsuite/parse/Makefile.am:
10837         * testsuite/parse/parse1.c:
10838         * testsuite/parse/parse2.c:
10839         * testsuite/plugin/.cvsignore:
10840         * testsuite/plugin/Makefile.am:
10841         * testsuite/plugin/README:
10842         * testsuite/plugin/dynamic.c:
10843         * testsuite/plugin/linked.c:
10844         * testsuite/plugin/loading.c:
10845         * testsuite/plugin/registry.c:
10846         * testsuite/plugin/static.c:
10847         * testsuite/plugin/static2.c:
10848         * testsuite/plugin/testplugin.c:
10849         * testsuite/plugin/testplugin2.c:
10850         * testsuite/plugin/testplugin2_s.c:
10851         * testsuite/plugin/testplugin_s.c:
10852         * testsuite/refcounting/.cvsignore:
10853         * testsuite/refcounting/Makefile.am:
10854         * testsuite/refcounting/bin.c:
10855         * testsuite/refcounting/element.c:
10856         * testsuite/refcounting/element_pad.c:
10857         * testsuite/refcounting/mainloop.c:
10858         * testsuite/refcounting/mem.c:
10859         * testsuite/refcounting/mem.h:
10860         * testsuite/refcounting/object.c:
10861         * testsuite/refcounting/pad.c:
10862         * testsuite/refcounting/sched.c:
10863         * testsuite/refcounting/thread.c:
10864         * testsuite/states/.cvsignore:
10865         * testsuite/states/Makefile.am:
10866         * testsuite/states/bin.c:
10867         * testsuite/states/locked.c:
10868         * testsuite/states/parent.c:
10869         * testsuite/threads/.cvsignore:
10870         * testsuite/threads/159566.c:
10871         * testsuite/threads/159852.c:
10872         * testsuite/threads/Makefile.am:
10873         * testsuite/threads/queue.c:
10874         * testsuite/threads/signals.c:
10875         * testsuite/threads/staticrec.c:
10876         * testsuite/threads/thread.c:
10877         * testsuite/threads/threadb.c:
10878         * testsuite/threads/threadc.c:
10879         * testsuite/threads/threadd.c:
10880         * testsuite/threads/threade.c:
10881         * testsuite/threads/threadf.c:
10882         * testsuite/threads/threadg.c:
10883         * testsuite/threads/threadh.c:
10884         * testsuite/threads/threadi.c:
10885           move all of these under tests
10886
10887 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10888
10889         * configure.ac:
10890         * tests/Makefile.am:
10891           fix distcheck
10892
10893 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10894
10895         * docs/gst/gstreamer-sections.txt:
10896         * tests/sched/.cvsignore:
10897         * tests/sched/Makefile.am:
10898         * tests/sched/cases/(fs-fs).xml:
10899         * tests/sched/cases/(fs-i-fs).xml:
10900         * tests/sched/cases/(fs-i-i-fs).xml:
10901         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10902         * tests/sched/dynamic-pipeline.c:
10903         * tests/sched/interrupt1.c:
10904         * tests/sched/interrupt2.c:
10905         * tests/sched/interrupt3.c:
10906         * tests/sched/runtestcases:
10907         * tests/sched/runxml.c:
10908         * tests/sched/sched-stress.c:
10909         * tests/sched/sort.c:
10910         * tests/sched/testcases:
10911         * tests/sched/testcases1.tc:
10912         * tests/seeking/.cvsignore:
10913         * tests/seeking/Makefile.am:
10914         * tests/seeking/seeking1.c:
10915         * tests/threadstate/.cvsignore:
10916         * tests/threadstate/Makefile.am:
10917         * tests/threadstate/test1.c:
10918         * tests/threadstate/test2.c:
10919         * tests/threadstate/threadstate1.c:
10920         * tests/threadstate/threadstate2.c:
10921         * tests/threadstate/threadstate3.c:
10922         * tests/threadstate/threadstate4.c:
10923         * tests/threadstate/threadstate5.c:
10924           remove obsolete tests
10925         * configure.ac:
10926         * tests/bench-complexity.scm:
10927         * tests/bench-mass_elements.scm:
10928         * tests/complexity.c:
10929         * tests/complexity.gnuplot:
10930         * tests/instantiate/.cvsignore:
10931         * tests/instantiate/Makefile.am:
10932         * tests/instantiate/caps.c:
10933         * tests/mass_elements.c:
10934         * tests/network-clock-utils.scm:
10935         * tests/network-clock.scm:
10936         * tests/plot-data:
10937         First pass at cleaning up tests/ dir before moving the rest
10938         Combined with CVS surgery
10939
10940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10941
10942         * po/POTFILES.in:
10943           queue has moved, update
10944
10945 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10946
10947         * docs/gst/gstreamer-sections.txt:
10948           remove double entries from the docs
10949         * gst/gst_private.h:
10950         * gst/gstinfo.c: (_gst_debug_init):
10951           remove the THREAD debug category
10952         * gst/Makefile.am:
10953         * gst/gstqueue.c:
10954         * gst/gstqueue.h:
10955         * docs/gst/gstreamer.types:
10956         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10957         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10958           completely move queue and fix up debugging categories
10959
10960 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10961
10962         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10963           make initialization portable, using LL is not
10964
10965 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10966
10967         * win32/common/gstconfig.h:
10968           add large padding
10969
10970 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10971
10972         * win32/common/libgstreamer.def:
10973           rename symbols; sort base section
10974
10975 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10976
10977         * gst/gstclock.c: (do_linear_regression):
10978           remove crack non-portable handrolled DEBUG macro
10979
10980 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10981
10982         * docs/random/release:
10983           update notes
10984         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10985         (gst_object_flags_get_type), (register_gst_bin_flags),
10986         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10987         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10988         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10989         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10990         (gst_caps_flags_get_type), (register_gst_clock_return),
10991         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10992         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10993         (gst_clock_flags_get_type), (register_gst_state),
10994         (gst_state_get_type), (register_gst_state_change_return),
10995         (gst_state_change_return_get_type), (register_gst_state_change),
10996         (gst_state_change_get_type), (register_gst_element_flags),
10997         (gst_element_flags_get_type), (register_gst_core_error),
10998         (gst_core_error_get_type), (register_gst_library_error),
10999         (gst_library_error_get_type), (register_gst_resource_error),
11000         (gst_resource_error_get_type), (register_gst_stream_error),
11001         (gst_stream_error_get_type), (register_gst_event_type_flags),
11002         (gst_event_type_flags_get_type), (register_gst_event_type),
11003         (gst_event_type_get_type), (register_gst_seek_type),
11004         (gst_seek_type_get_type), (register_gst_seek_flags),
11005         (gst_seek_flags_get_type), (register_gst_format),
11006         (gst_format_get_type), (register_gst_index_certainty),
11007         (gst_index_certainty_get_type), (register_gst_index_entry_type),
11008         (gst_index_entry_type_get_type),
11009         (register_gst_index_lookup_method),
11010         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11011         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11012         (gst_index_resolver_method_get_type), (register_gst_index_flags),
11013         (gst_index_flags_get_type), (register_gst_debug_level),
11014         (gst_debug_level_get_type), (register_gst_debug_color_flags),
11015         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11016         (gst_iterator_result_get_type), (register_gst_iterator_item),
11017         (gst_iterator_item_get_type), (register_gst_message_type),
11018         (gst_message_type_get_type), (register_gst_mini_object_flags),
11019         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11020         (gst_pad_link_return_get_type), (register_gst_flow_return),
11021         (gst_flow_return_get_type), (register_gst_activate_mode),
11022         (gst_activate_mode_get_type), (register_gst_pad_direction),
11023         (gst_pad_direction_get_type), (register_gst_pad_flags),
11024         (gst_pad_flags_get_type), (register_gst_pad_presence),
11025         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11026         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11027         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11028         (gst_plugin_error_get_type), (register_gst_plugin_flags),
11029         (gst_plugin_flags_get_type), (register_gst_rank),
11030         (gst_rank_get_type), (register_gst_query_type),
11031         (gst_query_type_get_type), (register_gst_tag_merge_mode),
11032         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11033         (gst_tag_flag_get_type), (register_gst_task_state),
11034         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11035         (gst_alloc_trace_flags_get_type),
11036         (register_gst_type_find_probability),
11037         (gst_type_find_probability_get_type), (register_gst_uri_type),
11038         (gst_uri_type_get_type), (register_gst_parse_error),
11039         (gst_parse_error_get_type):
11040         * win32/common/gstenumtypes.h:
11041         * win32/common/gstversion.h:
11042           update visual studio generated files
11043
11044 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11045
11046         * win32/vs6/libgstbase.dsp:
11047         * win32/vs6/libgstelements.dsp:
11048           update project files for new locations
11049
11050 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11051
11052         * Makefile.am:
11053           remove some files
11054         * README:
11055           reinstate and update
11056         * DEVEL:
11057         * REQUIREMENTS:
11058           removed
11059         * LICENSE:
11060         * docs/random/LICENSE:
11061           moved to random
11062
11063 2005-11-30  Edward Hervey  <edward@fluendo.com>
11064
11065         * gst/gsttypefind.c: (gst_type_find_register):
11066         * gst/gsttypefind.h:
11067         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11068         (gst_type_find_factory_dispose):
11069         * gst/gsttypefindfactory.h:
11070         Fix memory leak in GstTypeFindFactory.
11071
11072 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11073
11074         * gst/gst.c:
11075         * plugins/elements/Makefile.am:
11076         * plugins/elements/gstelements.c:
11077         * plugins/elements/gstqueue.c:
11078           move queue from core to the elements plugin
11079
11080 2005-11-29  Andy Wingo  <wingo@pobox.com>
11081
11082         * libs/gst/base/gstbasetransform.h: 
11083         * libs/gst/base/gstbasesrc.h: 
11084         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11085
11086         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11087         of pointers by which to pad very extensible base classes (like the
11088         ones in libs/gst/base).
11089
11090 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11091
11092         * docs/gst/gstreamer-docs.sgml:
11093         * docs/gst/gstreamer-sections.txt:
11094         * docs/libs/gstreamer-libs-docs.sgml:
11095         * docs/libs/gstreamer-libs-sections.txt:
11096           moving documentation from core to lib
11097
11098 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11099
11100         * check/Makefile.am:
11101         * configure.ac:
11102         * docs/gst/Makefile.am:
11103         * gst/Makefile.am:
11104         * gst/base/.cvsignore:
11105         * gst/base/Makefile.am:
11106         * gst/base/README:
11107         * gst/base/gstadapter.c:
11108         * gst/base/gstadapter.h:
11109         * gst/base/gstbasesink.c:
11110         * gst/base/gstbasesink.h:
11111         * gst/base/gstbasesrc.c:
11112         * gst/base/gstbasesrc.h:
11113         * gst/base/gstbasetransform.c:
11114         * gst/base/gstbasetransform.h:
11115         * gst/base/gstcollectpads.c:
11116         * gst/base/gstcollectpads.h:
11117         * gst/base/gstpushsrc.c:
11118         * gst/base/gstpushsrc.h:
11119         * gst/base/gsttypefindhelper.c:
11120         * gst/base/gsttypefindhelper.h:
11121         * gst/check/Makefile.am:
11122         * gst/check/gstcheck.c:
11123         * gst/check/gstcheck.h:
11124         * gst/net/Makefile.am:
11125         * gst/net/gstnet.h:
11126         * gst/net/gstnetclientclock.c:
11127         * gst/net/gstnetclientclock.h:
11128         * gst/net/gstnettimepacket.c:
11129         * gst/net/gstnettimepacket.h:
11130         * gst/net/gstnettimeprovider.c:
11131         * gst/net/gstnettimeprovider.h:
11132         * libs/gst/Makefile.am:
11133         * libs/gst/base/Makefile.am:
11134         * libs/gst/base/gstbasetransform.c:
11135         * libs/gst/check/Makefile.am:
11136         * plugins/elements/Makefile.am:
11137         * po/POTFILES.in:
11138           CVS surgery + support to move base, check, and net out of gst
11139           and into libs/gst
11140
11141 2005-11-29  Andy Wingo  <wingo@pobox.com>
11142
11143         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11144
11145         * gst/gststructure.h (struct _GstStructure): Only one pointer of
11146         padding.
11147
11148         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11149
11150         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11151
11152         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11153
11154         * gst/gstobject.h: (struct _GstObject): Only one pointer of
11155         padding; reduces object size by about 30%. We don't expect
11156         anything else to go into gstobject.
11157
11158         * gst/gstminiobject.h (struct _GstMiniObject)
11159         (struct _GstMiniObjectClass): Only one pointer of padding; the
11160         payload is only a pointer and two ints anyway. For the class there
11161         are only two methods as well.
11162         
11163         * gst/gstelement.h (struct _GstElementClass): Removed
11164         the state_changed signal callback, it is not used.
11165
11166 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11167
11168         * docs/gst/gstreamer.types:
11169           fix includes, though they are a little dinky
11170
11171 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11172
11173         * check/Makefile.am:
11174           look in the right place for elements, a lot more chance of
11175           success
11176         * gst/Makefile.am:
11177           remove indexers and elements subdirs
11178         * plugins/Makefile.am:
11179           make indexers conditional
11180
11181 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11182
11183         * Makefile.am:
11184         * configure.ac:
11185         * plugins/elements/Makefile.am:
11186         * plugins/elements/gstcapsfilter.c:
11187         * plugins/elements/gstfilesink.c:
11188         * plugins/elements/gstfilesrc.c:
11189         * plugins/elements/gstidentity.c:
11190         * plugins/indexers/Makefile.am:
11191           do CVS surgery and related build fixery to move elements
11192           and indexers in a new gstreamer/plugins directory, out of the
11193           gst/ directory
11194
11195 2005-11-29  Andy Wingo  <wingo@pobox.com>
11196
11197         * check/Makefile.am:
11198         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11199         * pkgconfig/gstreamer-net.pc.in:
11200         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11201         #322257.
11202
11203 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11204
11205         * tools/Makefile.am:
11206         * tools/gst-complete.1.in:
11207         * tools/gst-complete.c:
11208         * tools/gst-compprep.1.in:
11209         * tools/gst-compprep.c:
11210           removing -compprep and -complete
11211
11212 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11213
11214         * gst/gstevent.c: (gst_event_new_new_segment),
11215         (gst_event_parse_new_segment):
11216         * gst/gstevent.h:
11217           fix #320529 - clean up new_segment API and structure.
11218           Let's hope everyone was using the methods, and not the structure.
11219
11220 2005-11-29  Edward Hervey  <edward@fluendo.com>
11221
11222         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11223         (gst_base_sink_event), (gst_base_sink_do_sync),
11224         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11225         Properly handle non GST_FORMAT_TIME segment
11226         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11227         Properly handle non GST_FORMAT_TIME segment
11228         * gst/gstsegment.c:
11229         This function is valid if the accumulator is 0 and the format
11230         is different from the requested format.
11231         
11232 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11233
11234         * docs/gst/gstreamer-sections.txt:
11235         Add gst_query_new_seeking and gst_query_parse_seeking to the
11236         docs.
11237
11238 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11239
11240         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11241           Treat a pad alloc with new caps the same as if we were not
11242           negotiated, in order to allow a changing upstream output
11243           to produce a new format of data.
11244
11245 2005-11-29  Edward Hervey  <edward@fluendo.com>
11246
11247         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11248         (gst_base_transform_event), (gst_base_transform_eventfunc):
11249         The event virtual method is now properly implemented, with a default
11250         handler
11251         Sub classes should call the parent_class event method. They should
11252         return FALSE if they had a problem handling the given event, or don't
11253         want GstBaseTransform to send that even downstream
11254         * gst/elements/gstidentity.c: (gst_identity_class_init),
11255         (gst_identity_init), (gst_identity_event),
11256         (gst_identity_transform_ip), (gst_identity_set_property),
11257         (gst_identity_get_property):
11258         * gst/elements/gstidentity.h:
11259         Added the single-segment boolean property.
11260         If set to TRUE, it will output a single segment of data, starting from
11261         0, will eat up all incoming newsegment, and modify the timestamp of the
11262         buffers accordingly
11263
11264 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
11265
11266         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11267           Don't ref NULL target pad (#322751). Improve docs.
11268
11269 2005-11-29  Michael Smith  <msmith@fluendo.com>
11270
11271         * gst/gstregistryxml.c: (load_plugin):
11272           Don't crash if we failed to load a feature from a plugin. 
11273
11274 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11275
11276         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11277         (GST_START_TEST):
11278           use more check API and less GLib API
11279
11280 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11281
11282         * Makefile.am:
11283           don't run checks if we don't have check
11284         * common/check.mak:
11285           remove the registry when running make torture
11286         * docs/gst/gstreamer-sections.txt:
11287           remove second multiply
11288         * gst/gstqueue.c: (gst_queue_loop):
11289           fix a compile warning when disabling debug
11290
11291 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11292
11293         * gst/gstinfo.h:
11294         Hey! Let's print the pad name if the pointer != NULL instead
11295         of when it == NULL :-)
11296
11297 2005-11-28  Wim Taymans  <wim@fluendo.com>
11298
11299         * check/gst/gstutils.c: (GST_START_TEST):
11300         Updated check, add some scaling accuracy checking code.
11301
11302         * gst/gstutils.c: (gst_util_div128_64),
11303         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11304         (gst_util_uint64_scale_int):
11305         Fix 6 times faster division code. Optimize for common 
11306         1/1 and less common X/1 cases.
11307
11308 2005-11-28  Wim Taymans  <wim@fluendo.com>
11309
11310         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11311         More checks.
11312
11313         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11314         (do_linear_regression), (gst_clock_add_observation):
11315         Cleanups.
11316         Release lock when the clock cannot be slaved.
11317         Catch the case where the regression returned an invalid denominator.
11318
11319         * gst/gstutils.c: (gst_util_div128_64_iterate),
11320         (gst_util_div128_64), (gst_util_uint64_scale_int64),
11321         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11322         Add protentially more performant non-iterative 128/64 divide function
11323         that unfortunatly does not work yet.
11324         Shortcut the trivial 0/X = 0 case.
11325         Remove the warnings on overflow.
11326
11327 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11328
11329         * gst/gstplugin.c: (gst_plugin_register_func):
11330           everything causing a plugin not to load should be at least a WARNING
11331
11332 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
11333
11334         * docs/random/ensonic/dparams.txt:
11335           some TODOs for the next dev cycle
11336         * libs/gst/controller/gstcontroller.c:
11337         (gst_controlled_property_set_interpolation_mode),
11338         (gst_controlled_property_new):
11339         * libs/gst/controller/gstcontroller.h:
11340           use base type to assign acccessor functions
11341
11342 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11343
11344         * check/Makefile.am:
11345         Oops, that should have been top_srcdir
11346
11347 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11348
11349         * check/Makefile.am:
11350         * check/elements/fdsrc.c: (GST_START_TEST):
11351         Use a cmdline define to specify the location of a file to use for
11352         testing, to avoid breaking distcheck.
11353
11354 2005-11-28  Andy Wingo  <wingo@pobox.com>
11355
11356         * gst/gstpad.c (fixate_value): Use array functions for arrays.
11357
11358 2005-11-28  Edward Hervey  <edward@fluendo.com>
11359
11360         * tools/gst-launch.c: (main):
11361         Clarify the output strings, makes it easier to translate.
11362         Fixes #322626
11363
11364 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11365
11366         * gst/Makefile.am:
11367           don't try and build net if we don't even have <sys/socket.h>
11368
11369 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
11370
11371         * check/Makefile.am:
11372         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11373         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11374           Add tests for fdsrc seekability
11375
11376         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11377         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11378         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11379         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11380         * gst/elements/gstfdsrc.h:
11381           fdsrc should not be a 'live' source.
11382           Implement seeking on seekable fd's.
11383
11384         * gst/gstquery.c: (gst_query_new_seeking),
11385         (gst_query_parse_seeking):
11386         * gst/gstquery.h:
11387           Implement SEEKING query functions: 
11388             *_new_seeking and *_parse_seeking
11389
11390 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
11391
11392         * gst/gstelement.c: (gst_element_dispose):
11393           don't loop forever
11394
11395         * gst/gstiterator.c:
11396         * gst/gststructure.c:
11397           doc fixes
11398
11399         * libs/gst/controller/gstcontroller.c:
11400         (gst_controlled_property_set_interpolation_mode):
11401         * libs/gst/controller/gstcontroller.h:
11402         * libs/gst/controller/gstinterpolation.c:
11403         (interpolate_none_get_enum_value_array):
11404           support controlling enums
11405
11406 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11407
11408         * gst/gstvalue.c:
11409           Improve documentation for gst_value_union().
11410
11411         * gst/gstvalue.h:
11412           Change return value for union, intersect and subtract functions
11413           from gint to gboolean.
11414
11415 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11416
11417         * gst/gstvalue.c: (gst_value_serialize_any_list),
11418         (gst_value_transform_any_list_string),
11419         (gst_value_deserialize_list), (gst_value_deserialize_array),
11420         (gst_value_set_int_range), (gst_value_deserialize_int_range),
11421         (gst_value_set_double_range), (gst_value_deserialize_double_range),
11422         (gst_value_set_fraction_range_full),
11423         (gst_value_deserialize_fraction_range),
11424         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11425         (gst_value_deserialize_boolean),
11426         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11427         (gst_value_serialize_float), (gst_value_deserialize_float),
11428         (gst_string_wrap), (gst_value_deserialize_string),
11429         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11430         (gst_value_union_int_range_int_range),
11431         (gst_value_intersect_int_range_int_range),
11432         (gst_value_intersect_double_range_double_range),
11433         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11434         (gst_value_subtract_int_range_int_range),
11435         (gst_value_subtract_double_double_range),
11436         (gst_value_subtract_double_range_double_range),
11437         (gst_value_deserialize_fraction):
11438         * gst/gstvalue.h:
11439           Use gint, gdouble and gchar in our API instead of int, double and
11440           char (and make usage in gstvalue.c more consistent).
11441
11442 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11443
11444         * check/Makefile.am:
11445         * libs/gst/controller/Makefile.am:
11446         * libs/gst/dataprotocol/Makefile.am:
11447           fix up Makefile.am and remove GST_ENABLE_NEW
11448
11449 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11450
11451         * configure.ac:
11452         * gst/Makefile.am:
11453         * gst/base/Makefile.am:
11454         * gst/check/Makefile.am:
11455         * gst/elements/Makefile.am:
11456         * gst/net/Makefile.am:
11457           update LDFLAGS use some more
11458
11459 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11460
11461         * common/m4/gst-doc.m4:
11462           Fixes #312589
11463
11464 2005-11-26  Edward Hervey  <edward@fluendo.com>
11465
11466         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11467         This shouldn't issue a g_warning since it returns NULL if it
11468         couldn't find the plugin, and all functions using this behave
11469         properly on a NULL return. Switching to a GST_WARNING.
11470
11471 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
11472
11473         * gst/gstbin.c: (gst_bin_handle_message_func):
11474         Don't leak clock messages.
11475
11476 2005-11-25  Wim Taymans  <wim@fluendo.com>
11477
11478         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11479         (gst_util_uint64_scale_int):
11480         Optimisations, remove unneeded vars.
11481
11482 2005-11-25  Wim Taymans  <wim@fluendo.com>
11483
11484         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11485         Added more checks for the high precision uint64 cases.
11486
11487         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11488         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11489         Implement high precision (guint64 * guint64) / guint64.
11490
11491 2005-11-24  Wim Taymans  <wim@fluendo.com>
11492
11493         * gst/base/gstbasesrc.c: (gst_base_src_query):
11494         Fix wrong percentage query.
11495
11496         * gst/gstutils.c: (gst_util_uint64_scale),
11497         (gst_util_uint64_scale_int):
11498         Add some more common cases that can be handled 
11499         efficiently to _scale.
11500
11501 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11502
11503         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11504         (gst_mini_object_suite):
11505           don't use check calls from threads; check probably isn't
11506           threadsafe and using a lock to make it threadsafe would
11507           defeat the purpose of this check
11508         * gst/check/gstcheck.c:
11509         * gst/check/gstcheck.h:
11510           use GST_DEBUG some more
11511
11512 2005-11-24  Wim Taymans  <wim@fluendo.com>
11513
11514         * gst/gstutils.c: (gst_util_uint64_scale),
11515         (gst_util_uint64_scale_int):
11516         Chain trivial case to _scale_int.
11517
11518 2005-11-24  Wim Taymans  <wim@fluendo.com>
11519
11520         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11521         Added test for scaling.
11522
11523         * gst/gstclock.h:
11524         Small doc fix.
11525
11526         * gst/gstutils.c: (gst_util_uint64_scale_int):
11527         Implemented high precision scaling code.
11528
11529 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11530
11531         * gst/gstinfo.h:
11532           do not crash on pad==NULL
11533
11534 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11535
11536         Patch by: Stefan Kost
11537
11538         * common/gtk-doc.mak:
11539         * docs/gst/Makefile.am:
11540         * docs/libs/Makefile.am:
11541           Fix distcheck issues for the libraries docs build
11542           Closes #319599.
11543
11544 2005-11-24  Michael Smith <msmith@fluendo.com>
11545
11546         * docs/manual/basics-helloworld.xml:
11547           Fix bug #315027: memory leak in example code in docs.
11548
11549 2005-11-24  Michael Smith <msmith@fluendo.com>
11550
11551         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11552           Unlock the PREROLL_LOCK in a failure case.
11553
11554 2005-11-24  Wim Taymans  <wim@fluendo.com>
11555
11556         * docs/gst/gstreamer-sections.txt:
11557         * gst/base/gstadapter.h:
11558         * gst/base/gstbasesink.h:
11559         * gst/base/gstbasesrc.h:
11560         * gst/base/gstbasetransform.h:
11561         * gst/base/gstpushsrc.h:
11562         * gst/elements/gstfakesink.h:
11563         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11564         * gst/elements/gstfakesrc.h:
11565         * gst/elements/gstfilesink.h:
11566         * gst/elements/gstfilesrc.h:
11567         * gst/gst.c:
11568         * gst/gstbin.c:
11569         * gst/gstbuffer.c: (_gst_buffer_copy):
11570         * gst/gstbus.h:
11571         * gst/gstcaps.c:
11572         * gst/gstchildproxy.c:
11573         * gst/gstclock.c:
11574         * gst/gstelement.c:
11575         * gst/gstelementfactory.c:
11576         * gst/gstelementfactory.h:
11577         * gst/gstevent.c:
11578         * gst/gstghostpad.h:
11579         * gst/gstindex.h:
11580         * gst/gstinterface.h:
11581         * gst/gstminiobject.c:
11582         * gst/gstminiobject.h:
11583         * gst/gstpad.c:
11584         * gst/gstpad.h:
11585         * gst/gstpadtemplate.h:
11586         * gst/gstpipeline.h:
11587         * gst/gstpluginfeature.h:
11588         * gst/gstquery.h:
11589         * gst/gstqueue.h:
11590         * gst/gsttaglist.c:
11591         * gst/gsttaglist.h:
11592         * gst/gsttagsetter.c:
11593         * gst/gsttagsetter.h:
11594         * gst/gsttrace.c:
11595         * gst/gsttrace.h:
11596         * gst/gsttypefind.h:
11597         * gst/gsturi.h:
11598         * gst/gstvalue.c:
11599         * gst/net/gstnetclientclock.c:
11600         * gst/net/gstnetclientclock.h:
11601         * gst/net/gstnettimepacket.c:
11602         * gst/net/gstnettimeprovider.c:
11603         * gst/net/gstnettimeprovider.h:
11604         Doc fixes.
11605
11606 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11607
11608         * configure.ac: back to HEAD
11609
11610 === release 0.9.6 ===
11611
11612 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11613
11614         * configure.ac:
11615           releasing 0.9.6, "Always On Time"
11616
11617 2005-11-23  Wim Taymans  <wim@fluendo.com>
11618
11619         * docs/gst/gstreamer-sections.txt:
11620         * gst/glib-compat.c:
11621         * gst/gsttagsetter.c:
11622         * gst/gstvalue.c:
11623         * gst/net/gstnetclientclock.c:
11624         * gst/net/gstnettimepacket.h:
11625         Doc updates.
11626
11627 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11628
11629         * docs/faq/using.xml:
11630         * docs/libs/tmpl/gstcontrol.sgml:
11631         * docs/manual/advanced-dparams.xml:
11632         * docs/manual/appendix-checklist.xml:
11633         * docs/manual/basics-elements.xml:
11634         * docs/pwg/other-source.xml:
11635         * docs/random/moving-plugins:
11636         * gst/gstpad.c:
11637         * tools/gst-launch.1.in:
11638           remove mentions of sinesrc
11639
11640 2005-11-23  Michael Smith <msmith@fluendo.com>
11641
11642         * docs/gst/gstreamer-sections.txt:
11643           Update for new API and API changes.
11644         * gst/gstobject.h:
11645           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11646         * gst/gstvalue.c:
11647           Documentation typo fix.
11648         * gst/net/gstnettimepacket.c:
11649           Documentation fixes for arguments.
11650
11651 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11652
11653         * gst/gststructure.c: (gst_structure_get_fraction),
11654         (gst_structure_parse_value),
11655         (gst_structure_fixate_field_nearest_fraction):
11656         * gst/gststructure.h:
11657         * gst/gstutils.c: (gst_util_uint64_scale_int):
11658         * gst/gstutils.h:
11659         * scripts/update-funcnames:
11660         API Changes. 
11661         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11662         Make gst_structure_fixate_field_nearest_fraction take a numerator
11663         and denominator argument instead of a GValue
11664         add gst_structure_get_fraction helper function.
11665
11666 2005-11-23  Wim Taymans  <wim@fluendo.com>
11667
11668         * docs/design/part-TODO.txt:
11669         Update TODO.
11670
11671         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11672         * gst/net/gstnetclientclock.h:
11673         Use parent fields for timeout and window_size.
11674
11675 2005-11-23  Andy Wingo  <wingo@pobox.com>
11676
11677         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11678         rate_num/rate_denom change.
11679
11680         * gst/net/gstnetclientclock.c
11681         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11682         OBJECT_LOCK. Don't call add_observation with the lock.
11683
11684         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11685         fraction.
11686         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11687         rate fraction.
11688         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11689         deal with rate as a fraction whose numerator and denominator are
11690         GstClockTime values.
11691         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11692         master; the other fields are protected by the SLAVE_LOCK.
11693         (do_linear_regression): Note that this must be called with the
11694         SLAVE_LOCK.
11695         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11696         OBJECT_LOCK. Call set_calibration instead of touching the
11697         variables directly.
11698         (gst_clock_set_property, gst_clock_get_property): Protect
11699         master/slave parameters with the SLAVE_LOCK.
11700
11701         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11702         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11703         note that all of the instance variables that add_observation and
11704         the set_master functions use are protected by that lock and not
11705         the OBJECT_LOCK.
11706         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11707
11708         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11709         the caller to take the object lock.
11710
11711 2005-11-23  Wim Taymans  <wim@fluendo.com>
11712
11713         * gst/gsterror.c: (_gst_core_errors_init):
11714         * gst/gsterror.h:
11715         Add error for clock stuff.
11716
11717         * gst/gstpipeline.c: (gst_pipeline_change_state),
11718         (gst_pipeline_set_clock):
11719         Post clock error when clock cannot be used in a pipeline.
11720
11721 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11722
11723         * docs/gst/gstreamer-sections.txt:
11724           make two symbols from gstinfo private for the docs
11725         * gst/base/gstcollectpads.h:
11726         * gst/gstutils.c:
11727           fix doc typos, update docs
11728
11729 2005-11-22  Wim Taymans  <wim@fluendo.com>
11730
11731         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11732         (gst_base_sink_wait), (gst_base_sink_do_sync),
11733         (gst_base_sink_handle_event):
11734         * gst/base/gstbasesink.h:
11735         No need to store the clock, the parent element class already
11736         has it.
11737
11738         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11739         Updates for clock_set returning a gboolean
11740
11741         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11742         (gst_clock_id_wait_async), (gst_clock_class_init),
11743         (gst_clock_init), (gst_clock_finalize),
11744         (gst_clock_get_internal_time), (gst_clock_get_time),
11745         (gst_clock_slave_callback), (gst_clock_set_master),
11746         (gst_clock_get_master), (do_linear_regression),
11747         (gst_clock_add_observation), (gst_clock_set_property),
11748         (gst_clock_get_property):
11749         * gst/gstclock.h:
11750         Implement master/slave. When setting a clock as a slave, a
11751         periodic timeout is scheduled to sample master and slave times.
11752         Then the slave clock is recalibrated to match offset and rate
11753         of the master clock.
11754         Update logging a bit.
11755         Add flag so that a clock can state that is cannot be slaved to
11756         another clock.
11757
11758         * gst/gstelement.c: (gst_element_set_clock):
11759         * gst/gstelement.h:
11760         The set clock returns a gboolean for when an element cannot
11761         deal with the selected clock in the pipeline. 
11762
11763         * gst/gstpipeline.c: (gst_pipeline_change_state),
11764         (gst_pipeline_set_clock):
11765         * gst/gstpipeline.h:
11766         Handle the case where the selected clock cannot be set on
11767         the pipeline.
11768
11769         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11770         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11771         (gst_net_client_clock_set_property),
11772         (gst_net_client_clock_get_property),
11773         (gst_net_client_clock_observe_times):
11774         * gst/net/gstnetclientclock.h:
11775         Use regression code in GstClock parent, remove duplicated
11776         functionality.
11777
11778 2005-11-22  Michael Smith <msmith@fluendo.com>
11779
11780         * gst/gstutils.c: (gst_util_clock_time_scale):
11781         * gst/gstutils.h:
11782         * docs/gst/gstreamer-sections.txt:
11783           Rename method to have extra underscore.
11784
11785 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11786
11787         * gst/elements/Makefile.am:
11788         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11789         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11790         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11791         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11792         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11793         * gst/elements/gstfakesrc.h:
11794         * gst/gstqueue.c: (queue_leaky_get_type):
11795           correctly fix GEnumValues so that nick is the short lowercase
11796           dashed tag
11797         * tools/gst-inspect.c: (print_element_properties_info):
11798           also show the nick, since it's useful to use from parse_launch
11799           syntax
11800           Fixes #322139
11801
11802 2005-11-22  Michael Smith <msmith@fluendo.com>
11803
11804         * gst/gstutils.c: (gst_util_clocktime_scale):
11805         * gst/gstutils.h:
11806         * docs/gst/gstreamer-sections.txt:
11807           Add util method for scaling a clocktime by a fraction. Useful 
11808           implementation is left as an exercise for the reader.
11809
11810 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11811
11812         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11813         If needed, allocate storage in the destination value during
11814         collection.
11815
11816 2005-11-22  Edward Hervey  <edward@fluendo.com>
11817
11818         * docs/gst/gstreamer-sections.txt:
11819         * gst/Makefile.am:
11820         * gst/gst.h:
11821         * gst/gsturitype.c:
11822         * gst/gsturitype.h:
11823         * gst/gstutils.c: (gst_util_set_object_arg):
11824         * tools/gst-compprep.c: (main):
11825         * tools/gst-inspect.c: (print_element_properties_info):
11826         Removed GstURI, closes bug #321061
11827
11828 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11829
11830         * check/gst/gststructure.c: (GST_START_TEST):
11831         * gst/gststructure.c: (gst_structure_parse_value):
11832           Oops, broke automatic string type parsing.
11833           Add a test to catch it in future.
11834
11835 2005-11-22  Andy Wingo  <wingo@pobox.com>
11836
11837         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11838         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11839         Actually rename the function implementations. Grr.
11840
11841 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11842
11843         * check/gst/capslist.h:
11844           Comment test cases
11845         * check/gst/gststructure.c: (GST_START_TEST),
11846         (gst_structure_suite):
11847           Test automatic value type detection in gst_structure_from_string.
11848         * gst/gststructure.c: (gst_structure_parse_value):
11849           Add fraction as a type we try and guess automatically in
11850           caps/structure strings.
11851
11852 2005-11-22  Andy Wingo  <wingo@pobox.com>
11853
11854         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11855
11856         * gst/gsttagsetter.h:
11857         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11858         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11859         (gst_tag_setter_add_tag_valist)
11860         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11861         _add_values, _add_valist, and _add_valist_values. Since this is an
11862         interface the function suffixes should be more explicit so
11863         language binding don't end up with element.add_valist ->
11864         gst_tag_setter_add_valist, for example. Fixes #322069.
11865
11866 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11867
11868         * check/gst/gstcaps.c: (GST_START_TEST):
11869           Extend caps string tests to check that a caps to string
11870           conversion is reversible and produces the same caps.
11871
11872         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11873           Output "fraction" as the generic type fraction range, so caps
11874           serialisation and deserialisation works.
11875         * check/gst/capslist.h:
11876         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11877           Support 'MIN' and 'MAX' for deserialising fractions.
11878
11879 2005-11-22  Andy Wingo  <wingo@pobox.com>
11880
11881         * gst/gstevent.h (gst_event_new_new_segment)
11882         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11883         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11884         Renamed from *_newsegment, *_buffersize, *_notarget.
11885
11886         * scripts/update-funcnames: New script, performs the changes
11887         listed above.
11888
11889 2005-11-22  Wim Taymans  <wim@fluendo.com>
11890
11891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11892         Make sure the GstFlowReturn is returned.
11893
11894         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11895         (gst_bus_add_signal_watch):
11896         * gst/gstbus.h:
11897         add gst_bus_add_signal_watch_full.
11898
11899         * gst/gstplugin.c: (gst_plugin_load_file):
11900         Small style cleanup.
11901
11902 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11903
11904         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11905           Block the fakesrc srcpad when we send an event, to avoid
11906           contention on the stream_lock causing random test failures.
11907
11908 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11909
11910         * check/gst/gstvalue.c: (GST_START_TEST):
11911         * gst/gstvalue.c: (gst_value_fraction_subtract):
11912           Fix subtraction.
11913
11914 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11915
11916         * gst/gst.h:
11917           include "gstchildproxy.h"
11918         * gst/gstchildproxy.h:
11919         * libs/gst/controller/gstcontroller.h:
11920           use G_GNUC_NULL_TERMINATED
11921
11922 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11923
11924         * check/gst/capslist.h:
11925         * check/gst/gstcaps.c: (GST_START_TEST):
11926         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11927         * gst/gststructure.c: (gst_structure_parse_range),
11928         (gst_structure_fixate_field_nearest_fraction):
11929         * gst/gststructure.h:
11930         * gst/gstvalue.c: (gst_value_init_fraction_range),
11931         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11932         (gst_value_collect_fraction_range),
11933         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11934         (gst_value_set_fraction_range_full),
11935         (gst_value_get_fraction_range_min),
11936         (gst_value_get_fraction_range_max),
11937         (gst_value_serialize_fraction_range),
11938         (gst_value_transform_fraction_range_string),
11939         (gst_value_compare_fraction_range),
11940         (gst_value_deserialize_fraction_range),
11941         (gst_value_intersect_fraction_fraction_range),
11942         (gst_value_intersect_fraction_range_fraction_range),
11943         (gst_value_subtract_fraction_fraction_range),
11944         (gst_value_subtract_fraction_range_fraction),
11945         (gst_value_subtract_fraction_range_fraction_range),
11946         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11947         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11948         (gst_value_transform_string_fraction), (_gst_value_initialize):
11949         * gst/gstvalue.h:
11950           Implement fraction ranges and extend GstFraction to support
11951           arithmetic subtraction, as well as deserialization from integer
11952           strings such as "100"
11953           Add a testsuite as for int and double range set operations
11954
11955 2005-11-21  Andy Wingo  <wingo@pobox.com>
11956
11957         * gst/gsttaglist.h: 
11958         * gst/gstcaps.h: 
11959         * gst/gststructure.h: Add glib-compat.h.
11960
11961 2005-11-21  Wim Taymans  <wim@fluendo.com>
11962
11963         * gst/gstbin.c: (gst_bin_change_state_func):
11964         Fix for #321595
11965
11966 2005-11-21  Wim Taymans  <wim@fluendo.com>
11967
11968         * gst/gstsegment.h:
11969         And add a nice define too.
11970
11971 2005-11-21  Wim Taymans  <wim@fluendo.com>
11972
11973         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11974         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11975         (gst_segment_set_duration), (gst_segment_set_last_stop),
11976         (gst_segment_set_seek), (gst_segment_set_newsegment),
11977         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11978         (gst_segment_clip):
11979         * gst/gstsegment.h:
11980         Make binding friendly.
11981
11982 2005-11-21  Andy Wingo  <wingo@pobox.com>
11983
11984         * gst/gsttagsetter.h: 
11985         * gst/gsttaglist.h: 
11986         * gst/gststructure.h: 
11987         * gst/gstcaps.h: 
11988         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11989         #319940.
11990
11991         * gst/gsterror.c (_gst_core_errors_init):
11992         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11993         category.
11994
11995         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11996         (noinst_HEADERS): noinst the -private.
11997
11998 2005-11-21  Michael Smith <msmith@fluendo.com>
11999
12000         * gst/gstplugin.h:
12001         * gst/gstregistry.h:
12002           Remove unimplemented declarations for which we can see no sensible
12003           use.
12004
12005 2005-11-21  Andy Wingo  <wingo@pobox.com>
12006
12007         * gst/gst.h: Include glib-compat.h.
12008
12009         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
12010
12011         * gst/glib-compat.c: Include the public and the private header.
12012
12013         * gst/glib-compat-private.h: Copied here from glib-compat.h.
12014
12015         * gst/gstvalue.c: 
12016         * gst/gstpad.c: 
12017         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12018
12019         * check/gst/gstevent.c (create_custom_events): Check that
12020         FLUSH_STOP is serialized.
12021
12022         * check/elements/identity.c (event_func): 
12023         * check/elements/fakesrc.c (event_func): No stream lock, the core
12024         takes it.
12025
12026         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12027         stream lock taking, yay.
12028
12029         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12030         ensure that core takes the stream lock.
12031
12032         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12033         lock name change.
12034
12035         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12036         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12037         it already. For the flush start we do take it though so we get the
12038         right preroll state change messages.
12039
12040         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12041         the stream lock here, the core does it for us.
12042
12043         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12044         GST_STREAM_GET_LOCK.
12045         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
12046         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
12047         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12048         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12049         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
12050         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12051
12052         * gst/gstpad.c: Update for stream lock name change.
12053
12054         * gst/base/gstbasesink.c: Update for preroll lock name change.
12055
12056 2005-11-21  Wim Taymans  <wim@fluendo.com>
12057
12058         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12059         (gst_clock_get_master):
12060         * gst/gstclock.h:
12061         * gst/gstsystemclock.c: (gst_system_clock_init):
12062         Convert Clock flags to object flags.
12063         Added methods to manage master/slave clocks.
12064
12065 2005-11-21  Wim Taymans  <wim@fluendo.com>
12066
12067         * check/gst/gstsegment.c: (GST_START_TEST):
12068         * docs/design/part-TODO.txt:
12069         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12070         (gst_base_sink_event), (gst_base_sink_do_sync),
12071         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12072         (gst_base_sink_query), (gst_base_sink_change_state):
12073         * gst/base/gstbasesink.h:
12074         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12075         (gst_base_src_default_newsegment),
12076         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12077         (gst_base_src_get_range), (gst_base_src_loop),
12078         (gst_base_src_change_state):
12079         * gst/base/gstbasesrc.h:
12080         * gst/base/gstbasetransform.c:
12081         (gst_base_transform_prepare_output_buf),
12082         (gst_base_transform_event), (gst_base_transform_change_state):
12083         * gst/base/gstbasetransform.h:
12084         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12085         (gst_collect_pads_event):
12086         * gst/base/gstcollectpads.h:
12087         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12088         (gst_fake_src_create):
12089         * gst/elements/gstfakesrc.h:
12090         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12091         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12092         (gst_segment_set_last_stop), (gst_segment_set_seek),
12093         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12094         (gst_segment_to_running_time), (gst_segment_clip):
12095         * gst/gstsegment.h:
12096         More segment updates, replace code in plugins with segment
12097         helper functions.
12098
12099 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12100
12101         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12102         Don't ignore sscanf results
12103
12104 2005-11-21  Andy Wingo  <wingo@pobox.com>
12105
12106         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12107
12108         * *.h:
12109         * *.c: Ran scripts/update-macros. Oh yes.
12110
12111         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12112         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12113         GST_GET_LOCK, etc.
12114
12115         * scripts/update-macros: New script. Run it on your files to
12116         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12117         well.
12118
12119 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
12120
12121         * docs/gst/Makefile.am:
12122         * docs/gst/gstreamer-docs.sgml:
12123         * docs/gst/gstreamer-sections.txt:
12124         * docs/gst/gstreamer.types:
12125         * gst/gstinfo.h:
12126           more docs fixes, add new api to the docs
12127
12128 2005-11-21  Andy Wingo  <wingo@pobox.com>
12129
12130         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12131         state_broadcast call.
12132
12133         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12134
12135 2005-11-21  Julien MOUTTE  <julien@moutte.net>
12136
12137         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12138         function calls for arrays.
12139
12140 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
12141
12142         * docs/random/ensonic/media-device-daemon.txt:
12143           wild idea, can this be done?
12144         * docs/gst/gstreamer-sections.txt:
12145         * gst/gsterror.h:
12146         * gst/gstfilter.c:
12147         * gst/gstfilter.h:
12148         * gst/gstplugin.h:
12149         * gst/gstpluginfeature.c:
12150         * gst/gsttrace.c:
12151         * gst/gstvalue.c:
12152         * gst/gstvalue.h:
12153           doc fixes and additions
12154
12155 2005-11-21  Andy Wingo  <wingo@pobox.com>
12156
12157         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
12158         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
12159         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
12160         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12161         private to the basesrc implementation.
12162
12163         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12164         behalf of event function if necessary. It should no longer be
12165         necessary to take the stream lock in pad's event functions. Fixes
12166         #320299.
12167
12168 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12169         * docs/gst/gstreamer-sections.txt:
12170         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12171         (gst_structure_fixate_field_nearest_double),
12172         (gst_structure_fixate_field_boolean):
12173         * gst/gststructure.h:
12174         * win32/common/libgstreamer.def:
12175         * win32/gstreamer.def:
12176
12177         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12178         (#322027)
12179
12180 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12181
12182         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12183         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12184         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12185         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12186         (gst_fdsrc_uri_handler_init):
12187         * gst/elements/gstfdsrc.h:
12188           Port fd:// URI handler from 0.8 to fdsrc
12189
12190 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12193         (gst_value_serialize_fourcc):
12194         * gst/gstvalue.h:
12195           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12196           consistent with our other format defines (#320324).
12197
12198 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12199
12200         * gst/gstvalue.c: (gst_value_is_fixed):
12201           Revert previous commit. Value lists are by definition
12202           not fixed, as they are a list of possible values.
12203
12204 2005-11-21  Andy Wingo  <wingo@pobox.com>
12205
12206         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12207         during the stable series if we need it. Fixes #319178.
12208
12209         * gst/gstevent.c (gst_event_new_filler): Removed.
12210
12211         * check/gst/gstevent.c: Update comment about filler events.
12212
12213 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12214
12215         * gst/gstvalue.c: (gst_value_is_fixed):
12216           Should handle both value arrays and value lists.
12217
12218 2005-11-21  Andy Wingo  <wingo@pobox.com>
12219
12220         patch by: Alessandro Dessina <alessandro nnva org>
12221
12222         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12223         functions to access arrays. Fixes #321962.
12224
12225 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12226
12227         * docs/gst/gstreamer.types:
12228           gst_collectpads_get_type => gst_collect_pads_get_type.
12229           
12230         * gst/base/gstbasetransform.c:
12231           Remove unused SIGNAL_HANDOFF enum.
12232
12233 2005-11-21  Andy Wingo  <wingo@pobox.com>
12234
12235         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12236         the event type (upstream, downstream, serialized). Renamed
12237         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12238         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12239         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12240
12241         * gst/gstevent.c: Update for new CUSTOM event names.
12242
12243         * check/gst/gstevent.c: Update check for new CUSTOM event names.
12244
12245         * gst/gstevent.h:
12246         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12247         bug #319392.
12248
12249 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12250
12251         * docs/gst/gstreamer-sections.txt:
12252         * win32/common/libgstbase.def:
12253         * win32/libgstbase.def:
12254         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12255         (gst_collect_pads_class_init), (gst_collect_pads_init),
12256         (gst_collect_pads_finalize), (gst_collect_pads_new),
12257         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12258         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12259         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12260         (gst_collect_pads_start), (gst_collect_pads_stop),
12261         (gst_collect_pads_peek), (gst_collect_pads_pop),
12262         (gst_collect_pads_available), (gst_collect_pads_read),
12263         (gst_collect_pads_flush), (gst_collect_pads_event),
12264         (gst_collect_pads_chain):
12265         * gst/base/gstcollectpads.h:
12266           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12267           unimplemented functions as unimplemented. Add padding to
12268           GstCollectData. (#320766, #320423)
12269
12270 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12271
12272         * gst/gstmessage.c:
12273           Improve docs for DURATION message (usage of duration parameter)
12274           (#320113)
12275
12276 2005-11-20  Wim Taymans  <wim@fluendo.com>
12277
12278         * check/Makefile.am:
12279         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12280         (main):
12281         * gst/Makefile.am:
12282         * gst/gst.h:
12283         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12284         (gst_segment_set_seek), (gst_segment_set_newsegment),
12285         (gst_segment_to_stream_time), (gst_segment_to_running_time),
12286         (gst_segment_clip):
12287         * gst/gstsegment.h:
12288         Added segment helper structure and methods. Not fully implemented
12289         yet.
12290         Added segment check.
12291
12292 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
12293
12294         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12295           Add a deserialisation test for fractions
12296         * examples/metadata/read-metadata.c: (message_loop),
12297         (make_pipeline), (main):
12298           Fix up metadata reading sample.
12299         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12300           Debug format fix
12301         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12302           Don't try and fixate empty caps
12303         * gst/gst_private.h:
12304           Wrap in G_BEGIN_DECLS/G_END_DECLS
12305         * gst/gstvalue.c: (gst_value_collect_fraction),
12306         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12307         (gst_value_transform_string_fraction),
12308         (gst_value_compare_fraction):
12309           Add some extra guards to ensure that we don't end up 
12310           with an invalid denominator of 0 in a gstfraction and
12311           that fractions always get reduced.
12312
12313 2005-11-20  Wim Taymans  <wim@fluendo.com>
12314
12315         * docs/gst/gstreamer-sections.txt:
12316         * gst/gstbuffer.h:
12317         * gst/gstelement.c:
12318         * gst/gstformat.c:
12319         * gst/gstformat.h:
12320         * gst/gstindex.h:
12321         * gst/gstquery.c:
12322         * gst/gstquery.h:
12323         * gst/gstvalue.c:
12324         Doc fixes.
12325
12326 2005-11-20  Wim Taymans  <wim@fluendo.com>
12327
12328         * docs/design/part-TODO.txt:
12329         * gst/gstcaps.h:
12330         Make a proper enum of the flag.
12331
12332 2005-11-19  Wim Taymans  <wim@fluendo.com>
12333
12334         * docs/design/part-TODO.txt:
12335         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12336         (gst_format_to_quark), (gst_format_register):
12337         * gst/gstformat.h:
12338         * gst/gstquery.c: (_gst_query_initialize),
12339         (gst_query_type_get_name), (gst_query_type_to_quark),
12340         (gst_query_type_register):
12341         * gst/gstquery.h:
12342         Add type to quark and type to string conversions.
12343
12344 2005-11-19  Andy Wingo  <wingo@pobox.com>
12345
12346         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12347         #320097.
12348
12349 2005-11-19  Wim Taymans  <wim@fluendo.com>
12350
12351         * docs/design/part-TODO.txt:
12352         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12353         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12354         (gst_bin_handle_message_func):
12355         * gst/gstbin.h:
12356         Make message handling overridable.
12357
12358 2005-11-19  Andy Wingo  <wingo@pobox.com>
12359
12360         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12361
12362         * gst/gstclock.h:
12363         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12364         be a GstClockTime.
12365         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12366         is a GstClockTime. Fixes #321710.
12367
12368         * gst/gstclock.h (GstClock): Remove offset property. Add
12369         internal_calibration and external_calibration. Fix padding. Pad
12370         also by GstClockTime so we don't run into problems.
12371
12372         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12373         (gst_clock_get_rate_offset): Remove.
12374         (gst_clock_set_time_adjust): Remove. Fixes #321712.
12375
12376         * gst/gstutils.h:
12377         * gst/gstutils.c (g_static_rec_cond_wait)
12378         (g_static_rec_cond_timed_wait): Removed, no longer needed.
12379
12380         * gst/gstbin.c: Remove terrible continue_state prototype.
12381
12382         * gst/gstelement.h (gst_element_continue_state): Make public.
12383
12384         * gst/gstelement.h:
12385         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12386         by continue_state. Fixes #319389.
12387
12388         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12389         Really fixes #168438. However I don't see anywhere where the
12390         filter function is called... stupid GStreamer...
12391         
12392         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12393         don't have a dispose function, so it won't get called when the
12394         object is unreffed, but oh well!
12395
12396         * gst/gstindex.c (gst_index_set_filter_full): New API function,
12397         allows a destroy function to be set so user_data can be freed.
12398         Fixes #168438.
12399         (gst_index_set_filter): Call gst_index_set_filter_full.
12400
12401         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12402
12403         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12404         string should produce an error, given the lack of a way to
12405         represent NULL strings. Fixes #165650.
12406         
12407         * gst/gstvalue.h: 
12408         * gst/gstvalue.c (gst_value_array_append_value) 
12409         (gst_value_array_prepend_value, gst_value_array_get_size) 
12410         (gst_value_array_get_value): New API, copied from
12411         gst_value_list_*, only operates on arrays.
12412         (gst_value_list_append_value, gst_value_list_prepend_value) 
12413         (gst_value_list_concat, gst_value_list_get_size) 
12414         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12415
12416         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12417         init_list, because it works on both.
12418         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12419         (gst_value_copy_list_or_array): Renamed from copy_list.
12420         (gst_value_free_list_or_array): Renamed from free_list.
12421         (gst_value_collect_list_or_array): Renamed from collect_list.
12422         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12423         (gst_value_list_or_array_peek_pointer): Renamed from
12424         list_peek_pointer.
12425         (_gst_value_array_value_table, _gst_value_list_value_table):
12426         Update value table functions.
12427         (gst_value_compare_list_or_array): Renamed from compare_list.
12428
12429         * gsttaglist.h: Whoops, foreach function returns void. Also fix
12430         some constness.
12431
12432         * gst/gsttaglist.c:
12433         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12434         GstTagList*. Fixes #143472.
12435
12436         * gst/gststructure.h: Clarify what the foreach/map functions can
12437         or can't do to their arguments.
12438
12439 2005-11-18  Wim Taymans  <wim@fluendo.com>
12440
12441         * gst/gstclock.c: (gst_clock_set_calibration),
12442         (gst_clock_get_calibration):
12443         Doc and API fixes.
12444         Calibration can be set with internal time equal to current
12445         internal time too.
12446
12447 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12448
12449         * gst/gsterror.c:
12450         * gst/gsterror.h:
12451           document
12452
12453 2005-11-18  Andy Wingo  <wingo@pobox.com>
12454
12455         * configure.ac: 
12456         * pkgconfig/gstreamer-net.pc.in:
12457         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12458         * pkgconfig/Makefile.am: Add net pkgconfig files.
12459
12460 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
12461
12462         * gst/gstcaps.c:
12463         * gst/gstghostpad.c:
12464         * gst/gsttrace.c:
12465         * gst/gstvalue.c:
12466         * gst/gstvalue.h:
12467           docs fixes
12468
12469 2005-11-18  Andy Wingo  <wingo@pobox.com>
12470
12471         * gst/net/gstnetclientclock.c: Turn off debugging.
12472
12473         * check/net/gstnetclientclock.c (test_functioning): Assert that the
12474         times connverge somewhat. Can't make a real test.
12475
12476         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12477         integer arithmetic. Return the minimum of the domain, which can be
12478         set as "internal" for gst_clock_set_calibration.
12479         (gst_net_client_clock_observe_times): Call _set_calibration.
12480         (gst_net_client_clock_new): Call _set_calibration instead of
12481         rate_offset.
12482
12483         * check/net/gstnetclientclock.c (test_functioning): Use the right
12484         adjustment api.
12485
12486         * gst/gstclock.h:
12487         * gst/gstclock.c (gst_clock_get_calibration) 
12488         (gst_clock_set_calibration): New functions, obsolete the ones I
12489         added yesterday. Doh. Precision issues mean we have to extrapolate
12490         from a point in the more recent past than 1970.
12491         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12492         obsolete.
12493         (gst_clock_adjust_unlocked): Use the right calibration data.
12494
12495 2005-11-18  Edward Hervey  <edward@fluendo.com>
12496
12497         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
12498         Also reset the ->current_* values in READY->PAUSED
12499
12500 2005-11-18  Andy Wingo  <wingo@pobox.com>
12501
12502         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12503         Whoops, check the right fd. Also add some debugging.
12504         (gst_net_client_clock_observe_times): Adjust for int64 offset.
12505         (do_linear_regression): Add a crapload of debugging. Subtract off
12506         the minimum values from the input series to discard unneeded bits.
12507         Use only int arithmetic. There is still double arithmetic when
12508         calculating the intercept that needs fixing. Return boolean to
12509         indicate success; FALSE would mean the domain or range is too
12510         great. Still needs fixes.
12511
12512 2005-11-18  Wim Taymans  <wim@fluendo.com>
12513
12514         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12515         For the current position in stream time, we need to subtract
12516         accumulated time.
12517         
12518         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12519         Release lock before calling the callback function of async
12520         entries.
12521
12522 2005-11-18  Andy Wingo  <wingo@pobox.com>
12523
12524         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12525         Port goes all the way to MAXUINT16.
12526
12527         * gst/net/gstnettimeprovider.c: Make the port range the same as
12528         for the kernel: 0 assigns, otherwise ports are less than
12529         MAXUINT16.
12530
12531         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12532         port change.
12533
12534         * check/net/gstnetclientclock.c (test_functioning): Add the start
12535         of another test. 
12536
12537 2005-11-18  Wim Taymans  <wim@fluendo.com>
12538
12539         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12540         (gst_bin_remove_func), (bin_bus_handler):
12541         * gst/gstbin.h:
12542         Removing a clock provider from a bin, triggers a clock lost message
12543         so that a new clock will be selected.
12544         Adding a clock to a bin triggers a clock provider message.
12545         Make sure we reselect a clock when we received a clock lost message.
12546         Keep a reference to the element that provided the clock.
12547
12548 2005-11-18  Andy Wingo  <wingo@pobox.com>
12549
12550         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12551         the clock initially so it produces values around the base time.
12552         (gst_net_client_clock_class_init): Typo fix.
12553         (gst_net_client_clock_thread): Add note on when the socket gets
12554         closed.
12555
12556 2005-11-17  Wim Taymans  <wim@fluendo.com>
12557
12558         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12559         Free remote and local time arrays.
12560
12561 2005-11-17  Wim Taymans  <wim@fluendo.com>
12562
12563         * gst/net/gstnetclientclock.c: (do_linear_regression),
12564         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12565         Fix compilation, uninitialized vars and a forgotten continue.
12566
12567 2005-11-17  Andy Wingo  <wingo@pobox.com>
12568
12569         * check/Makefile.am (check_PROGRAMS): 
12570         * check/net/gstnetclientclock.c: Add a most minimal test for the
12571         net client clock. More to come later.
12572
12573         * gst/net/gstnet.h: 
12574         * gst/net/Makefile.am: Add netclientclock.
12575
12576         * gst/net/gstnetclientclock.h:
12577         * gst/net/gstnetclientclock.c: New files, implement an untested
12578         GstClock that takes its time from a network time provider.
12579         Implements the algorithm in network-clock.scm.
12580
12581         * tests/network-clock.scm (*window-size*): Rename from
12582         *queue-length*.
12583         * tests/network-clock.scm (network-time): 
12584         * tests/network-clock-utils.scm (q-push): Update callers.
12585
12586 2005-11-17  Wim Taymans  <wim@fluendo.com>
12587
12588         * gst/gstbin.c: (gst_bin_provide_clock_func),
12589         (gst_bin_sort_iterator_new):
12590         And unref the child too..
12591
12592 2005-11-17  Wim Taymans  <wim@fluendo.com>
12593
12594         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12595         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12596         Refactor the sort iterator so it can be used while holding the
12597         LOCK too.
12598         Make clock selection select a clock closest to the source.
12599
12600 2005-11-17  Michael Smith <msmith@fluendo.com>
12601
12602         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12603         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12604         * gst/gstclock.h:
12605           Anonymous structs are a gcc (and some other compilers) extension, so
12606           don't use them. Since this is only for ABI-compatibility, and our
12607           API/ABI freeze is over in a few days, this whole thing will only
12608           last a few days, so don't bother trying to think up a meaningful
12609           name for the struct.
12610
12611 2005-11-17  Andy Wingo  <wingo@pobox.com>
12612
12613         * gst/gstclock.h (GstClock): Add rate and offset properties,
12614         preserving ABI stability. Add rate/offset accessors. Will file bug
12615         for the freeze break.
12616
12617         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12618         and offset, trying to keep precision and avoiding
12619         underflow/overflow.
12620         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12621         functions. Make gst_clock_set_time_adjust obsolete.
12622         (gst_clock_set_time_adjust): Note that this function is obsolete.
12623         Will file bug soon.
12624
12625         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12626         greppable by using GST_PADDING-1+1.
12627
12628 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12629
12630         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12631
12632         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12633           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12634
12635         * gst/gstpadtemplate.h:
12636         * gst/gstpluginfeature.h:
12637           Don't use c++ style comments in headers (#321638).
12638
12639 2005-11-16  Andy Wingo  <wingo@pobox.com>
12640
12641         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12642         buffer.
12643
12644         * check/net/gstnettimeprovider.c: Check to see that the time
12645         provider actually provides times. Works, yo!
12646
12647 2005-11-16  Wim Taymans  <wim@fluendo.com>
12648
12649         * check/Makefile.am:
12650         Enable more tests.
12651
12652         * check/elements/fakesrc.c: (GST_START_TEST):
12653         Set element to NULL before disposing it.
12654
12655 2005-11-16  Andy Wingo  <wingo@pobox.com>
12656
12657         * gst/net/Makefile.am:
12658         * gst/net/gstnet.h:
12659         * gst/net/gstnettimeprovider.c: 
12660         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12661         provider, include it from gstnet.h, and add it to the build.
12662
12663         * gst/net/gstnettimepacket.h: 
12664         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12665         sending and receiving.
12666
12667 2005-11-16  Wim Taymans  <wim@fluendo.com>
12668
12669         * check/Makefile.am:
12670         Enable valgrind check.
12671
12672         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12673         (gst_fake_src_alloc_buffer):
12674         Fix memleak.
12675
12676 2005-11-16  Wim Taymans  <wim@fluendo.com>
12677
12678         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12679         Call parent finalize too.
12680
12681 2005-11-16  Wim Taymans  <wim@fluendo.com>
12682
12683         * check/Makefile.am:
12684         Enable valgrind check that should work fine now.
12685
12686         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12687         * gst/gstqueue.c: (gst_queue_init):
12688         Fix memleaks in pad allocation.
12689
12690 2005-11-16  Andy Wingo  <wingo@pobox.com>
12691
12692         * gst/net/Makefile.am:
12693         * gst/net/gstnet.h: New part of core to hold network elements and
12694         objects. Put in core because it exposes API that applications want
12695         to use. The library is named libgstnet-tempname right now because
12696         of the existing libgstnet in gst-plugins-base. Solution is
12697         probably to rename the one in plugins-base; will file a bug for
12698         the freeze break.
12699
12700         * gst/net/gstnettimeprovider.c: 
12701         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12702         get_time call over the network.
12703
12704         * configure.ac: 
12705         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12706
12707         * check/Makefile.am:
12708         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12709         get additions shortly.
12710
12711 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12712
12713         * gst/gstpad.c: (gst_pad_new_from_static_template):
12714         * gst/gstpad.h:
12715           add gst_pad_new_from_static_template functions
12716         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12717         (gst_check_setup_sink_pad):
12718         * gst/elements/gsttee.c: (gst_tee_init):
12719           and use them
12720
12721 2005-11-16  Wim Taymans  <wim@fluendo.com>
12722
12723         * gst/gstpad.c: (gst_pad_pause_task):
12724         Removed warning, it's not really an error either.
12725
12726 2005-11-16  Wim Taymans  <wim@fluendo.com>
12727
12728         * gst/base/gstbasetransform.c:
12729         (gst_base_transform_prepare_output_buf),
12730         (gst_base_transform_event):
12731         Check if the caps are NULL, this can happen if the element
12732         is shutting down and the pad caps are set to NULL.
12733
12734 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12735
12736         * gst/elements/gsttee.c: (gst_tee_init):
12737           fix pad template leak in tee
12738
12739 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12740
12741         * gst/glib-compat.c: (g_value_dup_gst_object):
12742         * gst/glib-compat.h:
12743         * gst/gstpad.c: (gst_pad_set_property):
12744           use gst_object_ref when setting the pad template; this will
12745           trigger the pad template leaks on GLib 2.6 and the slaves
12746
12747 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12748
12749         * gst/glib-compat.c: (gst_flags_get_first_value):
12750         * gst/glib-compat.h:
12751         * gst/gstregistryxml.c:
12752           remove functions copied from GLib 2.6
12753
12754 2005-11-16  Michael Smith <msmith@fluendo.com>
12755
12756         * gst/Makefile.am:
12757           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12758           do, but only breaks with newer valgrind versions. We're not a
12759           valgrind tool, we have no link-time dependencies on libcoregrind.
12760
12761 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12762
12763         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12764           some debug changes
12765         * gst/gstmessage.h:
12766           typo fixes
12767
12768 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12769
12770         * gst/base/gstbasesrc.c: (gst_base_src_init):
12771         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12772         * gst/gstqueue.c: (gst_queue_init):
12773         * gst/gstregistryxml.c: (load_feature):
12774           Revert all these unrefs, they don't even pass make check !
12775
12776 2005-11-15  Johan Dahlin  <johan@gnome.org>
12777
12778         * gst/base/gstbasesrc.c: (gst_base_src_init):
12779         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12780         * gst/gstqueue.c: (gst_queue_init): 
12781         Free pad templates, fixes a couple of leaks.
12782
12783 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12784
12785         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12786
12787         * gst/gstpad.c: (gst_pad_get_property):
12788           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12789           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12790           (#321452)
12791
12792 2005-11-15  Wim Taymans  <wim@fluendo.com>
12793
12794         * gst/gstevent.c:
12795         Small doc update.
12796
12797 2005-11-15  Andy Wingo  <wingo@pobox.com>
12798
12799         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12800
12801         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12802         using GST_CLOCK_TIME_NONE to disable base time management.
12803         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12804         time if it was NONE before.
12805         (gst_pipeline_change_state): Only munge the base time if
12806         stream_time != GST_CLOCK_TIME_NONE.
12807
12808         * check/gst/gstpipeline.c (test_base_time): Punt around the
12809         problem of the probe not being called, because that's not the
12810         issue I'm looking at. Add a check that setting stream_time to NONE
12811         disables base time management.
12812         
12813 2005-11-15  Wim Taymans  <wim@fluendo.com>
12814
12815         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12816         segment_stop == -1 at startup.
12817
12818         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12819         (gst_base_transform_change_state):
12820         Init segment values at start.
12821
12822 2005-11-15  Wim Taymans  <wim@fluendo.com>
12823
12824         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12825         0 segment values are 0 in any format.
12826
12827         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12828         * gst/base/gstbasetransform.h:
12829         Parse newsegment correctly in basetransform
12830
12831         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12832         Sync to clock using updated segment values.
12833
12834 2005-11-15  Andy Wingo  <wingo@pobox.com>
12835
12836         * check/gst/gstpipeline.c (test_base_time): Add check that the
12837         base time and stream time are reset correctly.
12838
12839 2005-11-15  Wim Taymans  <wim@fluendo.com>
12840
12841         * docs/design/part-TODO.txt:
12842         Some more TODO items.
12843
12844 2005-11-15  Andy Wingo  <wingo@pobox.com>
12845
12846         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12847         error if the user selected "no clock" as the clocking method.
12848
12849         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12850         timestamps with live capture.
12851
12852         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12853         is 0 but we are a live source, timestamp the buffers using the
12854         element's clock.
12855
12856 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12857
12858         * docs/gst/gstreamer-sections.txt:
12859         * gst/gsterror.c:
12860         * gst/gstghostpad.c:
12861         * gst/gstobject.h:
12862         * gst/gstxml.c:
12863           more section docs
12864
12865 2005-11-14  Wim Taymans  <wim@fluendo.com>
12866
12867         * common/gst.supp:
12868           add suppressions from Wim's Debian machine
12869
12870 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12871
12872         * common/gst.supp:
12873           add suppressions from Andy's AMD64 Ubuntu machine
12874
12875 2005-11-14  Andy Wingo  <wingo@pobox.com>
12876
12877         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12878         STATE_LOCK not necessary. Fixes #311489.
12879
12880         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12881         #305291.
12882
12883         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12884         this function is not implemented.
12885
12886 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12887
12888         * gst/base/gstbasetransform.c:
12889         (gst_base_transform_prepare_output_buf):
12890         Ref the source pad caps while we need them.
12891         Fixes (#321386)
12892
12893 2005-11-11  Wim Taymans  <wim@fluendo.com>
12894
12895         * docs/gst/gstreamer-sections.txt:
12896         Added some docs for GstCollectData.
12897
12898         * gst/base/gstadapter.c:
12899         Some small code example fix.
12900
12901         * gst/base/gstcollectpads.c:
12902         * gst/base/gstcollectpads.h:
12903         Document some more.
12904
12905 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12906
12907         * configure.ac: back to HEAD
12908
12909 === release 0.9.5 ===
12910
12911 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12912
12913         * configure.ac:
12914           releasing 0.9.5, "Bike Lunch Day"
12915
12916 2005-11-11  Wim Taymans  <wim@fluendo.com>
12917
12918         * gst/gstbuffer.c: (_gst_buffer_copy):
12919         Copy more flags.
12920
12921         * gst/gstcaps.c: (gst_caps_is_equal):
12922         Fix some docs.
12923         Make _is_equal fast in the trivial cases.
12924
12925         * gst/gstminiobject.c:
12926         * gst/gstminiobject.h:
12927         More docs. Spifify .h file.
12928
12929         * gst/gstutils.c:
12930         Small doc update.
12931
12932 2005-11-11  Wim Taymans  <wim@fluendo.com>
12933
12934         * gst/base/gstbasetransform.c:
12935         (gst_base_transform_prepare_output_buf),
12936         (gst_base_transform_handle_buffer):
12937         Small cleanups.
12938         If we're processing a buffer and need to allocate an output
12939         buffer, we cannot accept a format change. If we did get a 
12940         format change, we have to alloc a buffer ourselves of the 
12941         right size.
12942
12943 2005-11-11  Wim Taymans  <wim@fluendo.com>
12944
12945         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12946         While checking the flag for reentrancy in the gstcaps function
12947         is nice to detect recursive invocations, it also makes it 
12948         impossible to call getcaps from multiple threads, which must be
12949         possible. So, checking for recursive calls has to go.
12950
12951 2005-11-11  Michael Smith <msmith@fluendo.com>
12952
12953         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12954           Don't sync on buffers that fall partially outside our current
12955           segment. Prevents an assertion failure/abort playing some files.
12956
12957 2005-11-10  Andy Wingo  <wingo@pobox.com>
12958
12959         * check/gst/gstbin.c (test_message_state_changed_children): Style
12960         fix..
12961
12962         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12963         gst_bus_poll with the signal watch. Ensures that poll and a signal
12964         watch see the same messages.
12965
12966         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12967         a poll and a watch at the same time get the same messages.
12968
12969 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12970
12971         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12972         * gst/gstcaps.c: (gst_caps_intersect):
12973           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12974           and it's not needed.
12975
12976 2005-11-10  Wim Taymans  <wim@fluendo.com>
12977
12978         * docs/design/part-TODO.txt:
12979         Updated todo.
12980
12981 2005-11-10  Wim Taymans  <wim@fluendo.com>
12982
12983         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12984         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12985         (gst_base_src_do_sync), (gst_base_src_get_range):
12986         Implement clock sync in base class.
12987
12988 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12989
12990         patch by: Tim-Philipp Müller <tim at centricular dot net>
12991
12992         * gst/gststructure.c: (gst_structure_parse_field),
12993         (gst_structure_from_string):
12994           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12995           so that gst_parse_launch() can deal with spaces in filtered link
12996           caps (fixes #164479)
12997         * check/gst/capslist.h:
12998         * check/gst/gststructure.c: (GST_START_TEST):
12999           add unit tests for this change
13000
13001 2005-11-10  Wim Taymans  <wim@fluendo.com>
13002
13003         * docs/gst/gstreamer-sections.txt:
13004         * gst/gstelement.c:
13005         * gst/gstelement.h:
13006         Fix docs, move some STATE macros to private.
13007
13008 2005-11-10  Wim Taymans  <wim@fluendo.com>
13009
13010         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13011         Added check for bug #317341
13012
13013         * gst/gstbuffer.c:
13014         * gst/gstbuffer.h:
13015         Some more spiffifying.
13016
13017         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13018         Call peer linkfunction if we are a source pad. Totally fixes
13019         #317341
13020
13021         * gst/gstpad.c:
13022         Update docs, source pads should call the peer linkfunction
13023         so they can atomically perform the pad link.
13024
13025 2005-11-09  Wim Taymans  <wim@fluendo.com>
13026
13027         * gst/gstbuffer.c:
13028         * gst/gstbuffer.h:
13029         Uber-spiffy-spiffify some more.
13030
13031 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
13032
13033         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13034         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13035         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13036         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13037         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13038         * gst/gstpad.c: (gst_pad_init):
13039           Use GST_DEBUG_FUNCPTR() more extensively.
13040
13041 2005-11-09  Wim Taymans  <wim@fluendo.com>
13042
13043         * gst/gstobject.c: (gst_object_class_init):
13044         * gst/gstobject.h:
13045         Documentation fixes.
13046
13047 2005-11-09  Edward Hervey  <edward@fluendo.com>
13048
13049         * gst/gsttypefindfactory.c:
13050         Fix docs.
13051         
13052 2005-11-09  Edward Hervey  <edward@fluendo.com>
13053
13054         * gst/base/gsttypefindhelper.c:
13055         * gst/gsttypefind.c:
13056         * gst/gsttypefind.h:
13057         Fix docs.
13058
13059 2005-11-09  Wim Taymans  <wim@fluendo.com>
13060
13061         * gst/gstiterator.c:
13062         Fix revision data.
13063
13064         * gst/gsttask.c:
13065         * gst/gsttask.h:
13066         Fix docs.
13067
13068 2005-11-09  Wim Taymans  <wim@fluendo.com>
13069
13070         * gst/gstevent.h:
13071         * gst/gsturi.h:
13072         Fix docs.
13073
13074 2005-11-09  Wim Taymans  <wim@fluendo.com>
13075
13076         * docs/gst/gstreamer-sections.txt:
13077         Moved the message async delivery private lock and cond
13078         to the private section.
13079
13080         * gst/gstmessage.c:
13081         * gst/gstmessage.h:
13082         Fixed docs.
13083
13084 2005-11-09  Edward Hervey  <edward@fluendo.com>
13085
13086         * docs/gst/gstreamer-sections.txt:
13087         * gst/gsturi.c:
13088         * gst/gsturi.h:
13089         Document GstURIHandler
13090
13091 2005-11-09  Wim Taymans  <wim@fluendo.com>
13092
13093         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13094         (gst_iterator_find_custom):
13095         * gst/gstiterator.h:
13096         Fix iterator docs.
13097
13098 2005-11-09  Wim Taymans  <wim@fluendo.com>
13099
13100         * gst/gstbin.h:
13101         Document another field.
13102
13103         * gst/gststructure.c:
13104         * gst/gststructure.h:
13105         Document.
13106
13107 2005-11-09  Wim Taymans  <wim@fluendo.com>
13108
13109         * gst/gstbin.h:
13110         Documented structs.
13111
13112 2005-11-09  Wim Taymans  <wim@fluendo.com>
13113
13114         * docs/gst/gstreamer-sections.txt:
13115         Added some new macros.
13116
13117         * gst/gstclock.c:
13118         * gst/gstclock.h:
13119         * gst/gstobject.h:
13120         Docs updates.
13121
13122 2005-11-09  Wim Taymans  <wim@fluendo.com>
13123
13124         * docs/design/part-TODO.txt:
13125         Some more items for the TODO
13126
13127         * gst/gstcaps.c:
13128         * gst/gstcaps.h:
13129         Document GstCaps.
13130
13131 2005-11-09  Andy Wingo  <wingo@pobox.com>
13132
13133         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13134         to work on something else now tho...
13135
13136         * gst/base/gstadapter.c: More adapter docs.
13137
13138         * gst/elements/gstfilesink.c (gst_file_sink_start) 
13139         (gst_file_sink_stop): New functions, replace the state change
13140         handler.
13141         (gst_file_sink_class_init): Hook up the start and stop functions.
13142         (gst_file_sink_base_init): Don't set the state change handler any
13143         more. It was a bit ugly too, being set from here...
13144         (gst_file_sink_get_property, gst_file_sink_set_property):
13145         Cleanups...
13146         (gst_file_sink_set_location): More robust check that doesn't call
13147         GST_STATE. Ugggggg.
13148
13149 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13152           Hold STREAM_LOCK while pushing newsegment or tag events as well.
13153
13154 2005-11-08  Wim Taymans  <wim@fluendo.com>
13155
13156         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13157         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13158         (gst_base_sink_chain), (gst_base_sink_change_state):
13159         * gst/base/gstbasesink.h:
13160         * gst/base/gstbasesrc.h:
13161         * gst/gstelement.h:
13162         * gst/gstevent.h:
13163         Avoid excessive typechecking in macros.
13164
13165         * gst/gstminiobject.c: (gst_mini_object_get_type),
13166         (gst_mini_object_init), (gst_mini_object_new),
13167         (gst_mini_object_free):
13168         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13169         (gst_object_finalize):
13170         Remove cruft code, optimize alloc_trace.
13171
13172 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13173
13174         * docs/faq/gst-uninstalled:
13175           fix up PS1 for systems that try to reset it
13176
13177 2005-11-07  Wim Taymans  <wim@fluendo.com>
13178
13179         * gst/base/gstbasesrc.c: (gst_base_src_init),
13180         (gst_base_src_get_range):
13181         Set the segment_end to -1 initially. Fixed typefind.
13182
13183 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
13184
13185         * gst/base/gstadapter.c:
13186           Debug category should be 'adapter', not 'GstAdapter'.
13187           
13188         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13189         (gst_collectpads_class_init), (gst_collectpads_init),
13190         (gst_collectpads_peek), (gst_collectpads_pop),
13191         (gst_collectpads_event), (gst_collectpads_chain):
13192           Add debug category and some debugging output. Use boilerplate
13193           macros. Remove some extraneous words from docs.
13194
13195 2005-11-05  Andy Wingo  <wingo@pobox.com>
13196
13197         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13198         macro.
13199
13200 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
13201
13202         * docs/gst/gstreamer-sections.txt:
13203         * gst/gstcaps.h:
13204         * gst/gstinfo.c:
13205         * gst/gstminiobject.h:
13206         * gst/gstobject.h:
13207         * gst/gstutils.h:
13208           more docs added
13209
13210 2005-11-04  Wim Taymans  <wim@fluendo.com>
13211
13212         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13213         Small update to stop at the configured segment_end
13214         position.
13215
13216 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
13217
13218         * gst/gstregistry.c:
13219         * gst/gstregistry.h:
13220           added missing docs
13221
13222 2005-11-04  Edward Hervey  <edward@fluendo.com>
13223
13224         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13225         Check if we are doing a segment seek and have arrived at the
13226         end of that segment.
13227
13228 2005-11-04  Wim Taymans  <wim@fluendo.com>
13229
13230         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13231         Don't leak a mutex unlock in case of an error.
13232
13233         * gst/gstbus.h:
13234         Doc fixes.
13235
13236 2005-11-04  Wim Taymans  <wim@fluendo.com>
13237
13238         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13239         (gst_bus_post):
13240         Get the context to wake up only once.
13241
13242 2005-11-03  Wim Taymans  <wim@fluendo.com>
13243
13244         * check/states/sinks.c: (GST_START_TEST):
13245         Uncomment fixed check.
13246
13247         * docs/design/part-TODO.txt:
13248         Updated TODO.
13249
13250         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13251         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13252         (gst_base_sink_get_position):
13253         If we are going to PLAYING, post the right pending state
13254         when we post the intermediate paused message.
13255
13256         * gst/gstelement.c: (gst_element_continue_state),
13257         (gst_element_set_state_func), (gst_element_change_state):
13258         Don't post state changes that were between the same state
13259         and were not ASYNC.
13260
13261 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
13262
13263         * docs/gst/gstreamer-sections.txt:
13264         * gst/gstcaps.h:
13265         * gst/gstinfo.c:
13266         * gst/gstminiobject.h:
13267         * gst/gstobject.h:
13268         * gst/gstutils.h:
13269           more docs and doc style fixes
13270
13271 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
13272
13273         * docs/gst/gstreamer-sections.txt:
13274         * gst/gstelement.c:
13275         * gst/gstminiobject.c:
13276         doc fixes
13277
13278 2005-11-03  Andy Wingo  <wingo@pobox.com>
13279
13280         * check/states/sinks.c (test_livesrc_sink): Add checks that the
13281         state-changed messages actually have the right order and the right
13282         values.
13283
13284 2005-11-03  Wim Taymans  <wim@fluendo.com>
13285
13286         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13287         Added some more checks. Specifically the case where NO_PREROLL
13288         elements are in the pipeline.
13289
13290         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13291         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13292         (gst_base_sink_get_position):
13293         Post READY->PAUSED state change messages too.
13294         Fix bug where VOID was posted as pending state...
13295
13296         * gst/gstbin.c: (gst_bin_recalc_state):
13297         use _element_continue_state() to continue the state change.
13298
13299         * gst/gstelement.c: (gst_element_continue_state),
13300         (gst_element_commit_state), (gst_element_set_state_func),
13301         (gst_element_change_state), (gst_element_change_state_func):
13302         Lots of state change cleanups, assign the STATE_RETURN in
13303         a new continue_state() function that also propagates the
13304         last return value from a state change to the app.
13305         Update some debug statements with proper category.
13306
13307 2005-11-03  Wim Taymans  <wim@fluendo.com>
13308
13309         * docs/design/part-events.txt:
13310         * docs/design/part-gstpipeline.txt:
13311         * docs/design/part-messages.txt:
13312         * docs/design/part-overview.txt:
13313         * docs/design/part-seeking.txt:
13314         * docs/design/part-states.txt:
13315         * docs/design/part-trickmodes.txt:
13316         * docs/manual/advanced-position.xml:
13317         Small docs updates.
13318
13319         * gst/gstobject.h:
13320         People think !! is ugly, this looks better.
13321
13322         * gst/gstpad.c: (gst_pad_set_blocked_async):
13323         Remove !! since it's fixed elsewhere now.
13324
13325 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13326
13327         * gst/gstminiobject.h:
13328         * gst/gstobject.h:
13329           Add !! to _FLAG_IS_SET macros to make the result boolean.
13330
13331 2005-11-03  Edward Hervey  <edward@fluendo.com>
13332
13333         * gst/gstpad.c: (gst_pad_set_blocked_async):
13334         comparing a flag and a gboolean rarely returns coherent results...
13335         Added two characters (!!) to make that work correctly.
13336         
13337 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13338
13339         * gst/gstbus.c: (gst_bus_class_init):
13340           Fix some typos.
13341           
13342         * gst/gstqueue.c: (gst_queue_loop):
13343           Don't assume a miniobject that isn't a buffer is an
13344           event (it could be that there is a refcounting
13345           problem somewhere and the pointer is stale and
13346           refers to an already destroyed miniobject).
13347
13348 2005-11-03  Julien MOUTTE  <julien@moutte.net>
13349
13350         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13351
13352 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13353
13354         * docs/manual/advanced-position.xml:
13355           Update seek example and explanations to current 0.9 API.
13356
13357         * gst/elements/gsttypefindelement.c:
13358         (gst_type_find_element_activate):
13359           Remove FIXME comment now that the found caps
13360           are unreffed.
13361
13362 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13363
13364         * gst/gstregistryxml.c: (load_feature):
13365           Add another GST_STR_NULL instance
13366
13367 2005-11-02  Edward Hervey  <edward@fluendo.com>
13368
13369         * gst/gstpad.c: (handle_pad_block):
13370         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13371         
13372 2005-11-02  Wim Taymans  <wim@fluendo.com>
13373
13374         * gst/gstbin.c:
13375         Fix typo in docs.
13376
13377         * gst/gstelement.c: (gst_element_commit_state):
13378         Remove unused value.
13379
13380         * gst/gstiterator.c:
13381         Mention that the returned element is reffed in the docs.
13382
13383 2005-11-02  Wim Taymans  <wim@fluendo.com>
13384
13385         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13386         (gst_pad_push), (gst_pad_push_event):
13387         Unlock blocked pads when they are flushed.
13388
13389 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13390
13391         * docs/README:
13392         * docs/gst/gstreamer-sections.txt:
13393         * gst/gstbin.c:
13394           doc updates
13395         * gst/gstregistry.c: (gst_registry_scan_path_level):
13396           fix for a nasty little missed situation where an installed plug-in
13397           which was in the cache did not get overridden by an uninstalled one
13398           which was earlier in the plugin path because the newly created plugin
13399           for the uninstalled one (not in the registry) didn't get its
13400           ->registered set to TRUE
13401
13402 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13403
13404         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13405         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13406         (gst_collectpads_is_active), (gst_collectpads_collect),
13407         (gst_collectpads_collect_range), (gst_collectpads_start),
13408         (gst_collectpads_stop), (gst_collectpads_peek),
13409         (gst_collectpads_pop), (gst_collectpads_available),
13410         (gst_collectpads_read), (gst_collectpads_flush):
13411           Guard public API with assertions.
13412         
13413         * gst/gstpad.c:
13414           Fix docs for gst_pad_set_link_function().
13415
13416 2005-11-02  Johan Dahlin  <johan@gnome.org>
13417
13418         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
13419         Unref found_caps after we used it.
13420
13421 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13422
13423         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13424           Don't try to ref NULL.
13425
13426 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13427
13428         * win32/common/config.h.in:
13429           provide a GST_FUNCTION that just gives a string for now
13430
13431 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13432
13433         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13434         (gst_object_flags_get_type), (register_gst_bin_flags),
13435         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13436         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13437         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13438         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13439         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13440         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13441         (gst_clock_flags_get_type), (register_gst_state),
13442         (gst_state_get_type), (register_gst_state_change_return),
13443         (gst_state_change_return_get_type), (register_gst_state_change),
13444         (gst_state_change_get_type), (register_gst_element_flags),
13445         (gst_element_flags_get_type), (register_gst_core_error),
13446         (gst_core_error_get_type), (register_gst_library_error),
13447         (gst_library_error_get_type), (register_gst_resource_error),
13448         (gst_resource_error_get_type), (register_gst_stream_error),
13449         (gst_stream_error_get_type), (register_gst_event_type),
13450         (gst_event_type_get_type), (register_gst_seek_type),
13451         (gst_seek_type_get_type), (register_gst_seek_flags),
13452         (gst_seek_flags_get_type), (register_gst_format),
13453         (gst_format_get_type), (register_gst_index_certainty),
13454         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13455         (gst_index_entry_type_get_type),
13456         (register_gst_index_lookup_method),
13457         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13458         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13459         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13460         (gst_index_flags_get_type), (register_gst_debug_level),
13461         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13462         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13463         (gst_iterator_result_get_type), (register_gst_iterator_item),
13464         (gst_iterator_item_get_type), (register_gst_message_type),
13465         (gst_message_type_get_type), (register_gst_mini_object_flags),
13466         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13467         (gst_pad_link_return_get_type), (register_gst_flow_return),
13468         (gst_flow_return_get_type), (register_gst_activate_mode),
13469         (gst_activate_mode_get_type), (register_gst_pad_direction),
13470         (gst_pad_direction_get_type), (register_gst_pad_flags),
13471         (gst_pad_flags_get_type), (register_gst_pad_presence),
13472         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13473         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13474         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13475         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13476         (gst_plugin_flags_get_type), (register_gst_rank),
13477         (gst_rank_get_type), (register_gst_query_type),
13478         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13479         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13480         (gst_tag_flag_get_type), (register_gst_task_state),
13481         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13482         (gst_alloc_trace_flags_get_type),
13483         (register_gst_type_find_probability),
13484         (gst_type_find_probability_get_type), (register_gst_uri_type),
13485         (gst_uri_type_get_type), (register_gst_parse_error),
13486         (gst_parse_error_get_type):
13487         * win32/common/gstversion.h:
13488           update win32 copies
13489
13490 2005-11-01  Luca Ognibene  <luogni@tin.it>
13491
13492         * gst/gst.c:
13493           fix docs. popt is dead, long live GOption.
13494
13495 2005-10-31  Wim Taymans  <wim@fluendo.com>
13496
13497         * gst/gstbuffer.h:
13498         Small doc fix.
13499
13500 2005-10-31  Andy Wingo  <wingo@pobox.com>
13501
13502         * Boo!
13503
13504         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13505
13506         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13507         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13508         the possibility of deadlocks here if code calling notify() or
13509         set() has a lock that can be taken in another notify handler (ABBA
13510         with class lock and e.g. python GIL state lock).
13511
13512 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13513
13514         * gst/gstbus.c: Doc updates.
13515
13516 2005-10-28  Wim Taymans  <wim@fluendo.com>
13517
13518         * docs/design/part-TODO.txt:
13519         * gst/gstiterator.c:
13520         * gst/gstsystemclock.c:
13521         * gst/gstsystemclock.h:
13522         Doc updates.
13523
13524 2005-10-28  Edward Hervey  <edward@fluendo.com>
13525
13526         * docs/gst/gstreamer-docs.sgml:
13527         * docs/gst/gstreamer-sections.txt:
13528         the GstURIType documentation page is private, it only defines GstURIType
13529         which should be defined in the GstURIHandler page
13530         
13531 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13532
13533         * gst/gstbin.c: (gst_bin_class_init):
13534         * gst/gstbin.h:
13535         * gst/gstutils.c:
13536         Documentation updates.
13537
13538 2005-10-28  Wim Taymans  <wim@fluendo.com>
13539
13540         * docs/gst/gstreamer-sections.txt:
13541         * gst/gstclock.c:
13542         * gst/gstclock.h:
13543         Documented the clocks.
13544
13545 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13546
13547         * docs/gst/gstreamer-sections.txt:
13548           move some macros to private sections
13549         * gst/gstminiobject.c:
13550         * gst/gstminiobject.h:
13551           add descriptions provided by ds and some more
13552         * gst/gstpad.h:
13553           mark macro as to be removed
13554
13555 2005-10-28  Wim Taymans  <wim@fluendo.com>
13556
13557         * docs/design/part-TODO.txt:
13558         Add an item to TODO.
13559
13560         * gst/gstiterator.c: (gst_iterator_fold),
13561         (gst_iterator_find_custom):
13562         * gst/gstiterator.h:
13563         Add iterator docs.
13564
13565 2005-10-28  Wim Taymans  <wim@fluendo.com>
13566
13567         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13568         (gst_base_transform_init):
13569         Don't leak class.
13570
13571         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13572         An EOS event marks the queue as completely filled.
13573
13574 2005-10-27  Wim Taymans  <wim@fluendo.com>
13575
13576         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13577         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13578         Some more debugging.
13579
13580         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13581         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13582         (gst_base_transform_event), (gst_base_transform_getrange),
13583         (gst_base_transform_chain):
13584         * gst/base/gstbasetransform.h:
13585         Fix debugging,
13586         Protect transform and concurrent buffer alloc with a new lock.
13587         Try not to break ABI/API.
13588
13589 2005-10-27  Wim Taymans  <wim@fluendo.com>
13590
13591         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13592         (gst_base_src_init), (gst_base_src_query),
13593         (gst_base_src_default_newsegment),
13594         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13595         (gst_base_src_send_event), (gst_base_src_event_handler),
13596         (gst_base_src_pad_get_range), (gst_base_src_loop),
13597         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13598         (gst_base_src_start), (gst_base_src_deactivate),
13599         (gst_base_src_activate_push), (gst_base_src_change_state):
13600         Move some stuff around and cleanup things.
13601
13602 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13603
13604         * gst/base/gstbasesrc.c: (gst_base_src_query):
13605           Add missing break statements.
13606
13607 2005-10-27  Wim Taymans  <wim@fluendo.com>
13608
13609         * check/gst/gstbin.c: (GST_START_TEST):
13610         An extra refcount is taken in basesrc.
13611
13612         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13613         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13614         (gst_base_src_loop):
13615         Small cleanups, check for flushing after being unlocked from the 
13616         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13617         Don't send out EOS when going to READY.
13618
13619 2005-10-27  Wim Taymans  <wim@fluendo.com>
13620
13621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13622         (gst_base_sink_get_position):
13623         Some more debug.
13624
13625         * gst/gstbin.c: (message_check), (bin_replace_message),
13626         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13627         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13628         (bin_query_duration_init), (bin_query_duration_fold),
13629         (bin_query_duration_done), (bin_query_generic_fold),
13630         (gst_bin_query):
13631         * tools/gst-launch.c: (main):
13632         Remove old option.
13633
13634 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13635
13636         * examples/controller/audio-example.c: (main):
13637         * examples/queue/queue.c: (event_loop):
13638         * gst/base/gstbasetransform.h:
13639         * gst/gstelement.c: (gst_element_send_event):
13640         * gst/gstevent.h:
13641         * gst/gstpad.c: (gst_pad_send_event):
13642           fixing examples
13643           fixing docs typos
13644           changing log priority in error situations
13645
13646 2005-10-25  Wim Taymans  <wim@fluendo.com>
13647
13648         * gst/gstbin.c: (message_check), (bin_replace_message),
13649         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13650         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13651         (bin_query_duration_init), (bin_query_duration_fold),
13652         (bin_query_duration_done), (bin_query_generic_fold),
13653         (gst_bin_query):
13654         Some doc and debug updates.
13655         Cache previously requested query DURATION for speed. invalidate
13656         cached duration if element posts a DURATION message.
13657
13658 2005-10-25  Wim Taymans  <wim@fluendo.com>
13659
13660         * docs/design/part-TODO.txt:
13661         Update TODO.
13662
13663         * gst/gstbin.c: (message_check), (bin_replace_message),
13664         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13665         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13666         (bin_query_duration_init), (bin_query_duration_fold),
13667         (bin_query_duration_done), (bin_query_generic_fold),
13668         (gst_bin_query):
13669         Handle SEGMENT_START/DONE messages correctly.
13670         More evolved query algorithm that handles duration queries
13671         correctly.
13672
13673         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13674         (gst_element_get_state_func), (gst_element_abort_state),
13675         (gst_element_commit_state), (gst_element_lost_state):
13676         Some more debugging.
13677
13678         * gst/gstmessage.h:
13679         Added doc.
13680
13681 2005-10-25  Wim Taymans  <wim@fluendo.com>
13682
13683         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13684         Don't use invalid stream_time.
13685
13686         * gst/gstevent.c: (gst_event_new_newsegment):
13687         stream_time in newsegment cannot be undefined.
13688
13689 2005-10-24  Wim Taymans  <wim@fluendo.com>
13690
13691         * gst/gstbus.c:
13692         Doc fix.
13693
13694         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13695         (gst_queue_loop):
13696         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13697
13698 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13699
13700         * docs/libs/tmpl/gstdparam.sgml:
13701         * docs/libs/tmpl/gstdplinint.sgml:
13702         * docs/libs/tmpl/gstdpman.sgml:
13703         * docs/libs/tmpl/gstdpsmooth.sgml:
13704         * docs/libs/tmpl/gstunitconvert.sgml:
13705           these are obsolete
13706
13707 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13708
13709         * configure.ac:
13710           back to HEAD
13711
13712 === release 0.9.4 ===
13713
13714 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13715
13716         * configure.ac:
13717           releasing 0.9.4, "Tyrannosaurus Rex"
13718
13719 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13720
13721         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13722         (gst_file_sink_get_current_offset):
13723           Use fseeko() and ftello() if available. When falling back on
13724           lseek() to get the current offset, fflush() first to make sure
13725           everything is up-to-date and we get the right offset.
13726
13727 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13728
13729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13730         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13731         * gst/gsterror.c: (_gst_stream_errors_init):
13732         * gst/gsterror.h:
13733         * gst/gstqueue.c: (gst_queue_loop):
13734         * po/POTFILES.in:
13735           remove prematurely added error category and clean up the instances
13736
13737 2005-10-21  Wim Taymans  <wim@fluendo.com>
13738
13739         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13740         (gst_base_sink_get_position), (gst_base_sink_query),
13741         (gst_base_sink_change_state):
13742         Simply set the right flag when going to playing, that's all
13743         we need to do instead of calling a function inside the object
13744         lock (that could take the lock as well and deadlock)
13745
13746 2005-10-21  Wim Taymans  <wim@fluendo.com>
13747
13748         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13749         (gst_base_src_loop):
13750         Don't warn, the peer element knows what to do best when
13751         the seek failed, it might try something else.
13752
13753 2005-10-21  Wim Taymans  <wim@fluendo.com>
13754
13755         * gst/base/gstbasesrc.c: (gst_base_src_init),
13756         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13757         Fix seeking.
13758
13759 2005-10-21  Wim Taymans  <wim@fluendo.com>
13760
13761         * docs/design/part-segments.txt:
13762         More docs.
13763
13764         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13765         Correctly set caps, even on the subbufer.
13766
13767 2005-10-21  Wim Taymans  <wim@fluendo.com>
13768
13769         * docs/gst/gstreamer-docs.sgml:
13770         * docs/gst/gstreamer-sections.txt:
13771         * gst/gstelement.h:
13772         * gst/gstevent.c:
13773         * gst/gstevent.h:
13774         * gst/gstmessage.h:
13775         * gst/gstpad.h:
13776         * gst/gstparse.h:
13777         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13778         * gst/gsttask.h:
13779         * gst/gstutils.c:
13780         * gst/gstutils.h:
13781         And 2% more doc coverage.
13782
13783 2005-10-21  Andy Wingo  <wingo@pobox.com>
13784
13785         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13786         position reporting.
13787
13788 2005-10-20  Wim Taymans  <wim@fluendo.com>
13789
13790         * gst/gsterror.c: (gst_error_get_message):
13791         * gst/gstparse.h:
13792         * gst/gstquery.h:
13793         * gst/gststructure.c:
13794         * gst/gsttrace.c:
13795         * gst/gstutils.c:
13796         More docs.
13797
13798 2005-10-20  Wim Taymans  <wim@fluendo.com>
13799
13800         * gst/gstbuffer.h:
13801         * gst/gstpad.c:
13802         * gst/gstparse.c:
13803         Another 1% more coverage.
13804
13805 2005-10-20  Wim Taymans  <wim@fluendo.com>
13806
13807         * docs/gst/gstreamer-sections.txt:
13808         * gst/gstelement.c: (gst_element_get_state_func),
13809         (gst_element_abort_state), (gst_element_commit_state),
13810         (gst_element_lost_state):
13811         * gst/gstevent.h:
13812         * gst/gstquery.c: (gst_query_set_position),
13813         (gst_query_parse_position), (gst_query_set_duration),
13814         (gst_query_parse_duration), (gst_query_new_convert):
13815         * gst/gstutils.c:
13816         Yay! 1% more docs coverage.
13817
13818 2005-10-20  Wim Taymans  <wim@fluendo.com>
13819
13820         * gst/gstpad.h:
13821         * gst/gstquery.c: (gst_query_set_position),
13822         (gst_query_parse_position), (gst_query_set_duration),
13823         (gst_query_parse_duration), (gst_query_new_convert):
13824         * gst/gstquery.h:
13825         * gst/gstutils.c: (gst_element_query_convert):
13826         * gst/gstutils.h:
13827         Docs and consistency fixes.
13828
13829 2005-10-20  Wim Taymans  <wim@fluendo.com>
13830
13831         * gst/gsttask.c:
13832         * gst/gsttask.h:
13833         More docs.
13834
13835 2005-10-20  Wim Taymans  <wim@fluendo.com>
13836
13837         * gst/gstbin.c: (message_check), (bin_replace_message),
13838         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13839         (update_degree), (gst_bin_sort_iterator_next),
13840         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13841         Reworked the message handling a bit, cache the messages instead of
13842         only the senders. alows us to do more in the future.
13843
13844 2005-10-20  Wim Taymans  <wim@fluendo.com>
13845
13846         * docs/design/part-TODO.txt:
13847         Update TODO
13848
13849         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13850         (gst_base_sink_query):
13851         Don't use clock time to report position when in EOS.
13852
13853 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13854
13855         * tools/gst-inspect.c: (print_interfaces),
13856         (print_element_properties_info), (print_element_info):
13857           Fix interface output with gst-inspect -a; don't print
13858           newlines after double/float properties.
13859
13860 2005-10-20  Wim Taymans  <wim@fluendo.com>
13861
13862         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13863         (gst_base_sink_query):
13864         Speed up current position calculation.
13865
13866         * gst/base/gstbasesrc.c: (gst_base_src_query),
13867         (gst_base_src_default_newsegment):
13868         Correctly set stream position in newsegment.
13869
13870         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13871         (update_degree), (gst_bin_sort_iterator_next),
13872         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13873         * gst/gstmessage.c: (gst_message_new_custom):
13874         Clean up debugging info
13875
13876         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13877         (gst_queue_loop), (gst_queue_handle_src_query):
13878         Pause task faster.
13879
13880 2005-10-19  Wim Taymans  <wim@fluendo.com>
13881
13882         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13883         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13884         Fix query handling again.
13885
13886 2005-10-19  Wim Taymans  <wim@fluendo.com>
13887
13888         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13889         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13890         * gst/base/gstbasesrc.c: (gst_base_src_query):
13891         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13892         * gst/elements/gsttypefindelement.c:
13893         (gst_type_find_handle_src_query), (find_element_get_length),
13894         (gst_type_find_element_activate):
13895         API change fix.
13896
13897         * gst/gstquery.c: (gst_query_new_position),
13898         (gst_query_set_position), (gst_query_parse_position),
13899         (gst_query_new_duration), (gst_query_set_duration),
13900         (gst_query_parse_duration), (gst_query_set_segment),
13901         (gst_query_parse_segment):
13902         * gst/gstquery.h:
13903         Bundling query position/duration is not a good idea since duration
13904         does not change much and we don't want to recalculate it for every
13905         position query, so they are separated again..
13906         Base value in segment query is not needed.
13907
13908         * gst/gstqueue.c: (gst_queue_handle_src_query):
13909         * gst/gstutils.c: (gst_element_query_position),
13910         (gst_element_query_duration), (gst_pad_query_position),
13911         (gst_pad_query_duration):
13912         * gst/gstutils.h:
13913         Updates for query API change.
13914         Added some docs here and there.
13915
13916 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13917
13918         * check/gst/gstbin.c: (GST_START_TEST):
13919         * check/gst/gstghostpad.c: (GST_START_TEST):
13920         * check/pipelines/cleanup.c: (GST_START_TEST):
13921           wait on thread to die so we can check refcount correctly
13922
13923 2005-10-18  Wim Taymans  <wim@fluendo.com>
13924
13925         * check/pipelines/stress.c: (GST_START_TEST):
13926         Make check a little more time consuming.
13927
13928 2005-10-18  Wim Taymans  <wim@fluendo.com>
13929
13930         * check/Makefile.am:
13931         * check/pipelines/stress.c: (GST_START_TEST),
13932         (simple_launch_lines_suite), (main):
13933         Small state change torture test.
13934
13935         * docs/design/part-states.txt:
13936         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13937         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13938         (gst_base_sink_change_state):
13939         Never take state lock from streaming thread, clean up ugly
13940         hacks. Unfortunatly core does not yet support nice ways to
13941         async commit state.
13942         
13943         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13944         (bin_bus_handler):
13945         Start state recalc if a STATE_DIRTY message is posted, but only
13946         on the toplevel bin.
13947
13948         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13949         (gst_element_get_state_func), (gst_element_abort_state),
13950         (gst_element_commit_state), (gst_element_lost_state),
13951         (gst_element_set_state_func), (gst_element_change_state):
13952         * gst/gstelement.h:
13953         State variables are now protected with the LOCK, the state
13954         lock is only used to serialize _set_state().
13955
13956 2005-10-18  Wim Taymans  <wim@fluendo.com>
13957
13958         * check/gst/gstbin.c: (GST_START_TEST):
13959         * check/gst/gstmessage.c: (GST_START_TEST):
13960         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13961         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13962         (bin_bus_handler):
13963         * gst/gstelement.c: (gst_element_abort_state),
13964         (gst_element_commit_state), (gst_element_lost_state):
13965         * gst/gstmessage.c: (gst_message_new_state_changed),
13966         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13967         (gst_message_new_segment_done), (gst_message_new_duration),
13968         (gst_message_parse_state_changed),
13969         (gst_message_parse_segment_start),
13970         (gst_message_parse_segment_done), (gst_message_parse_duration):
13971         * gst/gstmessage.h:
13972         * tools/gst-launch.c: (event_loop):
13973         Seriously, this is better than a previous commit as we only need
13974         to notify the fact that an element changed state in a streaming
13975         thread, marking the state of the parents dirty, hence the 
13976         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13977         message.
13978
13979 2005-10-18  Wim Taymans  <wim@fluendo.com>
13980
13981         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13982         (gst_bin_recalc_func):
13983         * gst/gstelement.c: (gst_element_set_clock),
13984         (gst_element_abort_state), (gst_element_lost_state):
13985         Cleanups, prepare for state change fixes.
13986
13987 2005-10-18  Wim Taymans  <wim@fluendo.com>
13988
13989         * gst/gstbin.h:
13990         * gst/gstelement.c: (gst_element_class_init),
13991         (gst_element_set_state), (gst_element_set_state_func):
13992         * gst/gstelement.h:
13993         Pending ABI changes.
13994         GThreadPool in GstBinClass to monitor async state changes.
13995         state_cookie in GstElement to detect concurrent gst/set state.
13996         set_state is now virtual too in case a very complicated element
13997         has to be constructed.
13998
13999 2005-10-18  Wim Taymans  <wim@fluendo.com>
14000
14001         * check/gst/gstbin.c: (GST_START_TEST):
14002         * check/gst/gstmessage.c: (GST_START_TEST):
14003         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14004         * gst/gstbin.c: (bin_bus_handler):
14005         * gst/gstelement.c: (gst_element_commit_state),
14006         (gst_element_lost_state):
14007         * gst/gstmessage.c: (gst_message_new_state_changed),
14008         (gst_message_new_segment_start), (gst_message_new_segment_done),
14009         (gst_message_new_duration), (gst_message_parse_state_changed),
14010         (gst_message_parse_segment_start),
14011         (gst_message_parse_segment_done), (gst_message_parse_duration):
14012         * gst/gstmessage.h:
14013         * tools/gst-launch.c: (event_loop):
14014         Make messages future proof.
14015         state-change gets a flag if it was a message comming from the
14016         streaming thread.
14017         segment-start/stop can also be specified in other formats.
14018         A message to notify an app that a pipeline changed playback 
14019         duration.
14020         Also fix a GstMessage leak in -launch
14021
14022 2005-10-18  Andy Wingo  <wingo@pobox.com>
14023
14024         * gst/gstelement.c (gst_element_dispose): More helpful message.
14025
14026 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14027
14028         reviewed by: <delete if not using a buddy>
14029
14030         * common/gtk-doc.mak:
14031
14032 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14033
14034         * gst/gstregistry.c: (gst_registry_scan_path_level):
14035           unref a plug-in we get that was already initialized
14036
14037 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
14038
14039         * docs/gst/gstreamer-sections.txt:
14040         * docs/libs/gstreamer-libs-sections.txt:
14041         * gst/gstelement.h:
14042           add new api entries
14043           hide internal macro
14044
14045 2005-10-17  Andy Wingo  <wingo@pobox.com>
14046
14047         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14048         cleanup.
14049
14050         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14051
14052         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14053
14054         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14055         (gst_element_get_state_func): Better debug message.
14056         (gst_element_commit_state): s/INFO/DEBUG/.
14057         (gst_element_lost_state, gst_element_change_state): 
14058
14059         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14060         (gst_message_new_custom): s/INFO/LOG/.
14061
14062 2005-10-17  Michael Smith <msmith@fluendo.com>
14063
14064         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14065           Check if end time is valid using end time, not start time.
14066
14067 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
14068
14069         * check/gst-libs/controller.c: (GST_START_TEST),
14070         (gst_controller_suite):
14071         * libs/gst/controller/gstcontroller.c:
14072         (gst_controlled_property_set_interpolation_mode):
14073         * libs/gst/controller/gstcontroller.h:
14074         * libs/gst/controller/gstinterpolation.c:
14075         * testsuite/controller/.cvsignore:
14076         * testsuite/controller/Makefile.am:
14077         * testsuite/controller/interpolator.c:
14078           merge controller testsuites
14079           fix broken tests
14080           remove mem-chunk from docs
14081
14082 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
14083
14084         * gst/gstmemchunk.c:
14085         * gst/gstmemchunk.h:
14086         * gst/gsttrashstack.c:
14087         * gst/gsttrashstack.h:
14088           out.  get out.  you're fired.  to the Attic !
14089
14090 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
14091
14092         * gst/gstcaps.c: (gst_caps_intersect):
14093           fix signedness issues in a (hopefully) correct way
14094         * gst/gstelement.c: (gst_element_pads_activate):
14095           some debugging
14096         * gst/gstobject.c: (gst_object_set_parent):
14097           some debugging
14098
14099 2005-10-17  Julien MOUTTE  <julien@moutte.net>
14100
14101         * gst/gstvalue.h: Fix prototypes.
14102
14103 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14104
14105         * docs/gst/gstreamer-sections.txt:
14106         * gst/gst.c: (gst_version_string):
14107         * gst/gst.h:
14108         * gst/gstversion.h.in:
14109         * win32/common/libgstreamer.def:
14110           add gst_version_string ()
14111
14112 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14113
14114         * configure.ac:
14115           clean up further
14116         * gst/gst.c: (init_post):
14117         * win32/common/config.h.in:
14118           it's PLUGINDIR now
14119         * gst/gstcaps.c: (gst_caps_intersect):
14120           use gint64, the range could be bigger than a guint
14121
14122 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14123
14124         * gst/gstclock.h:
14125           document potential problem in 2038
14126
14127 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14128
14129         * gst/gstcaps.c: (gst_caps_intersect):
14130           Fix guint j diving under 0
14131
14132 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14133
14134         * configure.ac:
14135         * win32/common/config.h:
14136         * win32/common/config.h.in:
14137           check for process.h, declares getpid() on Windows
14138         * gst/gstinfo.c:
14139           include process.h if we have it
14140         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14141         * gst/gstmemchunk.h:
14142           fix signedness issues
14143         * win32/common/libgstreamer.def:
14144           fix get_type's
14145
14146 2005-10-16  Julien MOUTTE  <julien@moutte.net>
14147
14148         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14149         fix. Because of unsigned ints, caps intersection was going nuts and
14150         trying to access structures with G_MAXUINT index. That fixes
14151         videotestsrc ! ffmpegcolorspace ! fakesink
14152         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14153         consistency.
14154
14155 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14156
14157         * configure.ac:
14158           use the gettext macro
14159         * gst/elements/gstelements.c:
14160         * gst/gst.c:
14161         * gst/indexers/gstindexers.c:
14162           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14163         * win32/common/config.h:
14164           updated config.h
14165         * win32/common/config.h.in:
14166           add the template to generate config.h
14167         * win32/common/gstenumtypes.c:
14168         * win32/common/gstversion.h:
14169           updated copies
14170
14171 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14172
14173         * gst/gst.c: (gst_version):
14174         * gst/gstversion.h.in:
14175           add the nano
14176
14177 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
14178
14179         * gst/gstevent.h:
14180           Oops, add missing closing bracket.
14181
14182 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * configure.ac:
14185           use common m4's for argument checking
14186
14187 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
14188
14189         * docs/gst/gstreamer-sections.txt:
14190         * gst/gstevent.h:
14191           Add GST_EVENT_TYPE_NAME() macro.
14192
14193 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14194
14195         * gst/gstinfo.c:
14196         * gst/gstpluginfeature.c:
14197         * gst/gsttask.c:
14198           privatize more symbols
14199
14200 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14201
14202         * configure.ac:
14203           add srcdir, builddir includes to GST_ALL_CFLAGS, since
14204           everything that uses GStreamer API should have the includes
14205
14206 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14207
14208         * docs/gst/gstreamer-sections.txt:
14209         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14210         * gst/gstvalue.h:
14211           give each value a _get_type, removes the DATA exports
14212
14213 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14214
14215         * gst/gst.c:
14216         * gst/gst.h:
14217           remove _gst_registry_auto_load, not used anymore
14218         * gst/gstbin.c: (gst_bin_get_type):
14219         * gst/gstbin.h:
14220         * gst/gstelement.c: (gst_element_get_type):
14221         * gst/gstelement.h:
14222         * gst/gstobject.c: (gst_object_get_type):
14223         * gst/gstobject.h:
14224         * gst/gstpad.c: (gst_pad_get_type):
14225         * gst/gstpad.h:
14226           make _get_type functions similar, fixes data export from library
14227
14228 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * configure.ac:
14231           correctly make conditionals
14232         * gst/elements/Makefile.am:
14233         * gst/elements/gstelements.c:
14234           fix typo causing fdsrc not to build
14235
14236 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14237
14238         * testsuite/Makefile.am:
14239         * testsuite/bytestream/.cvsignore:
14240         * testsuite/bytestream/Makefile.am:
14241         * testsuite/bytestream/filepadsink.c:
14242         * testsuite/bytestream/gstbstest.c:
14243         * testsuite/bytestream/test1.c:
14244         * testsuite/bytestream/testfile1:
14245         * testsuite/caps/normalisation.c:
14246         * testsuite/caps/random.c: (main):
14247         * testsuite/cleanup/.cvsignore:
14248         * testsuite/cleanup/Makefile.am:
14249         * testsuite/cleanup/cleanup1.c:
14250         * testsuite/cleanup/cleanup2.c:
14251         * testsuite/cleanup/cleanup3.c:
14252         * testsuite/cleanup/cleanup4.c:
14253         * testsuite/cleanup/cleanup5.c:
14254         * testsuite/controller/interpolator.c:
14255         * testsuite/debug/printf_extension.c: (main):
14256         * testsuite/elements/tee.c:
14257         * testsuite/negotiation/.cvsignore:
14258         * testsuite/negotiation/Makefile.am:
14259         * testsuite/negotiation/pad_link.c:
14260         * testsuite/pad/Makefile.am:
14261         * testsuite/pad/chainnopull.c:
14262         * testsuite/pad/getnopush.c:
14263         * testsuite/pad/link.c:
14264         * testsuite/refcounting/sched.c: (create_pipeline):
14265         * testsuite/registry/Makefile.am:
14266         * testsuite/registry/gst-print-formats.c:
14267         * testsuite/schedulers/.cvsignore:
14268         * testsuite/schedulers/142183-2.c:
14269         * testsuite/schedulers/142183.c:
14270         * testsuite/schedulers/143777-2.c:
14271         * testsuite/schedulers/143777.c:
14272         * testsuite/schedulers/147713.c:
14273         * testsuite/schedulers/147819.c:
14274         * testsuite/schedulers/147894-2.c:
14275         * testsuite/schedulers/147894.c:
14276         * testsuite/schedulers/Makefile.am:
14277         * testsuite/schedulers/group_link.c:
14278         * testsuite/schedulers/queue_link.c:
14279         * testsuite/schedulers/relink.c:
14280         * testsuite/schedulers/unlink.c:
14281         * testsuite/schedulers/unref.c:
14282         * testsuite/schedulers/useless_iteration.c:
14283         * testsuite/states/bin.c:
14284           clean out/remove some stuff from the testsuite directories
14285
14286 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14287
14288         * configure.ac:
14289           check for some headers
14290         * gst/elements/Makefile.am:
14291         * gst/elements/gstelements.c:
14292           don't compile fdsrc without sys/socket.h
14293         * gst/indexers/Makefile.am:
14294         * gst/indexers/gstindexers.c: (plugin_init):
14295           don't compile fileindex without mmap
14296
14297 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14298
14299         * configure.ac:
14300           reorganize
14301           clean up
14302           document more
14303           remove cruft
14304         * check/Makefile.am:
14305         * docs/gst/Makefile.am:
14306         * examples/helloworld/Makefile.am:
14307         * gst/Makefile.am:
14308         * gst/base/Makefile.am:
14309         * gst/check/Makefile.am:
14310         * gst/elements/Makefile.am:
14311         * gst/indexers/Makefile.am:
14312         * gst/parse/Makefile.am:
14313         * libs/gst/controller/Makefile.am:
14314         * libs/gst/dataprotocol/Makefile.am:
14315         * examples/helloworld/helloworld.c: (event_loop):
14316           compile fixes, though it's not being compiled currently
14317
14318 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14319
14320         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14321           Add some simple tests for the new taglist date API.
14322
14323 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14324
14325         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14326         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14327           Beautify 'last-message' output: print 'none' for buffer timestamps
14328           and durations if none is set; improve alignment with next messages.
14329
14330 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14331
14332         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14333         * gst/gstpluginfeature.h:
14334         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14335         * gst/gstregistry.h:
14336         * docs/gst/gstreamer-sections.txt:
14337           Add new API to check plugin feature version requirements.
14338
14339         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14340           Some basic tests for the above.         
14341
14342 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14343
14344         * gst/gststructure.c: (gst_structure_to_string):
14345           guard against NULL printf - happens when for example
14346           a message structure with GstClock gets serialized
14347
14348 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14349
14350         * gst/base/gstcollectpads.c: (gst_collectpads_event):
14351           Fix presumable copy'n'pasto.
14352
14353 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14354
14355         * gst/elements/gstfakesrc.h:
14356         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14357         * gst/elements/gsttypefindelement.c:
14358           fix some signedness
14359         * gst/elements/gstfilesink.c: (gst_file_sink_render):
14360           I wonder if this could actually write +2GB files before
14361
14362 2005-10-13  Andy Wingo  <wingo@pobox.com>
14363
14364         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14365         Fix Timmeke Waymans bug.
14366         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14367         string of the proper length to gst_caps_from_string. There's a
14368         potential for, before this fix, that this could cause someone
14369         connecting over the network to cause a segfault if the payload is
14370         not NUL-terminated.
14371
14372 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14373
14374         * docs/design/draft-push-pull.txt:
14375         * docs/design/part-overview.txt:
14376         * docs/random/TODO-pre-0.9:
14377         * docs/random/old/ChangeLog.gstreamer:
14378         * gst/base/gstpushsrc.c:
14379         * gst/gstclock.c:
14380           fixed typos
14381
14382 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14383
14384         * gst/glib-compat.c: (gst_flags_get_first_value):
14385         * gst/glib-compat.h:
14386         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14387         (gst_value_compare_double), (gst_value_serialize_flags):
14388           GLib 2.6 g_flags_get_first_value has a bug that triggers an
14389           infinite loop
14390
14391 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14392
14393         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14394         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14395           fix up debugging
14396         * tools/gst-launch.c: (event_loop):
14397           print out clock nicely
14398
14399 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14400
14401         * docs/gst/gstreamer-sections.txt:
14402         * gst/gsttaglist.h:
14403         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14404         (gst_tag_list_get_date_index):
14405           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14406           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14407
14408 2005-10-13  Julien MOUTTE  <julien@moutte.net>
14409
14410         * gst/base/gstcollectpads.c: (gst_collectpads_event),
14411         (gst_collectpads_chain):
14412         * gst/base/gstcollectpads.h: Handle newsegment and store informations
14413         in CollectData.
14414
14415 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14416
14417         * docs/gst/gstreamer-sections.txt:
14418         * gst/gst.c:
14419         * gst/gsterror.h:
14420         * tools/gst-inspect.c: (main):
14421         * tools/gst-launch.c: (main):
14422         * tools/gst-run.c: (main):
14423         * tools/gst-xmlinspect.c: (main):
14424           fix GOption context leaks
14425           doc fixes
14426
14427 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14428
14429         * gst/gstbus.c:
14430           use HAVE_UNISTD_H
14431         * win32/common/config.h:
14432           update config
14433         * win32/vs6/grammar.dsp:
14434         * win32/vs6/libgstelements.dsp:
14435         * win32/vs6/libgstreamer.dsp:
14436           update vs6 files
14437
14438 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14439
14440         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14441         * gst/base/gstbasesrc.c: (gst_base_src_query):
14442           fix more guint64<->gdouble conversions
14443
14444 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14445
14446         * Makefile.am:
14447           add win32-update target
14448         * win32/common/gstconfig.h:
14449         * win32/common/gstenumtypes.c:
14450         * win32/common/gstenumtypes.h:
14451         * win32/common/gstversion.h:
14452           add files that visual studio can't generate
14453
14454 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14455
14456         * Makefile.am:
14457           add a win32-update target
14458         * configure.ac:
14459
14460 2005-10-12  Wim Taymans  <wim@fluendo.com>
14461
14462         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14463         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14464         * gst/gstelement.c: (gst_element_commit_state),
14465         (gst_element_set_state):
14466         Protect flags with proper lock.
14467         unref provided cached clock in dispose.
14468
14469 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14470
14471         * gst/gst.c:
14472         * gst/gstminiobject.h:
14473         * gst/gstpad.h:
14474         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14475           removed unused flags from miniobject
14476           doc fixes
14477
14478 2005-10-12  Wim Taymans  <wim@fluendo.com>
14479
14480         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14481         (gst_file_sink_event), (gst_file_sink_render):
14482         Flush before seeking.
14483
14484 2005-10-12  Andy Wingo  <wingo@pobox.com>
14485
14486         * gst/gst.c (gst_init_check): Ignore unknown options, as has
14487         always been the case.
14488
14489 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14490
14491         * check/gst/gstbin.c: (GST_START_TEST):
14492         * docs/gst/gstreamer-sections.txt:
14493         * gst/base/gstbasesink.c: (gst_base_sink_init):
14494         * gst/base/gstbasesrc.c: (gst_base_src_init),
14495         (gst_base_src_get_range), (gst_base_src_check_get_range),
14496         (gst_base_src_start), (gst_base_src_stop):
14497         * gst/base/gstbasesrc.h:
14498         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14499         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14500         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14501         (bin_bus_handler):
14502         * gst/gstbin.h:
14503         * gst/gstbuffer.h:
14504         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14505         * gst/gstbus.h:
14506         * gst/gstelement.c: (gst_element_is_locked_state),
14507         (gst_element_set_locked_state), (gst_element_commit_state),
14508         (gst_element_set_state):
14509         * gst/gstelement.h:
14510         * gst/gstindex.c: (gst_index_init):
14511         * gst/gstindex.h:
14512         * gst/gstminiobject.h:
14513         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14514         (gst_object_set_parent):
14515         * gst/gstobject.h:
14516         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14517         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14518         * gst/gstpad.h:
14519         * gst/gstpadtemplate.h:
14520         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14521         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14522         * gst/gstpipeline.h:
14523         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14524         (gst_file_index_commit):
14525         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14526         * testsuite/pad/link.c: (gst_test_src_init),
14527         (gst_test_filter_init), (gst_test_sink_init):
14528         * testsuite/states/locked.c: (main):
14529           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14530           moved bitshift from macro to enum definition
14531
14532 2005-10-12  Wim Taymans  <wim@fluendo.com>
14533
14534         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14535         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14536         (gst_file_sink_render):
14537         Some more debugging info.
14538
14539 2005-10-12  Wim Taymans  <wim@fluendo.com>
14540
14541         * docs/design/part-states.txt:
14542         * tools/gst-launch.c: (main):
14543         Some doc updates.
14544         Revert non-intentional change.
14545
14546 2005-10-12  Wim Taymans  <wim@fluendo.com>
14547
14548         * check/gst/gstbin.c: (GST_START_TEST):
14549         * check/gst/gstelement.c: (GST_START_TEST):
14550         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14551         * check/gst/gstghostpad.c: (GST_START_TEST):
14552         * check/gst/gstpipeline.c: (GST_START_TEST):
14553         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14554         * check/states/sinks.c: (GST_START_TEST):
14555         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14556         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14557         (gst_bin_remove_func), (gst_bin_get_state_func),
14558         (gst_bin_recalc_state), (gst_bin_change_state_func),
14559         (bin_bus_handler):
14560         * gst/gstelement.c: (gst_element_get_state_func),
14561         (gst_element_get_state), (gst_element_abort_state),
14562         (gst_element_commit_state), (gst_element_set_state),
14563         (gst_element_change_state), (gst_element_change_state_func):
14564         * gst/gstelement.h:
14565         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14566         (gst_pipeline_provide_clock_func):
14567         * gst/gstutils.c: (gst_element_link_pads_filtered):
14568         * tools/gst-launch.c: (main):
14569         * tools/gst-typefind.c: (main):
14570         Use GstClockTime in _get_state() instead of GTimeVal.
14571         Remove old code in gstutils.c
14572
14573 2005-10-12  Andy Wingo  <wingo@pobox.com>
14574
14575         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14576         removed.
14577
14578         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14579         there is no task. Shouldn't affect any code, as nothing in our
14580         plugins checks this return value.
14581         (gst_pad_stop_task): Also take the stream lock if the pad has no
14582         task. Docs updated.
14583
14584 2005-10-12  Wim Taymans  <wim@fluendo.com>
14585
14586         * gst/gstpad.c: (pre_activate), (post_activate),
14587         (gst_pad_activate_pull), (gst_pad_activate_push):
14588         Cleanup activation code. Reset old state if
14589         activation failed.
14590
14591 2005-10-12  Wim Taymans  <wim@fluendo.com>
14592
14593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14594         (gst_base_sink_change_state):
14595         No need to prerol after receiving EOS.
14596
14597         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14598         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14599         * gst/elements/gstidentity.c: (gst_identity_event):
14600         Print events more verbosely.
14601
14602 2005-10-12  Wim Taymans  <wim@fluendo.com>
14603
14604         * check/Makefile.am:
14605         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14606         * check/states/sinks2.c:
14607         Moved sinks2 testcode in sinks check.
14608
14609         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14610         (gst_bin_remove_func), (gst_bin_recalc_state),
14611         (gst_bin_change_state_func), (bin_bus_handler):
14612         Fix potential race condition when _get_state() iterated over an
14613         ASYNC element right before it posted a state completion.
14614
14615         * gst/gstclock.h:
14616         Do proper cast here.
14617
14618         * gst/gstevent.c: (gst_event_new_newsegment),
14619         (gst_event_parse_newsegment):
14620         A playback rate of 0.0 is not allowed.
14621
14622 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14623
14624         * win32/common/config.h:
14625         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14626         (_trewinddir), (_ttelldir), (_tseekdir):
14627         * win32/common/dirent.h:
14628         * win32/common/gtchar.h:
14629         * win32/common/libgstbase.def:
14630         * win32/common/libgstreamer.def:
14631         * win32/vs6/grammar.dsp:
14632         * win32/vs6/gst_inspect.dsp:
14633         * win32/vs6/gst_launch.dsp:
14634         * win32/vs6/gstreamer.dsw:
14635         * win32/vs6/libgstbase.dsp:
14636         * win32/vs6/libgstelements.dsp:
14637         * win32/vs6/libgstreamer.dsp:
14638           Visual Studio 6 project files, and a new common directory.
14639           Phear.
14640
14641 2005-10-11  Wim Taymans  <wim@fluendo.com>
14642
14643         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14644         (gst_base_sink_do_sync), (gst_base_sink_query),
14645         (gst_base_sink_change_state):
14646         * gst/base/gstbasesink.h:
14647         Correctly parse newsegment info.
14648
14649 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14650
14651         * gst/gst.c: (init_post):
14652           split plugin paths correctly
14653
14654 2005-10-11  Wim Taymans  <wim@fluendo.com>
14655
14656         * check/gst/gstevent.c: (GST_START_TEST):
14657         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14658         (gst_base_sink_change_state):
14659         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14660         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14661         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14662         * gst/gstevent.c: (gst_event_new_newsegment),
14663         (gst_event_parse_newsegment):
14664         * gst/gstevent.h:
14665         Added extra flag to newsegment for future API freeze.
14666         Updated check and base elements.
14667
14668 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14669
14670         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14671         (gst_collectpads_add_pad), (gst_collectpads_pop),
14672         (gst_collectpads_event), (gst_collectpads_chain):
14673         * gst/base/gstcollectpads.h: Handle EOS correctly.
14674
14675 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14676
14677         * tools/gst-launch.c: (main):
14678           more null protecting
14679
14680 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14681
14682         * gst/gst-i18n-lib.h:
14683           check for ENABLE_NLS, not GETTEXT_PACKAGE
14684         * gst/gstregistry.c: (gst_registry_add_plugin),
14685         (gst_registry_scan_path_level),
14686         (_gst_registry_remove_cache_plugins):
14687           protect possibly NULL strings
14688         * gst/parse/types.h:
14689           config.h already included before
14690         * tools/gst-inspect.c: (main):
14691           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14692           check for ENABLE_NLS, not GETTEXT_PACKAGE
14693         * tools/gst-launch.c: (main):
14694           check for ENABLE_NLS, not GETTEXT_PACKAGE
14695
14696 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * configure.ac:
14699           if we don't have glib, fail before testing 2.8
14700         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14701           fix a leak, should fix plugins-base testsuite
14702
14703 2005-10-11  Andy Wingo  <wingo@pobox.com>
14704
14705         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14706         take the mode we're going to as an arg. Go head and set the mode
14707         and flushing flags now, so that if the activate function starts a
14708         thread all the flags will be in the right state.
14709         (post_activate): Renamed also. Just handle making sure streaming
14710         finishes for the deactivation case, and setting the deactivated
14711         mode.
14712         (gst_pad_set_active): Complain loudly if deactivation fails.
14713         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14714         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14715         remove the terrible hack.
14716
14717 2005-10-11  Wim Taymans  <wim@fluendo.com>
14718
14719         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14720         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14721         (gst_bin_recalc_state), (gst_bin_change_state_func),
14722         (gst_bin_dispose), (bin_bus_handler):
14723         * gst/gstbin.h:
14724         Prepare to make current EOS message queue more generic.
14725         Fix some typos.
14726
14727         * gst/gstevent.c: (gst_event_new_newsegment),
14728         (gst_event_parse_newsegment):
14729         * gst/gstevent.h:
14730         Rename base to stream_time.
14731
14732         * gst/gstmessage.h:
14733         Fix typo in docs.
14734
14735 2005-10-11  Wim Taymans  <wim@fluendo.com>
14736
14737         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14738         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14739         (gst_bin_change_state_func), (bin_bus_handler):
14740         * gst/gstbin.h:
14741         Work on proper clock selection.
14742
14743 2005-10-11  Edward Hervey  <edward@fluendo.com>
14744
14745         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14746         * libs/gst/controller/gstcontroller.h:
14747         Added GList* version of _remove_properties() in order to be able to wrap
14748         it in bindings.
14749
14750 2005-10-11  Wim Taymans  <wim@fluendo.com>
14751
14752         * docs/design/part-states.txt:
14753         Some more docs.
14754
14755         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14756         (gst_bin_change_state_func), (bin_bus_handler):
14757         Doc updates. Don't distribute the same clock over and over again.
14758
14759         * gst/gstclock.c:
14760         * gst/gstclock.h:
14761         Doc updates.
14762
14763         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14764         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14765         (gst_pad_send_event):
14766         * gst/gstpad.h:
14767         Make probe emission threadsafe again.
14768         Register quarks and move _get_name() from utils.
14769         Doc updates.
14770
14771         * gst/gstpipeline.c: (gst_pipeline_class_init),
14772         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14773         Only redistribute the clock of it changed.
14774
14775         * gst/gstsystemclock.h:
14776         Doc updates. 
14777
14778         * gst/gstutils.c:
14779         * gst/gstutils.h:
14780         Moved the _flow_get_name() to GstPad.
14781
14782 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14783
14784         * check/gst-libs/gdp.c: (GST_START_TEST):
14785         * check/gst/gstcaps.c: (GST_START_TEST):
14786         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14787         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14788         (gst_dp_packet_from_caps):
14789           fix more valgrind warnings before turning up the heat
14790
14791 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14792
14793         * gst/parse/grammar.y:
14794           some cleanup before the hacking
14795
14796 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14797
14798         * gst/base/gstbasesrc.c: (gst_base_src_query):
14799           use conversions
14800         * gst/gstutils.c: (gst_guint64_to_gdouble),
14801         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14802         * gst/gstutils.h:
14803           externalize, basesrc uses it
14804           obviously the implementation needs testing
14805
14806 2005-10-10  Wim Taymans  <wim@fluendo.com>
14807
14808         * tests/sched/Makefile.am:
14809         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14810         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14811
14812 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14813
14814         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14815           apparently converting from guint64 to double is not implemented
14816           on MSVC
14817
14818 2005-10-10  Wim Taymans  <wim@fluendo.com>
14819
14820         * check/Makefile.am:
14821         * check/generic/states.c: (GST_START_TEST):
14822         * check/gst/gstbin.c: (GST_START_TEST):
14823         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14824         * check/states/sinks.c: (GST_START_TEST):
14825         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14826         (main):
14827         Check fixes, use API as stated in design docs, remove hacks.
14828
14829         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14830         (gst_base_sink_change_state):
14831         Catch stopping our task while we're shutting down.
14832
14833         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14834         (gst_bin_remove_func), (gst_bin_get_state_func),
14835         (gst_bin_recalc_state), (gst_bin_change_state_func),
14836         (bin_bus_handler):
14837         * gst/gstbin.h:
14838         * gst/gstelement.c: (gst_element_init),
14839         (gst_element_get_state_func), (gst_element_abort_state),
14840         (gst_element_commit_state), (gst_element_lost_state),
14841         (gst_element_set_state), (gst_element_change_state),
14842         (gst_element_change_state_func):
14843         * gst/gstelement.h:
14844         New state change algorithm (see #318116)
14845
14846         * gst/gstpipeline.c: (gst_pipeline_class_init),
14847         (gst_pipeline_init), (gst_pipeline_set_property),
14848         (gst_pipeline_get_property), (do_pipeline_seek),
14849         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14850         * gst/gstpipeline.h:
14851         Remove crude state change hacks.
14852
14853         * gst/gstutils.h:
14854         Remove crude hacks.
14855
14856         * tools/gst-launch.c: (main):
14857         Fixes for state change. Needs some more work to fully use the
14858         new stuff.
14859
14860 2005-10-10  Andy Wingo  <wingo@pobox.com>
14861
14862         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14863
14864         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14865         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14866         issue.
14867
14868 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14869
14870         * gst/gstiterator.c: (gst_iterator_new):
14871           Fix my previous commit: GTypes passed to gst_iterator_new()
14872           can be fundamental types.
14873
14874 2005-10-10  Wim Taymans  <wim@fluendo.com>
14875
14876         * gst/gstelement.c: (gst_element_iterate_pad_list),
14877         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14878         (gst_element_iterate_sink_pads):
14879         Use src/sink pads lists for the respective iterators instead
14880         of filtering.
14881
14882 2005-10-10  Andy Wingo  <wingo@pobox.com>
14883
14884         Merged in popt removal + GOption addition patch from Ronald, bug
14885         #169772.
14886
14887         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14888         GstElement macros around, remove popt-related symbols, add goption
14889         stuff.
14890
14891         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14892         
14893         * docs/gst/Makefile.am:
14894         * docs/libs/Makefile.am: No POPT_CFLAGS.
14895         
14896         * examples/manual/Makefile.am:
14897         * docs/manual/basics-init.xml: Doc updates with an example.
14898         
14899         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14900         (gst_init), (parse_one_option), (parse_goption_arg):
14901         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14902         bit of hand merging and debugging to get the GOption stuff working
14903         tho.
14904         
14905         * tests/Makefile.am:
14906         * tools/Makefile.am:
14907         * tools/gst-inspect.c: (main):
14908         * tools/gst-launch.c: (main):
14909         * tools/gst-run.c: (main):
14910         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14911
14912 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14913
14914         * gst/gstiterator.c: (gst_iterator_new):
14915           Add assertions to make sure passed GType is likely to really
14916           be a GType (as the compiler won't catch it if the size and
14917           GType arguments get mixed up, see #318447).
14918
14919 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14920
14921         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14922
14923         * gst/gstbin.c: (gst_bin_iterate_sorted):
14924           Pass GType and size arguments to gst_iterator_new() in the right
14925           order (maybe we should make _new() take the GType as first argument
14926           just like _new_list()?) (#318447).
14927           
14928
14929 2005-10-10  Wim Taymans  <wim@fluendo.com>
14930
14931         * gst/gstelement.c: (gst_element_finalize):
14932         And free the GStaticRecMutex too
14933
14934 2005-10-10  Andy Wingo  <wingo@pobox.com>
14935
14936         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14937         Allocate and free the mutex properly.
14938
14939         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14940         New macros.
14941         (GstElement): The state_lock is now recursive. Rebuild your
14942         plugins, suckers. Old macros adapted.
14943
14944         * docs/gst/gstreamer-sections.txt: Doc updates.
14945
14946         * gst/gstutils.h:
14947         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14948         (g_static_rec_cond_wait): Ported from state changes patch, while
14949         we wait on bug #317802 to be solved in a well-distributed GLib.
14950
14951         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14952         gst_element_change_state, variable name changes.
14953         (gst_element_change_state): Split out of gst_element_set_state in
14954         preparation for the state change merge. Doesn't pay attention to
14955         the 'transition' argument.
14956         (gst_element_set_state): Updates, hopefully purely cosmetic.
14957         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14958         state change patch.
14959         (gst_element_get_state_func): Renamed from get_state, cosmetic
14960         changes.
14961
14962 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14963
14964         * gst/elements/gstelements.c:
14965         * win32/GStreamer.vcproj:
14966         * win32/config.h:
14967         * win32/dirent.c: (_tseekdir):
14968         * win32/gst-inspect.vcproj:
14969         * win32/gst-launch.vcproj:
14970         * win32/gstconfig.h:
14971         * win32/gstelements.vcproj:
14972         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14973         * win32/gstreamer.def:
14974         * win32/msvc71.sln:
14975           updates for the win32 build (patch from Sebastien Moutte)
14976
14977 2005-10-10  Andy Wingo  <wingo@pobox.com>
14978
14979         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14980         gst_bin_get_state, cleaned up (but no logic changes).
14981         (bin_element_is_sink): Comment updates.
14982         (sink_iterator_filter): Remove needless cast.
14983         (gst_bin_iterate_sinks): Doc update.
14984         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14985         cleaned up (but no logic changes).
14986
14987         * check/states/sinks.c (test_src_sink): Cleanups from the state
14988         change patch.
14989         (test_livesrc_sink): Sync on the state.
14990
14991         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14992         the state change patch.
14993
14994         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14995         change patch.
14996
14997         * check/gst/gstbin.c: Merge in some style fixes and additional
14998         checks from Wim's state change patch.
14999
15000 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
15001
15002         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15003         (gst_type_find_helper):
15004           Check whether we have the requested data already in our list of
15005           cached buffers before pulling a new buffer; also make the buffer
15006           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
15007
15008 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15009
15010         * gst/gstcaps.c:
15011         * gst/gstevent.c:
15012           doc updates
15013         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15014           don't use long long, it's not portable.  Replacing with
15015           gint64 seems to work; let's hope no skeletons fall out of the closet.
15016
15017 2005-10-10  Andy Wingo  <wingo@pobox.com>
15018
15019         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15020
15021 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
15022
15023         * docs/gst/gstreamer-sections.txt:
15024         * gst/gstevent.c:
15025         * gst/gstevent.h:
15026         * gst/gstinfo.c:
15027         * gst/gstinfo.h:
15028         * gst/gstmessage.c: (gst_message_parse_state_changed):
15029         * gst/gstpad.c:
15030         * gst/gstpad.h:
15031           more docs, fix compilation
15032
15033 2005-10-09  Philippe Khalaf <burger@speedy.org>
15034         * gst/gstmessage.c:
15035           Fixed a few forgotten variables on previous commit
15036
15037 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
15038
15039         * gst/base/gsttypefindhelper.c: (helper_find_peek):
15040           Fix evil typefind crasher: getrange() might return a short
15041           buffer at the end of a file, but gst_type_find_peek() must
15042           either return the full data as requested or NULL, but
15043           never a short buffer.
15044
15045 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15046
15047         * gst/gstmessage.c: (gst_message_new_state_changed),
15048         (gst_message_parse_state_changed):
15049         * gst/gstmessage.h:
15050           don't use "new", it's a C++ keyword
15051
15052 2005-10-08  Wim Taymans  <wim@fluendo.com>
15053
15054         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15055         * gst/gstelement.c: (gst_element_post_message):
15056         * gst/gstpipeline.c: (gst_pipeline_change_state):
15057         Small docs and debug updates.
15058
15059 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
15060
15061         * docs/gst/gstreamer-sections.txt:
15062         * gst/gstelementfactory.c:
15063         * gst/gstevent.c:
15064         * gst/gsttaglist.c:
15065           more docs
15066
15067 2005-10-08  Wim Taymans  <wim@fluendo.com>
15068
15069         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15070         (gst_bin_dispose), (bin_bus_handler):
15071         Fix typos, add comments.
15072         Clear EOS list when going to PAUSED from any direction and do it
15073         in a threadsafe way.
15074         Get base time in a threadsafe way too.
15075         Fix confusing debug in the change_state function.
15076         Various other small cleanups.
15077         
15078         * gst/gstelement.c: (gst_element_post_message):
15079         Fix very verbose bus posting code.
15080
15081         * gst/gstpipeline.c: (gst_pipeline_class_init),
15082         (gst_pipeline_set_property), (gst_pipeline_get_property),
15083         (gst_pipeline_change_state):
15084         Small ARG_ -> PROP_ cleanup
15085
15086 2005-10-08  Wim Taymans  <wim@fluendo.com>
15087
15088         * gst/gstbin.c: (is_eos), (bin_bus_handler):
15089         Do a less CPU demanding EOS check because we can.
15090
15091 2005-10-08  Wim Taymans  <wim@fluendo.com>
15092
15093         * libs/gst/dataprotocol/dataprotocol.c:
15094         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15095         (gst_dp_packet_from_event):
15096         * libs/gst/dataprotocol/dataprotocol.h:
15097         * libs/gst/dataprotocol/dp-private.h:
15098         It's about time we bump the version number.
15099         Since event types don't fit in the guint8 anymore describing
15100         the payload type, make payload type 16 bits wide.
15101
15102 2005-10-08  Wim Taymans  <wim@fluendo.com>
15103
15104         * docs/design/part-TODO.txt:
15105         * docs/design/part-clocks.txt:
15106         * docs/design/part-events.txt:
15107         * docs/design/part-gstbin.txt:
15108         * docs/design/part-gstelement.txt:
15109         * docs/design/part-gstpipeline.txt:
15110         * docs/design/part-live-source.txt:
15111         * docs/design/part-messages.txt:
15112         * docs/design/part-overview.txt:
15113         * docs/design/part-states.txt:
15114         Many doc updates.
15115
15116 2005-10-08  Wim Taymans  <wim@fluendo.com>
15117
15118         * gst/gstevent.c:
15119         * gst/gstevent.h:
15120         Fix event quark registration.
15121         Add some space between events so we can insert them in the
15122         right groups.
15123
15124 2005-10-08  Wim Taymans  <wim@fluendo.com>
15125
15126         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15127         (gst_base_sink_handle_buffer):
15128         Better log message.
15129
15130         * gst/gstbus.h:
15131         * gst/gstelement.h:
15132         More docs.
15133
15134         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15135         (gst_queue_set_property), (gst_queue_get_property):
15136         * gst/gstqueue.h:
15137         Remove old unused properties.
15138
15139 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
15140         * docs/gst/gstreamer-sections.txt:
15141         * gst/gstmessage.c:
15142         * gst/gstmessage.h:
15143         * gst/gstminiobject.c:
15144         * gst/gstminiobject.h:
15145         * gst/gstobject.h:
15146         * gst/gstpad.h:
15147         * gst/gstutils.h:
15148           lots of new docs and doc fixes
15149
15150 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15151
15152         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15153         * gst/gstplugin.h:
15154         * gst/gstregistry.c: (gst_registry_lookup_locked),
15155         (gst_registry_scan_path_level):
15156         * gst/gstregistryxml.c: (load_plugin):
15157           Only ever load one plugin for a given plugin basename.
15158           This ensures correct overriding of GST_PLUGIN_PATH over
15159           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15160           system installed plugins.
15161
15162 2005-10-08  Wim Taymans  <wim@fluendo.com>
15163
15164         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15165         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15166         Prepare for doing QOS.
15167
15168 2005-10-08  Wim Taymans  <wim@fluendo.com>
15169
15170         * check/gst/gstbin.c: (GST_START_TEST):
15171         * check/pipelines/cleanup.c: (GST_START_TEST):
15172         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15173         Allow new clock message too.
15174
15175 2005-10-08  Wim Taymans  <wim@fluendo.com>
15176
15177         * gst/gstmessage.c: (gst_message_new_error),
15178         (gst_message_new_warning), (gst_message_new_tag),
15179         (gst_message_new_state_changed), (gst_message_new_clock_provide),
15180         (gst_message_new_clock_lost), (gst_message_new_new_clock),
15181         (gst_message_new_segment_start), (gst_message_new_segment_done),
15182         (gst_message_parse_state_changed),
15183         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15184         (gst_message_parse_new_clock):
15185         * gst/gstmessage.h:
15186         Also carry the clock in question.
15187
15188 2005-10-08  Wim Taymans  <wim@fluendo.com>
15189
15190         * gst/gstmessage.c: (gst_message_new_custom),
15191         (gst_message_new_eos), (gst_message_new_error),
15192         (gst_message_new_warning), (gst_message_new_tag),
15193         (gst_message_new_state_changed), (gst_message_new_clock_provide),
15194         (gst_message_new_new_clock), (gst_message_new_segment_start),
15195         (gst_message_new_segment_done), (gst_message_parse_state_changed),
15196         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15197         * gst/gstmessage.h:
15198         Clean up.
15199         Added clock related messages.
15200
15201         * gst/gstpipeline.c: (gst_pipeline_change_state):
15202         Post message when the clock changed.
15203
15204         * tools/gst-launch.c: (event_loop):
15205         Print new clock.
15206
15207 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
15208
15209         * tools/gst-inspect.c: (print_element_properties_info):
15210           Can't pass NULL strings to g_print() on windows.
15211
15212 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15213
15214         * docs/Makefile.am:
15215         * docs/gst/Makefile.am:
15216         * docs/gst/gstreamer-docs.sgml:
15217         * docs/gst/running.xml:
15218         * docs/version.entities.in:
15219           add a chapter on running GStreamer.
15220           document GST_DEBUG and GST_PLUGIN* env vars
15221
15222 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15223
15224         * Makefile.am:
15225           remove include dir
15226         * configure.ac:
15227           remove PLUGINS_BUILDDIR stuff
15228         * gst/gst.c: (init_post):
15229           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15230         * idiottest.mak:
15231           remove, it was condescending and not needed
15232
15233 2005-10-08  Wim Taymans  <wim@fluendo.com>
15234
15235         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15236         (gst_base_sink_handle_object), (gst_base_sink_event),
15237         (gst_base_sink_wait), (gst_base_sink_handle_event),
15238         (gst_base_sink_change_state):
15239         * gst/base/gstbasesink.h:
15240         Repost EOS message while going to PLAYING if still EOS.
15241         Make sure that when receiving a FLUSH_START we don't attempt
15242         to sync on the clock anymore.
15243
15244 2005-10-08  Wim Taymans  <wim@fluendo.com>
15245
15246         * tools/gst-launch.c: (event_loop):
15247         Better message printout.
15248
15249 2005-10-08  Wim Taymans  <wim@fluendo.com>
15250
15251         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15252         (gst_bin_child_proxy_get_children_count):
15253         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15254         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15255         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15256         (gst_child_proxy_set_valist):
15257         * gst/parse/grammar.y:
15258         Make ChildProxy threadsafe and fix mem leaks.
15259
15260 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15261
15262         * gst/gst.c: (init_post):
15263           debug the GST_PLUGIN_ env vars
15264
15265 2005-10-08  Wim Taymans  <wim@fluendo.com>
15266
15267         * check/gst/gstbin.c: (GST_START_TEST):
15268         * check/gst/gstmessage.c: (GST_START_TEST):
15269         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15270         * gst/gstelement.c: (gst_element_commit_state),
15271         (gst_element_lost_state):
15272         * gst/gstmessage.c: (gst_message_new_state_changed),
15273         (gst_message_parse_state_changed):
15274         * gst/gstmessage.h:
15275         * tools/gst-launch.c: (event_loop):
15276         Added extra field to STATE_CHANGE message with the pending
15277         state, which will be different from the new state soon.
15278
15279 2005-10-08  Wim Taymans  <wim@fluendo.com>
15280
15281         * gst/gstbus.c: (gst_bus_pop):
15282         * gst/gstclock.c:
15283         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15284         Small cleanups and doc updates.
15285
15286 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15287
15288         * gst/gst.c: (init_pre):
15289         * gst/gstbin.c: (gst_bin_add_func):
15290           log distributing clocks and base time
15291         * gst/gstregistry.c: (gst_registry_add_plugin),
15292         (gst_registry_scan_path_level), (gst_registry_scan_path):
15293           clean up the debugging output a little
15294         * gst/gstutils.c: (gst_element_state_get_name):
15295           warn about a memleak (I've actually seen this be used, though
15296           it was probably a bug)
15297
15298 2005-10-07  Wim Taymans  <wim@fluendo.com>
15299
15300         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15301         (gst_base_src_init), (gst_base_src_default_newsegment),
15302         (gst_base_src_newsegment), (gst_base_src_do_seek),
15303         (gst_base_src_loop), (gst_base_src_start):
15304         * gst/base/gstbasesrc.h:
15305         Make the newsegment event customizable by subclasses.
15306
15307 2005-10-07  Wim Taymans  <wim@fluendo.com>
15308
15309         * gst/gstevent.c: (gst_event_new_buffersize),
15310         (gst_event_parse_buffersize):
15311         * gst/gstevent.h:
15312         New event for future idea.
15313
15314 2005-10-07  Andy Wingo  <wingo@pobox.com>
15315
15316         * gst/gstelement.c (gst_element_post_message): Doc update.
15317
15318         * docs/gst/gstreamer-sections.txt: Update.
15319
15320         * gst/gstmessage.c (gst_message_new_application): Made into a
15321         function like honest API calls.
15322         (gst_message_new_element): New message type.
15323
15324         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15325
15326         * check/elements/fakesrc.c (test_no_preroll): New check, checks
15327         that setting a live fakesrc to PAUSED returns NO_PREROLL both
15328         times.
15329
15330         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15331         NO_PREROLL from gst_element_change_state to fall through.
15332
15333 2005-10-07  Wim Taymans  <wim@fluendo.com>
15334
15335         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15336         (gst_ghost_pad_do_activate_push):
15337         Activating a ghostpad with no internal pad in push mode
15338         is ok.
15339
15340 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15341
15342         * gst/gstobject.h:
15343           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15344           Fixes compilation on Windows.
15345
15346 2005-10-07  Michael Smith <msmith@fluendo.com>
15347
15348         * tools/gst-inspect.c:
15349           Print out feature and plugin count at the end when printing out
15350           all features.
15351
15352 2005-10-04  Michael Smith <msmith@fluendo.com>
15353
15354         * gst/gsterror.c: (_gst_stream_errors_init):
15355           Add another error string used in a few existing plugins.
15356
15357         * gst/gstplugin.c:
15358         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15359         * tools/gst-inspect.c: (print_element_info):
15360           When a feature disappears from a plugin (and the feature exists in
15361           the cached registry file), things went horribly wrong. This isn't a
15362           complete fix, we should actually be removing the 'missing' features
15363           from the features list when we load the actual plugin. That's not
15364           yet implemented. 
15365
15366 2005-10-04  Johan Dahlin  <johan@gnome.org>
15367
15368         * check/gst/gstiterator.c: (GST_START_TEST):
15369         * gst/gstbin.c: (gst_bin_iterate_elements),
15370         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15371         * gst/gstelement.c: (gst_element_iterate_pads):
15372         * gst/gstformat.c: (gst_format_iterate_definitions):
15373         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15374         (gst_iterator_new_list), (gst_iterator_filter):
15375         * gst/gstiterator.h:
15376         * gst/gstquery.c: (gst_query_type_iterate_definitions):
15377         Add a GType to GstIterator, update callsites and tests.
15378
15379 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15380
15381         * gst/gstpad.c: (gst_pad_event_default_dispatch):
15382           give events a chance to be handled by event probes when the pad
15383           is not linked
15384
15385 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15386
15387         * gst/gstevent.c: (gst_event_type_get_name),
15388         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15389         * gst/gstevent.h:
15390           add string representations for event types
15391
15392 2005-10-06  Wim Taymans  <wim@fluendo.com>
15393
15394         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15395         Don't use NULL pointers.
15396
15397 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15398
15399         * gst/gst_private.h:
15400         * gst/gstbus.c:
15401         * gst/gstelement.c:
15402         * gst/gstinfo.c:
15403         * gst/gstpluginfeature.c:
15404           widen the debug category in output to fit the biggest one we have
15405           add a bus category and use it
15406           play with the colors
15407           fix up some categories
15408
15409 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15410
15411         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15412           add push activation of sink ghost pads.
15413           Andye, please verify
15414
15415 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15416
15417         * gst/gstutils.c: (gst_element_link_pads):
15418           fix a bug in the case where neither element has a pad
15419         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15420           add a test for that case
15421
15422 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15423
15424         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15425           emit have-data before checking for peers.  This allows
15426           for probe handlers to connect elements.  This helps autopluggers.
15427         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15428         (gst_pad_suite):
15429           add six checks, linked/unlinked with no/true/false probe
15430
15431 2005-10-04  Wim Taymans  <wim@fluendo.com>
15432
15433         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15434         (gst_fake_sink_event), (gst_fake_sink_preroll),
15435         (gst_fake_sink_render), (gst_fake_sink_change_state):
15436         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15437         (gst_fake_src_get_property), (gst_fake_src_create),
15438         (gst_fake_src_stop):
15439         * gst/elements/gstidentity.c: (gst_identity_stop):
15440         Protect last_message with lock.
15441
15442 2005-10-04  Edward Hervey  <edward@fluendo.com>
15443
15444         * gst/gstformat.h: 
15445         Added precision in the comments for GST_FORMAT_DEFAULT
15446
15447 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
15448
15449         * tools/gst-launch.c: (main):
15450           Don't try to run erroneous pipelines.
15451
15452 2005-10-04  Julien MOUTTE  <julien@moutte.net>
15453
15454         * gst/gstbus.c: We don't need this header.
15455
15456 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15457
15458         * configure.ac:
15459           back to development
15460
15461 === release 0.9.3 ===
15462
15463 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15464
15465         * README:
15466         * configure.ac:
15467           Releasing 0.9.3, "Unregistered"
15468
15469 2005-10-03  Andy Wingo  <wingo@pobox.com>
15470
15471         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15472         whereby calling a pad's activatepush() function can start a thread
15473         that starts to push or pull before the pad gets the FLUSHING flag
15474         unset. Hack around it by holding the stream lock until the flag is
15475         set. Need to replace this with a proper solution. Together with
15476         the ghost pad fixes, this fixes mp3 playing/tagreading.
15477
15478         * docs/design/part-gstghostpad.txt: Add a note about activation of
15479         proxy pads outside of ghost pads.
15480
15481         * gst/gstghostpad.c: Implement the ghost pad activation design.
15482
15483 2005-10-02  Andy Wingo  <wingo@pobox.com>
15484
15485         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15486         It is volatile, after all.
15487
15488         * docs/design/part-gstghostpad.txt: Flesh out activation with
15489         ghost pads.
15490
15491         * gst/base/gstbasesrc.c (gst_base_src_init): Use
15492         GST_DEBUG_FUNCPTR.
15493
15494 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
15495
15496         * configure.ac:
15497           Fix (unused) AM_CONDITIONAL tests.
15498
15499 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
15500
15501         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15502
15503         * gst/gstutils.c: (gst_pad_query_convert):
15504           Add assertion that makes sure src_val is >=0, just like
15505           gst_query_new_convert() has. (#315895)
15506
15507 2005-09-30  Edward Hervey  <edward@fluendo.com>
15508
15509         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15510         Let's not iterate pads we're not interested in, it avoids getting 
15511         sky-high refcounts on sinkpad.
15512
15513 2005-09-30  Wim Taymans  <wim@fluendo.com>
15514
15515         * gst/gstelement.c: (gst_element_set_state),
15516         (gst_element_change_state):
15517         Small tweak, element in ASYNC remains ASYNC.
15518
15519 2005-09-30  Wim Taymans  <wim@fluendo.com>
15520
15521         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15522         Only error is an error.
15523
15524         * gst/gstbin.c: (gst_bin_change_state):
15525         Better debugging.
15526
15527         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15528         Also call pad_block in pad alloc.
15529
15530         * gst/gstutils.c: (gst_flow_get_name):
15531         Better debugging.
15532
15533 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15534
15535         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15536         (gst_base_src_get_range):
15537           Fix documentation typos. Add some more debug info.
15538
15539 2005-09-29  David Schleef  <ds@schleef.org>
15540
15541         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15542           more end-user friendly.
15543         * tools/gst-inspect.c: (main): Check if command-line argument is
15544           a file and attempt to load that file as a plugin.
15545
15546 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15547
15548         * check/gst/gstbin.c:
15549         * check/states/sinks.c:
15550           fix tests for the new warning
15551         * check/gst/gstpipeline.c:
15552           add a test for pipeline and bus interaction
15553         * gst/gstelement.c:
15554           elements should be NULL if they get disposed; add a warning if not
15555
15556 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15557
15558         * gst/gstobject.c:
15559           for 2.6 refcounting, make debug log more correct by printing
15560           the actual refcounts at the time of swap (Wim)
15561
15562 2005-09-29  Andy Wingo  <wingo@pobox.com>
15563
15564         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15565         removes signal watches previously added via
15566         gst_bus_add_signal_watch.
15567         (gst_bus_add_signal_watch): Don't return the source id, just store
15568         it on the bus if there wasn't an id already.
15569
15570         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15571         add_signal_watch and remove_signal_watch.
15572
15573 2005-09-29  Edward Hervey  <edward@fluendo.com>
15574
15575         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15576         Better if we actually iterate the list :)
15577
15578 2005-09-29  Wim Taymans  <wim@fluendo.com>
15579
15580         * check/gst/gstbin.c: (GST_START_TEST):
15581         Change for new bus API.
15582
15583         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15584         (send_messages), (GST_START_TEST), (gstbus_suite):
15585         Change for new bus signal API.
15586
15587         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15588         (gst_bus_source_prepare), (gst_bus_source_check),
15589         (gst_bus_create_watch), (gst_bus_add_watch_full),
15590         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15591         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15592         * gst/gstbus.h:
15593         Remove support for multiple GSources operating on different
15594         message types as it is too complex and unneeded when using
15595         signals.
15596         Added support for receiving signals from the bus.
15597
15598 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15599
15600         * docs/libs/tmpl/gstdataprotocol.sgml:
15601         * docs/manual/advanced-dataaccess.xml:
15602         * gst/elements/gstcapsfilter.c:
15603         * gst/gstutils.c:
15604           rename filter-caps to caps property
15605
15606 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15607
15608         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15609           More robust fraction string parsing.
15610
15611         * docs/pwg/appendix-porting.xml:
15612           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15613
15614 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15615
15616         * gst/gstcaps.c: (gst_caps_do_simplify):
15617           Thou shalt not free a structure and then continue using it
15618           in the next loop iteration.
15619
15620         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15621         (gst_caps_suite):
15622           Add test case for caps simplification.
15623
15624 2005-09-29  Wim Taymans  <wim@fluendo.com>
15625
15626         * check/gst/gstbin.c: (GST_START_TEST):
15627         Oops.
15628
15629 2005-09-29  Wim Taymans  <wim@fluendo.com>
15630
15631         * check/gst/gstbin.c: (GST_START_TEST):
15632         Add bus to bin.
15633
15634         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15635         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15636         (find_element), (gst_bin_sort_iterator_next),
15637         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15638         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15639         (gst_bin_change_state), (gst_bin_dispose):
15640         A bin does not have a bus, it gets the bus from the parent.
15641
15642         * gst/gstelement.c: (gst_element_requires_clock),
15643         (gst_element_provides_clock), (gst_element_is_indexable),
15644         (gst_element_is_locked_state), (gst_element_change_state),
15645         (gst_element_set_bus_func):
15646         Small cleanups.
15647
15648         * gst/gstpipeline.c: (gst_pipeline_class_init),
15649         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15650         The pipeline provides a bus.
15651
15652 2005-09-28  Johan Dahlin  <johan@gnome.org>
15653
15654         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15655         gst_structure_get_enum instead of gst_structure_get_int
15656
15657         * gst/gststructure.c (gst_structure_get_enum): Impl.
15658
15659         * gst/gststructure.h (gst_structure_get_enum): Add
15660
15661         * docs/gst/gstreamer-sections.txt: Ditto
15662
15663         * gst/gstmessage.c (gst_message_new_state_changed): Use
15664         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15665         which does introspection.
15666         Reviewed by Christian Schaller
15667
15668 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15669
15670         * gst/gstinfo.c: (gst_debug_log_default):
15671           don't do dummy g_strdup()s
15672         * libs/gst/controller/gstcontroller.c:
15673         (on_object_controlled_property_changed),
15674         (gst_controlled_property_new), (gst_controller_new_valist),
15675         (gst_controller_new_list),
15676         (gst_controller_remove_properties_valist), (gst_controller_set),
15677         (gst_controller_get), (gst_controller_sync_values),
15678         (gst_controller_get_value_array), (_gst_controller_class_init),
15679         (gst_controller_get_type):
15680         * libs/gst/controller/gstcontroller.h:
15681         * libs/gst/controller/gstinterpolation.c:
15682         (gst_controlled_property_find_timed_value_node):
15683           convert // to /**/ comments
15684
15685 2005-09-28  Wim Taymans  <wim@fluendo.com>
15686
15687         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15688         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15689         (gst_bus_sync_signal_handler):
15690         * gst/gstbus.h:
15691         Added async-message and sync-message signals to the bus.
15692         Added helper BusFunc to emit signals for all posted messages.
15693
15694         * gst/gstmessage.c: (gst_message_type_get_name),
15695         (gst_message_type_to_quark), (gst_message_get_type):
15696         * gst/gstmessage.h:
15697         Register quarks for message names.
15698
15699 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15700
15701         * docs/libs/gstreamer-libs-sections.txt:
15702         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15703         (gst_controller_new_list):
15704         * libs/gst/controller/gstcontroller.h:
15705           added another constructor for language bindings
15706
15707 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15708
15709         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15710           add another check
15711         * gst/gstbus.c:
15712           add some doc
15713         * gst/gstinfo.c: (_gst_debug_init):
15714           slightly more readable color for refcount debugging
15715
15716 2005-09-28  Wim Taymans  <wim@fluendo.com>
15717
15718         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15719         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15720         (find_element), (gst_bin_sort_iterator_next),
15721         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15722         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15723         (gst_bin_change_state), (gst_bin_dispose):
15724         Small doc fixes. get_clock -> provide_clock.
15725
15726         * gst/gstelement.c: (gst_element_class_init),
15727         (gst_element_provides_clock), (gst_element_provide_clock),
15728         (gst_element_get_clock), (gst_element_commit_state),
15729         (gst_element_lost_state):
15730         * gst/gstelement.h:
15731         Make get/set_clock() symetric. Add provide_clock vmethod since
15732         that is actually what this function does.
15733
15734         * gst/gstpipeline.c: (gst_pipeline_class_init),
15735         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15736         (gst_pipeline_get_clock):
15737         get_clock -> provide_clock.
15738
15739 2005-09-28  Andy Wingo  <wingo@pobox.com>
15740
15741         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15742         lieu of real docs...
15743
15744         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15745
15746 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15747
15748         * gst/elements/gstcapsfilter.c:
15749         * gst/elements/gstfakesink.c:
15750         * gst/elements/gstfakesrc.c:
15751         * gst/elements/gstfdsink.c:
15752         * gst/elements/gstfdsrc.c:
15753         * gst/elements/gstfilesink.c:
15754         * gst/elements/gstfilesrc.c:
15755         * gst/elements/gstidentity.c:
15756         * gst/elements/gsttee.c:
15757         * gst/elements/gsttypefindelement.c:
15758           Make element details static.
15759
15760 2005-09-28  Wim Taymans  <wim@fluendo.com>
15761
15762         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15763         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15764         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15765         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15766         (gst_bin_change_state), (gst_bin_dispose):
15767         Some documentation updates.
15768         Clean up dispose handlers.
15769
15770         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15771         * gst/gstpad.c: (gst_pad_dispose):
15772         Clean up dispose handler.
15773
15774         * gst/gstpipeline.c: (gst_pipeline_change_state):
15775         Removed spurious UNLOCK.
15776
15777 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15778
15779         * docs/gst/gstreamer-sections.txt:
15780         * gst/base/gstbasesrc.h:
15781         * gst/gstelement.h:
15782         * gst/gstevent.h:
15783         * gst/gstobject.h:
15784         * gst/gstpad.h:
15785         * gst/gstpipeline.c:
15786         * gst/gstpipeline.h:
15787         * gst/gstutils.h:
15788         * gst/gstxml.h:
15789           added two new functions to the docs
15790                 documents all undocumented GstXXXFlags
15791                 completed some incomplete docs 
15792
15793 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15794
15795         * gst/gstbin.c: (gst_bin_dispose):
15796         * gst/gstelement.c: (gst_element_dispose):
15797           remove now useless and leaky resurrection code in dispose
15798         * gst/base/gstbasesrc.c: (gst_base_src_init):
15799         * gst/gstelementfactory.c: (gst_element_factory_create):
15800         * gst/gstobject.c: (gst_object_set_parent):
15801           add some debugging
15802
15803 2005-09-27  Wim Taymans  <wim@fluendo.com>
15804
15805         * docs/design/part-TODO.txt:
15806         Update TODO.
15807
15808         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15809         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15810         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15811         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15812         (gst_bin_change_state):
15813         * gst/gstelement.h:
15814         Remove element variable, we keep element info in the iterator now.
15815
15816 2005-09-27  Andy Wingo  <wingo@pobox.com>
15817
15818         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15819         values.
15820
15821 2005-09-27  Wim Taymans  <wim@fluendo.com>
15822
15823         * check/gst/gstbin.c: (GST_START_TEST):
15824         Enable check that works now.
15825
15826         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15827         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15828         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15829         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15830         (gst_bin_change_state):
15831         * gst/gstbin.h:
15832         Redid the state change algorithm using a topological sort algo.
15833         Handles all cases correctly.
15834         Exposed iterator for state change order.
15835
15836         * gst/gstelement.h:
15837         Temp storage for state changes. Need to get rid of this soon.
15838
15839 2005-09-27  Wim Taymans  <wim@fluendo.com>
15840
15841         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15842         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15843         (link_fold_func), (gst_pad_proxy_setcaps):
15844         Leak fixes, the fold functions need to unref the passed object and
15845         _get_parent_*() returns ref to parent.
15846
15847 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15848
15849         * check/gst/gstbuffer.c: (test_make_writable):
15850           Plug leak in test case and fix 'make check-valgrind'
15851
15852 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15853
15854         * gst/gstbuffer.c: (gst_subbuffer_init):
15855           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15856           works correctly in all circumstances (we could have just copied
15857           the parent buffer's readonly flag, but conceptually it seems
15858           cleaner to mark all subbuffers as read-only). (based on patch
15859           by Alessandro Decina, #314710).
15860         
15861         * check/gst/gstbuffer.c: (create_read_only_buffer),
15862         (test_make_writable), (test_subbuffer_make_writable),
15863         (gst_test_suite):
15864           Add some tests for gst_buffer_make_writable().
15865
15866 2005-09-27  Wim Taymans  <wim@fluendo.com>
15867
15868         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15869         use gst_object_has_ancestor().
15870
15871         * gst/gstobject.c: (gst_object_has_ancestor):
15872         * gst/gstobject.h:
15873         gst_object_has_ancestor() copied from gstbin.c as it is a
15874         useful function.
15875
15876         * tests/instantiate/create.c: (create_all_elements):
15877         * tests/lat.c: (handoff_src), (handoff_sink):
15878         * tests/sched/runxml.c: (main):
15879         * tests/seeking/seeking1.c: (main):
15880         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15881         (main):
15882         Fix compilation of some tests.
15883
15884 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15885
15886         * gst/gsterror.h:
15887           Remove comment. GST_TYPE_G_ERROR is here to stay,
15888           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15889           (#316961, #300610).
15890
15891 2005-09-26  Wim Taymans  <wim@fluendo.com>
15892
15893         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15894         Added check that shows error in state change order.
15895
15896 2005-09-26  Wim Taymans  <wim@fluendo.com>
15897
15898         * gst/gstbin.c: (gst_bin_change_state):
15899         Make state change function use 3 queues again, we were
15900         adding elements in the wrong order.
15901
15902         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15903         Some debug info,
15904
15905         * gst/gstpad.c: (gst_pad_dispose):
15906         Added some debug info first.
15907
15908 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15909
15910         * docs/design/draft-push-pull.txt:
15911         * docs/design/part-events.txt:
15912         * docs/design/part-overview.txt:
15913         * docs/design/part-scheduling.txt:
15914           Replace all _pull_region() with _pull_range()
15915           
15916 2005-09-26  Andy Wingo  <wingo@pobox.com>
15917
15918         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15919
15920         * check/gst-libs/controller.c: Update for controller api change.
15921
15922         * configure.ac: 
15923         * tests/Makefile.am:
15924         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15925         over by GLib bug 118439.
15926         
15927         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15928         routines to a function.
15929
15930         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15931
15932         * libs/gst/controller/gsthelper.c:
15933         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15934         (gst_object_sync_values): Renamed from sink_values. Ugh.
15935
15936         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15937
15938         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15939         Renamed from controller_key, as it is exported.
15940
15941         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15942
15943 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15944
15945         * gst/Makefile.am:
15946         * gst/gst.h:
15947         * gst/gstpad.h:
15948         * gst/gstpadtemplate.h:
15949         * gst/gstquery.c:
15950         * gst/gstquery.h:
15951         * gst/gstqueryutils.c:
15952         * gst/gstqueryutils.h:
15953           remove queryutils headers after moving the two used functions
15954           to gstquery.  also fixes build problem for gstsiddec
15955
15956 2005-09-26  Michael Smith <msmith@fluendo.com>
15957
15958         * tools/gst-launch.1.in:
15959         Correct documentation in manpage of debug syntax
15960
15961 2005-09-26  Wim Taymans  <wim@fluendo.com>
15962
15963         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15964         (gst_base_src_is_seekable), (gst_base_src_change_state):
15965         Some more debugging info.
15966
15967 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15968
15969         * docs/gst/gstreamer-sections.txt:
15970         * gst/base/gstbasetransform.h:
15971         * gst/gstindex.h:
15972           added more docs
15973
15974 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15975
15976         * docs/gst/.cvsignore:
15977         * docs/gst/tmpl/.cvsignore:
15978         * docs/gst/tmpl/gstpipeline.sgml:
15979         * docs/gst/tmpl/gstplugin.sgml:
15980         * gst/gstpipeline.c:
15981         * gst/gstplugin.c:
15982         * gst/gstplugin.h:
15983           inlined the last two docs files
15984           removed the tmpl directory from cvs (no more conflicts here!)
15985
15986 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15987
15988         * docs/gst/gstreamer-sections.txt:
15989         * docs/gst/tmpl/.cvsignore:
15990         * docs/gst/tmpl/gstpad.sgml:
15991         * docs/gst/tmpl/gstpadtemplate.sgml:
15992         * gst/Makefile.am:
15993         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15994         (gst_pad_finalize), (gst_pad_set_pad_template):
15995         * gst/gstpad.h:
15996         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15997         (gst_pad_template_class_init), (gst_pad_template_init),
15998         (gst_pad_template_dispose), (name_is_valid),
15999         (gst_static_pad_template_get), (gst_pad_template_new),
16000         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16001         (gst_pad_template_pad_created):
16002         * gst/gstpadtemplate.h:
16003           inlined two more docs
16004           factored gstpadtemplate out of gstpad
16005
16006 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
16007
16008         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16009         (test_children_state_change_order_semi_sink):
16010           Fix test case: we can't rely on a fixed state change order when
16011           going from READY => PAUSED because the sink might commit its 
16012           new state first when the first buffer created by the source 
16013           reaches the sink before the source has finished its change state.
16014           (Test case still fails at times, see #316856, comment 5 onwards)
16015
16016 2005-09-24  Wim Taymans  <wim@fluendo.com>
16017
16018         * docs/design/part-events.txt:
16019         * docs/design/part-gstbus.txt:
16020         * docs/design/part-gstpipeline.txt:
16021         * docs/design/part-messages.txt:
16022         * docs/design/part-overview.txt:
16023         * docs/design/part-segments.txt:
16024         * gst/gstbin.c:
16025         * gst/gstbuffer.c:
16026         * gst/gstclock.c:
16027         * gst/gstelement.c:
16028         * gst/gstevent.c:
16029         * gst/gstfilter.c:
16030         * gst/gstiterator.c:
16031         Various documentation updates.
16032
16033 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16034
16035         * gst/gstclock.h:
16036           Well, that's embarassing.  Luckily we weren't using
16037           GST_CLOCK_DIFF anywhere.
16038
16039 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16040
16041         * common/gtk-doc.mak:
16042           don't fail on building XML, FC4 slave shows a bunch of doc
16043           missing bits that I don't get
16044         * gst/gstpad.c:
16045         * gst/gstpipeline.c:
16046         * gst/gststructure.c:
16047           some doc updates
16048
16049 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
16050
16051         * docs/design/part-gstbin.txt:
16052         * docs/design/part-gstbus.txt:
16053         * gst/gstbus.c:
16054           Add blurb about how the bus goes into flushing mode and
16055           drops all messages when its bin goes from READY into NULL 
16056           state.
16057
16058 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16059
16060         * docs/gst/gstreamer-sections.txt:
16061         * gst/gststructure.c: (gst_structure_get_clock_time):
16062         * gst/gststructure.h:
16063           add a method to get a GstClockTime out of a structure
16064
16065 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
16066
16067         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16068         (test_children_state_change_order_semi_sink), (gst_bin_suite):
16069           Added test to check state change order in bins (can still be made
16070           to fail here under heavy disk load; bails out with 'Push on pad
16071           fakesink:sink0, but it was not activated in push mode').
16072
16073         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16074           Fix state change order when there is only a semi sink (#316856)
16075
16076         * gst/gstbus.c: (gst_bus_class_init):
16077           Use _class_peek_parent(), not _class_ref(); fix docs to say
16078           'default main context' instead of 'mainloop' where that is
16079           what's meant.
16080
16081         * gst/gstelement.c: (gst_element_commit_state),
16082         (gst_element_set_state):
16083           Fix typos in debug messages
16084
16085 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16086
16087         * docs/README:
16088         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16089         * gst/gstpluginfeature.c:
16090         * gst/gstutils.c:
16091           various doc updates
16092         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16093           change an assert into an error until it gets fixed properly
16094
16095 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
16096
16097         * docs/gst/gstreamer-sections.txt:
16098         * docs/gst/tmpl/.cvsignore:
16099         * docs/gst/tmpl/gstelement.sgml:
16100         * docs/gst/tmpl/gstinfo.sgml:
16101         * docs/gst/tmpl/gstobject.sgml:
16102         * gst/gstelement.c:
16103         * gst/gstelement.h:
16104         * gst/gstinfo.c:
16105         * gst/gstinfo.h:
16106         * gst/gstobject.c: (gst_object_class_init):
16107         * gst/gstobject.h:
16108           inlined 3 more biiiig doc files and added some missing docs on the fly
16109
16110 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16111
16112         * check/gst/.cvsignore:
16113         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16114         * gst/gstregistryxml.c: (load_plugin),
16115         (gst_registry_xml_save_plugin):
16116           put back source in registry.  add checks for find_plugin.
16117         * testsuite/states/bin.c: (assert_state), (empty_bin),
16118         (test_adding_one_element), (main):
16119         * testsuite/states/locked.c: (main):
16120           some compile/run fixes
16121
16122 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16123
16124         * check/gst/gstvalue.c: (GST_START_TEST):
16125           fix leaks in the test itself
16126
16127 2005-09-22  Wim Taymans  <wim@fluendo.com>
16128
16129         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16130         (gst_base_sink_send_event), (gst_base_sink_peer_query),
16131         (gst_base_sink_query):
16132         Prepare for more accurate position reporting and query
16133         handling.
16134
16135         * gst/gstelement.c: (gst_element_send_event),
16136         (gst_element_set_state):
16137         Add some comment.
16138
16139 2005-09-22  Wim Taymans  <wim@fluendo.com>
16140
16141         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16142         (gst_query_parse_segment):
16143         * gst/gstquery.h:
16144         More documentation.
16145         Add segment query for future use.
16146
16147 2005-09-22  Wim Taymans  <wim@fluendo.com>
16148
16149         * gst/gstbin.c: (gst_bin_add_func):
16150         Some more debug info.
16151
16152         * gst/gstelement.c: (gst_element_send_event):
16153         Simplify send_event
16154
16155         * gst/gstelement.h:
16156         Don't know how flags got broken.
16157
16158         * gst/gstquery.h:
16159         Added new query.
16160
16161 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
16162
16163         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16164           Add simplistic test suite for GST_TYPE_DATE serialisation and
16165           deserialisation.
16166
16167 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
16168
16169         * docs/gst/gstreamer-sections.txt:
16170         * gst/gststructure.c: (gst_structure_set_valist),
16171         (gst_structure_get_date):
16172         * gst/gststructure.h:
16173         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16174         (gst_date_copy), (gst_value_compare_date),
16175         (gst_value_serialize_date), (gst_value_deserialize_date),
16176         (gst_value_transform_date_string),
16177         (gst_value_transform_string_date), (_gst_value_initialize):
16178         * gst/gstvalue.h:
16179           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16180           bunch of utility functions along with a hack that checks that
16181           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16182           is required. Part of the grand scheme in #170777.
16183
16184 2005-09-22  Andy Wingo  <wingo@pobox.com>
16185
16186         * gst/gstconfig.h.in: Psych out gtk-doc.
16187
16188         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16189
16190         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16191
16192         * tools/gst-inspect.c (print_element_list): Plug some
16193         inconsequential leaks.
16194
16195         * gst/gstregistry.c (gst_registry_get_default): Doc.
16196
16197         * check/gst/gstplugin.c: 
16198         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16199         * gst/gstelementfactory.c (gst_element_factory_create): 
16200         * gst/gstindexfactory.c (gst_index_factory_create): Update for
16201         refcount changes.
16202
16203         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16204         (gst_plugin_feature_load): Doc, don't eat refs.
16205
16206         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16207         (gst_plugin_list_free): Doc.
16208         (gst_plugin_load_file): Doc updates.
16209
16210         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16211         accessors returning refcounted objects, return a ref.
16212
16213         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16214         accessor for caps. IDEMPOTENCE. Oh yes.
16215
16216 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
16217
16218         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16219
16220         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16221         (_gst_debug_register_funcptr):
16222           Add mutex to serialise access to the hash table with
16223           the function pointer => function name string mapping;
16224           make that hash table static scope (#316809).
16225
16226         * gst/registries/.cvsignore:
16227           Remove left-over file.
16228
16229 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
16230
16231         * docs/pwg/appendix-porting.xml:
16232           And something about newsegment events and caps-on-buffers to
16233           the porting guide (feel free to improve).
16234
16235 2005-09-21  Andy Wingo  <wingo@pobox.com>
16236
16237         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16238         data and event probes on the same pad.
16239         (test_buffer_probe_once): Test that removing probes from within
16240         the probe functions works.
16241
16242 2005-09-21  Andy Wingo  <wingo@pobox.com>
16243
16244         * check/gst/gstutils.c: New file.
16245         (test_buffer_probe_n_times): A simple buffer probe test. More to
16246         come, foolios.
16247
16248         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16249         have-data::buffer, not have-data.
16250         (gst_pad_add_event_probe): Likewise for have-data::event.
16251         (gst_pad_add_data_probe): More docs. The part about 'resolving the
16252         peer' isn't quite right yet though.
16253         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
16254         (gst_pad_remove_data_probe): Change to take the guint handler_id
16255         as their arg, not the function+data, which is more glib-like.
16256
16257         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16258         the signal emission to indicate if the data is a buffer or an
16259         event.
16260         (gst_pad_get_type): Initialize buffer and event quarks.
16261         (gst_pad_class_init): have-data is now a detailed signal, yes it
16262         is.
16263
16264 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
16265
16266         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16267         * gst/gstutils.c: (gst_util_set_value_from_string),
16268         (gst_util_set_object_arg):
16269           Don't put functional code in g_return_if_fail() or
16270           g_return_val_if_fail() statements, otherwise things will 
16271           break when G_DISABLE_CHECKS is defined during compilation.
16272
16273 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16274
16275         * docs/gst/tmpl/.cvsignore:
16276         * docs/gst/tmpl/gstvalue.sgml:
16277         * gst/gstvalue.c:
16278         * gst/gstvalue.h:
16279           inlied another one and added  some obvious docs
16280
16281 2005-09-21  Wim Taymans  <wim@fluendo.com>
16282
16283         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16284         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16285         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16286         (gst_fdsrc_get_property), (gst_fdsrc_create):
16287         * gst/elements/gstfdsrc.h:
16288         Properly implement fdsrc. Removed signal and timeout,
16289         better implemented somewhere else.
16290
16291 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16292
16293         * docs/gst/tmpl/.cvsignore:
16294         * docs/gst/tmpl/gstimplementsinterface.sgml:
16295         * gst/gstinterface.c:
16296           inlined more docs
16297
16298 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16299
16300         * docs/gst/gstreamer-sections.txt:
16301         * docs/gst/tmpl/.cvsignore:
16302         * docs/gst/tmpl/gstenumtypes.sgml:
16303           remove obsolete doc file
16304
16305 2005-09-21  David Schleef  <ds@schleef.org>
16306
16307         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16308         little beer, fix a little leak.
16309
16310 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16311
16312         * docs/gst/gstreamer-docs.sgml:
16313         * docs/gst/gstreamer-sections.txt:
16314         * docs/gst/tmpl/.cvsignore:
16315         * gst/Makefile.am:
16316         * gst/gst.h:
16317         * gst/gstbin.c:
16318         * gst/gstelement.h:
16319         * gst/gstindex.c: (gst_index_class_init):
16320         * gst/gstindex.h:
16321         * gst/gstindexfactory.c: (gst_index_factory_get_type),
16322         (gst_index_factory_class_init), (gst_index_factory_init),
16323         (gst_index_factory_finalize), (gst_index_factory_new),
16324         (gst_index_factory_destroy), (gst_index_factory_find),
16325         (gst_index_factory_create), (gst_index_factory_make):
16326         * gst/gstindexfactory.h:
16327         * gst/gstpluginfeature.c:
16328         * gst/gstpluginfeature.h:
16329         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16330           more docs inlined, splitted gstindex.{c,h}
16331
16332 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16333
16334         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16335           fix a leak
16336
16337 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
16338
16339         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16340           Set sync to FALSE by default.
16341
16342 2005-09-20  Wim Taymans  <wim@fluendo.com>
16343
16344         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16345         (gst_base_sink_init):
16346         Make sync property settable from subclass.
16347
16348         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16349         (gst_fake_sink_change_state):
16350         Set sync to FALSE by default.
16351
16352 2005-09-20  Wim Taymans  <wim@fluendo.com>
16353
16354         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16355         * tools/gst-launch.c: (main):
16356         The timeout handler should have lower priority than the source
16357         so we don't timeout before popping a message with 0 timeout.
16358         Dump error messages after failed state change.
16359
16360 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
16361
16362         * tools/gst-inspect.c: (print_element_properties_info):
16363           Fix two typos.
16364
16365 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16366
16367         * check/gst/gstevent.c:
16368         * gst/elements/gstfakesink.c:
16369         * gst/elements/gstfakesink.h:
16370           remove the sync property from fakesink.
16371           has the side effect of setting sync TRUE
16372           for fakesink, which is a change.  Anyone who knows how
16373           to fix this nicely in a GObject-y way, feel free.
16374
16375 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16376
16377         * docs/gst/gstreamer-docs.sgml:
16378           remove probe refsection
16379
16380 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16381
16382         * check/Makefile.am:
16383           disable valgrinding the controller test again
16384         * docs/gst/gstreamer-sections.txt:
16385           update for api-changes
16386
16387 2005-09-20  Wim Taymans  <wim@fluendo.com>
16388
16389         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16390         (gst_base_sink_set_property), (gst_base_sink_get_property),
16391         (gst_base_sink_do_sync):
16392         * gst/base/gstbasesink.h:
16393         Added sync property to basesink to disable clock sync.
16394
16395 2005-09-20  Andy Wingo  <wingo@pobox.com>
16396
16397         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16398         eating the caller's refcount.
16399
16400         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
16401         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16402         refcount.
16403
16404         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16405         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16406         of GLib 2.8 public, so we can know which refcount to check in
16407         tests.
16408
16409         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16410         (gst_object_init): Only set the gst refcount if we're going ahead
16411         with the refcount hack.
16412
16413 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16414
16415         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16416         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16417           more leaks plumbed, added more debug-logging
16418         * gst/gstmacros.h:
16419           whitespace fix
16420
16421 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16422
16423         * gst/gstmessage.c:
16424           remove include of gstmemchunk.h
16425
16426 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16427
16428         * gst/gstclock.c: (_gst_clock_id_free):
16429           Commit from the Political Party For More Atomic CVS Commits,
16430           so that people don't waste too much of their day fishing
16431           out obvious leaks out of massive commits.
16432           Oh, and fix a pretty damn obvious leak in the memchunk
16433           removal code.
16434
16435 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16436
16437         * check/Makefile.am:
16438         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16439           plug mem-leak, re-add to valgrindable tests
16440
16441 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16442
16443         * gst/gstplugin.h:
16444           unbreak the build for those who have chronic arthritis
16445           and typing "make check" is just too taxing on the hands
16446
16447 2005-09-20  Andy Wingo  <wingo@pobox.com>
16448
16449         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16450         really want it out, you should fix plugins at the same time.
16451
16452 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
16453
16454         * configure.ac:
16455         * docs/gst/gstreamer-sections.txt:
16456         * gst/gstobject.c:
16457           added missing symbols to api docs
16458           disable ref-count hack if we have glib >= 2.8
16459
16460 2005-09-19  David Schleef  <ds@schleef.org>
16461
16462         * docs/gst/Makefile.am: Ignore a few more internal headers
16463         * docs/gst/gstreamer-docs.sgml: Remove old sections
16464         * docs/gst/gstreamer-sections.txt: Remove old sections
16465         * docs/gst/tmpl/gstobject.sgml: update
16466         * docs/gst/tmpl/gstplugin.sgml: update
16467         * docs/gst/tmpl/gstpluginfeature.sgml: update
16468         * docs/random/ds/0.9-suggested-changes: update.
16469         * gst/Makefile.am: remove memchunk and trashstack, since they're
16470           not used.
16471         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16472         * gst/gst.h: don't include some headers
16473         * gst/gstchildproxy.c: add gstmarshal.h
16474         * gst/gstclock.c: Don't use memchunks
16475         * gst/gstminiobject.c: Add some docs
16476         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16477         * gst/gstobject.h: same
16478         * gst/gstplugin.c: include gstmacros.h
16479         * gst/gstplugin.h: don't include gstmacros.h, since it's private
16480         * gst/gstquery.c: don't use memchunks
16481         * gst/gstregistry.c: rename gst_registry_deinit()
16482         * gst/gstregistry.h: same
16483
16484 2005-09-19  David Schleef  <ds@schleef.org>
16485
16486         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16487         * docs/libs/gstreamer-libs-sections.txt:
16488         * docs/libs/tmpl/gstgetbits.sgml:
16489         * docs/libs/tmpl/gstputbits.sgml:
16490
16491 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
16492
16493         * win32/gstenumtypes.c:
16494         * win32/gstenumtypes.h:
16495           Update.
16496
16497 2005-09-19  Wim Taymans  <wim@fluendo.com>
16498
16499         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16500         Automatically PAUSE and RESUME a pipeline when a flushing seek
16501         is performed.
16502
16503 2005-09-19  Andy Wingo  <wingo@pobox.com>
16504
16505         * gst/gstregistry.h: Spacing fixen.
16506
16507 2005-09-19  Wim Taymans  <wim@fluendo.com>
16508
16509         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16510         Handle state change failure more correctly.
16511
16512 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16513
16514         * check/Makefile.am:
16515         * check/pipelines/cleanup.c: (run_pipeline):
16516         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16517         (GST_START_TEST):
16518           enable cleanup again after fixing the leak
16519         * docs/README:
16520           some more info on docs
16521
16522 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16523
16524         * check/Makefile.am:
16525           re-enable tests now that leaks are plugged
16526         * check/gst/gst.c:
16527         * check/gst/gstbin.c:
16528         * check/gst/gstpipeline.c:
16529           add some more tests while fixing leaks
16530         * common/check.mak:
16531           make sure binaries are uptodate when valgrinding/gdbing
16532         * gst/gst.c:
16533         * gst/gstelementfactory.c:
16534           remove a ref too many, and add a FIXME for when we get
16535           round to disposing of classes
16536         * gst/gstplugin.c:
16537           fix the refcounting when loading a plugin from a file and
16538           the code pretends that the pointer is the same even though
16539           of course it can change
16540         * gst/gstpluginfeature.c:
16541           unref plugins marked cached (a bit confusing as a name)
16542           as the docs state should be done
16543           various doc additions to explain refcounting
16544         * gst/gstregistry.c:
16545         * gst/gstregistryxml.c:
16546           debugging
16547
16548 2005-09-19  Wim Taymans  <wim@fluendo.com>
16549
16550         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16551         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16552         (send_messages), (GST_START_TEST), (gstbus_suite):
16553         * check/gst/gstpipeline.c: (GST_START_TEST):
16554         * check/pipelines/cleanup.c: (run_pipeline):
16555         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16556         (GST_START_TEST):
16557         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16558         (gst_bus_source_check), (gst_bus_source_dispatch),
16559         (gst_bus_create_watch), (gst_bus_add_watch_full),
16560         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16561         * gst/gstbus.h:
16562         * tools/gst-launch.c: (event_loop):
16563         * tools/gst-md5sum.c: (event_loop):
16564         GstBusHandler -> GstBusFunc, return value has the same meaning as
16565         any other GSource (FALSE == remove source).
16566         _add_watch() and _add_watch_full() now take a MessageType mask to
16567         only handle specific types of messages.
16568         _poll() returns the GstMessage instead of the message type to avoid
16569         race conditions.
16570         _have_pending() takes a MessageType mask now too.
16571         Added testsuite for multiple bus watches.
16572         Fix testsuites and applications for new bus API.
16573
16574 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16575
16576         * check/Makefile.am:
16577           mark a bunch of the tests as to fix until we fix them
16578
16579 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16580
16581         * common/check.mak:
16582           use GST_PLUGIN settings for valgrind tests as well, so we're
16583           valgrinding the correct thing
16584         * gst/gst.c: (init_post):
16585           plug another leak
16586
16587 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16588
16589         * gst/gst.c: (init_post), (gst_deinit):
16590         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16591         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16592         * gst/gstindex.c: (gst_index_factory_class_init),
16593         (gst_index_factory_finalize):
16594         * gst/gstobject.c: (gst_object_dispose):
16595         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16596         (gst_plugin_load_file), (gst_plugin_desc_free):
16597         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16598         (gst_plugin_feature_finalize):
16599         * gst/gstregistry.c: (gst_registry_class_init),
16600         (gst_registry_init), (gst_registry_finalize),
16601         (gst_registry_get_default), (gst_registry_deinit):
16602         * gst/gstregistry.h:
16603         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16604           various cleanups and memleak plugging.  make valgrind is happy now.
16605
16606 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16607
16608         * common/check.mak:
16609           add a check-valgrind target
16610
16611 2005-09-18  David Schleef  <ds@schleef.org>
16612
16613         * tools/gst-inspect.c: Revert the GOption code.
16614
16615 2005-09-17  David Schleef  <ds@schleef.org>
16616
16617         * check/Makefile.am: Fix environment variables.
16618         * check/gst/gstplugin.c: Fix for API changes.
16619         * tools/gst-inspect.c: Fix for API changes.
16620         * tools/gst-xmlinspect.c: Fix for API changes.
16621         * gst/gstelementfactory.c:
16622         * gst/gstplugin.c:
16623         * gst/gstplugin.h:
16624         * gst/gstpluginfeature.c:
16625         * gst/gstpluginfeature.h:
16626         * gst/gstregistry.c:
16627         * gst/gstregistry.h:
16628         * gst/gstregistryxml.c:
16629         * gst/gsttypefind.c:
16630         * gst/gsttypefindfactory.c:
16631         * gst/indexers/gstfileindex.c:
16632         * gst/indexers/gstmemindex.c:
16633         * gst/schedulers/Makefile.am:
16634           Change registry to keep track of both plugins and features,
16635           removing the feature tracking from plugins themselves.
16636
16637 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16638
16639         * check/Makefile.am:
16640         * tools/gst-register.1.in:
16641           remove gst-register
16642
16643 2005-09-15  David Schleef  <ds@schleef.org>
16644
16645         * check/gst/gstplugin.c:
16646         * gst/gstelementfactory.c:
16647         * gst/gstplugin.c:
16648         * gst/gstpluginfeature.c:
16649         * gst/gstregistry.c:
16650           Getting tired of debugging.  Disabled all the unreffing of
16651           plugins and features, which fixes the segfaults, but of
16652           course leaks like crazy.  At least playbin works.
16653
16654 2005-09-15  David Schleef  <ds@schleef.org>
16655
16656         * check/gst/gstplugin.c: (register_check_elements),
16657         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16658         More testing
16659         * gst/elements/gsttypefindelement.c: Fix refcounting.
16660         * gst/gsttypefind.c:
16661         * gst/gsttypefindfactory.c:
16662         * gst/gsttypefindfactory.h:
16663
16664 2005-09-15  David Schleef  <ds@schleef.org>
16665
16666         * gst/gstindex.c: get refcounting correct.
16667         * gst/gstregistry.c: Handle the case where a feature/plugin is
16668           not found.
16669
16670 2005-09-15  David Schleef  <ds@schleef.org>
16671
16672         * check/Makefile.am:
16673         * check/gst/gstplugin.c: Add test
16674         * gst/gstplugin.c: Fix problems noticed by testsuite
16675         * gst/gstplugin.h:
16676         * gst/gstregistry.c: 
16677         * gst/gstregistry.h:
16678
16679 2005-09-15  David Schleef  <ds@schleef.org>
16680
16681         * gst/gstplugin.c: Implement semi-decent recounting and locking
16682           in plugins and plugin features.
16683         * gst/gstplugin.h:
16684         * gst/gstpluginfeature.c:
16685         * gst/gstpluginfeature.h:
16686         * gst/gstregistry.c:
16687
16688 2005-09-15  Michael Smith <msmith@fluendo.com>
16689
16690         * gst/gstregistry.c: (gst_registry_get_feature_list):
16691           Implement this. Makes oggdemux work; decodebin still broken.
16692
16693 2005-09-14  David Schleef  <ds@schleef.org>
16694
16695         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16696           #316076)
16697         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16698         * gst/check/Makefile.am:
16699         * libs/gst/controller/Makefile.am:
16700         * libs/gst/dataprotocol/Makefile.am:
16701
16702 2005-09-14  David Schleef  <ds@schleef.org>
16703
16704         * configure.ac: Remove getbits library.  Nothing uses it, and
16705           it should be in something like liboil if someone did want
16706           to use it.
16707         * libs/gst/Makefile.am:
16708         * libs/gst/getbits/Makefile.am:
16709         * libs/gst/getbits/gbtest.c:
16710         * libs/gst/getbits/getbits.c:
16711         * libs/gst/getbits/getbits.h:
16712         * libs/gst/getbits/gstgetbits_generic.c:
16713         * libs/gst/getbits/gstgetbits_i386.s:
16714         * libs/gst/getbits/gstgetbits_inl.h:
16715
16716 2005-09-14  David Schleef  <ds@schleef.org>
16717
16718         * gst/Makefile.am: Dist glib-compat.h
16719
16720 2005-09-14  David Schleef  <ds@schleef.org>
16721
16722         * configure.ac: Remove gst/registries, since it's no longer used.
16723         * gst/registries/Makefile.am:
16724         * gst/registries/gstlibxmlregistry.c:
16725         * gst/registries/gstlibxmlregistry.h:
16726         * gst/registries/gstxmlregistry.c:
16727         * gst/registries/gstxmlregistry.h:
16728         * gst/registries/registrytest.c:
16729
16730 2005-09-14  David Schleef  <ds@schleef.org>
16731
16732         * gst/glib-compat.h:
16733         * gst/gstregistryxml.c:
16734           Convergence is near.  Seriously.
16735
16736 2005-09-14  David Schleef  <ds@schleef.org>
16737
16738         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16739         * gst/glib-compat.h:
16740           Attempt #4 to appease the buildbots.
16741
16742 2005-09-14  David Schleef  <ds@schleef.org>
16743
16744         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16745           Attempt #3.
16746
16747 2005-09-14  David Schleef  <ds@schleef.org>
16748
16749         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16750         Attempt #2.
16751
16752 2005-09-14  David Schleef  <ds@schleef.org>
16753
16754         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16755           the new functions.
16756
16757 2005-09-14  David Schleef  <ds@schleef.org>
16758
16759         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16760         * gst/glib-compat.h: Add some functions that are in newer versions
16761           of glib than we care to require.
16762         * gst/gstregistryxml.c: Use them.
16763
16764 2005-09-14  David Schleef  <ds@schleef.org>
16765
16766         * po/POTFILES.in: remove gst-register.c
16767
16768 2005-09-14  David Schleef  <ds@schleef.org>
16769
16770         * docs/gst/gstreamer-docs.sgml:
16771         * docs/gst/gstreamer-sections.txt:
16772         * docs/gst/gstreamer.types:
16773         * docs/gst/tmpl/gstelement.sgml:
16774         * docs/gst/tmpl/gstplugin.sgml:
16775         * docs/gst/tmpl/gstpluginfeature.sgml:
16776           Documentation updates for registry changes.
16777
16778 2005-09-14  David Schleef  <ds@schleef.org>
16779
16780         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16781           because we don't require glib-2.8.
16782
16783 2005-09-14  David Schleef  <ds@schleef.org>
16784
16785         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16786           registries directory.
16787
16788 2005-09-14  David Schleef  <ds@schleef.org>
16789
16790         * check/Makefile.am:
16791         * check/generic/states.c:
16792         * gst/Makefile.am:
16793         * gst/gst.c:
16794         * gst/gst.h:
16795         * gst/gst_private.h:
16796         * gst/gstelementfactory.c:
16797         * gst/gstindex.c:
16798         * gst/gstinfo.c:
16799         * gst/gstplugin.c:
16800         * gst/gstplugin.h:
16801         * gst/gstpluginfeature.c:
16802         * gst/gstpluginfeature.h:
16803         * gst/gstregistry.c:
16804         * gst/gstregistry.h:
16805         * gst/gstregistrypool.c: remove
16806         * gst/gstregistrypool.h: remove
16807         * gst/gsttypefind.c:
16808         * gst/gsttypefindfactory.c:
16809         * gst/gsturi.c:
16810         * tools/Makefile.am:
16811         * tools/gst-compprep.c:
16812         * tools/gst-inspect.c:
16813         * tools/gst-register.c: remove
16814         * tools/gst-xmlinspect.c:
16815           Registry rewrite.  Changes registry from being a file created
16816           by a tool into a simple cache file created automatically by 
16817           libgstreamer.  Removed gst-register (because it's no longer
16818           needed).  Remove registry pools, because we only have one
16819           registry implementation (XML).  Fix up other subsystems as
16820           necessary.
16821
16822 2005-09-13  Michael Smith <msmith@fluendo.com>
16823
16824         * gst/gstconfig.h.in:
16825           Don't Use windows linking attributes for MinGW. Fixes #316157
16826
16827 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16828
16829         * gst/gstutils.c: (set_state_async_thread_func),
16830         (gst_element_set_state_async):
16831           Apparently people think it's better if this function doesn't
16832           try to set the state to whatever state was asked for on the first
16833           call to this function for any object.  Seriously.
16834
16835 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16836
16837         * check/gst/gstpipeline.c: (GST_START_TEST):
16838         * docs/gst/gstreamer-sections.txt:
16839         * gst/gstutils.c: (set_state_async_thread_func),
16840         (gst_element_set_state_async):
16841         * gst/gstutils.h:
16842           add a "gst_element_set_state_async" method that
16843           sets the state and starts a thread to make sure the state
16844           change completes as best as it can
16845
16846 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16847
16848         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16849           codify design+behaviour in testsuite after discussion
16850
16851 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16852
16853         * docs/gst/tmpl/gstelement.sgml:
16854         * docs/manual/appendix-quotes.xml:
16855           add a quote
16856         * gst/gstelement.c: (gst_element_set_state):
16857           add some debug
16858
16859 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16860
16861         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16862         (gst_base_transform_prepare_output_buf),
16863         (gst_base_transform_handle_buffer):
16864         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16865         (gst_capsfilter_prepare_buf):
16866           Remove the requirement for sub-classes to call the parent
16867           implementation of prepare_output_buffer with a wrapper function.
16868           
16869         * gst/gsttaglist.h:
16870         * gst/gsttagsetter.h:
16871           Fix #define wrapper
16872
16873 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16874
16875         * docs/gst/gstreamer-sections.txt:
16876           more doc cleanups
16877
16878 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16879
16880         * docs/gst/gstreamer-sections.txt:
16881         * docs/gst/tmpl/gstelement.sgml:
16882         * docs/gst/tmpl/gstplugin.sgml:
16883         * gst/gstminiobject.c:
16884         * gst/gstvalue.h:
16885           docs now stop throwing warnings
16886
16887 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16888
16889         * docs/gst/gstreamer-sections.txt:
16890         * docs/gst/gstreamer.types:
16891         * docs/gst/tmpl/gstpad.sgml:
16892         * docs/gst/tmpl/gsttypes.sgml:
16893         * gst/base/gstadapter.h:
16894         * gst/base/gstbasesink.h:
16895         * gst/base/gstbasesrc.h:
16896         * gst/gstbin.h:
16897         * gst/gstbuffer.h:
16898         * gst/gstbus.h:
16899         * gst/gstcaps.h:
16900         * gst/gstclock.h:
16901         * gst/gstelement.h:
16902         * gst/gstevent.h:
16903         * gst/gstmessage.h:
16904         * gst/gstpad.h:
16905         * gst/gststructure.c:
16906         * gst/registries/gstlibxmlregistry.h:
16907           various documentation fixes
16908
16909 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16910
16911         * docs/gst/gstreamer-sections.txt:
16912         * docs/gst/tmpl/gstvalue.sgml:
16913           rearrange gstvalue section
16914         * gst/gstutils.c: (gst_element_state_get_name):
16915           NONE -> VOID
16916         * gst/gstvalue.c: (_gst_value_initialize):
16917         * gst/gstvalue.h:
16918           doc updates
16919
16920 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16921
16922         * check/gst-libs/controller.c:
16923           Header include fix.
16924         * gst/base/gstbasetransform.c:
16925         (gst_base_transform_default_prepare_buf),
16926         (gst_base_transform_handle_buffer):
16927         * gst/base/gstbasetransform.h:
16928           Some more basetransform changes and fixes to enable sub-classes
16929           that modify buffer metadata only.
16930         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16931         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16932         (gst_capsfilter_prepare_buf):
16933           If the output pad has fixed allowed caps and input buffers 
16934           don't have any, set the fixed caps on outgoing buffers.
16935
16936 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16937         * check/elements/identity.c: (GST_START_TEST):
16938           Make the error a little clearer when the test fails because
16939           identity made a copy of the buffer.
16940         * docs/gst/gstreamer-sections.txt:
16941           New symbols in gstbasetransform.h
16942         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16943         (gst_base_transform_init), (gst_base_transform_transform_size),
16944         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16945         (gst_base_transform_default_prepare_buf),
16946         (gst_base_transform_get_unit_size),
16947         (gst_base_transform_buffer_alloc),
16948         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16949         (gst_base_transform_change_state),
16950         (gst_base_transform_set_passthrough),
16951         (gst_base_transform_set_in_place),
16952         (gst_base_transform_is_in_place):
16953         * gst/base/gstbasetransform.h:
16954           Change BaseTransform to separate in_place operate from same_caps
16955           output. in_place implies that the element can perform the transform
16956           on incoming buffers in-place, even if the caps on the output are
16957           different.
16958           Sub-class elements can now implement special buffer allocation
16959           methods for outgoing buffers if they wish to.
16960           Big documentation addition.
16961         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16962         * gst/elements/gstelements.c:
16963           Changes for basetransform modifications.
16964         * gst/elements/Makefile.am:
16965         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16966           Compile fix. Extra debug output.
16967
16968 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16969
16970         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16971         (gst_pad_suite):
16972           add tests for valid pad naming
16973         * gst/check/gstcheck.c: (gst_check_log_message_func),
16974         (gst_check_log_critical_func):
16975           add ASSERT_WARNING
16976           remove printing of code, it is fragile when the code contains
16977           % and the line number is enough info
16978         * gst/check/gstcheck.h:
16979         * gst/gstpad.c: (gst_pad_template_new):
16980           fix memleaks
16981
16982 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16983
16984         * configure.ac:
16985           say what CHECK flags we use
16986         * docs/libs/gstreamer-libs.types:
16987         * libs/gst/controller/Makefile.am:
16988         * libs/gst/controller/gst-controller.c:
16989         * libs/gst/controller/gst-controller.h:
16990         * libs/gst/controller/gst-helper.c:
16991         * libs/gst/controller/gst-interpolation.c:
16992         * libs/gst/controller/gstcontroller.c:
16993         * libs/gst/controller/gsthelper.c:
16994         * libs/gst/controller/gstinterpolation.c:
16995         * tools/gst-inspect.c: (print_plugin_info):
16996           we don't use dashes in header names
16997
16998 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16999
17000         * check/Makefile.am:
17001         * check/gst/.cvsignore:
17002         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
17003         (gst_pipeline_suite), (main):
17004           adding a test for pipelines and state changes
17005         * gst/gstutils.c: (get_state_func):
17006           add some debugging
17007         * gstreamer.spec.in:
17008           fix up spec file
17009
17010 2005-09-08  Michael Smith <msmith@fluendo.com>
17011
17012         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
17013         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
17014         (gst_file_src_is_seekable), (gst_file_src_get_size),
17015         (gst_file_src_start):
17016         * gst/elements/gstfilesrc.h:
17017           Various fixes for unseekable, unmmapable, and non-normal files, so
17018           that fallback to read() rather than mmap() works.
17019         * gst/gstevent.c: (gst_event_new_newsegment):
17020           Allow newsegment events with segment_start == segment_end, as will
17021           correctly happen if you use filesrc on a zero-size file, for
17022           example.
17023
17024 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
17025
17026         * gst/gstplugin.c: (gst_plugin_load_file):
17027           Call g_module_close when we don't load the module
17028
17029         * gst/registries/gstlibxmlregistry.c:
17030         (gst_xml_registry_get_property):
17031           Port leak fix from 0.8
17032
17033 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
17034
17035         * docs/gst/gstreamer-docs.sgml:
17036         * docs/gst/tmpl/.cvsignore:
17037         * docs/gst/tmpl/gsttrace.sgml:
17038         * docs/gst/tmpl/gsttrashstack.sgml:
17039         * gst/Makefile.am:
17040         * gst/gst.h:
17041         * gst/gstelement.h:
17042         * gst/gstevent.h:
17043         * gst/gstmessage.c:
17044         * gst/gstmessage.h:
17045         * gst/gsttag.c:
17046         * gst/gsttag.h:
17047         * gst/gsttaginterface.c:
17048         * gst/gsttaginterface.h:
17049         * gst/gsttaglist.c:
17050         * gst/gsttaglist.h:
17051         * gst/gsttagsetter.c:
17052         * gst/gsttagsetter.h:
17053         * gst/gsttrace.c:
17054         * gst/gsttrace.h:
17055         * gst/gsttrashstack.c:
17056           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17057           inlined docs for gsttrace, gsttrashstack
17058
17059 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
17060
17061         * gst/Makefile.am:
17062         * gst/elements/gstbufferstore.h:
17063         * gst/elements/gsttypefindelement.c:
17064         * gst/elements/gsttypefindelement.h:
17065         * gst/gst.h:
17066         * gst/gsttypefind.c:
17067         * gst/gsttypefind.h:
17068         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17069         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17070         (gst_type_find_factory_dispose),
17071         (gst_type_find_factory_unload_thyself),
17072         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17073         (gst_type_find_factory_get_caps),
17074         (gst_type_find_factory_get_extensions),
17075         (gst_type_find_factory_call_function):
17076         * gst/gsttypefindfactory.h:
17077         * gst/registries/gstlibxmlregistry.c:
17078         * gst/registries/gstxmlregistry.c:
17079           splitted gsttypefind into gsttypefind, gsttypefindfactory
17080
17081 2005-09-07  Andy Wingo  <wingo@pobox.com>
17082
17083         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17084         condition whereby the pad's task function is entered before the
17085         pad_mode variable was set.
17086
17087 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
17088
17089         * gst/gstpad.c: (gst_pad_alloc_buffer):
17090           Catch misbehaving pad_alloc functions that don't
17091           set up caps and do it for them.
17092
17093 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
17094
17095         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17096           test for pipe!=NULL
17097         * docs/gst/tmpl/.cvsignore:
17098         * docs/gst/tmpl/gstmemchunk.sgml:
17099         * docs/gst/tmpl/gstparse.sgml:
17100         * docs/gst/tmpl/gsttaglist.sgml:
17101         * docs/gst/tmpl/gsttagsetter.sgml:
17102         * docs/gst/tmpl/gsttypefind.sgml:
17103         * docs/gst/tmpl/gsttypefindfactory.sgml:
17104         * gst/gstmemchunk.c:
17105         * gst/gstparse.c:
17106         * gst/gsttag.c:
17107         * gst/gsttaginterface.c:
17108         * gst/gsttypefind.c:
17109         * gst/gsttypefind.h:
17110           inlined more docs
17111
17112 === release 0.9.2 ===
17113
17114 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17115
17116         * NEWS:
17117         * RELEASE:
17118         * configure.ac:
17119           releasing 0.9.2, "South"
17120
17121 2005-09-05  Andy Wingo  <wingo@pobox.com>
17122
17123         * gst/registries/gstxmlregistry.h:
17124         * gst/registries/gstxmlregistry.c: Um... resurrect...
17125         
17126         * gst/registries/gstxmlregistry.h:
17127         * gst/registries/gstxmlregistry.c: and update to newer API.
17128         Incidentally they should be a bit faster now that they don't have
17129         to parse the caps.
17130         
17131 2005-09-05  Andy Wingo  <wingo@pobox.com>
17132
17133         * gst/registries/gstxmlregistry.h:
17134         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17135         replaced by the libxml registry a while back
17136
17137 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17138
17139         * docs/gst/tmpl/gstplugin.sgml:
17140         * gst/elements/gstelements.c:
17141         * gst/gst.c:
17142         * gst/gstplugin.c: (gst_plugin_register_func),
17143         (gst_plugin_desc_copy), (gst_plugin_desc_free),
17144         (gst_plugin_get_source):
17145         * gst/gstplugin.h:
17146         * gst/registries/gstlibxmlregistry.c: (load_plugin),
17147         (gst_xml_registry_save_plugin):
17148         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17149         (gst_xml_registry_save_plugin):
17150         * tools/gst-inspect.c: (print_plugin_info):
17151           add a "source" plugin description field, to represent the source
17152           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
17153           will set it to PACKAGE, which is automake's idea of the name of
17154           the source project.
17155
17156 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17157
17158         * Makefile.am:
17159         * autogen.sh:
17160         * configure.ac:
17161         * docs/Makefile.am:
17162         * docs/faq/Makefile.am:
17163         * docs/gst/tmpl/gstelement.sgml:
17164         * docs/gst/tmpl/gsttypes.sgml:
17165         * docs/htmlinstall.mak:
17166         * docs/manual/Makefile.am:
17167         * docs/pwg/Makefile.am:
17168           reorganize doc build a little
17169           split out docbook and gtk-doc stuff
17170           have two separate --enable's and enable them through autogen
17171           but disable by default in configure (to be similar to other
17172           projects)
17173         * gstreamer.spec.in:
17174           clean up docs install
17175         * po/af.po:
17176         * po/az.po:
17177         * po/ca.po:
17178         * po/cs.po:
17179         * po/de.po:
17180         * po/en_GB.po:
17181         * po/fr.po:
17182         * po/it.po:
17183         * po/nb.po:
17184         * po/nl.po:
17185         * po/ru.po:
17186         * po/sq.po:
17187         * po/sr.po:
17188         * po/sv.po:
17189         * po/tr.po:
17190         * po/uk.po:
17191         * po/vi.po:
17192           translation updates
17193
17194 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
17195
17196         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17197           Add comment.
17198           
17199         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17200         (gst_fake_sink_change_state):
17201           Make state change function thread-safe.
17202           
17203         * gst/gstpad.c: (gst_pad_alloc_buffer):
17204           Set offset on generic buffer allocated by fallback.
17205
17206 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
17207
17208         * docs/gst/gstreamer-sections.txt:
17209         * docs/gst/tmpl/gstelement.sgml:
17210         * gst/gstpad.c:
17211         * libs/gst/controller/gst-controller.c:
17212         (gst_controlled_property_set_interpolation_mode),
17213         (gst_controlled_property_new),
17214         (gst_controller_find_controlled_property):
17215          run the wingo-magic script against the docs
17216
17217 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
17218
17219         * docs/gst/gstreamer-docs.sgml:
17220         * docs/gst/gstreamer-sections.txt:
17221         * docs/gst/tmpl/.cvsignore:
17222         * docs/gst/tmpl/gstelementdetails.sgml:
17223         * docs/gst/tmpl/gstelementfactory.sgml:
17224         * gst/gst.c:
17225         * gst/gstbus.c:
17226         * gst/gstelementfactory.c:
17227         * gst/gstelementfactory.h:
17228           merged elementdetails docs into elementfactory docs
17229           inlined both
17230
17231 2005-09-02  Andy Wingo  <wingo@pobox.com>
17232
17233         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17234         consider this enum an enum and not a flags.
17235
17236 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
17237
17238         * docs/gst/gstreamer-docs.sgml:
17239         * docs/gst/tmpl/.cvsignore:
17240         * docs/gst/tmpl/gstghostpad.sgml:
17241         * docs/gst/tmpl/gstiterator.sgml:
17242         * docs/gst/tmpl/gstmacros.sgml:
17243         * docs/gst/tmpl/gstrealpad.sgml:
17244         * docs/gst/tmpl/gstregistry.sgml:
17245         * docs/gst/tmpl/gstregistrypool.sgml:
17246         * docs/gst/tmpl/gststructure.sgml:
17247         * docs/gst/tmpl/gstsystemclock.sgml:
17248         * docs/gst/tmpl/gsttrace.sgml:
17249         * gst/gstghostpad.c:
17250         * gst/gstmacros.h:
17251         * gst/gstmemchunk.c:
17252         * gst/gstmemchunk.h:
17253         * gst/gstqueue.c:
17254         * gst/gstregistry.c:
17255         * gst/gstregistrypool.c:
17256         * gst/gststructure.c:
17257         * gst/gstsystemclock.c:
17258           more docs inlined
17259
17260 2005-09-02  Andy Wingo  <wingo@pobox.com>
17261
17262         * gst/gstelement.h (GstState): Renamed from GstElementState,
17263         changed to be a normal enum instead of flags.
17264         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17265         munged to be GST_STATE_CHANGE_*.
17266         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17267         work with the new state representation.
17268         (GstStateChange): New enumeration of possible state transitions.
17269         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17270         (GstElementClass::change_state): Pass the GstStateChange along as
17271         an argument. Helps language bindings, so they don't have to use
17272         tricky lock-needing macros like GST_STATE_CHANGE ().
17273
17274         * scripts/update-states (file): New script. Run it on a file to
17275         update it for state naming and API changes. Updates files in
17276         place.
17277
17278         * All files updated for the new API.
17279
17280 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17281
17282         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17283         * gst/gstutils.c: (gst_util_set_value_from_string),
17284         (gst_util_set_object_arg):
17285           fix a bunch of unchecked return values
17286         * tools/gst-complete.c: (main):
17287         * gstreamer.spec.in:
17288           clean up a little
17289
17290 2005-09-01  Wim Taymans  <wim@fluendo.com>
17291
17292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17293         (gst_base_sink_event), (gst_base_sink_do_sync),
17294         (gst_base_sink_handle_event):
17295         * gst/base/gstbasesink.h:
17296         Handle newsegments more correctly.
17297
17298         * gst/gstbus.c:
17299         Fix docs.
17300
17301         * gst/gstevent.c: (gst_event_new_newsegment):
17302         A newsegment cannot have a start_time of -1
17303
17304 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
17305
17306         * win32/gstenumtypes.c:
17307         * win32/gstenumtypes.h:
17308           Update
17309
17310 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17311
17312         * libs/gst/controller/gst-controller.c:
17313         (gst_controlled_property_set_interpolation_mode),
17314         (gst_controlled_property_new):
17315          fixed boolean again
17316
17317 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17318
17319         * docs/faq/gst-uninstalled:
17320           add -good
17321         * gst/gstevent.c:
17322         * gst/gstevent.h:
17323           remove wrong docs
17324         * gst/gstutils.c: (gst_element_link_filtered):
17325         * gst/gstutils.h:
17326           add gst_element_link_filtered
17327
17328 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17329
17330         * docs/gst/gstreamer-docs.sgml:
17331         * docs/gst/gstreamer-sections.txt:
17332         * docs/gst/tmpl/.cvsignore:
17333         * docs/gst/tmpl/gsterror.sgml:
17334         * docs/gst/tmpl/gstfilter.sgml:
17335         * docs/gst/tmpl/gsturihandler.sgml:
17336         * docs/gst/tmpl/gsturitype.sgml:
17337         * docs/gst/tmpl/gstutils.sgml:
17338         * docs/gst/tmpl/gstxml.sgml:
17339         * gst/gsterror.c:
17340         * gst/gsterror.h:
17341         * gst/gstfilter.c:
17342         * gst/gsturi.c:
17343         * gst/gsturitype.c:
17344         * gst/gstutils.c:
17345         * gst/gstxml.c:
17346           inlined more docs, fixed double id-ref
17347
17348 2005-08-31  Wim Taymans  <wim@fluendo.com>
17349
17350         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17351         (gst_base_transform_handle_buffer):
17352         Passthrough elements don't need the caps as they don't care.
17353
17354 2005-08-31  Wim Taymans  <wim@fluendo.com>
17355
17356         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17357         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17358         Don't leak refcounts on buffers.
17359
17360 2005-08-31  Wim Taymans  <wim@fluendo.com>
17361
17362         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17363         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17364         (gst_base_transform_chain), (gst_base_transform_change_state):
17365         * gst/base/gstbasetransform.h:
17366         Handle the case where we are not negotiated more gracefully.
17367
17368 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
17369
17370         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17371         (gst_file_src_map_region):
17372           Set READONLY flag on mmap'ed buffers, otherwise
17373           gst_buffer_make_writable() won't work properly (#314708).
17374
17375 2005-08-31  Wim Taymans  <wim@fluendo.com>
17376
17377         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17378         passthrough elements can even do inplace on non writable
17379         buffers (as they don't touch them).
17380
17381 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17382
17383         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17384         (gst_test_mono_source_set_property),
17385         (gst_test_mono_source_class_init), (GST_START_TEST),
17386         (gst_controller_suite):
17387           more tests (hehe I have the most)
17388         * gst/gstbus.c:
17389           describe popping messages whenusing mulltiple sources
17390         * libs/gst/controller/gst-controller.c:
17391         (gst_controlled_property_set_interpolation_mode),
17392         (gst_controlled_property_new):
17393         * libs/gst/controller/gst-controller.h:
17394         * libs/gst/controller/gst-interpolation.c:
17395           implement boolean properties
17396
17397 2005-08-31  Wim Taymans  <wim@fluendo.com>
17398
17399         * gst/gstminiobject.c: (gst_mini_object_ref):
17400         Cannot assert that the refcount has to be positive
17401         since a disposed object can be resurrected.
17402
17403 2005-08-31  Wim Taymans  <wim@fluendo.com>
17404
17405         * gst/gstpad.c: (gst_pad_init):
17406         Revert change, need to first fix badly behaving 
17407         apps.
17408
17409 2005-08-30  Wim Taymans  <wim@fluendo.com>
17410
17411         * check/elements/fakesrc.c: (setup_fakesrc):
17412         * check/elements/identity.c: (setup_identity):
17413         Activate pads before using them.
17414
17415 2005-08-30  Wim Taymans  <wim@fluendo.com>
17416
17417         * gst/base/gstadapter.c: (gst_adapter_flush):
17418         Flushing out 0 bytes is ok for this function.
17419
17420         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17421         no newsegment gives a warning and sets the start/stop to 
17422         invalid.
17423
17424         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17425         (gst_base_transform_set_passthrough):
17426         Some debug info.
17427
17428         * gst/gstminiobject.c: (gst_mini_object_ref):
17429         Check refcount here too.
17430
17431         * gst/gstpad.c: (gst_pad_init):
17432         Pads are initially flushing and refusing data.
17433
17434         * gst/gstutils.c: (gst_element_link_pads_filtered):
17435         When adding a capsfilter element make sure it has the
17436         same state as the parent bin.
17437
17438 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17439
17440         * docs/gst/tmpl/.cvsignore:
17441         * docs/gst/tmpl/gstformat.sgml:
17442         * docs/gst/tmpl/gstversion.sgml:
17443         * gst/gstbus.h:
17444         * gst/gstformat.c:
17445         * gst/gstformat.h:
17446         * gst/gstversion.h.in:
17447           more docs and two more inlined
17448
17449 2005-08-30  Wim Taymans  <wim@fluendo.com>
17450
17451         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17452         Don't sync to clock.
17453
17454 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17455
17456         * docs/gst/gstreamer-sections.txt:
17457           ultral33t func10ns deserve to appear in the docs actually
17458         * docs/gst/tmpl/.cvsignore:
17459         * docs/gst/tmpl/gstcompat.sgml:
17460         * docs/gst/tmpl/gstconfig.sgml:
17461         * gst/check/gstcheck.c:
17462         * gst/gstcompat.h:
17463         * gst/gstconfig.h.in:
17464           inlined more docs
17465
17466 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17467
17468         * docs/gst/tmpl/.cvsignore:
17469         * docs/gst/tmpl/gstquery.sgml:
17470         * docs/gst/tmpl/gstutils.sgml:
17471         * gst/gstquery.c:
17472         * gst/gstquery.h:
17473           inlined and extended docs
17474
17475 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17476
17477         * check/gst-libs/controller.c: (GST_START_TEST),
17478         (gst_controller_suite):
17479           more tests
17480         * docs/gst/tmpl/gstutils.sgml:
17481         * docs/libs/gstreamer-libs-sections.txt:
17482         * docs/libs/tmpl/gstdataprotocol.sgml:
17483           include path fixes
17484         * examples/controller/audio-example.c: (main):
17485           controller example works now
17486         * gst/gstclock.h:
17487           doc fixes
17488         * tools/gst-inspect.c: (print_element_properties_info):
17489           show param spec flags
17490
17491 2005-08-29  Andy Wingo  <wingo@pobox.com>
17492
17493         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17494
17495 2005-08-28  Andy Wingo  <wingo@pobox.com>
17496
17497         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17498         as having two arguments instead of just one. Allows superclasses
17499         to access information on subclasses -- see the terrible for() loop
17500         in gtype.c:g_type_create_instance for the reason why. All callers
17501         changed.
17502
17503 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17504
17505         * docs/design/part-messages.txt:
17506           update info
17507         * docs/gst/tmpl/.cvsignore:
17508         * docs/gst/tmpl/gstcaps.sgml:
17509         * docs/gst/tmpl/gstclock.sgml:
17510         * gst/gstbus.c:
17511         * gst/gstcaps.c:
17512         * gst/gstcaps.h:
17513         * gst/gstclock.c:
17514         * gst/gstclock.h:
17515         * gst/gstmessage.c:
17516           added descriptions for bus and message
17517           inline caps and clock docs
17518
17519 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17520
17521         * gst/gstmessage.c:
17522         * gst/gstmessage.h:
17523           doc fixes
17524
17525 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17526
17527         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17528           fix div-by-zero
17529
17530 2005-08-26  Andy Wingo  <wingo@pobox.com>
17531
17532         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17533         element_set_state's return val.
17534         (test_2_elements): Add test that's been disabled for months.
17535
17536         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17537         can-activate-pull properties.
17538
17539         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17540         can-activate-pull properties. Implement is_seekable so fakesrc can
17541         operate in pull mode.
17542
17543         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17544         properties.
17545         (gst_base_sink_activate, gst_base_sink_activate_pull)
17546         (gst_base_sink_activate_push): Make activation mode choosing work.
17547         Cleanups.
17548         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17549         is right. Make pull mode work. Post an eos before pausing in pull
17550         mode.
17551         (gst_base_sink_change_state): Pay attention to the core's
17552         change_state() return val.
17553         
17554         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17555         has-getrange properties. Cleanups.
17556         
17557         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17558         has_getrange and replace with can_activate_pull and
17559         can_activate_push.
17560
17561         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17562         locking comments. Remove has_loop, has_chain and replace with
17563         can_activate_pull and can_activate_push.
17564
17565 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17566
17567         * configure.ac:
17568         * examples/Makefile.am:
17569         * examples/metadata/Makefile.am:
17570         * examples/metadata/read-metadata.c: (message_loop),
17571         (have_pad_handler), (make_pipeline), (print_tag), (main):
17572           Add metadata reading example that loops over a list of filenames,
17573           dumping any tags found.
17574
17575         * gst/gstbus.c: (gst_bus_dispose):
17576         * gst/gstelement.c: (gst_element_dispose):
17577           Release a few potentially-held references in dispose.
17578
17579 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17580
17581         * docs/gst/tmpl/gstminiobject.sgml:
17582           do *not* add tmpl/*.sgml files to CVS!
17583
17584 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17585
17586         * libs/gst/bytestream/.cvsignore:
17587         * libs/gst/bytestream/Makefile.am:
17588         * libs/gst/bytestream/adapter.c:
17589         * libs/gst/bytestream/adapter.h:
17590         * libs/gst/bytestream/bytestream.c:
17591         * libs/gst/bytestream/bytestream.h:
17592         * libs/gst/bytestream/filepad.c:
17593         * libs/gst/bytestream/filepad.h:
17594           removing obsolete files
17595
17596 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17597
17598         * docs/gst/gstreamer-docs.sgml:
17599         * docs/libs/gstreamer-libs-docs.sgml:
17600           disabed additional index entries again, as this makes docs-gen just
17601           slow and they aren't useful yet
17602         * docs/libs/gstreamer-libs-sections.txt:
17603           little -section.txt cleanup for libs
17604
17605 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17606
17607         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17608         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17609           fix up some debugging
17610         (gst_base_transform_get_unit_size),
17611         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17612         (gst_base_transform_handle_buffer):
17613         * gst/base/gstbasetransform.h:
17614           handle and store timed NEWSEGMENT events so that subclasses that
17615           calculate time by counting samples have a segment_start time they
17616           need to add to their timestamps - see audioresample
17617
17618 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17619
17620         * gst/gstbin.h:
17621           removed ';' from the end of macro defs
17622         * docs/gst/gstreamer-docs.sgml:
17623         * docs/gst/gstreamer-sections.txt:
17624         * docs/gst/tmpl/.cvsignore:
17625         * gst/gstbus.h:
17626         * gst/gstelement.c: (gst_element_class_init),
17627         (gst_element_set_state), (activate_pads),
17628         (gst_element_save_thyself):
17629         * gst/gstevent.c: (gst_event_new_newsegment):
17630         * gst/gstevent.h:
17631         * gst/gstiterator.c:
17632         * gst/gstiterator.h:
17633         * gst/gstpad.c:
17634         * gst/gstprobe.h:
17635         * gst/gstutils.c: (gst_pad_query_convert):
17636         * gst/gstutils.h:
17637           fixed parameter name mismatches between source, header and docs
17638           added some more docs, resolved the last batch of unused elements in
17639           docs (now someone needs to doc them)
17640
17641 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17642
17643         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17644         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17645           don't walk through the plugins backwards.  Where is all this
17646           reversed logic coming from ?
17647
17648 2005-08-25  Wim Taymans  <wim@fluendo.com>
17649
17650         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17651         (gst_base_transform_transform_size),
17652         (gst_base_transform_configure_caps),
17653         (gst_base_transform_get_unit_size),
17654         (gst_base_transform_buffer_alloc),
17655         (gst_base_transform_change_state):
17656         * gst/base/gstbasetransform.h:
17657         Cache caps unit_size.
17658         Make sure we cannot negotiate up and downstream at the
17659         same time.
17660
17661 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17662
17663         * gst/gst.c: (init_pre), (init_post):
17664           register the installed plugin path after the env var
17665         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17666         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17667           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17668           directories, so the tests can prefer uninstalled over installed
17669
17670 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17671
17672         * gst/base/gstbasetransform.h:
17673           comment
17674         * gst/gstpad.c:
17675           add to docs
17676
17677 2005-08-25  Wim Taymans  <wim@fluendo.com>
17678
17679         * gst/gstbin.c: (bin_bus_handler):
17680         Be a bit more conservative about the posted message.
17681         
17682         * gst/gstbus.c: (gst_bus_post):
17683         Some cleanups, warn wrong return values.
17684
17685 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17686
17687         * check/gst/gstbin.c: (GST_START_TEST):
17688         * gst/gstbin.c: (bin_bus_handler):
17689         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17690         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17691         (gst_message_new_warning), (gst_message_new_tag),
17692         (gst_message_new_state_changed), (gst_message_new_segment_start),
17693         (gst_message_new_segment_done), (gst_message_new_custom):
17694         * gst/gstmessage.h:
17695         * tools/gst-launch.c: (event_loop):
17696         * tools/gst-md5sum.c: (event_loop):
17697           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17698
17699 2005-08-25  Wim Taymans  <wim@fluendo.com>
17700
17701         * check/generic/states.c: (GST_START_TEST):
17702         Cleanup can be done at the end.
17703
17704         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17705         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17706         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17707         Oh boy.. Thanks for finding this, Thomas. 
17708
17709 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17710
17711         * docs/gst/gstreamer.types:
17712           added missing types
17713
17714 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17715
17716         * docs/gst/gstreamer-docs.sgml:
17717         * docs/gst/gstreamer-sections.txt:
17718         * docs/gst/tmpl/.cvsignore:
17719         * gst/gstbin.c:
17720         * gst/gstiterator.c:
17721         * gst/gstutils.c:
17722         * gst/registries/gstxmlregistry.h:
17723           added missing classes and symbols (123 more to go)
17724           removed removed symbols from section file
17725           fixed many doc-comments
17726
17727 2005-08-24  Wim Taymans  <wim@fluendo.com>
17728
17729         * check/generic/states.c: (GST_START_TEST):
17730         Make sure all tasks are stopped.
17731
17732         * check/gst/gstbin.c: (GST_START_TEST):
17733         Unref after usage for proper valgrinding.
17734
17735         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17736         Really wait for the task to stop before destroying the
17737         mutex.
17738
17739         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17740         (gst_queue_src_activate_push):
17741         Small cleanups. Don't stop the task when we did not start
17742         it.
17743
17744         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17745         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17746         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17747         (gst_task_join):
17748         * gst/gsttask.h:
17749         Protect the stream lock with the object lock.
17750         Disallow setting the stream lock when running.
17751         Add cleanup_all to wait for the threadpool to finish.
17752         Remove code to autoallocate a mutex if none was provided.
17753         Add _join() to wait for a task to stop.
17754         Protect the thread pool with a global lock.
17755
17756 2005-08-24  Wim Taymans  <wim@fluendo.com>
17757
17758         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17759         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17760         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17761         * gst/base/gstbasesink.h:
17762         Handle newsegment events correctly.
17763         Drop buffers out of the segment range.
17764
17765 2005-08-22  Andy Wingo  <wingo@pobox.com>
17766
17767         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17768         macro, implements an interface and gstimplementsinterface for a
17769         new type.
17770
17771 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17772
17773         * check/Makefile.am:
17774         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17775           add a test that does a bunch of state changes on elements
17776           needs some fixing for valgrind
17777         * check/states/sinks.c: (gst_object_suite):
17778           whitespace
17779         * gst/gstcaps.h:
17780           add prototype for gst_caps_is_equal_fixed
17781         * gst/gstplugin.c:
17782         * gst/gstregistrypool.c:
17783           doc fixes
17784
17785 2005-08-24  Andy Wingo  <wingo@pobox.com>
17786
17787         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17788         convert a negative value. Doesn't make much sense. Mostly this is
17789         here to force callers to ensure -1 maps to -1.
17790
17791 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17792
17793         * docs/pwg/advanced-types.xml:
17794           Well done to Michael for catching my deliberate introduction
17795           of this spelling mistake. 
17796         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17797         * gst/gstelement.h:
17798           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17799           unlink pads before removing the element from the bin.
17800
17801 2005-08-24  Andy Wingo  <wingo@pobox.com>
17802
17803         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17804         the same thing as GST_DEBUG=*:4.
17805         (parse_debug_level, parse_debug_category): New helper parsers.
17806
17807 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17808
17809         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17810         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17811         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17812         (gst_base_transform_buffer_alloc),
17813         (gst_base_transform_handle_buffer):
17814           use gboolean return values and pointers to size so we can use the
17815           full GST_BUFFER_SIZE range (guint) for buffer sizes
17816           use GstPadDirection for transform_caps
17817         * gst/base/gstbasetransform.h:
17818           rename get_size to get_unit_size since that's what it is
17819         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17820           use GstPadDirection for transform_caps
17821         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17822         * gst/gstutils.h:
17823           cleanup and debugging
17824
17825 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17826
17827         * gst/gstelement.c: (gst_element_class_init),
17828         (gst_element_set_state), (activate_pads),
17829         (gst_element_save_thyself):
17830         * tools/gst-compprep.c: (main):
17831         * tools/gst-inspect.c: (print_element_properties_info):
17832         * tools/gst-xmlinspect.c: (print_element_properties):
17833           Fixed long standing mem-leak
17834
17835 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17836
17837         * check/gst/gstbin.c: (GST_START_TEST):
17838         * gst/gstbin.c: (bin_bus_handler):
17839         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17840         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17841         (gst_message_new_warning), (gst_message_new_tag),
17842         (gst_message_new_state_changed), (gst_message_new_segment_start),
17843         (gst_message_new_segment_done), (gst_message_new_custom):
17844         * gst/gstmessage.h:
17845         * tools/gst-launch.c: (event_loop):
17846         * tools/gst-md5sum.c: (event_loop):
17847           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17848           that applications can sensibly post custom messages with references
17849           to their own objects.
17850
17851 2005-08-24  Andy Wingo  <wingo@pobox.com>
17852
17853         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17854         already.
17855
17856 2005-08-24  Wim Taymans  <wim@fluendo.com>
17857
17858         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17859         (gst_base_transform_transform_caps),
17860         (gst_base_transform_transform_size),
17861         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17862         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17863         (gst_base_transform_handle_buffer):
17864         * gst/base/gstbasetransform.h:
17865         Many fixes and new features added by Thomas. Can now also do
17866         transforms with variable sizes and a custom fixate_caps function.
17867
17868 2005-08-24  Wim Taymans  <wim@fluendo.com>
17869
17870         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17871         Some debugging.
17872
17873         * gst/gstclock.h:
17874         Cast to ClockTime before formatting to time.
17875
17876         * gst/gstutils.h:
17877         Cleanups.
17878
17879 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17880
17881         * check/gst-libs/controller.c: (GST_START_TEST),
17882         (gst_controller_suite):
17883         * docs/gst/tmpl/gstcaps.sgml:
17884         * docs/gst/tmpl/gstghostpad.sgml:
17885         * docs/gst/tmpl/gstquery.sgml:
17886         * docs/gst/tmpl/gstutils.sgml:
17887         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17888         (gst_object_sink_values), (gst_object_get_value_arrays),
17889         (gst_object_get_value_array):
17890           gracefully handle helper method calls to objects that are not beeing
17891           controlled, added test case for that          
17892
17893 2005-08-23  Wim Taymans  <wim@fluendo.com>
17894
17895         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17896         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17897         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17898         (gst_event_parse_qos), (gst_event_new_seek),
17899         (gst_event_parse_seek):
17900         * gst/gstevent.h:
17901         Some more debugging output and doc cleanups.
17902
17903         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17904         Fix possible deadlock.
17905
17906 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17907
17908         * docs/gst/gstreamer-docs.sgml:
17909         * docs/gst/gstreamer-sections.txt:
17910         * docs/gst/gstreamer.types:
17911         * docs/gst/tmpl/.cvsignore:
17912         * gst/gstbin.h:
17913         * gst/gstbus.c:
17914         * gst/gstelement.c:
17915         * gst/gstevent.h:
17916           added 100 symbols from gstreamer-unused.txt to the right sections
17917           fixed more broken comments
17918           added GstBus to docs
17919
17920 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17921
17922         * docs/gst/gstreamer-sections.txt:
17923         * docs/gst/tmpl/.cvsignore:
17924         * docs/gst/tmpl/gstbin.sgml:
17925         * docs/gst/tmpl/gstbuffer.sgml:
17926         * gst/base/gstbasesrc.c:
17927         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17928         * gst/gstbuffer.c:
17929         * gst/gstbuffer.h:
17930         * tools/gst-launch.1.in:
17931           inlined more doc comments, added missing comments and fixed comments
17932           fixed typos
17933
17934 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17935
17936         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17937           some debugging
17938         * gst/gstcaps.h:
17939           whitespace fixes
17940         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17941           more debugging
17942         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17943         * gst/gststructure.h:
17944           add a fixate function for booleans; add a FIXME that these func
17945           names should probably be gst_structure_fixate_*
17946
17947 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17948
17949         * docs/gst/gstreamer-docs.sgml:
17950         * docs/gst/gstreamer-sections.txt:
17951         * gst/Makefile.am:
17952         * gst/gstbin.c: (gst_bin_get_type),
17953         (gst_bin_child_proxy_get_child_by_index),
17954         (gst_bin_child_proxy_get_children_count),
17955         (gst_bin_child_proxy_init):
17956         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17957         (gst_child_proxy_get_child_by_index),
17958         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17959         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17960         (gst_child_proxy_get), (gst_child_proxy_set_property),
17961         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17962         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17963         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17964         * gst/gstchildproxy.h:
17965         * gst/parse/grammar.y:
17966         * tools/gst-inspect.c: (print_interfaces),
17967         (print_element_properties_info), (print_element_info):
17968           ported gstchildproxy over from 0.8
17969           ported gst-inspect fixes and enhancements over from 0.8
17970
17971 2005-08-22  Wim Taymans  <wim@fluendo.com>
17972
17973         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17974         (gst_base_transform_handle_buffer):
17975         Also call the transform function if we have ANY caps.
17976
17977         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17978         Fix debug info.
17979
17980 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17981
17982         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17983           Don't pretend to handle seek events if the source is not seekable
17984
17985 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17986
17987         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17988           Remove extra parameter to debug output
17989
17990         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17991         (gst_base_src_do_seek), (gst_base_src_activate_push):
17992           Fix seek event handling.
17993
17994         * gst/gstpipeline.c: (gst_pipeline_change_state):
17995         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17996         (gst_queue_src_activate_push):
17997           Don't start the src pad task on FLUSH_STOP if the pad
17998           isn't linked.
17999           Debug changes.
18000
18001 2005-08-22  Wim Taymans  <wim@fluendo.com>
18002
18003         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
18004         Added check for gst_static_caps_get() refcounting.
18005
18006 2005-08-22  Wim Taymans  <wim@fluendo.com>
18007
18008         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
18009         Make _static_caps_get() refcounting sane.
18010         
18011         * gst/gstelement.c: (gst_element_set_state):
18012         Add g_return_val_if_fail() to protect against segfaults.
18013
18014 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
18015
18016         * docs/gst/tmpl/gstevent.sgml:
18017         * gst/gstevent.c:
18018         * gst/gstevent.h:
18019           inlined remaining docs, added missing doc comments
18020
18021 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18022
18023         * check/gst/gstbin.c: (GST_START_TEST):
18024           since we don't know when preroll is done, use refcount range
18025           check for the sink
18026         * gst/check/gstcheck.h:
18027           add macro for checking refcount range
18028
18029 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
18030
18031         * check/Makefile.am:
18032           clean up environment for when registry gets built versus
18033           when actual tests are run; valgrind seems to not report
18034           leaks if GST_PLUGIN_PATH is set to some specific values
18035         * check/gst/gstbin.c: (GST_START_TEST):
18036           add more refcounting checks; maybe this exposes a
18037           preroll lock bug ?
18038         * common/check.mak:
18039         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18040         * gst/check/gstcheck.h:
18041         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18042         (gst_bin_change_state):
18043         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18044           add/fix debugging/whitespace
18045
18046 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
18047
18048         * check/gst/gstevent.c: (event_probe), (test_event),
18049         (GST_START_TEST):
18050          Er, don't call gst_bin_watch_for_state_change you idiot.
18051
18052 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
18053
18054         * check/Makefile.am:
18055           Use CHECK_CFLAGS and CHECK_LIBS
18056         * check/gst/gstevent.c: (event_probe), (test_event),
18057         (GST_START_TEST):
18058           Don't leak events.
18059         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18060         (gst_base_src_start), (gst_base_src_stop),
18061         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18062         (gst_base_src_change_state):
18063           Sprinkle gst_base_src_stop liberally around error paths to fix
18064           problems reusing a source after failed state changes.
18065         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18066         (helper_find_suggest), (gst_type_find_helper):
18067           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18068         * gst/gstevent.h:
18069         * docs/gst/tmpl/gstevent.sgml:
18070           Migrate part of the docs from the SGML file. Wait for ensonic to
18071           tell me how I did it wrong ;)
18072         * tools/gst-typefind.c: (main):
18073           Extra robustness to state changes between files.
18074
18075 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
18076
18077         * check/Makefile.am:
18078           don't valgrind the controller test - it's leaking - Stefan, HELP
18079         * gst/check/gstcheck.c: (gst_check_message_error),
18080         (gst_check_chain_func), (gst_check_setup_element),
18081         (gst_check_teardown_element), (gst_check_setup_src_pad),
18082         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18083         (gst_check_teardown_sink_pad):
18084         * gst/check/gstcheck.h:
18085           add a bunch of methods to set up elements, and src and sink pads
18086         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18087         * check/elements/identity.c: (setup_identity), (cleanup_identity),
18088         (GST_START_TEST):
18089           use them
18090         * gst/gstmessage.c:
18091         * gst/gsttag.h:
18092           whitespace/doc fixes
18093
18094 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18095
18096         * gst/gstelement.h:
18097           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18098           be handled by the application and not always printed as well
18099
18100 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18101
18102         * check/Makefile.am:
18103           set GST_TOOLS_DIR
18104         * gst/check/gstcheck.c: (gst_check_message_error):
18105         * gst/check/gstcheck.h:
18106           add a fail_unless_equals_int
18107           add fail_unless for error messages
18108
18109 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18110
18111         * check/Makefile.am:
18112         * check/gst.supp:
18113         * common/Makefile.am:
18114         * common/check.mak:
18115         * common/gst.supp:
18116           factor out some of the common stuff so we can use it
18117
18118 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18119
18120         * check/Makefile.am:
18121         * check/gst/gstiterator.c: (GST_START_TEST):
18122         * check/gst/gstsystemclock.c: (GST_START_TEST),
18123         (gst_systemclock_suite):
18124         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18125         * gst/gstclock.c:
18126           valgrind more tests
18127
18128 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18129
18130         * check/elements/.cvsignore:
18131         * check/elements/gstfakesrc.c:
18132           rename to name of element
18133         * check/elements/identity.c: (chain_func), (event_func),
18134         (setup_identity), (cleanup_identity), (GST_START_TEST),
18135         (identity_suite), (main):
18136           add a test for identity
18137         * check/Makefile.am:
18138         * pkgconfig/Makefile.am:
18139         * pkgconfig/gstreamer-check.pc.in:
18140         * pkgconfig/gstreamer-check-uninstalled.pc.in:
18141         * gst/check:
18142         * gst/Makefile.am:
18143         * configure.ac:
18144           move the check stuff to a library that gets installed
18145         * check/gst-libs/controller.c: (GST_START_TEST):
18146         * check/gst-libs/gdp.c:
18147         * check/gst/gst.c: (GST_START_TEST):
18148         * check/gst/gstbin.c:
18149         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18150         * check/gst/gstbus.c:
18151         * check/gst/gstcaps.c: (GST_START_TEST):
18152         * check/gst/gstelement.c:
18153         * check/gst/gstghostpad.c:
18154         * check/gst/gstiterator.c:
18155         * check/gst/gstmessage.c:
18156         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18157         * check/gst/gstobject.c:
18158         * check/gst/gstpad.c: (GST_START_TEST):
18159         * check/gst/gststructure.c: (GST_START_TEST):
18160         * check/gst/gstsystemclock.c: (GST_START_TEST),
18161         (gst_systemclock_suite):
18162         * check/gst/gsttag.c: (gst_tag_suite):
18163         * check/gst/gstvalue.c:
18164         * check/pipelines/cleanup.c:
18165         * check/pipelines/simple_launch_lines.c:
18166         * check/states/sinks.c:
18167           change include statement
18168
18169         * docs/gst/gstreamer-sections.txt:
18170         * docs/gst/tmpl/gstpad.sgml:
18171           document more pad stuff
18172         * gst/gstminiobject.c: (gst_mini_object_ref),
18173         (gst_mini_object_unref):
18174           debug refcounting
18175
18176 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
18177
18178         * docs/gst/tmpl/gst.sgml:
18179         * gst/gst.c:
18180           eliminate another tmpl file, fix spelling in the long-description
18181
18182 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18183
18184         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18185         (test_event), (timediff), (gstevents_suite):
18186           Should fix build on 64-bit arch's
18187
18188 2005-08-18  Andy Wingo  <wingo@pobox.com>
18189
18190         Make sure that when a pipeline goes to PLAYING, that data has
18191         actually hit the sink.
18192
18193         * check/states/sinks.c (test_sink): A sink that doesn't get any
18194         data shouldn't return SUCCESS for going to either PLAYING or
18195         PAUSED. Test also the return values on the way back down.
18196
18197         * gst/gstelement.c (gst_element_set_state): When changing the
18198         state of an element currently changing state asynchronously, go to
18199         lost-state after commiting the pending state. Makes future calls
18200         to get_state continue to return ASYNC.
18201
18202         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18203         ASYNC when going to PLAYING if we still don't have preroll, as can
18204         happen with live sources.
18205
18206 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18207
18208         * docs/pwg/advanced-types.xml:
18209           Hack long paragraph into 2 chunks as a workaround for buggy
18210           jadetex version in sid and breezy that loops infinitely and
18211           eats all RAM.
18212
18213 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18214
18215         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18216         (test_event), (timediff), (gstevents_suite):
18217           Provide more error margin in clock measurements to allow for 
18218           g_get_current_time inaccuracies.
18219
18220 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18221
18222         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18223         (test_event), (timediff), (gstevents_suite):
18224            Fix error message output so I might be able to tell why the
18225            test works here but fails on the build farm.
18226
18227 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18228
18229         * check/Makefile.am:
18230         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18231         (test_event), (timediff), (gstevents_suite), (main):
18232           I wrote a test!
18233
18234         * docs/design/part-seeking.txt:
18235           Spelling correction
18236
18237         * docs/gst/tmpl/gstevent.sgml:
18238         * docs/gst/tmpl/gstfakesrc.sgml:
18239           Docs updates.
18240
18241         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18242           Treat a buffer-without-newsegment the same as a receiving 
18243           a newsegment not in time format, and disable syncing to the clock
18244           with a warning.
18245
18246         * gst/gstbus.c: (gst_bus_set_sync_handler):
18247           Assert if anyone tries to replace the existing sync_handler for bus, 
18248           as only the owner should be setting it.
18249
18250         * gst/gstevent.h:
18251           Have a fixed set of custom event enums with events identified by
18252           their structure name (as in 0.8), rather than a free-for-all
18253           allowing collisions between enum values from different plugins.
18254
18255         * gst/gstpad.c: (gst_pad_class_init):
18256           Docs change.
18257           
18258         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18259           Handle out-of-band downstream events from the sending thread.
18260
18261 2005-08-17  Andy Wingo  <wingo@pobox.com>
18262
18263         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18264         play-timeout==0 to mean no timeout at all. In that case, don't
18265         bother with a get_state or a warning, just return directly, even
18266         if it's ASYNC.
18267
18268         * gst/base/gstbasetransform.c: Debug changes.
18269
18270         * gst/gstutils.h:
18271         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18272         ensure bins post state change messages. A bit of a hack but I can't
18273         think of a way to avoid it.
18274
18275         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18276
18277 2005-08-16  Andy Wingo  <wingo@pobox.com>
18278
18279         * gst/base/gstadapter.h:
18280         * gst/base/gstadapter.c (gst_adapter_take): New function, like
18281         peek() but you own the data. Not terribly efficient atm.
18282
18283 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18284
18285         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18286         (gst_element_found_tags):
18287         * gst/gstutils.h:
18288           Add two utility functions for tag handling.
18289
18290 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18291
18292         * docs/manual/advanced-dataaccess.xml:
18293         * docs/manual/basics-helloworld.xml:
18294           Fix docs to use _bin_add() before _link(), which fixes the examples
18295           with recent core versions (reported by Madhan Raj M
18296           <raj_madan@rediffmail.com>, #313199).
18297
18298 2005-08-16  Wim Taymans  <wim@fluendo.com>
18299
18300         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18301         Added subtract checks.
18302
18303         * docs/design/part-events.txt:
18304         Some more docs about newsegment
18305
18306         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18307         Fix FIXME
18308
18309         * gst/gstcaps.c: (gst_caps_to_string):
18310         Add comments, cleanups.
18311         
18312         * gst/gstelement.c: (gst_element_save_thyself):
18313         cleanups
18314         
18315         * gst/gstvalue.c: (gst_value_collect_int_range),
18316         (gst_string_unwrap), (gst_value_union_int_int_range),
18317         (gst_value_union_int_range_int_range),
18318         (gst_value_intersect_int_int_range),
18319         (gst_value_intersect_int_range_int_range),
18320         (gst_value_intersect_double_double_range),
18321         (gst_value_intersect_double_range_double_range),
18322         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18323         (gst_value_subtract_int_range_int),
18324         (gst_value_subtract_double_range_double),
18325         (gst_value_subtract_double_range_double_range),
18326         (gst_value_subtract_from_list), (gst_value_subtract_list),
18327         (gst_value_can_compare), (gst_value_compare_fraction):
18328         Cleanups, add comments, remove unneeded asserts.
18329
18330 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18331
18332         * tools/gst-launch.c: (event_loop):
18333           don't convert NULL structures to strings
18334
18335 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
18336
18337         * docs/gst/gstreamer-sections.txt:
18338           made some defines private
18339         * docs/gst/tmpl/gstconfig.sgml:
18340         * docs/gst/tmpl/gstqueue.sgml:
18341         * docs/gst/tmpl/gsttaglist.sgml:
18342         * docs/gst/tmpl/gsttypes.sgml:
18343         * docs/gst/tmpl/gstutils.sgml:
18344         * docs/pwg/appendix-porting.xml:
18345         * gst/base/gstbasesink.h:
18346         * gst/base/gstbasesrc.c:
18347         * gst/base/gstbasesrc.h:
18348         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18349         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18350         * gst/gstelement.c: (gst_element_class_init):
18351         * gst/gstpad.c: (gst_pad_class_init):
18352         * gst/gstqueue.c: (gst_queue_class_init):
18353         * gst/gstxml.c: (gst_xml_class_init):
18354           documented all undocumented signal inline
18355         * libs/gst/controller/gst-controller.h:
18356           added padding
18357
18358 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18359
18360         * docs/pwg/appendix-porting.xml:
18361           Document _set_link_function -> _set_setcaps_function.
18362
18363 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18364
18365         * check/Makefile.am:
18366           add a .check target for running the check
18367         * check/gst-libs/controller.c: (GST_START_TEST):
18368           cosmetic fixups
18369         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18370           complete checks for gstbuffer; would be nice if I could get the
18371           gcov stuff to work so I can see if I actually completed gstbuffer.c
18372         * check/gstcheck.h:
18373           add ASSERT_BUFFER_REFCOUNT
18374
18375 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
18376
18377         * docs/gst/gstreamer-sections.txt:
18378         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18379         * gst/gsttag.h:
18380           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18381           spew out a warning if a tag that is already registered
18382           is re-registered, unless it is re-registered with a 
18383           different type (#308438).
18384
18385 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
18386
18387         * docs/pwg/appendix-porting.xml:
18388         * docs/pwg/building-state.xml:
18389           Add some paragraphs about state changes in 0.9 to the PWG
18390           and the porting guide, in particular about the new meaning
18391           of GST_STATE_PAUSED and how to write state change functions
18392           with concurrent access by multiple threads in mind.
18393
18394 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
18395
18396         * docs/gst/gstreamer-docs.sgml:
18397         * docs/libs/gstreamer-libs-docs.sgml:
18398           added deprecation and since indexes
18399         * libs/gst/controller/gst-controller.c:
18400         * libs/gst/controller/gst-helper.c:
18401           added since tags
18402
18403
18404 2005-08-11  Wim Taymans  <wim@fluendo.com>
18405
18406         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18407         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18408         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18409         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18410         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18411         (gst_ghost_pad_set_target):
18412         Actually implement (re)setting the target on a ghostpad
18413         as described in the docs.
18414
18415 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18416
18417         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18418           Check whether GST_DEBUG_NO_COLOR environment variable is
18419           set and disable coloured debug output if that is the case.
18420
18421 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18422
18423         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18424         (gst_type_find_helper):
18425           The memory returned by gst_type_find_peek() needs to
18426           stay valid until the end of a typefind function, and
18427           typefind functions may keep results from different 
18428           offsets around, so we can't just unref the buffer from
18429           the previous _peek(), but have to save all buffers 
18430           returned by _peek() until typefinding is done and only
18431           free them then.
18432
18433 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
18434
18435         * docs/gst/gstreamer-sections.txt:
18436         * gst/gstutils.h:
18437           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18438
18439 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18440
18441         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18442           Fix a pretty good memleak.
18443
18444 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18445
18446         * gst/gstiterator.h:
18447           Fix wrong include and 'make distcheck'.
18448
18449 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18450
18451         * gst/gstbin.c: (bin_bus_handler):
18452           Use gst_element_post_message() instead.
18453
18454 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18455
18456         * gst/base/gstadapter.h:
18457         * gst/base/gstbasesink.h:
18458         * gst/base/gstbasesrc.h:
18459         * gst/base/gstbasetransform.h:
18460         * gst/base/gstcollectpads.h:
18461         * gst/base/gstpushsrc.h:
18462         * gst/gstiterator.h:
18463           Add padding to our base elements' class and instance structs and
18464           to GstIterator (you will need to rebuild all plugins and apps!)
18465
18466 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18467
18468         * gst/gstbin.c: (bin_bus_handler):
18469           Make default message forwarding from child->bus to bin->bus
18470           threadsafe and make it not emit warnings if the parent has no bus.
18471
18472 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18473
18474         * gst/gstelement.c: (activate_pads):
18475           On paused->ready, set pad->caps to NULL, as is the documented
18476           behaviour in this state change. Fixes playback of series of
18477           media files when visualization is enabled in Totem.
18478
18479 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18480
18481         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18482           Allow NULL as filter-caps (which means "any").
18483
18484 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18485
18486         * docs/libs/gstreamer-libs-sections.txt:
18487         * libs/gst/controller/gst-controller.c:
18488         * libs/gst/controller/gst-controller.h:
18489         * libs/gst/controller/gst-helper.c:
18490           adding more entries to the docs and fix small doc-bugs
18491
18492 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18493
18494         * docs/gst/gstreamer-docs.sgml:
18495         * docs/gst/gstreamer-sections.txt:
18496         * docs/gst/gstreamer.types:
18497         * docs/gst/tmpl/gstbasesink.sgml:
18498         * docs/gst/tmpl/gstbasesrc.sgml:
18499         * docs/gst/tmpl/gstbasetransform.sgml:
18500         * docs/gst/tmpl/gstfakesrc.sgml:
18501         * gst/base/gstcollectpads.c:
18502         * gst/base/gstcollectpads.h:
18503         * libs/gst/controller/gst-controller.c:
18504         * libs/gst/controller/gst-controller.h:
18505         * libs/gst/controller/gst-helper.c:
18506         * libs/gst/controller/gst-interpolation.c:
18507         * libs/gst/controller/lib.c:
18508           added long/short desc for controller docs
18509           added collectpads base class docs
18510           added correct includes to base-class docs
18511
18512 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18513
18514         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18515         (gst_test_mono_source_set_property),
18516         (gst_test_mono_source_class_init), (GST_START_TEST),
18517         (gst_controller_suite):
18518         * docs/gst/gstreamer-docs.sgml:
18519         * docs/gst/gstreamer-sections.txt:
18520         * docs/gst/gstreamer.types:
18521         * docs/libs/gstreamer-libs-docs.sgml:
18522         * docs/libs/gstreamer-libs-sections.txt:
18523         * gst/base/gstadapter.c:
18524         * libs/gst/controller/gst-controller.c:
18525         (gst_controlled_property_new), (gst_controlled_property_free),
18526         (gst_controller_new_valist),
18527         (gst_controller_remove_properties_valist),
18528         (gst_controller_sink_values), (_gst_controller_finalize):
18529         * libs/gst/controller/gst-controller.h:
18530         * libs/gst/controller/gst-helper.c:
18531         (gst_object_control_properties), (gst_object_uncontrol_properties),
18532         (gst_object_get_controller), (gst_object_set_controller),
18533         (gst_object_sink_values), (gst_object_get_value_arrays),
18534         (gst_object_get_value_array):
18535           more tests (and fixes) for the controller
18536           more docs for the controller
18537           integrated companies docs for the adapter 
18538
18539 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18540
18541         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18542         (GST_START_TEST), (fakesrc_suite):
18543           add tests for sizetype
18544
18545 2005-08-04  Andy Wingo  <wingo@pobox.com>
18546
18547         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18548         fixes buffer_alloc proxying among other things.
18549
18550         * gst/base/gstbasetransform.c:
18551         * gst/base/gstbasetransform.h:
18552         Revert patch to gstbasetransform from 7-28 removing
18553         delay_configure.
18554
18555         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18556         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18557         Semantics changed, should return not the size of the output buffer
18558         but the byte size of a buffer with a given caps.
18559
18560         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18561         debug object.
18562         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18563         out) are not the pad caps until setcaps finishes.
18564         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18565         not-in-place case as well. Deal with changing from in-place to
18566         not-in-place within calling pad_alloc_buffer. Still a bit
18567         concerned about the overhead here...
18568
18569 2005-08-03  Andy Wingo  <wingo@pobox.com>
18570
18571         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18572         fixating is an error.
18573
18574 2005-08-04  Edward Hervey  <edward@fluendo.com>
18575
18576         * gst/base/gstadapter.h: 
18577         Added gst_adapter_get_type() to the header
18578
18579 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18580
18581         * check/Makefile.am:
18582         * check/gst-libs/controller.c:
18583         * libs/gst/controller/gst-controller.c:
18584         (gst_controller_new_valist):
18585           added check test suite for the controller
18586         * gst/base/gstpushsrc.c:
18587           fixed a doc typo
18588
18589 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18590
18591         * docs/gst/Makefile.am:
18592         * docs/gst/gstreamer-docs.sgml:
18593         * docs/gst/gstreamer-sections.txt:
18594         * docs/gst/gstreamer.types:
18595         * docs/gst/tmpl/gstfakesrc.sgml:
18596         * gst/base/README:
18597         * gst/base/gstbasesink.c:
18598         * gst/base/gstbasesink.h:
18599         * gst/base/gstbasesrc.c:
18600         * gst/base/gstbasesrc.h:
18601         * gst/base/gstbasetransform.c:
18602         * gst/base/gstpushsrc.c:
18603         * gst/base/gstpushsrc.h:
18604           add short/long description docs to base classes
18605           add pushsrc to the docs
18606           remove consolidated doc fragments
18607
18608 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18609
18610         * configure.ac:
18611         * docs/libs/Makefile.am:
18612         * docs/libs/gstreamer-libs-docs.sgml:
18613         * docs/libs/gstreamer-libs-sections.txt:
18614         * docs/libs/gstreamer-libs.types:
18615         * examples/Makefile.am:
18616         * examples/controller/.cvsignore:
18617         * examples/controller/Makefile.am:
18618         * examples/controller/audio-example.c: (main):
18619         * libs/gst/Makefile.am:
18620         * libs/gst/controller/.cvsignore:
18621         * libs/gst/controller/Makefile.am:
18622         * libs/gst/controller/gst-controller.c:
18623         (on_object_controlled_property_changed), (gst_timed_value_compare),
18624         (gst_timed_value_find),
18625         (gst_controlled_property_set_interpolation_mode),
18626         (gst_controlled_property_new), (gst_controlled_property_free),
18627         (gst_controller_find_controlled_property),
18628         (gst_controller_new_valist), (gst_controller_new),
18629         (gst_controller_remove_properties_valist),
18630         (gst_controller_remove_properties), (gst_controller_set),
18631         (gst_controller_set_from_list), (gst_controller_unset),
18632         (gst_controller_get), (gst_controller_get_all),
18633         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18634         (gst_controller_get_value_array),
18635         (gst_controller_set_interpolation_mode),
18636         (_gst_controller_finalize), (_gst_controller_init),
18637         (_gst_controller_class_init), (gst_controller_get_type):
18638         * libs/gst/controller/gst-controller.h:
18639         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18640         (g_object_uncontrol_properties), (g_object_get_controller),
18641         (g_object_set_controller), (g_object_sink_values),
18642         (g_object_get_value_arrays), (g_object_get_value_array):
18643         * libs/gst/controller/gst-interpolation.c:
18644         (gst_controlled_property_find_timed_value_node),
18645         (interpolate_none_get), (interpolate_trigger_get),
18646         (interpolate_trigger_get_value_array):
18647         * libs/gst/controller/lib.c: (gst_controller_init):
18648         * pkgconfig/Makefile.am:
18649         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18650         * pkgconfig/gstreamer-control.pc.in:
18651         * testsuite/Makefile.am:
18652         * testsuite/controller/.cvsignore:
18653         * testsuite/controller/Makefile.am:
18654         * testsuite/controller/interpolator.c: (main):
18655           added controller code
18656           removed dparam pc files
18657
18658 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18659         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18660         (gst_collectpads_stop):
18661           Broadcast the condition when shutting down, to make sure we wake all
18662           threads up. Shut down pads on finalize, for safety.
18663
18664 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18665         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18666         (gst_base_transform_handle_buffer),
18667         (gst_base_transform_change_state):
18668           Handle PAUSED->READY->PAUSED transition after negotiation
18669           occurred already.
18670         * gst/gstmessage.c: (gst_message_init):
18671           Extra piece of debug for new messages.
18672
18673 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18674
18675         * configure.ac:
18676         * docs/gst/tmpl/gstbasesrc.sgml:
18677         * docs/gst/tmpl/gstelement.sgml:
18678         * docs/gst/tmpl/gstevent.sgml:
18679         * docs/gst/tmpl/gstfakesrc.sgml:
18680         * docs/gst/tmpl/gstformat.sgml:
18681         * docs/gst/tmpl/gstghostpad.sgml:
18682         * docs/gst/tmpl/gstpad.sgml:
18683         * docs/gst/tmpl/gstquery.sgml:
18684         * docs/gst/tmpl/gststructure.sgml:
18685         * docs/gst/tmpl/gsttaglist.sgml:
18686         * docs/gst/tmpl/gstvalue.sgml:
18687         * docs/libs/gstreamer-libs-docs.sgml:
18688         * docs/libs/gstreamer-libs-sections.txt:
18689         * docs/libs/gstreamer-libs.types:
18690         * libs/gst/Makefile.am:
18691         * libs/gst/control/.cvsignore:
18692         * libs/gst/control/Makefile.am:
18693         * libs/gst/control/control.c:
18694         * libs/gst/control/control.h:
18695         * libs/gst/control/dparam.c:
18696         * libs/gst/control/dparam.h:
18697         * libs/gst/control/dparam_smooth.c:
18698         * libs/gst/control/dparam_smooth.h:
18699         * libs/gst/control/dparamcommon.h:
18700         * libs/gst/control/dparammanager.c:
18701         * libs/gst/control/dparammanager.h:
18702         * libs/gst/control/dplinearinterp.c:
18703         * libs/gst/control/dplinearinterp.h:
18704         * libs/gst/control/unitconvert.c:
18705         * libs/gst/control/unitconvert.h:
18706         * testsuite/Makefile.am:
18707         * testsuite/dynparams/.cvsignore:
18708         * testsuite/dynparams/Makefile.am:
18709         * testsuite/dynparams/dparamstest.c:
18710         * tools/Makefile.am:
18711         * tools/gst-inspect.c: (print_element_info), (main):
18712         * tools/gst-xmlinspect.c: (print_element_info), (main):
18713           deactivate and remove dparams (libgstcontrol)
18714
18715 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18716
18717         * gst/elements/gsttypefindelement.c:
18718         (gst_type_find_element_have_type), (gst_type_find_element_init),
18719         (stop_typefinding), (gst_type_find_element_handle_event),
18720         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18721         * gst/elements/gsttypefindelement.h:
18722           Set caps on all outgoing buffers, not just the first one.
18723
18724 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18725
18726         * gst/elements/gsttypefindelement.c:
18727         (gst_type_find_element_have_type),
18728         (gst_type_find_element_check_set_buffer_caps),
18729         (gst_type_find_element_init), (stop_typefinding),
18730         (gst_type_find_element_handle_event),
18731         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18732         * gst/elements/gsttypefindelement.h:
18733           Set caps on first outgoing buffer when we've found the type.
18734
18735 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18736
18737         * docs/gst/gstreamer-docs.sgml:
18738         * docs/gst/gstreamer-sections.txt:
18739         * docs/gst/tmpl/gstscheduler.sgml:
18740         * docs/gst/tmpl/gstschedulerfactory.sgml:
18741           Remove some old cruft from docs.
18742
18743 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18744
18745         * gst/gstpad.h:
18746           Fix inline docs for GstPadLinkReturn.
18747           
18748         * gst/gststructure.c: (gst_structure_has_name):
18749         * gst/gststructure.h:
18750         * docs/gst/gstreamer-sections.txt:
18751           New API: gst_structure_has_name().
18752
18753 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18754
18755         * configure.ac:
18756           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18757           and _LARGEFILE_SOURCE in config.h as required. Do not 
18758           export those flags in our .pc files any longer (#142209).
18759
18760           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18761
18762         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18763         (gst_file_sink_do_seek), (gst_file_sink_event),
18764         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18765           Redo seek/tell calls with large file support in mind; add some
18766           debugging messages; add log message that tells us when large
18767           file support is unavailable or not enabled for some reason.
18768
18769         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18770           Add log message that tells us when large file support 
18771           is unavailable or not enabled for some reason.
18772
18773 2005-07-29  Wim Taymans  <wim@fluendo.com>
18774
18775         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18776         Added test for removing an element with ghostpad from a bin.
18777         Fixed test as current implementation does the right thing.
18778
18779         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18780         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18781         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18782         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18783         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18784         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18785         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18786         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18787         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18788         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18789         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18790         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18791         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18792         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18793         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18794         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18795         * gst/gstghostpad.h:
18796         Clean up ghostpads, remove properties for internal stuff.
18797         Make threadsafe.
18798         Fix refcounting.
18799         Prepare for switching targets, not all use cases work yet.
18800
18801 2005-07-29  Wim Taymans  <wim@fluendo.com>
18802
18803         * docs/design/part-gstghostpad.txt:
18804         Small update.
18805
18806         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18807         (gst_bin_remove_func):
18808         Unlinking pads while holding the bin LOCK is not a good
18809         idea.
18810
18811         * gst/gstpad.c: (gst_pad_class_init),
18812         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18813         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18814         No prob setting template after creating the pad.
18815
18816 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18817
18818         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18819         (gst_bus_peek), (gst_bus_source_dispatch),
18820         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18821         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18822           gst_bus_poll may be called from other threads. Handle
18823           this nicely by not making poll_data disappear off the
18824           stack once gst_bus_poll returns.
18825           gst_bus_peek now increments the refcount on the returned
18826           message.
18827
18828 2005-07-29  Wim Taymans  <wim@fluendo.com>
18829
18830         * docs/design/part-gstghostpad.txt:
18831         Overview of current GhostPad datastructures and use
18832         cases for changing the target.
18833
18834 2005-07-28  Wim Taymans  <wim@fluendo.com>
18835
18836         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18837         Added checks for hierarchy consistency whan adding linked
18838         elements to bins.
18839
18840         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18841         Added check to test element scheduling without bin/pipeline.
18842
18843         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18844         First add elements to bin, then link.
18845         
18846         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18847         (gst_bin_remove_func):
18848         Unlink pads from elements added/removed from bin to maintain
18849         hierarchy consistency.
18850
18851 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18852
18853         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18854         (gst_base_transform_handle_buffer):
18855         * gst/base/gstbasetransform.h:
18856           Remove broken delay_configure (fixes renegotiation of software
18857           scaling pipelines); remove some leftover printf()s.
18858
18859 2005-07-28  Wim Taymans  <wim@fluendo.com>
18860
18861         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18862         Added some more tests for wrong hierarchy
18863
18864         * docs/design/part-overview.txt:
18865         Some updates.
18866
18867         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18868         Cleanups.
18869
18870         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18871         (gst_element_dispose):
18872         Some more cleanups.
18873
18874         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18875         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18876         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18877         (gst_pad_set_caps), (gst_pad_send_event):
18878         Check for correct hierarchy when linking pads. Moving to
18879         strict requirement for ghostpads when linking elements in
18880         different bins.
18881
18882         * gst/gstpad.h:
18883         Clean ups. Added WRONG_HIERARCHY return value.
18884
18885 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18886
18887         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18888           Better debug if no transform is possible.
18889
18890 2005-07-27  Wim Taymans  <wim@fluendo.com>
18891
18892         * docs/random/wtay/network-transp:
18893         Some old doc I had.
18894
18895 2005-07-27  Wim Taymans  <wim@fluendo.com>
18896
18897         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18898         (gst_dp_event_from_packet):
18899         Fix serialization of seek events.
18900
18901 2005-07-27  Wim Taymans  <wim@fluendo.com>
18902
18903         * check/gst-libs/gdp.c: (GST_START_TEST):
18904         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18905         Fix compilation and fix event serialization.
18906
18907 2005-07-27  Wim Taymans  <wim@fluendo.com>
18908
18909         * CHANGES-0.9:
18910         * docs/design/part-TODO.txt:
18911         * docs/design/part-events.txt:
18912         Some docs updates
18913
18914         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18915         (gst_base_sink_event), (gst_base_sink_do_sync),
18916         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18917         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18918         (gst_base_src_do_seek), (gst_base_src_event_handler),
18919         (gst_base_src_loop):
18920         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18921         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18922         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18923         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18924         (gst_base_transform_set_passthrough),
18925         (gst_base_transform_is_passthrough):
18926         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18927         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18928         Event updates.
18929
18930         * gst/gstbuffer.h:
18931         Use faster casts.
18932
18933         * gst/gstelement.c: (gst_element_seek):
18934         * gst/gstelement.h:
18935         Update gst_element_seek.
18936
18937         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18938         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18939         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18940         (gst_event_new_eos), (gst_event_new_newsegment),
18941         (gst_event_parse_newsegment), (gst_event_new_tag),
18942         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18943         (gst_event_parse_qos), (gst_event_new_seek),
18944         (gst_event_parse_seek), (gst_event_new_navigation):
18945         * gst/gstevent.h:
18946         Make GstEvent use GstStructure. Add parsing code, make sure the
18947         API is sufficiently generic.
18948         Mark possible directions of events and serialization.
18949
18950         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18951         (_gst_message_copy), (gst_message_new_segment_start),
18952         (gst_message_new_segment_done), (gst_message_new_custom),
18953         (gst_message_parse_segment_start),
18954         (gst_message_parse_segment_done):
18955         Small cleanups.
18956
18957         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18958         (gst_pad_set_caps), (gst_pad_send_event):
18959         Update for new events. 
18960         Catch events sent in wrong directions.
18961
18962         * gst/gstqueue.c: (gst_queue_link_src),
18963         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18964         (gst_queue_handle_src_query):
18965         Event updates.
18966
18967         * gst/gsttag.c:
18968         * gst/gsttag.h:
18969         Remove event code from this file.
18970
18971         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18972         (gst_dp_event_from_packet):
18973         Event updates.
18974
18975 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18976
18977         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18978         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18979         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18980           Make debugging actually useful.
18981
18982 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18983
18984         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18985         (gst_pad_fixate_caps):
18986           Implement default fixation once again, so that gst_pad_fixate()
18987           actually does anything at all. This probably needs to be some
18988           sort of a last resort, and use profile-based fixation first, but
18989           since that doesn't exist yet, this is the best we have. Fixes
18990           visualization in Totem.
18991
18992 2005-07-22  Wim Taymans  <wim@fluendo.com>
18993
18994         * docs/design/part-events.txt:
18995         Small update.
18996
18997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18998         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18999         (gst_base_sink_activate_pull):
19000         Some more comments.
19001
19002         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
19003         (gst_fake_src_create):
19004         Fix handoff marshall.
19005
19006         * gst/elements/gstidentity.c: (gst_identity_class_init),
19007         (gst_identity_transform_ip):
19008         We're a real inplace element.
19009
19010         * gst/gstbus.c: (gst_bus_post):
19011         Added some comments.
19012
19013         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
19014         * tests/muxing/case1.c: (main):
19015         * tests/sched/dynamic-pipeline.c: (main):
19016         * tests/sched/interrupt1.c: (main):
19017         * tests/sched/interrupt2.c: (main):
19018         * tests/sched/interrupt3.c: (main):
19019         * tests/sched/runxml.c: (main):
19020         * tests/sched/sched-stress.c: (main):
19021         * tests/seeking/seeking1.c: (event_received), (main):
19022         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19023         (main):
19024         * tests/threadstate/threadstate3.c: (main):
19025         * tests/threadstate/threadstate4.c: (main):
19026         * tests/threadstate/threadstate5.c: (main):
19027         Fix the tests.
19028
19029 2005-07-21  Wim Taymans  <wim@fluendo.com>
19030
19031         * docs/design/part-seeking.txt:
19032         Some small additions.
19033
19034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19035         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19036         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19037         * gst/base/gstbasesink.h:
19038         discont values are gint64, handle the math correctly.
19039
19040         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19041         Make the basesrc report error if the source pad is not linked.
19042
19043         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19044         (gst_queue_loop), (gst_queue_handle_src_query),
19045         (gst_queue_src_activate_push):
19046         Make queue collect data even if the srcpad is not linked.
19047         Start pushing out data as soon as it is linked.
19048
19049         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19050         * gst/gstutils.h:
19051         Added gst_flow_get_name() to ease error reporting.
19052
19053 2005-07-20  Wim Taymans  <wim@fluendo.com>
19054
19055         * gst/gstmessage.c: (gst_message_new_segment_start),
19056         (gst_message_new_segment_done), (gst_message_parse_segment_start),
19057         (gst_message_parse_segment_done):
19058         * gst/gstmessage.h:
19059         Added a bunch of messages for advanced seeking.
19060
19061         * gst/parse/grammar.y:
19062         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19063         (gst_dpman_state_changed):
19064         Fix some new-pad -> pad-added signals
19065
19066 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19067
19068         * docs/manual/appendix-porting.xml:
19069         * docs/pwg/appendix-porting.xml:
19070           Document new-pad/state-change signal renames and the FixedList
19071           type rename.
19072
19073 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19074
19075         * docs/manual/advanced-autoplugging.xml:
19076         * docs/manual/basics-helloworld.xml:
19077         * docs/manual/basics-pads.xml:
19078         * docs/random/ds/0.9-suggested-changes:
19079         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19080         * gst/gstelement.h:
19081         * gst/gstevent.h:
19082         * gst/gstformat.h:
19083         * gst/gstquery.h:
19084         * gst/gststructure.c: (gst_structure_value_get_generic_type),
19085         (gst_structure_parse_array), (gst_structure_parse_value):
19086         * gst/gstvalue.c: (gst_type_is_fixed),
19087         (gst_value_list_prepend_value), (gst_value_list_append_value),
19088         (gst_value_list_get_size), (gst_value_list_get_value),
19089         (gst_value_transform_array_string), (gst_value_serialize_array),
19090         (gst_value_deserialize_array), (gst_value_intersect_array),
19091         (gst_value_is_fixed), (_gst_value_initialize):
19092         * gst/gstvalue.h:
19093           GstElement::new-pad -> pad-added, GstElement::state-change ->
19094           state-changed, GstValueFixedList -> GstValueArray, add format and
19095           flags as their own arguments in gst_element_seek() (should improve
19096           "bindeability"), remove function generators since they don't work
19097           under a whole bunch of compilers (they were deprecated already
19098           anyway).
19099
19100 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19101
19102         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19103         (_gst_debug_register_funcptr):
19104         * gst/gstinfo.h:
19105           Fix illegal cast on some platforms (#309253).
19106
19107 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19108
19109         * gst/gstmessage.c: (gst_message_new_custom):
19110         * gst/gstmessage.h:
19111           Add _new_custom, make _new_application a macro to _new_custom.
19112
19113 2005-07-20  Wim Taymans  <wim@fluendo.com>
19114
19115         * gst/base/gstbasesrc.c: (gst_base_src_init),
19116         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19117         * gst/base/gstbasesrc.h:
19118         Add a gboolean to decide when to push out a discont.
19119
19120         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19121         (gst_queue_loop), (gst_queue_handle_src_query),
19122         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19123         (gst_queue_set_property), (gst_queue_get_property):
19124         Some cleanups.
19125
19126         * tests/threadstate/threadstate1.c: (main):
19127         Make a thread test compile and run... very silly..
19128
19129
19130 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19131
19132         * docs/manual/appendix-porting.xml:
19133           Mention removal of libgstgconf-0.9.la and existence of gconf
19134           elements.
19135
19136 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19137
19138         * docs/pwg/advanced-clock.xml:
19139         * docs/pwg/appendix-porting.xml:
19140         * docs/pwg/intro-preface.xml:
19141         * docs/pwg/other-base.xml:
19142         * docs/pwg/other-manager.xml:
19143         * docs/pwg/other-nton.xml:
19144         * docs/pwg/other-ntoone.xml:
19145         * docs/pwg/other-oneton.xml:
19146         * docs/pwg/pwg.xml:
19147           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19148           demuxer), remove n-to-n (was never written), fix some code examples
19149           and links and update the porting section to include all this.
19150
19151 2005-07-19  Wim Taymans  <wim@fluendo.com>
19152
19153         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19154         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19155         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19156         (gst_queue_src_activate_push), (gst_queue_change_state),
19157         (gst_queue_get_property):
19158         * gst/gstqueue.h:
19159         Propagate GstFlowReturn more intelligently upstream and output
19160         an ERROR/EOS when streaming stopped due to fatal error.
19161
19162 2005-07-19  Wim Taymans  <wim@fluendo.com>
19163
19164         * tools/gst-launch.c: (check_intr), (event_loop), (main):
19165         Don't block forever for the state change to complete, the
19166         pipeline already did with a sensible timeout.
19167
19168 2005-07-19  Wim Taymans  <wim@fluendo.com>
19169
19170         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19171         Make sure we never call the create function is we
19172         got deactivated.
19173
19174 2005-07-19  Andy Wingo  <wingo@pobox.com>
19175
19176         * gst/parse/parse.l: Attempt to solve bug #172815.
19177
19178 2005-07-19  Wim Taymans  <wim@fluendo.com>
19179
19180         * docs/design/part-clocks.txt:
19181         * docs/design/part-events.txt:
19182         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19183         Small docs updates.
19184         Only update the seeking values when we are not
19185         busy streaming.
19186
19187 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
19188
19189         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19190           Oops, ignore the result of gst_pad_push_event here.
19191
19192 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
19193
19194         * gst/base/gstbasesrc.c: (gst_base_src_loop),
19195         (gst_base_src_activate_push):
19196           Send discont event from the loop function, as pads
19197           aren't activated yet in the activate_push handler.
19198
19199         * gst/gstbin.c: (bin_bus_handler):
19200           Don't leak element name.
19201
19202 2005-07-18  Andy Wingo  <wingo@pobox.com>
19203
19204         * configure.ac: Use AS_LIBTOOL_TAGS.
19205
19206 2005-07-18  Wim Taymans  <wim@fluendo.com>
19207
19208         * docs/gst/gstreamer.types:
19209         Remove deleted types.
19210
19211 2005-07-18  Wim Taymans  <wim@fluendo.com>
19212
19213         * check/elements/gstfakesrc.c: (GST_START_TEST):
19214         * configure.ac:
19215         * gst/Makefile.am:
19216         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19217         (init_popt_callback):
19218         * gst/gst.h:
19219         * gst/gst_private.h:
19220         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19221         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19222         * gst/gstbin.h:
19223         * gst/gstbus.h:
19224         * gst/gstconfig.h.in:
19225         * gst/gstelement.c: (gst_element_class_init),
19226         (gst_element_set_base_time), (gst_element_get_base_time),
19227         (iterator_fold_with_resync), (gst_element_change_state),
19228         (gst_element_dispose), (gst_element_get_bus):
19229         * gst/gstelement.h:
19230         * gst/gstelementfactory.h:
19231         * gst/gsterror.c: (_gst_core_errors_init):
19232         * gst/gsterror.h:
19233         * gst/gstevent.h:
19234         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19235         * gst/gstindex.c:
19236         * gst/gstinfo.c: (_gst_debug_init):
19237         * gst/gstmessage.c: (_gst_message_copy):
19238         * gst/gstmessage.h:
19239         * gst/gstminiobject.h:
19240         * gst/gstobject.c:
19241         * gst/gstobject.h:
19242         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19243         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19244         * gst/gstpad.h:
19245         * gst/gstparse.h:
19246         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19247         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19248         (gst_pipeline_get_last_stream_time):
19249         * gst/gstpipeline.h:
19250         * gst/gstpluginfeature.h:
19251         * gst/gstquery.h:
19252         * gst/gstscheduler.c:
19253         * gst/gstscheduler.h:
19254         * gst/gststructure.h:
19255         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19256         (gst_task_finalize), (gst_task_func), (gst_task_create),
19257         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19258         (gst_task_stop), (gst_task_pause):
19259         * gst/gsttask.h:
19260         * gst/gsttypefind.h:
19261         * gst/gsttypes.h:
19262         * gst/registries/gstlibxmlregistry.c: (load_feature),
19263         (gst_xml_registry_load), (gst_xml_registry_save_feature):
19264         * gst/registries/gstxmlregistry.c:
19265         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19266         * gst/schedulers/threadscheduler.c:
19267         * libs/gst/control/dparammanager.h:
19268         * tools/gst-inspect.c: (print_element_list),
19269         (print_plugin_features), (print_element_features):
19270         * tools/gst-xmlinspect.c: (print_element_list),
19271         (print_plugin_info), (main):
19272         Removed plugable schedulers.
19273         Removed Scheduler/Manager from elements.
19274         Removed gsttypes.h, rearranged includes.
19275         Removed dependency pad<->element, element<>pipeline, and
19276         various others,  fix includes.
19277         implement gst_pad_get_parent() with gst_object_get_parent()
19278         Make GstTask sefcontained.
19279         Fix _get_state() on GstBin, it did not return ASYNC with a 0
19280         timeout.
19281         Fix endless loop in iterator_fold_with_resync.
19282
19283
19284 2005-07-18  Wim Taymans  <wim@fluendo.com>
19285
19286         * gst/Makefile.am:
19287         * gst/gstarch.h:
19288         Remove old file.
19289
19290 2005-07-18  Wim Taymans  <wim@fluendo.com>
19291
19292         * gst/Makefile.am:
19293         No more cothreads.h
19294
19295 2005-07-18  Wim Taymans  <wim@fluendo.com>
19296
19297         * gst/cothreads.c:
19298         * gst/cothreads.h:
19299         Let's remove these.
19300
19301 2005-07-18  Wim Taymans  <wim@fluendo.com>
19302
19303         * docs/design/part-dynamic.txt:
19304         * docs/design/part-events.txt:
19305         * docs/design/part-seeking.txt:
19306         Some more docs in the works.
19307
19308         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19309         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19310         (gst_base_transform_setcaps), (gst_base_transform_get_size),
19311         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19312         (gst_base_transform_handle_buffer),
19313         (gst_base_transform_sink_activate_push),
19314         (gst_base_transform_src_activate_pull),
19315         (gst_base_transform_set_passthrough),
19316         (gst_base_transform_is_passthrough):
19317         Refcounting fixes.
19318
19319         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19320         Cleanups.
19321
19322         * gst/gstevent.c: (gst_event_finalize):
19323         Set SRC to NULL.
19324
19325         * gst/gstutils.c: (gst_element_unlink),
19326         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19327         (gst_pad_proxy_setcaps):
19328         * gst/gstutils.h:
19329         Add _get_parent_element() to get a pads parent as an element.
19330
19331 2005-07-18  Wim Taymans  <wim@fluendo.com>
19332
19333         * check/gst/gstbin.c: (GST_START_TEST):
19334         Remove bogus test.
19335
19336 2005-07-18  Wim Taymans  <wim@fluendo.com>
19337
19338         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19339         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19340         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19341         (gst_base_sink_event), (gst_base_sink_do_sync),
19342         (gst_base_sink_chain), (gst_base_sink_loop),
19343         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19344         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19345         Refcounting fixes.
19346         Fix logic for returning ASYNC when not prerolled.
19347
19348 2005-07-18  Wim Taymans  <wim@fluendo.com>
19349
19350         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19351         Fix nasty refcount bug.
19352
19353 2005-07-16 Philippe Khalaf <burger@speedy.org>
19354
19355         * gst/elements/gstfdsrc.c:
19356         * gst/elements/gstfdsrc.h:
19357         * gst/elements/gstelements.c:
19358         * gst/elements/Makefile.am:
19359         Ported fdsrc to 0.9.
19360
19361 2005-07-16  Wim Taymans  <wim@fluendo.com>
19362
19363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19364         (gst_base_sink_do_sync):
19365         Fix compile error.
19366
19367 2005-07-16  Wim Taymans  <wim@fluendo.com>
19368
19369         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19370         (gst_base_sink_event), (gst_base_sink_get_times),
19371         (gst_base_sink_do_sync), (gst_base_sink_change_state):
19372         * gst/base/gstbasesink.h:
19373         Store and use discont values when syncing buffers as described
19374         in design docs.
19375         
19376         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19377         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19378         (gst_base_src_activate_push):
19379         Push discont event when starting.
19380
19381         * gst/elements/gstidentity.c: (gst_identity_transform):
19382         Small cleanups.
19383
19384         * gst/gstbin.c: (gst_bin_change_state):
19385         Small cleanups in base_time  distribution.
19386
19387         * gst/gstelement.c: (gst_element_set_base_time),
19388         (gst_element_get_base_time), (gst_element_change_state):
19389         * gst/gstelement.h:
19390         Added methods for the base_time of the element.
19391         Some MT fixes.
19392
19393         * gst/gstpipeline.c: (gst_pipeline_send_event),
19394         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19395         (gst_pipeline_get_last_stream_time):
19396         * gst/gstpipeline.h:
19397         MT fixes.
19398         Handle seeking as described in design doc, remove stream_time
19399         hack.
19400         Cleanups clock and stream_time selection code. Added accessors
19401         for the stream_time.
19402         
19403
19404 2005-07-16  Andy Wingo  <wingo@pobox.com>
19405
19406         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19407         (#305291).
19408
19409 2005-07-16  Wim Taymans  <wim@fluendo.com>
19410
19411         * check/gst/gstbin.c: (GST_START_TEST):
19412         Make elements silent as the deep_notify refs the
19413         parent, which might make the test fail.
19414
19415         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19416         Don't hold the lock for too long.
19417
19418 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
19419
19420         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19421           Don't unref the caps we passed to gst_caps_make_writable() after
19422           passing them. gst_caps_make_writable() will do that for us.
19423
19424 2005-07-15  Andy Wingo  <wingo@pobox.com>
19425
19426         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19427         (#157311).
19428
19429         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19430         own marshalling function for the handoff signal. Properly type the
19431         buffer as a buffer. Fixes some warnings. Should do a more general
19432         solution.
19433         (gst_identity_class_init): Plug into the right marshaller.
19434
19435 2005-07-15  Wim Taymans  <wim@fluendo.com>
19436
19437         * docs/design/part-TODO.txt:
19438         * docs/design/part-clocks.txt:
19439         * docs/design/part-element-sink.txt:
19440         * docs/design/part-events.txt:
19441         * docs/design/part-gstpipeline.txt:
19442         Updated docs, mostly DISCONT related.
19443
19444 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
19445
19446         * docs/pwg/building-pads.xml:
19447           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19448
19449 2005-07-15  Andy Wingo  <wingo@pobox.com>
19450
19451         * tools/gst-typefind.c: Update, add copyright block.
19452
19453         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19454         Normalize and truncate caps before fixation.
19455
19456         * gst/gstcaps.h:
19457         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19458         discards all but the first structure from its argument.
19459
19460 2005-07-15  Wim Taymans  <wim@fluendo.com>
19461
19462         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19463         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19464         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19465         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19466         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19467         (gst_base_transform_chain), (gst_base_transform_change_state),
19468         (gst_base_transform_set_passthrough),
19469         (gst_base_transform_is_passthrough):
19470         * gst/base/gstbasetransform.h:
19471         Make passthrough work using the bufferpools.
19472         Changed API a bit, subclasses have to write into a buffer
19473         provided by the base class.
19474         More debug info in nego functions.
19475         
19476         * gst/elements/gstidentity.c: (gst_identity_init),
19477         (gst_identity_transform):
19478         Port to new base class.
19479
19480 2005-07-15  Wim Taymans  <wim@fluendo.com>
19481
19482         * gst/gstmessage.c: (gst_message_new_state_changed):
19483         * tools/gst-launch.c: (event_loop), (main):
19484         Totally dump messages in -launch with the -m option.
19485         Fix message name for State messages,
19486
19487 2005-07-14  Wim Taymans  <wim@fluendo.com>
19488
19489         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19490         Post error messages on errors.
19491
19492 2005-07-14  Wim Taymans  <wim@fluendo.com>
19493
19494         * gst/gstcaps.c: (gst_caps_do_simplify):
19495         Remove debug info.
19496
19497         * gst/gsterror.h:
19498         Define error for stream stopped.
19499
19500         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19501         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19502         Do proper return values.
19503
19504         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19505         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19506         (gst_pad_get_range):
19507         Better return values.
19508
19509         * gst/gstpad.h:
19510         Reorganise return values, add macro to check for fatal errors.
19511
19512         * gst/gstqueue.c: (gst_queue_chain):
19513         Return proper GstFlowReturn values,
19514
19515 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19516
19517         * docs/gst/gstreamer-sections.txt:
19518         * docs/gst/gstreamer.types:
19519         * docs/gst/tmpl/gst.sgml:
19520         * docs/gst/tmpl/gstbasesink.sgml:
19521         * docs/gst/tmpl/gstbasesrc.sgml:
19522         * docs/gst/tmpl/gstbasetransform.sgml:
19523         * docs/gst/tmpl/gstbin.sgml:
19524         * docs/gst/tmpl/gstbuffer.sgml:
19525         * docs/gst/tmpl/gstcaps.sgml:
19526         * docs/gst/tmpl/gstclock.sgml:
19527         * docs/gst/tmpl/gstcompat.sgml:
19528         * docs/gst/tmpl/gstconfig.sgml:
19529         * docs/gst/tmpl/gstelement.sgml:
19530         * docs/gst/tmpl/gstelementdetails.sgml:
19531         * docs/gst/tmpl/gstelementfactory.sgml:
19532         * docs/gst/tmpl/gstenumtypes.sgml:
19533         * docs/gst/tmpl/gsterror.sgml:
19534         * docs/gst/tmpl/gstevent.sgml:
19535         * docs/gst/tmpl/gstfakesink.sgml:
19536         * docs/gst/tmpl/gstfakesrc.sgml:
19537         * docs/gst/tmpl/gstfilesink.sgml:
19538         * docs/gst/tmpl/gstfilesrc.sgml:
19539         * docs/gst/tmpl/gstfilter.sgml:
19540         * docs/gst/tmpl/gstformat.sgml:
19541         * docs/gst/tmpl/gstghostpad.sgml:
19542         * docs/gst/tmpl/gstimplementsinterface.sgml:
19543         * docs/gst/tmpl/gstindex.sgml:
19544         * docs/gst/tmpl/gstindexfactory.sgml:
19545         * docs/gst/tmpl/gstinfo.sgml:
19546         * docs/gst/tmpl/gstiterator.sgml:
19547         * docs/gst/tmpl/gstmacros.sgml:
19548         * docs/gst/tmpl/gstmemchunk.sgml:
19549         * docs/gst/tmpl/gstminiobject.sgml:
19550         * docs/gst/tmpl/gstobject.sgml:
19551         * docs/gst/tmpl/gstpad.sgml:
19552         * docs/gst/tmpl/gstpadtemplate.sgml:
19553         * docs/gst/tmpl/gstparse.sgml:
19554         * docs/gst/tmpl/gstpipeline.sgml:
19555         * docs/gst/tmpl/gstplugin.sgml:
19556         * docs/gst/tmpl/gstpluginfeature.sgml:
19557         * docs/gst/tmpl/gstquery.sgml:
19558         * docs/gst/tmpl/gstqueue.sgml:
19559         * docs/gst/tmpl/gstregistry.sgml:
19560         * docs/gst/tmpl/gstregistrypool.sgml:
19561         * docs/gst/tmpl/gstscheduler.sgml:
19562         * docs/gst/tmpl/gstschedulerfactory.sgml:
19563         * docs/gst/tmpl/gststructure.sgml:
19564         * docs/gst/tmpl/gstsystemclock.sgml:
19565         * docs/gst/tmpl/gsttaglist.sgml:
19566         * docs/gst/tmpl/gsttagsetter.sgml:
19567         * docs/gst/tmpl/gsttrace.sgml:
19568         * docs/gst/tmpl/gsttrashstack.sgml:
19569         * docs/gst/tmpl/gsttypefind.sgml:
19570         * docs/gst/tmpl/gsttypefindfactory.sgml:
19571         * docs/gst/tmpl/gsttypes.sgml:
19572         * docs/gst/tmpl/gsturihandler.sgml:
19573         * docs/gst/tmpl/gsturitype.sgml:
19574         * docs/gst/tmpl/gstutils.sgml:
19575         * docs/gst/tmpl/gstvalue.sgml:
19576         * docs/gst/tmpl/gstversion.sgml:
19577         * docs/gst/tmpl/gstxml.sgml:
19578         * docs/libs/tmpl/gstcontrol.sgml:
19579         * docs/libs/tmpl/gstdataprotocol.sgml:
19580         * docs/libs/tmpl/gstdparam.sgml:
19581         * docs/libs/tmpl/gstdplinint.sgml:
19582         * docs/libs/tmpl/gstdpman.sgml:
19583         * docs/libs/tmpl/gstdpsmooth.sgml:
19584         * docs/libs/tmpl/gstgetbits.sgml:
19585         * docs/libs/tmpl/gstunitconvert.sgml:
19586         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19587         (gst_push_src_base_init), (gst_push_src_class_init),
19588         (gst_push_src_init), (gst_push_src_create):
19589         * gst/base/gstpushsrc.h:
19590         * gst/elements/gstelements.c:
19591         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19592         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19593         (gst_fake_sink_init), (gst_fake_sink_set_property),
19594         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19595         (gst_fake_sink_event), (gst_fake_sink_preroll),
19596         (gst_fake_sink_render), (gst_fake_sink_change_state):
19597         * gst/elements/gstfakesink.h:
19598         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19599         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19600         (gst_fake_src_base_init), (gst_fake_src_class_init),
19601         (gst_fake_src_init), (gst_fake_src_event_handler),
19602         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19603         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19604         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19605         (gst_fake_src_create_buffer), (gst_fake_src_create),
19606         (gst_fake_src_start), (gst_fake_src_stop):
19607         * gst/elements/gstfakesrc.h:
19608         * gst/elements/gstfilesink.c: (_do_init),
19609         (gst_file_sink_base_init), (gst_file_sink_class_init),
19610         (gst_file_sink_init), (gst_file_sink_dispose),
19611         (gst_file_sink_set_location), (gst_file_sink_set_property),
19612         (gst_file_sink_get_property), (gst_file_sink_open_file),
19613         (gst_file_sink_close_file), (gst_file_sink_query),
19614         (gst_file_sink_event), (gst_file_sink_render),
19615         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19616         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19617         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19618         * gst/elements/gstfilesink.h:
19619         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19620         (gst_file_src_class_init), (gst_file_src_init),
19621         (gst_file_src_finalize), (gst_file_src_set_location),
19622         (gst_file_src_set_property), (gst_file_src_get_property),
19623         (gst_file_src_map_region), (gst_file_src_map_small_region),
19624         (gst_file_src_create_mmap), (gst_file_src_create_read),
19625         (gst_file_src_create), (gst_file_src_is_seekable),
19626         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19627         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19628         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19629         (gst_file_src_uri_handler_init):
19630         * gst/elements/gstfilesrc.h:
19631           more autistic cleanliness in functions/names/defines
19632
19633 2005-07-13  Andy Wingo  <wingo@pobox.com>
19634
19635         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19636         source couldn't negotiate.
19637
19638         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19639         connections again.
19640
19641         * gst/gstutils.h:
19642         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19643         function. I am channeling Hades. Put your boots on suckers!!!
19644
19645 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19646
19647         * testsuite/caps/Makefile.am:
19648         * testsuite/caps/value_compare.c:
19649         * testsuite/caps/value_intersect.c:
19650         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19651           move two testsuite apps over to the check dir
19652
19653 2005-07-12  Wim Taymans  <wim@fluendo.com>
19654
19655         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19656         Added more debug info in the negotiate process.
19657
19658         * gst/gstmessage.h:
19659         Prepare for segment playback.
19660
19661         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19662         Better debugging.
19663
19664         * gst/gstutils.c:
19665         Some more docs.
19666
19667         * tools/gst-launch.c: (main):
19668         NULL pipeline on errors.
19669
19670 2005-07-12  Andy Wingo  <wingo@pobox.com>
19671
19672         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19673         not it comes from a malloc region. Make sure our copy gets freed.
19674
19675 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19678         * check/gst/gstmessage.c: (GST_START_TEST):
19679         * check/gst/gststructure.c: (GST_START_TEST),
19680         (gst_structure_suite), (main):
19681           more testing
19682         * gst/gstelement.c: (gst_element_message_full):
19683           clean up GError and debug string now that they get copied
19684         * gst/gstmessage.c: (gst_message_new_error),
19685         (gst_message_new_warning), (gst_message_parse_error),
19686         (gst_message_parse_warning):
19687           use GST_TYPE_G_ERROR for structure_new, and take copies of
19688           arguments, so that we don't mess up refcounting
19689
19690 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19691
19692         * check/Makefile.am:
19693           add per-test valgrind targets
19694         * check/gst-libs/gdp.c: (GST_START_TEST),
19695         (gst_data_protocol_suite), (main):
19696           clean up
19697
19698 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19699
19700         * check/Makefile.am:
19701           instate more valgrindable tests
19702         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19703         (GST_START_TEST), (fakesrc_suite):
19704         * check/gst/gstpad.c: (GST_START_TEST):
19705         * check/gst/gststructure.c: (GST_START_TEST):
19706           fix test leaks
19707         * docs/gst/tmpl/gstminiobject.sgml:
19708         * gst/gstpad.c: (gst_pad_finalize):
19709           fix the static mutex leak
19710
19711 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19712
19713         * check/Makefile.am:
19714           add two more tests for valgrinding
19715         * check/gst/gstvalue.c: (GST_START_TEST):
19716           test refcount of deserialized buffer, found a leak
19717         * docs/gst/gstreamer-docs.sgml:
19718         * docs/gst/gstreamer-sections.txt:
19719         * docs/gst/gstreamer.types:
19720         * docs/gst/tmpl/gstminiobject.sgml:
19721           add miniobject to docs
19722         * gst/gstminiobject.c:
19723           add some docs
19724         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19725         (gst_string_unwrap):
19726           fix a hard-to-find invalid write for one of the tests
19727           fix a leak for deserialized buffers
19728
19729 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19730
19731         * docs/pwg/advanced-events.xml:
19732         * docs/pwg/advanced-request.xml:
19733         * docs/pwg/advanced-scheduling.xml:
19734         * docs/pwg/appendix-porting.xml:
19735         * docs/pwg/building-boiler.xml:
19736         * docs/pwg/intro-preface.xml:
19737         * docs/pwg/other-ntoone.xml:
19738           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19739           of example code and explanation for pad activation, loop() and
19740           getrange() functions and a bit more. Remove old comments pointing
19741           to loop-functions.
19742         * examples/pwg/Makefile.am:
19743           Add loop/getrange examples.
19744
19745 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19746
19747         * configure.ac:
19748           check for valgrind binary + some fixes
19749         * check/gst.supp:
19750           valgrind suppressions for the tests
19751         * check/Makefile.am:
19752           add a valgrind: target that valgrinds the unit tests
19753         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19754         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19755         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19756         * check/gst/gstghostpad.c:
19757           added some cleanup
19758         * check/gst/gstdata.c:
19759           removed
19760         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19761         (thread_unref), (gst_mini_object_suite), (main):
19762           added
19763         * gst/gst.c: (gst_deinit):
19764         * gst/gst.h:
19765           add a method to clean up.
19766         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19767         (gst_system_clock_obtain):
19768           allow for disposing the system clock.
19769         * tools/gst-launch.c: (main):
19770           deinit
19771
19772 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19773
19774         * docs/gst/tmpl/gstbasesrc.sgml:
19775         * docs/gst/tmpl/gstfakesrc.sgml:
19776         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19777         (gst_base_src_init), (gst_base_src_set_property),
19778         (gst_base_src_get_property), (gst_base_src_get_range),
19779         (gst_base_src_start):
19780         * gst/base/gstbasesrc.h:
19781           add num-buffers property
19782         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19783         (gst_fakesrc_init), (gst_fakesrc_set_property),
19784         (gst_fakesrc_get_property), (gst_fakesrc_create),
19785         (gst_fakesrc_start):
19786           remove num-buffers property
19787
19788 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19789
19790         * docs/gst/gstreamer-sections.txt:
19791         * docs/gst/tmpl/gstbasesink.sgml:
19792         * docs/gst/tmpl/gstbasesrc.sgml:
19793         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19794         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19795         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19796         (gst_base_sink_set_property), (gst_base_sink_get_property),
19797         (gst_base_sink_handle_object), (gst_base_sink_event),
19798         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19799         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19800         (gst_base_sink_loop), (gst_base_sink_deactivate),
19801         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19802         (gst_base_sink_change_state):
19803         * gst/base/gstbasesink.h:
19804         * gst/base/gstbasesrc.h:
19805         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19806         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19807         (gst_filesink_init):
19808           more macro splitting
19809
19810 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19811
19812         * gst/gstelement.c: (gst_element_get_bus):
19813           add debug
19814         * tools/gst-launch.c: (check_intr), (event_loop):
19815           fix bus leaks
19816
19817 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19818
19819         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19820           fix a caps leak
19821
19822 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19823
19824         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19825         (gst_base_src_finalize):
19826           add finalize method and clean up properly
19827         * gst/gstpipeline.c: (gst_pipeline_dispose):
19828           add debug
19829
19830 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19831
19832         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19833         (gst_bin_suite):
19834           add more things to check
19835         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19836         * gst/gstelement.c:
19837           more debug
19838
19839 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19840
19841         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19842         (GST_START_TEST), (fakesrc_suite):
19843         * check/gst-libs/gdp.c: (GST_START_TEST):
19844         * check/gst/gst.c: (GST_START_TEST):
19845         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19846         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19847         * check/gst/gstbus.c: (GST_START_TEST):
19848         * check/gst/gstcaps.c: (GST_START_TEST):
19849         * check/gst/gstdata.c: (GST_START_TEST):
19850         * check/gst/gstelement.c: (GST_START_TEST):
19851         * check/gst/gstghostpad.c: (GST_START_TEST):
19852         * check/gst/gstiterator.c: (GST_START_TEST):
19853         * check/gst/gstmessage.c: (GST_START_TEST):
19854         * check/gst/gstobject.c: (GST_START_TEST):
19855         * check/gst/gstpad.c: (GST_START_TEST):
19856         * check/gst/gststructure.c: (GST_START_TEST):
19857         * check/gst/gstsystemclock.c: (GST_START_TEST),
19858         (gst_systemclock_suite):
19859         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19860         * check/gst/gstvalue.c: (GST_START_TEST):
19861         * check/pipelines/cleanup.c: (GST_START_TEST):
19862         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19863         * check/states/sinks.c: (GST_START_TEST):
19864         * check/gstcheck.c: (gst_check_init):
19865         * check/gstcheck.h:
19866           add debugging category
19867           use GST_START_TEST now, so we add a debug line
19868
19869 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19870
19871         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19872           add test for state change message on a bin
19873         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19874           add another test
19875         * gst/gstbin.c: (gst_bin_init):
19876         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19877         * gst/gstelement.c: (gst_element_post_message),
19878         (gst_element_set_state):
19879         * gst/gstelementfactory.c: (gst_element_factory_create):
19880         * gst/gstmessage.c: (gst_message_new):
19881         * gst/gstscheduler.c:
19882           various debugging additions and cleanups
19883
19884 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19885
19886         * check/Makefile.am:
19887         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19888         (main):
19889           adding tests for elements
19890         * gst/gstelement.c: (gst_element_dispose):
19891
19892 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19893
19894         * gst/registries/gstlibxmlregistry.c: (load_feature):
19895           plug more leaks.  A simple gst_init() now is leakfree, yay.
19896
19897 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19898
19899         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19900         (gst_xml_registry_load):
19901           plug another memleak
19902
19903 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19904
19905         * configure.ac:
19906           use GST_SET_ERROR_CFLAGS
19907         * docs/faq/cvs.xml:
19908           change to ERROR_CFLAGS
19909
19910 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19911
19912         * configure.ac:
19913           make GST_ERROR_CFLAGS overridable and re-enable Werror
19914         * docs/faq/cvs.xml:
19915           add a note about error CFLAGS
19916         * docs/gst/tmpl/gstfakesrc.sgml:
19917         * gst/elements/gstfakesrc.c:
19918           comment out some unused code
19919         * gst/gst.c: (split_and_iterate):
19920         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19921         (load_feature):
19922           plug some memleaks
19923
19924 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19925
19926         * common/Makefile.am:
19927         * common/gtk-doc.mak:
19928         * docs/gst/Makefile.am:
19929           factor out gtk-doc.mak
19930
19931 2005-07-07  Wim Taymans  <wim@fluendo.com>
19932
19933         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19934         (gst_thread_scheduler_dispose):
19935         Unlock the STREAM_LOCK completely.
19936
19937 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19938
19939         * check/Makefile.am:
19940         * check/elements/.cvsignore:
19941         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19942         (START_TEST), (fakesrc_suite), (main):
19943         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19944         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19945         (gst_fakesrc_create), (gst_fakesrc_start):
19946         * gst/elements/gstfakesrc.h:
19947           adding a first element test
19948
19949 2005-07-07  Andy Wingo  <wingo@pobox.com>
19950
19951         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19952         debug message.
19953
19954 2005-07-07  Wim Taymans  <wim@fluendo.com>
19955
19956         * gst/gstquery.c:
19957         * gst/gstquery.h:
19958         Remove old types
19959
19960 2005-07-07  Wim Taymans  <wim@fluendo.com>
19961
19962         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19963         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19964         Allow subclasses to implement their own negotiation.
19965
19966 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19967
19968         * docs/design/part-gstbin.txt:
19969         * docs/design/part-gstpipeline.txt:
19970           Update design notes to reflect the movement of
19971           responsibility for bus handling from GstPipeline to
19972           GstBin
19973
19974 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19975
19976         * configure.ac:
19977           Remove unnecessary queue2/3/4 examples.
19978
19979 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19980
19981         * examples/Makefile.am:
19982         * examples/helloworld/helloworld.c: (event_loop), (main):
19983         * examples/queue/queue.c: (event_loop), (main):
19984         * examples/queue2/queue2.c: (main):
19985           Update a couple of the examples to work again.
19986
19987         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19988         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19989          Spelling corrections and extra debug.
19990         
19991         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19992         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19993         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19994         * gst/gstbin.h:
19995         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19996         (gst_pipeline_change_state):
19997         * gst/gstpipeline.h:
19998           Move the bus handler for children to the GstBin, and create a
19999           separate bus for receiving messages from children to the one the
20000           bus sends 'upwards' on.
20001
20002 2005-07-06  Wim Taymans  <wim@fluendo.com>
20003
20004         * gst/base/README:
20005         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20006         (gst_base_sink_handle_object), (gst_base_sink_loop),
20007         (gst_base_sink_change_state):
20008         * gst/base/gstbasesink.h:
20009         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20010         (gst_base_src_init), (gst_base_src_setcaps),
20011         (gst_base_src_getcaps), (gst_base_src_loop),
20012         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
20013         (gst_base_src_start), (gst_base_src_change_state):
20014         * gst/base/gstbasesrc.h:
20015         Make basesrc negotiate.
20016         Handle the case where preroll fails in basesink.
20017         Update README.
20018
20019 2005-07-06  Wim Taymans  <wim@fluendo.com>
20020
20021         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20022         Implement the fixate function.
20023         Clean up acceptcaps.
20024
20025 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20026
20027         * docs/pwg/building-filterfactory.xml:
20028         * docs/pwg/pwg.xml:
20029           Remove never-written filter-factory chapter; I'll add the various
20030           base classes to part 4 ("other element types") later on.
20031
20032 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20033
20034         * docs/pwg/advanced-negotiation.xml:
20035         * docs/pwg/building-boiler.xml:
20036         * docs/pwg/building-pads.xml:
20037         * docs/pwg/pwg.xml:
20038         * examples/pwg/Makefile.am:
20039           Add a chapter on caps negotiation, simplify the original code
20040           samples a bit w.r.t. caps negotiation, add link to the advanced
20041           section. Add a bunch of examples showing different use cases of
20042           different types of caps negotiation. Upstream renegotiation isn't
20043           fully documented yet since nobody knows how that works.
20044
20045 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20046
20047         * check/gst/gstpad.c:
20048         * check/gstcheck.c:
20049         * gst/gstpad.c: (gst_pad_get_internal_links_default):
20050           if pad has no parent, return NULL as list of internal links
20051
20052 2005-07-05  Andy Wingo  <wingo@pobox.com>
20053
20054         * gst/elements/gstfilesrc.c:
20055         * gst/elements/gstfakesrc.c: 
20056         * gst/base/gstpushsrc.c:
20057         * gst/base/gstbasesrc.h: 
20058         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20059         
20060 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
20061
20062         * Makefile.am:
20063           better report generation target (lcov needs a patch)
20064
20065 2005-07-05  Andy Wingo  <wingo@pobox.com>
20066
20067         * gst/elements, testsuite: Null if we got it...
20068
20069 2005-07-05  Wim Taymans  <wim@fluendo.com>
20070
20071         * configure.ac:
20072         * libs/gst/dataprotocol/Makefile.am:
20073         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20074         * libs/gst/dataprotocol/dataprotocol.h:
20075         * pkgconfig/Makefile.am:
20076         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20077         * pkgconfig/gstreamer-dataprotocol.pc.in:
20078         Ported dataprotol to 0.9. 
20079         Added pkgconfig files.
20080
20081 2005-07-05  Andy Wingo  <wingo@pobox.com>
20082
20083         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20084         Default to returning TRUE for the case when tranform_caps returns
20085         a fixed caps, like for identity or volume.
20086
20087         * check/gst/gstbus.c (pound_bus_with_messages): 
20088         * check/gst/gstmessage.c (START_TEST): 
20089         * check/pipelines/simple_launch_lines.c (got_handoff): Application
20090         message API change.
20091
20092         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20093         logic weaks here: always run transform_caps, trying passthrough
20094         operation only if the original caps intersects with the transform.
20095
20096         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20097         source and sink caps.
20098
20099         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20100         Intersect the peer caps with the pad template before going into
20101         transform_caps.
20102         (gst_base_transform_transform_caps): More debugging.
20103
20104         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20105         src argument.
20106
20107 2005-07-04  Edward Hervey  <edward@fluendo.com>
20108
20109         * gst/gstutils.c:
20110         * gst/gstutils.h:
20111         (gst_pad_add_*_probe): now returns the signal id for better wrapping
20112         in bindings.
20113
20114 2005-07-04  Andy Wingo  <wingo@pobox.com>
20115
20116         * check/gst/gstpad.c: Only set explicit caps on pads.
20117
20118 2005-07-01  Andy Wingo  <wingo@pobox.com>
20119
20120         * tests/network-clock.scm: Commentary update.
20121
20122         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20123         Didn't really make sense, not implementable with basetransform,
20124         etc.
20125         (gst_identity_transform): Unref inbuf via make_writable. Feeble
20126         attempt at implementing the sync property, needs an unlock method.
20127
20128         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20129         New func, by default returns the same caps (the identity
20130         transformation).
20131         (gst_base_transform_getcaps): Uses transform_caps to return
20132         something sensible.
20133         (gst_base_transform_setcaps): Complicated logic to get caps on
20134         both pads, even if they are different, and to call set_caps once
20135         for every time both pads get their caps set.
20136         (gst_base_transform_handle_buffer): Give the ref to the transform
20137         function. Allows in-place modification of the buffer.
20138
20139         * gst/base/gstbasetransform.h (transform_caps): New class method.
20140         Given caps on one side, what can I do on the other.
20141         (set_caps): Take two caps, one for each side of the element.
20142
20143         * gst/gstpad.h:
20144         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20145         caps in place. This is safe because we can check the mutability of
20146         the caps, and a good idea because fixate functions are just called
20147         as a matter of last resort. (Not actually implemented.)
20148         (gst_pad_set_caps): If the caps we're setting is actually the same
20149         as the existing pad caps, just update the pointer without calling
20150         setcaps. Assert that caps is either NULL or fixed, as per the
20151         docs.
20152
20153         * gst/gstghostpad.c: Update for fixate changes.
20154
20155 2005-07-02  Andy Wingo  <wingo@pobox.com>
20156
20157         * gst/gstcaps.c:
20158         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20159         two refcounts makes it immutable, which is enough. Doc more.
20160
20161 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
20162
20163         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20164           Put the mini_object into GValue as a mini_object,
20165           not a gpointer, since that's how we declared
20166           the signal.
20167
20168 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20169
20170         * examples/pwg/Makefile.am:
20171           Fix buildbot again.
20172
20173 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20174
20175         * docs/pwg/building-testapp.xml:
20176           Add extra check.
20177         * examples/pwg/Makefile.am:
20178           Fix buildbot.
20179
20180 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20181
20182         * configure.ac:
20183         * examples/Makefile.am:
20184         * examples/pwg/Makefile.am:
20185         * examples/pwg/extract.pl:
20186           Enable building the PWG examples.
20187         * docs/pwg/advanced-interfaces.xml:
20188           Add URI interface stub.
20189         * docs/pwg/advanced-types.xml:
20190         * docs/pwg/other-autoplugger.xml:
20191         * docs/pwg/appendix-porting.xml:
20192         * docs/pwg/pwg.xml:
20193           Add porting guide (mostly stubs), remove autoplugging (see ADM).
20194         * docs/pwg/building-boiler.xml:
20195         * docs/pwg/building-chainfn.xml:
20196         * docs/pwg/building-pads.xml:
20197         * docs/pwg/building-props.xml:
20198         * docs/pwg/building-state.xml:
20199         * docs/pwg/building-testapp.xml:
20200           Update the building-*.xml parts for 0.9 changes. All examples
20201           code blocks compile in examples/pwg/*.
20202
20203 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20204
20205         * docs/manual/advanced-autoplugging.xml:
20206         * docs/manual/appendix-checklist.xml:
20207         * docs/manual/appendix-integration.xml:
20208         * docs/manual/highlevel-components.xml:
20209           Fix playbin/decodebin examples, update docs a bit, mention bus
20210           instead of signals in various places, mention kmplayer and
20211           kaffeine since they have a working GStreamer backend in the KDE
20212           section.
20213
20214 2005-06-30  Wim Taymans  <wim@fluendo.com>
20215
20216         * CHANGES-0.9:
20217         * docs/design/draft-ghostpads.txt:
20218         * docs/design/draft-push-pull.txt:
20219         * docs/design/draft-query.txt:
20220         * docs/design/part-TODO.txt:
20221         * docs/design/part-query.txt:
20222         Added CHANGES-0.9 doc, updated status of other docs.
20223         
20224         * gst/gstquery.h:
20225         Remove "hmm" macro
20226
20227 2005-06-30  Wim Taymans  <wim@fluendo.com>
20228
20229         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20230         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20231         (gst_base_sink_change_state):
20232         * gst/base/gstbasesink.h:
20233         Some tweaks, only EOS and a buffer complete a preroll.
20234
20235 2005-06-30  Andy Wingo  <wingo@pobox.com>
20236
20237         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20238         activate_push down to the internal pad as well.
20239
20240 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
20241
20242         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20243
20244         * gst/gsttaginterface.c:
20245           Some documentation fixes (#307394 and #307397).
20246
20247 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
20248
20249         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20250
20251         * gst/gstvalue.c: (gst_value_intersect_list):
20252           Fix memleak (#309125).
20253
20254 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20255
20256         * docs/manual/advanced-dataaccess.xml:
20257           Fix fakesrc example to compile; doesn't work, bug somewhere...?
20258         * docs/manual/basics-pads.xml:
20259           Add reference for filtered caps to above chapter.
20260
20261 2005-06-30  Wim Taymans  <wim@fluendo.com>
20262
20263         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20264         (gst_bin_change_state):
20265         Probes are gone.
20266         Lame attempt at making the state change function a bit
20267         more readable.
20268
20269 2005-06-30  Wim Taymans  <wim@fluendo.com>
20270
20271         * docs/design/part-clocks.txt:
20272         * docs/design/part-element-sink.txt:
20273         * docs/design/part-events.txt:
20274         * docs/design/part-preroll.txt:
20275         * docs/design/part-states.txt:
20276         Some more tweeks and additions to the docs.
20277
20278 2005-06-30  Wim Taymans  <wim@fluendo.com>
20279
20280         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20281         (default_have_data), (gst_pad_class_init), (gst_pad_init),
20282         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20283         (gst_pad_check_pull_range), (gst_pad_get_range),
20284         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20285         * gst/gstpad.h:
20286         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20287         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20288         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20289         (gst_pad_remove_buffer_probe):
20290         Removed atomic operations, use existing LOCK.
20291         Move exception handling out of main code path.
20292
20293 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20294
20295         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20296         (silly_return_true_function), (gst_pad_class_init),
20297         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20298         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20299         (gst_pad_send_event):
20300           Fix accumulator, add default value by using _emitv() instead
20301           of _emit() for signal emission.
20302
20303 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20304
20305         * docs/manual/advanced-dataaccess.xml:
20306         * examples/manual/Makefile.am:
20307           Add probe example.
20308         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20309           Make work (??).
20310
20311 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
20312
20313         * gst/elements/gstfilesink.c: (gst_filesink_render):
20314           Simplify code so that we don't have to handle short
20315           writes and return GST_FLOW_ERROR if an error occured.
20316
20317 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20318
20319         * docs/gst/gstreamer-docs.sgml:
20320           Remove probes more.
20321
20322 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20323
20324         * docs/gst/gstreamer-sections.txt:
20325         * docs/gst/tmpl/gstpad.sgml:
20326         * docs/gst/tmpl/gstprobe.sgml:
20327         * gst/Makefile.am:
20328         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20329         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20330         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20331         (gst_pad_push_event), (gst_pad_send_event):
20332         * gst/gstpad.h:
20333         * gst/gstutils.c: (gst_pad_add_data_probe),
20334         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20335         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20336         (gst_pad_remove_buffer_probe):
20337         * gst/gstutils.h:
20338           Remove old probes, add new g-signal-based probes and some utility
20339           functions.
20340
20341 2005-06-29  Edward Hervey  <edward@fluendo.com>
20342
20343         * gst/gstelementfactory.c:
20344         * gst/gstutils.h:
20345         * gst/gstutils.c:
20346         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20347         the definition to the header file.
20348
20349 2005-06-29  Andy Wingo  <wingo@pobox.com>
20350
20351         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20352         plugins from the source directory.
20353
20354 2005-06-29  Wim Taymans  <wim@fluendo.com>
20355
20356         * docs/gst/tmpl/gstbuffer.sgml:
20357         * docs/gst/tmpl/gstclock.sgml:
20358         Some fixings for blantently wrong text.
20359
20360 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20361
20362         * check/Makefile.am:
20363         * gst/gst.c: (add_path_func), (init_pre):
20364         * gst/gstregistry.c: (gst_registry_add_path):
20365           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20366           only scan the GST_PLUGIN_PATH locations, and not add
20367           system locations
20368
20369 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20370
20371         * docs/gst/gstreamer-sections.txt:
20372         * docs/gst/tmpl/gstbasesrc.sgml:
20373         * gst/gstelement.c:
20374         * gst/gstelement.h:
20375         * gst/gstevent.c:
20376         * gst/gstutils.c:
20377           doc fixes
20378
20379 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20380
20381         * docs/manual/advanced-autoplugging.xml:
20382           Fix autoplugging example.
20383
20384 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20385
20386         * docs/manual/advanced-autoplugging.xml:
20387         * docs/manual/mime-world.fig:
20388           Try to get autoplugging working, fix type detection. Fix text
20389           in hello-world image.
20390
20391 2005-06-29  Wim Taymans  <wim@fluendo.com>
20392
20393         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20394         (gst_base_sink_change_state):
20395         Small debug line.
20396
20397         * gst/gstclock.h:
20398         map SIGNAL and BROADCAST to the right function.
20399
20400         * gst/gstobject.h:
20401         Remove redundant braces.
20402
20403         * gst/gstpad.c: (gst_pad_set_caps):
20404         Don't call setcaps function when reseting caps to NULL.
20405
20406         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20407         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20408         (gst_system_clock_id_unschedule):
20409         Use BROADCAST as this is what we do.
20410
20411 2005-06-29  Wim Taymans  <wim@fluendo.com>
20412
20413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20414         We are actually prerolling before commiting the state
20415         change. 
20416
20417 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20418
20419         * docs/manual/advanced-clocks.xml:
20420         * docs/manual/advanced-interfaces.xml:
20421         * docs/manual/advanced-metadata.xml:
20422         * docs/manual/advanced-position.xml:
20423         * docs/manual/advanced-schedulers.xml:
20424         * docs/manual/advanced-threads.xml:
20425         * docs/manual/appendix-porting.xml:
20426         * docs/manual/basics-bins.xml:
20427         * docs/manual/basics-bus.xml:
20428         * docs/manual/basics-elements.xml:
20429         * docs/manual/basics-helloworld.xml:
20430         * docs/manual/basics-pads.xml:
20431         * docs/manual/highlevel-components.xml:
20432         * docs/manual/manual.xml:
20433         * docs/manual/thread.fig:
20434           Update (until threads/scheduling) Application Development Manual;
20435           remove GstThread, add GstBus, add simple porting checklist, add
20436           documentation for tag writing, clocks, make all examples until this
20437           part compile and run.
20438         * examples/manual/Makefile.am:
20439           Update from changes to Application Development Manual; add bus
20440           example, remove thread example.
20441
20442 2005-06-28  Wim Taymans  <wim@fluendo.com>
20443
20444         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20445         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20446         (gst_bus_source_dispatch):
20447         Add debugging messages.
20448         Make internal methods static.
20449         Handle the case where the bus is flushed in the handler.
20450         
20451         * gst/gstelement.c: (gst_element_get_bus):
20452         Fix refcount in _get_bus();
20453
20454         * gst/gstpipeline.c: (gst_pipeline_change_state),
20455         (gst_pipeline_get_clock_func):
20456         Clock refcounting fixes.
20457         Handle the case where preroll timed out more gracefully.
20458         
20459         * gst/gstsystemclock.c: (gst_system_clock_dispose):
20460         Clean up the internal thread in dispose. This is needed
20461         for subclasses that actually get disposed.
20462         
20463         * gst/schedulers/threadscheduler.c:
20464         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20465         (gst_thread_scheduler_dispose):
20466         Free thread pool in dispose.
20467
20468 2005-06-28  Andy Wingo  <wingo@pobox.com>
20469
20470         * tests/network-clock-utils.scm (debug, print-event): New utils.
20471
20472         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20473         (*packet-loss*): Unified loss probability.
20474         (network-time): Report out-of-band events.
20475
20476         * tests/plot-data: Add support for out-of-band events. Hack it
20477         into this script instead of passing it down the pipe; should fix
20478         this later.
20479
20480 2005-06-28  Wim Taymans  <wim@fluendo.com>
20481
20482         * docs/gst/gstreamer.types:
20483         * docs/gst/tmpl/gstbasesrc.sgml:
20484         * docs/gst/tmpl/gstpad.sgml:
20485         Docs fixes.
20486
20487 2005-06-28  Wim Taymans  <wim@fluendo.com>
20488
20489         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20490         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20491         (gst_proxy_pad_do_fixatecaps):
20492         Correctly proxy the check_pull_range function.
20493
20494 2005-06-28  Andy Wingo  <wingo@pobox.com>
20495
20496         * tests/network-clock.scm: Removed need for slib.
20497         
20498 2005-06-28  Wim Taymans  <wim@fluendo.com>
20499
20500         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20501         (gst_basesink_preroll_queue_flush):
20502         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20503         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20504         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20505         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20506         (gst_proxy_pad_set_property):
20507         * gst/gstpad.c:
20508         * gst/gstpad.h:
20509         * gst/gstqueue.c: (gst_queue_init):
20510         The deprecated pad loop function is removed now.
20511
20512 2005-06-28  Andy Wingo  <wingo@pobox.com>
20513
20514         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20515         New parameters, simulate network packet loss.
20516
20517         * tests/network-clock-utils.scm: Initialize the RNG.
20518
20519 2005-06-28  Wim Taymans  <wim@fluendo.com>
20520
20521         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20522         (gst_basesink_event), (gst_basesink_deactivate):
20523         Flushing the preroll queue always needs to unlock the waiters.
20524
20525 2005-06-28  Edward Hervey  <edward@fluendo.com>
20526
20527         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20528         Wheen a seek was successful on a pipeline, set the stream_time to the
20529         seek offset in order to have a synchronized stream_time.
20530
20531 2005-06-28  Wim Taymans  <wim@fluendo.com>
20532
20533         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20534         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20535         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20536         (gst_proxy_pad_do_fixatecaps):
20537         Call wrapper function instead of just calling the function
20538         pointers. This takes care of any locking and whatmore.
20539
20540 2005-06-28  Wim Taymans  <wim@fluendo.com>
20541
20542         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20543         (gst_pad_pull_range):
20544         * gst/gstpad.h:
20545         CONNECTED -> LINKED.
20546
20547 2005-06-28  Andy Wingo  <wingo@pobox.com>
20548
20549         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20550         source-munging commit!!!
20551
20552         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20553         (gst_object_sink): Take gpointer arguments, not GstObject --
20554         avoids casts. Like GLib.
20555
20556         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20557         activate.
20558
20559 2005-06-27  Andy Wingo  <wingo@pobox.com>
20560
20561         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20562         remaining buffer.
20563
20564         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20565         returns a sorted copy of the trace list.
20566         (gst_alloc_trace_print_live): New API, only prints traces with
20567         live objects. Sort the list.
20568         (gst_alloc_trace_print_all): Sort the list.
20569         (gst_alloc_trace_print): Align columns.
20570
20571         * gst/elements/gstttypefindelement.c:
20572         * gst/elements/gsttee.c:
20573         * gst/base/gstbasesrc.c:
20574         * gst/base/gstbasesink.c:
20575         * gst/base/gstbasetransform.c:
20576         * gst/gstqueue.c: Adapt for pad activation changes.
20577
20578         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20579         sched.
20580         (gst_pipeline_dispose): Drop ref on sched.
20581
20582         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20583         (gst_pad_activate_default): Push mode by default.
20584         (pre_activate_switch, post_activate_switch): New stubs, things to
20585         do before and after switching activation modes on pads.
20586         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20587         the pad's activate function to choose which mode to activate.
20588         Shortcut on deactivation and call the right function directly.
20589         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20590         mode.
20591         (gst_pad_activate_push): New API, same for push mode.
20592         (gst_pad_set_activate_function) 
20593         (gst_pad_set_activatepull_function) 
20594         (gst_pad_set_activatepush_function): Setters for new API.
20595
20596         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20597         Trace all miniobjects.
20598         (gst_mini_object_make_writable): Unref the arg if we copy, like
20599         gst_caps_make_writable.
20600
20601         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20602
20603         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20604         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20605         Adapt for new pad API.
20606
20607         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20608
20609         * gst/gstelement.h:
20610         * gst/gstelement.c (gst_element_iterate_src_pads) 
20611         (gst_element_iterate_sink_pads): New API functions.
20612         
20613         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20614         should fold into gstiterator.c in some form.
20615         (gst_element_pads_activate): Simplified via use of fold and
20616         delegation of decisions to gstpad->activate.
20617
20618         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20619         help in debugging.
20620
20621         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20622         class once in init, like gstmessage. Didn't run into this issue
20623         but it seems correct. Don't initialize a trace, gstminiobject does
20624         that.
20625
20626         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20627         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20628         to the bus.
20629         (assert_live_count): New util function, uses alloc traces to check
20630         cleanup.
20631
20632         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20633         To be modified when unlink drops the internal pad.
20634
20635 2005-06-27  Wim Taymans  <wim@fluendo.com>
20636
20637         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20638         (gst_bin_change_state):
20639         Cleanup the get_state() function a little, make sure it
20640         iterates the same set of elements.
20641         Added stub iterate_state_order().
20642
20643 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20644
20645         * docs/gst/gstreamer-docs.sgml:
20646         * docs/gst/gstreamer-sections.txt:
20647         * docs/gst/gstreamer.types:
20648         * docs/gst/tmpl/gstbasesink.sgml:
20649         * docs/gst/tmpl/gstbasesrc.sgml:
20650         * docs/gst/tmpl/gstbasetransform.sgml:
20651         * docs/gst/tmpl/gstelement.sgml:
20652         * docs/gst/tmpl/gstiterator.sgml:
20653         * gst/base/gstbasesrc.c:
20654         * gst/base/gstbasesrc.h:
20655         * gst/base/gstbasetransform.h:
20656         * gst/gstelement.c:
20657         * gst/gstiterator.h:
20658           adding basetransform and iterator docs
20659
20660 2005-06-27  Andy Wingo  <wingo@pobox.com>
20661
20662         * docs/design/part-activation.txt: Notes on how activation should
20663         work -- not quite implemented yet.
20664
20665 2005-06-25  Wim Taymans  <wim@fluendo.com>
20666
20667         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20668         At least get the chain function correct, needs more
20669         fixing.
20670
20671 2005-06-25  Wim Taymans  <wim@fluendo.com>
20672
20673         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20674         (gst_basesink_handle_object), (gst_basesink_event),
20675         (gst_basesink_do_sync), (gst_basesink_handle_event),
20676         (gst_basesink_change_state):
20677         * gst/gsttask.h:
20678         Right, two problems here: ghostpads don't take locks and
20679         glib _rec_mutex_lock_full() with depth==0 still locks.
20680         Catch illegal locking and g_warn them.
20681
20682 2005-06-25  Wim Taymans  <wim@fluendo.com>
20683
20684         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20685         Have to check for completion now...
20686
20687 2005-06-25  Wim Taymans  <wim@fluendo.com>
20688
20689         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20690         (gst_basesink_handle_object), (gst_basesink_event),
20691         (gst_basesink_do_sync), (gst_basesink_handle_event),
20692         (gst_basesink_change_state):
20693         * gst/gstpad.h:
20694         Unlock STREAM_LOCK whatever the recursion was.
20695
20696 2005-06-25  Wim Taymans  <wim@fluendo.com>
20697
20698         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20699         (gst_basesink_preroll_queue_empty),
20700         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20701         (gst_basesink_event), (gst_basesink_do_sync),
20702         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20703         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20704         (gst_basesink_change_state):
20705         Reworked the base sink, handle event and buffer serialisation
20706         correctly and removed possible deadlock.
20707         Handle EOS correctly.
20708
20709 2005-06-25  Wim Taymans  <wim@fluendo.com>
20710
20711         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20712         (gst_pipeline_change_state):
20713         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20714         Allow elements to post EOS in the state change function.
20715         Fix up -launch, make it exit the poll loop when the
20716         pipeline actually changed state.
20717         Fix up warning parsing in -launch.
20718
20719 2005-06-25  Wim Taymans  <wim@fluendo.com>
20720
20721         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20722         (gst_tee_sink_activate):
20723         Core takes STREAM_LOCK for us now.
20724
20725 2005-06-25  Wim Taymans  <wim@fluendo.com>
20726
20727         * gst/gstelement.c: (gst_element_get_state_func),
20728         (gst_element_set_state):
20729         * gst/gstelement.h:
20730         * gst/gstmessage.c: (gst_message_parse_error),
20731         (gst_message_parse_warning):
20732         Keep track of current target state while performing a state
20733         change so that subclasses can do something interesting.
20734         Fix parsing of warning/error messages when GError is NULL.
20735
20736 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20737
20738         * docs/gst/Makefile.am:
20739         * docs/gst/gstreamer-docs.sgml:
20740         * docs/gst/gstreamer-sections.txt:
20741         * docs/gst/gstreamer.types:
20742         * docs/gst/tmpl/gstbasesink.sgml:
20743         * docs/gst/tmpl/gstbasesrc.sgml:
20744         * docs/gst/tmpl/gstbin.sgml:
20745         * docs/gst/tmpl/gstcompat.sgml:
20746         * docs/gst/tmpl/gstfakesink.sgml:
20747         * docs/gst/tmpl/gstfakesrc.sgml:
20748         * docs/gst/tmpl/gstfilesink.sgml:
20749         * docs/gst/tmpl/gstfilesrc.sgml:
20750         * docs/gst/tmpl/gstindex.sgml:
20751         * docs/manual/appendix-quotes.xml:
20752         * gst/base/gstbasesrc.h:
20753         * gst/elements/gstfakesrc.h:
20754         * gst/gstmessage.h:
20755           start pulling in base classes and elements in our docs
20756
20757 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20758
20759         * docs/gst/Makefile.am:
20760         * docs/libs/Makefile.am:
20761           fixed make distcheck with gtk-doc 1.3
20762
20763 2005-06-23  Wim Taymans  <wim@fluendo.com>
20764
20765         * gst/gstelement.c: (gst_element_get_state_func),
20766         (gst_element_set_state), (gst_element_change_state):
20767         When the state did not change, also report NO_PREROLL
20768         when it matters.
20769
20770 2005-06-23  Wim Taymans  <wim@fluendo.com>
20771
20772         * gst/gstpad.c: (gst_pad_event_default):
20773         * gst/gstqueue.c: (gst_queue_loop):
20774         No unsafe task pausing please.
20775
20776 2005-06-23  Wim Taymans  <wim@fluendo.com>
20777
20778         * gst/schedulers/threadscheduler.c:
20779         (gst_thread_scheduler_task_start),
20780         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20781         Ref the task before pushing it on the threadpool. This
20782         makes sure that we have a ref when the threadfunction is
20783         actually called.
20784
20785 2005-06-23  Andy Wingo  <wingo@pobox.com>
20786
20787         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20788         offset is greater than the file's size.
20789
20790         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20791         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20792         * gst/gstobject.c (gst_object_class_init): Make the class lock
20793         recursive. Wim won't let me drop deep_notify. Decodebin works
20794         again, whoopdy doo.
20795
20796         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20797         internal pad, and hacks accordingly. Doesn't do it on the target
20798         pad because we change its caps. Probably catches all cases of
20799         interest tho.
20800         (gst_ghost_pad_set_property): Connect to notify::caps as
20801         appropritate.
20802
20803         * tests/network-clock.scm (plot-simulation): Pipe data to the
20804         elite python skript.
20805
20806         * tests/network-clock-utils.scm (define-parameter): New macro,
20807         defines a parameter that can be set via the command line.
20808         (set-parameter!, parse-parameter-arguments): Command line args
20809         parser.
20810
20811         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20812         stdin.
20813
20814 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20815
20816         * gst/elements/gsttypefindelement.c:
20817         (gst_type_find_element_handle_event):
20818           Don't restart typefinding on a discont.
20819         * gst/gstelement.c: (gst_element_set_state):
20820           Debug spelling fix.
20821         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20822           Allow changing mode of an active pad.
20823           Debug output fixes.
20824         * gst/registries/gstlibxmlregistry.c: (load_feature):
20825           Don't cast a static pad template to a normal pad template.
20826
20827 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20828
20829         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20830         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20831           remove gst_strtoll completely, since it didn't actually do
20832           anything more than what g_ascii_strtoull already does.
20833           check for range errors when deserializing
20834           do a cast for the unsigned cases; but further fixing needs
20835           a decision on what the interpretation of "(int)" and
20836           deserialization should be for values that fall outside the
20837           type's boundaries (ie, refuse, or interpret as casting)
20838
20839 2005-06-23  Wim Taymans  <wim@fluendo.com>
20840
20841         * check/Makefile.am:
20842         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20843         * docs/design/part-live-source.txt:
20844         * docs/design/part-states.txt:
20845         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20846         (gst_basesrc_set_live), (gst_basesrc_is_live),
20847         (gst_basesrc_get_range), (gst_basesrc_activate),
20848         (gst_basesrc_change_state):
20849         * gst/base/gstbasesrc.h:
20850         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20851         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20852         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20853         * gst/gstelement.c: (gst_element_get_state_func),
20854         (gst_element_set_state):
20855         * gst/gstelement.h:
20856         * gst/gsttypes.h:
20857         * tools/gst-launch.c: (event_loop), (main):
20858         Added support for live sources and other elements that
20859         cannot do preroll.
20860         Updated design docs, added live-source design doc.
20861         Implemented live source functionality in basesrc
20862         Fix error condition in _bin_get_state()
20863         Implement live source handling in -launch.
20864         Added check for live sources.
20865         Fixed case in GstBin where elements were changed state
20866         multiple times.
20867
20868
20869 2005-06-23  Andy Wingo  <wingo@pobox.com>
20870
20871         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20872         borken refcounting.
20873
20874         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20875         gst_caps_replace takes care of this for us.
20876
20877         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20878         gst_pad_set_caps on the target, not just its setcaps() function.
20879
20880         * tests/network-clock.scm: 
20881         * tests/network-clock-utils.scm: A network clock simulator.
20882         Something of an algorithmic testbed before doing something in C.
20883
20884 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20885
20886         * check/Makefile.am:
20887         * check/gst/capslist.h:
20888           copy over from 0.8, and add two with bitmasks specified with
20889           (int) 0xFF...
20890         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20891           add test to parse everything from capslist.h
20892         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20893         (main):
20894           add test for structure deserialization
20895         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20896           add tests for deserialization of strings to int types
20897         * gst/gststructure.c: (gst_structure_nth_field_name):
20898         * gst/gststructure.h:
20899           add a way to get the name of a field referenced by index
20900         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20901           instead of checking if the resulting long long lies between
20902           min and max, we check if the long long would fit into
20903           a number of bytes for the final type.
20904           This fixes cases where a string represents 2^32 - 1, which
20905           when cast to int would be the (valid) -1, but is bigger than
20906           G_MAXINT
20907
20908 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20909
20910         * gst/parse/grammar.y:
20911           add a log line for type deserialization
20912
20913 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20914
20915         * check/gst/gstvalue.c: (START_TEST):
20916         * gst/gstvalue.c: (gst_value_deserialize):
20917           return long long, not int, so gint64 deserialization actually
20918           works.  Is there any flag that makes the compiler check this ?
20919           Fixes #308559
20920
20921 2005-06-22  Wim Taymans  <wim@fluendo.com>
20922
20923         * gst/gstbuffer.h:
20924         Added convenience macros for setting buffers in GValue.
20925
20926 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20927
20928         * check/gst/.cvsignore:
20929         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20930           add a test deserializing int64, and comment part out because
20931           it fails, yay !
20932
20933 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20934
20935         * check/Makefile.am:
20936         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20937         * testsuite/Makefile.am:
20938         * testsuite/caps/Makefile.am:
20939         * testsuite/caps/value_serialize.c:
20940         * testsuite/test_gst_init.c:
20941           move a value_serialize test over
20942
20943 2005-06-20  Wim Taymans  <wim@fluendo.com>
20944
20945         * gst/gstpad.c:
20946         Small doc updates.
20947         
20948         * gst/gstvalue.c: (gst_value_compare_buffer),
20949         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20950         (gst_value_compare_flags), (gst_value_serialize_flags),
20951         (gst_value_deserialize_flags), (_gst_value_initialize):
20952         Fix serialisation of buffers, they are not boxed types anymore
20953
20954 2005-06-20  Wim Taymans  <wim@fluendo.com>
20955
20956         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20957         Testcase to show error in buffer-on-caps serialisation.
20958
20959 2005-06-20  Andy Wingo  <wingo@pobox.com>
20960
20961         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20962         will be adding to later.
20963
20964         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20965         if its socks fill with rocks.
20966         (gst_system_clock_obtain): Set the name on object construction.
20967         Avoid double-checked locking.
20968
20969 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20970
20971         * gst/gsturi.c: (gst_element_make_from_uri):
20972           Fix potential endless loop.
20973
20974 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20975
20976         * check/Makefile.am:
20977           add gsttag
20978         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20979         (main):
20980           move over from testsuite dir and clean up
20981         * configure.ac:
20982         * gst/gsttag.c:
20983         * testsuite/Makefile.am:
20984         * testsuite/tags/.cvsignore:
20985         * testsuite/tags/Makefile.am:
20986         * testsuite/tags/merge.c:
20987           remove testsuite/tags
20988
20989 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20990
20991         * docs/gst/gstreamer-sections.txt:
20992         * docs/gst/tmpl/gstenumtypes.sgml:
20993         * win32/gstenumtypes.c:
20994           clean up documentation build a little
20995
20996 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20997
20998         * check/gstcheck.h:
20999           add macros for checking refcounts on objects and caps
21000         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
21001           add some more unit tests
21002         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21003         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
21004           fix leaked refcounts (I hope :)) so unittest works
21005         * gst/gstpad.h:
21006           whitespace removal
21007
21008 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21009
21010         * configure.ac: back to HEAD
21011
21012 === release 0.9.1 ===
21013
21014 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21015
21016         * NEWS:
21017         * RELEASE:
21018           updated
21019
21020 2005-06-17  Andy Wingo  <wingo@pobox.com>
21021
21022         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21023         assert; it's always possible that the pad gets deactivated in
21024         between the checks in gstpad.c and the implementation. Rely on
21025         finish_preroll() to return a FLUSHING or similar instead of on the
21026         assert.
21027         
21028         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21029         clock and post an EOS message if we come out of finish_preroll in
21030         the playing state.
21031
21032 2005-06-16  David Schleef  <ds@schleef.org>
21033
21034         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21035         (gst_capsfilter_set_property): Allow NULL as possible value
21036         for filter_caps property, indicating GST_CAPS_ANY.
21037
21038 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21039
21040         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21041           fix debug output
21042         * gst/schedulers/Makefile.am:
21043           use libgst prefix
21044         * gstreamer.spec.in:
21045           fix spec for it
21046
21047 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21048
21049         * gstreamer.spec.in:
21050           clean up
21051
21052 2005-06-08  Andy Wingo  <wingo@pobox.com>
21053
21054         * gst/gstutils.c: RPAD fixes all around.
21055         (gst_element_link_pads): Refcounting fixes.
21056
21057         * tools/gst-inspect.c:
21058         * tools/gst-xmlinspect.c:
21059         * parse/grammar.y:
21060         * gst/base/gsttypefindhelper.c:
21061         * gst/base/gstbasesink.c:
21062         * gst/gstqueue.c: RPAD fixes.
21063
21064         * gst/gstghostpad.h:
21065         * gst/gstghostpad.c: New ghost pad implementation as full proxy
21066         pads. The tricky thing is they provide both source and sink
21067         interfaces, since they proxy the internal pad for the external
21068         pad, and vice versa. Implement with lower-level ProxyPad objects,
21069         with the interior proxy pad as a child of the exterior ghost pad.
21070         Should write a doc on this.
21071         
21072         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21073         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21074         gst_object API.
21075         
21076         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21077         pads are real pads. No ghost pads in this file. Not documenting
21078         the myriad s/RPAD/PAD/ and REALIZE fixes.
21079         (gst_pad_class_init): Add properties for "direction" and
21080         "template". Both are construct-only, so they can't change during
21081         the life of the pad. Fixes properly deriving from GstPad.
21082         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21083         derived objects, just set properties when creating the objects via
21084         g_object_new.
21085         (gst_pad_get_parent): Implement as a function, return NULL if the
21086         parent is not an element.
21087         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21088         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21089         
21090         * gst/gstobject.c (gst_object_class_init): Make name a construct
21091         property. Don't set it in the object init.
21092
21093         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21094         with UNKNOWN direction.
21095         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21096         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21097         (gst_element_remove_pad): Remove ghost-pad special cases.
21098         (gst_element_pads_activate): Remove rpad cruft.
21099
21100         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21101         catch the pad's-parent-not-an-element case.
21102
21103         * gst/gst.h: Include gstghostpad.h.
21104
21105         * gst/gst.c (init_post): No more real, ghost pads.
21106
21107         * gst/Makefile.am: Add gstghostpad.[ch].
21108
21109         * check/Makefile.am:
21110         * check/gst/gstbin.c:
21111         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21112         into a bin creates ghost pads, and that the refcounts are right.
21113         Partly moved from gstbin.c.
21114
21115 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21116
21117         * check/gst-libs/.cvsignore:
21118         * check/gst/.cvsignore:
21119         * check/pipelines/.cvsignore:
21120           ignore more
21121         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21122         (START_TEST), (cleanup_suite), (main):
21123           add some tests related to cleanup after running pipelines
21124
21125 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21126
21127         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21128           add a testsuite for GstBuffer
21129
21130 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21131
21132         * gst/gstminiobject.h:
21133           add defines for accessing the refcount
21134
21135 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
21136
21137         * Makefile.am: added support for html unit test coverage reports
21138
21139 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
21140
21141         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21142           Free existing caps if the capsfilter changes. Add a FIXME about
21143           setting those caps on the pads.
21144
21145         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21146           Before adding a ghost pad to a parent bin, check that there isn't
21147           already one for the element on the bin. Prevents infinite recursion
21148           when using decodebin in parse pipelines. Andy says he'll rewrite the
21149           way this works anyway, so ignore the hack.
21150
21151 2005-06-02  Andy Wingo  <wingo@pobox.com>
21152
21153         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21154         file size, pass it on to the type find helper.
21155
21156         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21157         segment_start and segment_end properly according to the seek
21158         method. Segment_end is still a bit flaky because offset can be
21159         negative for CUR and END cases, but it takes -1 as an "unset"
21160         value.
21161
21162 2005-06-02  Wim Taymans  <wim@fluendo.com>
21163
21164         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21165         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21166         (gst_basesink_activate):
21167         * gst/base/gstbasesink.h:
21168         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21169         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21170         (gst_pad_query), (gst_pad_start_task):
21171         * gst/gstpad.h:
21172         * gst/gstqueue.c: (gst_queue_bufferalloc),
21173         (gst_queue_handle_sink_event), (gst_queue_chain):
21174         Bufferalloc: return GstFlowReturn to more accuratly report
21175         why allocation failed.
21176
21177 2005-06-02  Wim Taymans  <wim@fluendo.com>
21178
21179         * gst/gstpipeline.c: (gst_pipeline_send_event):
21180         Take snapshot of state without blocking.
21181
21182 2005-06-02  Wim Taymans  <wim@fluendo.com>
21183
21184         * docs/design/part-TODO.txt:
21185         * docs/design/part-caps.txt:
21186         * docs/design/part-clocks.txt:
21187         * docs/design/part-negotiation.txt:
21188         * docs/design/part-preroll.txt:
21189         Small doc updates 
21190
21191 2005-05-30  Wim Taymans  <wim@fluendo.com>
21192
21193         * gst/elements/gstidentity.c: (gst_identity_event),
21194         (gst_identity_transform), (gst_identity_get_property):
21195         Protect last_message property as it is accessed from
21196         multiple threads.
21197
21198 2005-05-30  Wim Taymans  <wim@fluendo.com>
21199
21200         * gst/gstelement.c: (gst_element_init),
21201         (gst_element_pads_activate), (gst_element_change_state):
21202         Slicker pad activation code.
21203
21204 2005-05-30  Wim Taymans  <wim@fluendo.com>
21205
21206         * gst/Makefile.am:
21207         * gst/gstelement.h:
21208         * gst/gstelementfactory.h:
21209         * gst/gsttypes.h:
21210         Move elementfactory methods to separate .h file.
21211
21212 2005-05-30  Wim Taymans  <wim@fluendo.com>
21213
21214         * docs/design/part-overview.txt:
21215         * gst/gstsystemclock.h:
21216         Small typo fixes, doc updates.
21217
21218 2005-05-30  Wim Taymans  <wim@fluendo.com>
21219
21220         * gst/gst.c: (gst_init_get_popt_table), (init_post),
21221         (init_popt_callback):
21222         Remove cpu-opt flag.
21223
21224 2005-05-30  Wim Taymans  <wim@fluendo.com>
21225
21226         * gst/gstbuffer.c: (gst_subbuffer_finalize),
21227         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21228         * gst/gstbuffer.h:
21229         Avoid typechecking in places where not needed.
21230         Added accessor for malloc_data.
21231
21232 2005-05-30  Wim Taymans  <wim@fluendo.com>
21233
21234         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21235         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21236         (gst_pad_configure_sink), (gst_pad_configure_src),
21237         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21238         (gst_pad_start_task):
21239         Propagate errors from _set_caps() in configure_src/sink
21240         functions instead of returning TRUE.
21241         FLUSH events can travel up and downstream
21242
21243
21244 2005-05-30  Wim Taymans  <wim@fluendo.com>
21245
21246         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21247         (gst_basesink_activate):
21248         Handle EOS in preroll.
21249
21250 2005-05-30  Wim Taymans  <wim@fluendo.com>
21251
21252         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21253         (gst_queue_loop), (gst_queue_handle_src_event):
21254         Remove old pieces of code
21255         Flushing the queue in an upstream event is a very bad idea.
21256
21257 2005-05-26  Andy Wingo  <wingo@pobox.com>
21258
21259         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21260         gst_value_set_mini_object so as to add a ref on the object (which
21261         will be removed when the value is unset).
21262
21263         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21264         arg type in ::handoff.
21265
21266         * gst/gstelement.c (gst_element_change_state): Also deactivate
21267         pads in READY->NULL, just in case the element didn't make it to
21268         PAUSED. Wingo tested, Wim approved.
21269
21270 2005-05-26  Wim Taymans  <wim@fluendo.com>
21271
21272         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21273         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21274         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21275         A flushing pad cannot be used to alloc_buffer from.
21276
21277 2005-05-26  Wim Taymans  <wim@fluendo.com>
21278
21279         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21280         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21281         (gst_bus_source_dispatch), (gst_bus_source_finalize),
21282         (gst_bus_create_watch), (gst_bus_add_watch_full):
21283         * gst/gstbus.h:
21284         Implement a real GSource and use g_main_context_wakeup() to
21285         signal new messages instead of the socketpair.
21286
21287 2005-05-25  Wim Taymans  <wim@fluendo.com>
21288
21289         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21290         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21291         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21292         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21293         (gst_pad_send_event), (gst_pad_start_task):
21294         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21295         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21296         (gst_queue_sink_activate), (gst_queue_src_activate),
21297         (gst_queue_change_state):
21298         * gst/gstqueue.h:
21299         Fix state changes for non sinks. We now change sinks, then elements
21300         with unconnected srcpads, then the rest.
21301         More efficient queue unlocking in flush and state changes.
21302         Set the pad activate mode even if it does not have an activate
21303         function.
21304
21305 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21306
21307         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21308           Don't go in pull mode for non-seekable sources.
21309         * gst/elements/gsttypefindelement.h:
21310         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21311         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21312         (free_entry), (stop_typefinding),
21313         (gst_type_find_element_handle_event), (find_peek),
21314         (gst_type_find_element_chain), (do_pull_typefind),
21315         (gst_type_find_element_change_state):
21316           Allow typefinding (w/o seeking) in push-mode, simplified version
21317           of what was in 0.8.
21318         * gst/gstutils.c: (gst_buffer_join):
21319         * gst/gstutils.h:
21320           gst_buffer_join() from 0.8.
21321
21322 2005-05-25  Wim Taymans  <wim@fluendo.com>
21323
21324         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21325         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21326         (gst_pad_send_event), (gst_pad_start_task):
21327         Disable attempt at mode switching until it is figured out.
21328
21329 2005-05-25  Wim Taymans  <wim@fluendo.com>
21330
21331         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21332         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21333         (gst_basesink_finish_preroll), (gst_basesink_chain),
21334         (gst_basesink_loop), (gst_basesink_activate),
21335         (gst_basesink_change_state):
21336         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21337         (gst_basesrc_get_range), (gst_basesrc_loop),
21338         (gst_basesrc_activate):
21339         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21340         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21341         (gst_real_pad_init), (gst_real_pad_set_property),
21342         (gst_real_pad_get_property), (gst_pad_set_active),
21343         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21344         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21345         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21346         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21347         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21348         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21349         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21350         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21351         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21352         (gst_pad_stop_task):
21353         * gst/gstpad.h:
21354         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21355         (gst_queue_loop), (gst_queue_src_activate):
21356         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21357         (gst_task_get_state):
21358         * gst/gsttask.h:
21359         * gst/schedulers/threadscheduler.c:
21360         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21361         Implement gst_pad_pause/start/stop_task(), take STREAM lock
21362         in task function.
21363         Remove ACTIVE pad flag, use FLUSHING everywhere
21364         Added _pad_chain(), _pad_get_range() to call chain/getrange 
21365         functions.
21366         Add locks around IS_FLUSHING when reading.
21367         Take STREAM lock in chain(), get_range() functions so plugins
21368         don't need to take it anymore.
21369         
21370
21371
21372 2005-05-25  Wim Taymans  <wim@fluendo.com>
21373
21374         * tools/gst-launch.c: (event_loop):
21375         Unref message after using its contents instead of
21376         before.
21377
21378 2005-05-24  Wim Taymans  <wim@fluendo.com>
21379
21380         * docs/design/draft-ghostpads.txt:
21381         * docs/design/draft-push-pull.txt:
21382         * docs/design/draft-query.txt:
21383         * docs/design/part-overview.txt:
21384         Docs updates, added general overview doc.
21385
21386 2005-05-21  David Schleef  <ds@schleef.org>
21387
21388         * docs/gst/tmpl/old/GstBin.sgml:
21389         * docs/gst/tmpl/old/GstBuffer.sgml:
21390         * docs/gst/tmpl/old/GstCaps.sgml:
21391         * docs/gst/tmpl/old/GstClock.sgml:
21392         * docs/gst/tmpl/old/GstCompat.sgml:
21393         * docs/gst/tmpl/old/GstData.sgml:
21394         * docs/gst/tmpl/old/GstElement.sgml:
21395         * docs/gst/tmpl/old/GstEvent.sgml:
21396         * docs/gst/tmpl/old/GstIndex.sgml:
21397         * docs/gst/tmpl/old/GstStructure.sgml:
21398         * docs/gst/tmpl/old/GstTag.sgml:
21399         * docs/gst/tmpl/old/cothreads.sgml:
21400         * docs/gst/tmpl/old/cothreads_compat.sgml:
21401         * docs/gst/tmpl/old/gettext.sgml:
21402         * docs/gst/tmpl/old/gobject2gtk.sgml:
21403         * docs/gst/tmpl/old/grammar.tab.sgml:
21404         * docs/gst/tmpl/old/gst-i18n-app.sgml:
21405         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21406         * docs/gst/tmpl/old/gst_private.sgml:
21407         * docs/gst/tmpl/old/gstaggregator.sgml:
21408         * docs/gst/tmpl/old/gstarch.sgml:
21409         * docs/gst/tmpl/old/gstatomic_impl.sgml:
21410         * docs/gst/tmpl/old/gstbufferstore.sgml:
21411         * docs/gst/tmpl/old/gstdata_private.sgml:
21412         * docs/gst/tmpl/old/gstdisksink.sgml:
21413         * docs/gst/tmpl/old/gstdisksrc.sgml:
21414         * docs/gst/tmpl/old/gstelementfactory.sgml:
21415         * docs/gst/tmpl/old/gstextratypes.sgml:
21416         * docs/gst/tmpl/old/gstfakesink.sgml:
21417         * docs/gst/tmpl/old/gstfakesrc.sgml:
21418         * docs/gst/tmpl/old/gstfdsink.sgml:
21419         * docs/gst/tmpl/old/gstfdsrc.sgml:
21420         * docs/gst/tmpl/old/gstfilesink.sgml:
21421         * docs/gst/tmpl/old/gstfilesrc.sgml:
21422         * docs/gst/tmpl/old/gsthttpsrc.sgml:
21423         * docs/gst/tmpl/old/gstidentity.sgml:
21424         * docs/gst/tmpl/old/gstindexfactory.sgml:
21425         * docs/gst/tmpl/old/gstmarshal.sgml:
21426         * docs/gst/tmpl/old/gstmd5sink.sgml:
21427         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21428         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21429         * docs/gst/tmpl/old/gstpadtemplate.sgml:
21430         * docs/gst/tmpl/old/gstpipefilter.sgml:
21431         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21432         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21433         * docs/gst/tmpl/old/gstshaper.sgml:
21434         * docs/gst/tmpl/old/gstspider.sgml:
21435         * docs/gst/tmpl/old/gstspideridentity.sgml:
21436         * docs/gst/tmpl/old/gststatistics.sgml:
21437         * docs/gst/tmpl/old/gsttee.sgml:
21438         * docs/gst/tmpl/old/gsttimecache.sgml:
21439         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21440         * docs/gst/tmpl/old/gstxmlregistry.sgml:
21441         * docs/gst/tmpl/old/gthread-cothreads.sgml:
21442         * docs/gst/tmpl/old/types.sgml:
21443           I didn't intend to add these or check them in.
21444
21445 2005-05-19  David Schleef  <ds@schleef.org>
21446
21447         * configure.ac: Use -no-common everywhere.  In a sane world, it
21448           would be the default in libtool, because without it, you can't
21449           build DLLs on Windows.
21450         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21451         * docs/gst/gstreamer-sections.txt:
21452         * docs/gst/tmpl/gstcpu.sgml:
21453         * docs/gst/tmpl/gstdata.sgml:
21454         * docs/gst/tmpl/gstthread.sgml:
21455
21456 2005-05-19  David Schleef  <ds@schleef.org>
21457
21458         * gst/gstminiobject.c: (gst_value_set_mini_object),
21459         (gst_value_take_mini_object), (gst_value_get_mini_object):
21460         * gst/gstminiobject.h: Add GValue set/get functions.
21461
21462 2005-05-19  Wim Taymans  <wim@fluendo.com>
21463
21464         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21465         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21466         (gst_subbuffer_init), (gst_buffer_is_span_fast):
21467         * gst/gstbuffer.h:
21468         * gst/gstbus.c: (gst_bus_post):
21469         * gst/gstelement.c: (gst_element_get_random_pad):
21470         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21471         Make subbufer unref the parent in finalize.
21472         some more debugging info.
21473
21474
21475 2005-05-19  Wim Taymans  <wim@fluendo.com>
21476
21477         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21478         (gst_basesink_init), (gst_basesink_finalize),
21479         (gst_basesink_activate), (gst_basesink_change_state):
21480         Don't free preroll queue too early.
21481
21482 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21483
21484         * gst/Makefile.am:
21485         * gst/ROADMAP:
21486           Hi, I'm outdated. Please shoot me.
21487
21488 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21489
21490         * gst/gstpipeline.c: (gst_pipeline_send_event):
21491           Do not access variables after they have been deleted.
21492
21493 2005-05-19  Wim Taymans  <wim@fluendo.com>
21494
21495         * tools/gst-inspect.c: (print_plugin_features):
21496         A plugin feature does unfortunatly not use the
21497         object name yet...
21498
21499 2005-05-18  Wim Taymans  <wim@fluendo.com>
21500
21501         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21502         Port _span() functions to new subbuffers.
21503
21504 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21505
21506         * gst/gstbin.c: (gst_bin_add_func):
21507           Fix clock settery in bins when adding kids after the clock has
21508           been selected.
21509
21510 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21511
21512         * gst/elements/gstidentity.c: (gst_identity_class_init):
21513           Workaround until signals support GstMiniObject.
21514
21515 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21516
21517         * gst/gstbuffer.c:
21518         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21519
21520 2005-05-18  Wim Taymans  <wim@fluendo.com>
21521
21522         * gst/base/Makefile.am:
21523         * gst/base/gstadapter.c: (gst_adapter_base_init),
21524         (gst_adapter_class_init), (gst_adapter_init),
21525         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21526         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21527         (gst_adapter_flush), (gst_adapter_available),
21528         (gst_adapter_available_fast):
21529         * gst/base/gstadapter.h:
21530         Ported and added adapter to the base classes.
21531
21532 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21533
21534         * gst/gst.c:
21535         * gst/gstmessage.c:
21536           Make sure the class is reffed/unreffed once before threads can be
21537           used.  Fixes #304551.
21538
21539 2005-05-17  Wim Taymans  <wim@fluendo.com>
21540
21541         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21542         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21543         * gst/gstminiobject.c: (gst_mini_object_get_type),
21544         (gst_mini_object_free):
21545         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21546         (gst_pad_push), (gst_pad_push_event):
21547         * gst/gstqueue.c: (gst_queue_change_state):
21548         Don't queue buffers in basesink when we are flushing.
21549         Unref buffer when flushing in basesink.
21550         Flush queue when going to READY
21551         Unref buffer when _push() returns an error.
21552         Don't free MiniObject instance when refcount is incremented
21553         in _finalize() so that we can recover objects.
21554
21555 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21556
21557         * docs/manual/advanced-schedulers.xml:
21558         * docs/manual/appendix-checklist.xml:
21559         * docs/pwg/advanced-clock.xml:
21560         * docs/pwg/advanced-interfaces.xml:
21561         * docs/pwg/advanced-request.xml:
21562         * docs/pwg/advanced-types.xml:
21563         * docs/pwg/intro-preface.xml:
21564         * examples/plugins/example.c: (gst_example_get_type),
21565         (gst_example_class_init), (gst_example_chain),
21566         (gst_example_set_property), (gst_example_get_property),
21567         (gst_example_change_state), (plugin_init):
21568         * examples/plugins/example.h:
21569           small doc fixes
21570
21571 2005-05-17  Wim Taymans  <wim@fluendo.com>
21572
21573         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21574         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21575         * gst/gstqueue.c: (gst_queue_change_state):
21576         Clear queue when going to READY.
21577         Remove IN_SETCAPS flag too.
21578
21579 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21580
21581         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21582           Remove implicit cast from gboolean to GstElementStateReturn;
21583           make sure we still return failure in paused => ready case if
21584           the parent class fails to change state and our own stop 
21585           vfunc succeeds.
21586
21587 2005-05-17  Wim Taymans  <wim@fluendo.com>
21588
21589         * tools/gst-launch.c: (event_loop):
21590         Message was unreffed too soon.
21591
21592 2005-05-16  Andy Wingo  <wingo@pobox.com>
21593
21594         * gst/gstbin.c (sink_iterator_filter): Err... um...
21595
21596         * check/gst/gstbin.c (test_ghost_pads): New test for the
21597         ghosting-if-elements-not-in-same-bin behavior.
21598
21599 2005-05-16  David Schleef  <ds@schleef.org>
21600
21601         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21602         accessing refcount directly.
21603
21604 2005-05-15  David Schleef  <ds@schleef.org>
21605
21606         * check/Makefile.am: remove GstData checks
21607         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21608         * gst/Makefile.am: add miniobject, remove data
21609         * gst/gst.h: add miniobject, remove data
21610         * gst/gstdata.c: remove
21611         * gst/gstdata.h: remove
21612         * gst/gstdata_private.h: remove
21613         * gst/gsttypes.h: remove GstEvent and GstMessage
21614         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21615         * gst/gstmarshal.list: change BOXED -> OBJECT
21616
21617         Implement GstMiniObject.
21618         * gst/gstminiobject.c:
21619         * gst/gstminiobject.h:
21620
21621         Modify to be subclasses of GstMiniObject.
21622         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21623         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21624         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21625         (gst_subbuffer_get_type), (gst_subbuffer_init),
21626         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21627         (gst_buffer_span):
21628         * gst/gstbuffer.h:
21629         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21630         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21631         (_gst_event_copy), (gst_event_new):
21632         * gst/gstevent.h:
21633         * gst/gstmessage.c: (_gst_message_initialize),
21634         (gst_message_get_type), (gst_message_class_init),
21635         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21636         (gst_message_new), (gst_message_new_error),
21637         (gst_message_new_warning), (gst_message_new_tag),
21638         (gst_message_new_state_changed), (gst_message_new_application):
21639         * gst/gstmessage.h:
21640         * gst/gstprobe.c: (gst_probe_perform),
21641         (gst_probe_dispatcher_dispatch):
21642         * gst/gstprobe.h:
21643         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21644         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21645         (_gst_query_copy), (gst_query_new):
21646
21647         Update elements for GstData -> GstMiniObject changes
21648         * gst/gstquery.h:
21649         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21650         (gst_queue_chain), (gst_queue_loop):
21651         * gst/elements/gstbufferstore.c:
21652         (gst_buffer_store_add_buffer_func),
21653         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21654         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21655         (gst_fakesink_render):
21656         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21657         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21658         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21659         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21660         (gst_filesrc_create_read):
21661         * gst/elements/gstidentity.c: (gst_identity_class_init):
21662         * gst/elements/gsttypefindelement.c:
21663         (gst_type_find_element_src_event), (free_entry_buffers),
21664         (gst_type_find_element_handle_event):
21665         * libs/gst/dataprotocol/dataprotocol.c:
21666         (gst_dp_header_from_buffer):
21667         * libs/gst/dataprotocol/dataprotocol.h:
21668         * libs/gst/dataprotocol/dp-private.h:
21669
21670 2005-05-15  David Schleef  <ds@schleef.org>
21671
21672         * gst/elements/gstelements.c: Don't include headers that were
21673         just removed.
21674
21675 2005-05-15  David Schleef  <ds@schleef.org>
21676
21677         * gst/elements/Makefile.am: Remove some elements that don't
21678         need to be in the core (or even exist at all).
21679         * gst/elements/gstaggregator.c:
21680         * gst/elements/gstaggregator.h:
21681         * gst/elements/gstmd5sink.c:
21682         * gst/elements/gstmd5sink.h:
21683         * gst/elements/gstmultifilesrc.c:
21684         * gst/elements/gstmultifilesrc.h:
21685         * gst/elements/gstpipefilter.c:
21686         * gst/elements/gstpipefilter.h:
21687         * gst/elements/gstshaper.c:
21688         * gst/elements/gstshaper.h:
21689         * gst/elements/gststatistics.c:
21690         * gst/elements/gststatistics.h:
21691         * po/POTFILES.in: Remove above files.
21692
21693 2005-05-14  Andy Wingo  <wingo@pobox.com>
21694
21695         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21696         so as to get the refs right.
21697         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21698         unreffing objects that don't pass the filter.
21699
21700         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21701         gst_element_set_bus.
21702         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21703         normal cases, this will destroy the bus.
21704
21705         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21706         object.
21707
21708         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21709         has no sinks.
21710
21711 2005-05-13  Andy Wingo  <wingo@pobox.com>
21712
21713         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21714         gst_pad_link, call pad_link_maybe_ghosting,
21715         (pad_link_maybe_ghosting): Links pads, making sure that the
21716         elements being linked are in the same bin.
21717         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21718         Helpers for pad_link_maybe_ghosting.
21719
21720 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21721
21722         * configure.ac:
21723           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21724
21725 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21726
21727         * docs/design/part-element-source.txt:
21728           Mention GstPushSrc
21729
21730 2005-05-12  Wim Taymans  <wim@fluendo.com>
21731
21732         * gst/base/gstbasesink.c: (gst_basesink_init),
21733         (gst_basesink_activate):
21734         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21735         (gst_basesrc_is_seekable):
21736         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21737         (bin_element_is_sink), (gst_bin_change_state):
21738         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21739         * gst/gstelement.h:
21740         Identify sinks by their flag to avoid overly complicated
21741         checks (fow now).
21742         Do state changes even for elements not reachable from the
21743         sinks.
21744         BaseSink is a sink now :)
21745         Some more debugging info in the basesrc.
21746
21747
21748 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21749
21750         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21751           Implement _query on a bin, similar to _send_event.
21752
21753 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21754
21755         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21756           Discont event offset format should be GST_FORMAT_BYTES,
21757           not GST_FORMAT_TIME.
21758
21759 2005-05-12  Wim Taymans  <wim@fluendo.com>
21760
21761         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21762         Same fix as Ronald's but without the signal. 
21763
21764 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21765
21766         * gst/gstutils.c: (gst_element_query_position):
21767           No, an element is not a pad.
21768
21769 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21770
21771         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21772         (gst_bin_get_state):
21773           If a child is removed from a bin while we remove the child from
21774           the bin and while we're retrieving its state, signal this to the
21775           get_state function so we abort the wait (instead of waiting for
21776           a timeout) and can immediately re-iterate over all other elements.
21777
21778 2005-05-12  Wim Taymans  <wim@fluendo.com>
21779
21780         * gst/base/Makefile.am:
21781         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21782         (gst_basesrc_start):
21783         * gst/base/gstbasesrc.h:
21784         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21785         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21786         (gst_pushsrc_init), (gst_pushsrc_create):
21787         * gst/base/gstpushsrc.h:
21788         Added is_seekable to BaseSrc
21789         Added simple PushSrc.
21790
21791 2005-05-11  Wim Taymans  <wim@fluendo.com>
21792
21793         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21794         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21795         (gst_element_link_pads), (gst_element_query_position),
21796         (gst_element_query_convert), (intersect_caps_func),
21797         (gst_pad_query_position), (gst_pad_query_convert):
21798         Fix refcounting in utils function.
21799         No point in trying to activate a pad when it's added, it could
21800         be added from the state change function and then we deadlock, the
21801         element has to decide what to do.
21802
21803 2005-05-10  Andy Wingo  <wingo@pobox.com>
21804
21805         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21806         *all* the arguments.
21807
21808         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21809         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21810         lock (according to the docs -- if this is wrong change the docs).
21811
21812         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21813         flush messages in the NULL state.
21814
21815         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21816         message immediately and return.
21817         (gst_bus_set_flushing): New function. If a bus is flushing, it
21818         flushes out any queued messages and immediately unrefs new
21819         messages. This is so when an element goes to NULL, all of the
21820         unhandled messages coming from it can be freed, and their
21821         references to the element dropped. In other words: message source
21822         ref considered harmful :P
21823
21824         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21825         we're finished with it.
21826
21827         * gst/gstmessage.c (gst_message_new_state_changed): 
21828
21829 2005-05-10  Wim Taymans  <wim@fluendo.com>
21830
21831         * gst/gstvalue.c: (gst_value_compare_flags),
21832         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21833         (_gst_value_initialize):
21834         Added flags serialize/deserialize/compare code.
21835
21836 2005-05-09  Andy Wingo  <wingo@pobox.com>
21837
21838         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21839         Intersect the peer's caps with our caps.
21840
21841 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21842
21843         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21844         * gst/elements/gsttypefindelement.c: (find_peek):
21845           Handle negative offsets better. Fixes decodebin.
21846
21847 2005-05-09  Wim Taymans  <wim@fluendo.com>
21848
21849         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21850         (gst_base_transform_event):
21851         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21852         Implement accept_caps.
21853         Fix silly lock/unlock mismatch in base class.
21854
21855 2005-05-09  Wim Taymans  <wim@fluendo.com>
21856
21857         * docs/design/draft-push-pull.txt:
21858         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21859         * gst/elements/gstfilesink.c: (gst_filesink_init),
21860         (gst_filesink_query):
21861         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21862         (gst_type_find_handle_src_query), (find_element_get_length):
21863         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21864         * gst/gstelement.h:
21865         * gst/gstmessage.c:
21866         * gst/gstmessage.h:
21867         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21868         (gst_real_pad_get_caps_unlocked),
21869         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21870         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21871         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21872         (gst_real_pad_dispose), (gst_real_pad_finalize),
21873         (gst_pad_load_and_link), (gst_pad_save_thyself),
21874         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21875         (gst_pad_check_pull_range), (gst_pad_pull_range),
21876         (gst_pad_template_get_type), (gst_pad_template_class_init),
21877         (gst_pad_template_init), (gst_pad_template_dispose),
21878         (name_is_valid), (gst_static_pad_template_get),
21879         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21880         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21881         (gst_pad_get_element_private), (gst_pad_start_task),
21882         (gst_pad_pause_task), (gst_pad_stop_task),
21883         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21884         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21885         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21886         (gst_ghost_pad_new):
21887         * gst/gstpad.h:
21888         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21889         (gst_query_new_position), (gst_query_set_position),
21890         (gst_query_parse_position), (gst_query_new_convert),
21891         (gst_query_set_convert), (gst_query_parse_convert):
21892         * gst/gstquery.h:
21893         * gst/gstqueryutils.c:
21894         * gst/gstqueryutils.h:
21895         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21896         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21897         (gst_queue_handle_src_query):
21898         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21899         (gst_element_query_position), (gst_element_query_convert),
21900         (intersect_caps_func), (gst_pad_query_position),
21901         (gst_pad_query_convert):
21902         * gst/gstutils.h:
21903         * tools/gst-inspect.c: (print_pad_info):
21904         * tools/gst-xmlinspect.c: (print_element_info):
21905         Remove old query functions. Ported old code.
21906         Added position/convert helper functions to gstutils.
21907         Reordered gstpad.c code, grouping relevant things.
21908         Remove gst_message_new(), always need to speficy a specific
21909         message.
21910
21911
21912 2005-05-09  Andy Wingo  <wingo@pobox.com>
21913
21914         * gst/gstiterator.h: Add some includes.
21915
21916         * gst/gstqueryutils.h: Include more headers.
21917
21918         * gst/gstpad.h:
21919         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21920         some uses of gst_pad_query.
21921
21922         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21923         NULL out parameters.
21924         (gst_query_new_position): New proc, allocates a new position
21925         query.
21926
21927         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21928         gstqueryutils.c to the build.
21929
21930         * gst/gststructure.c (gst_structure_set_valist): Implement with
21931         the generic G_VALUE_COLLECT.
21932         
21933 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21934
21935         * gst/Makefile.am: (gst_headers):
21936         Added gstqueryutils.h to the list of headers to install, that was
21937         a 'nachty' move wingo :)
21938
21939 2005-05-06  Andy Wingo  <wingo@pobox.com>
21940
21941         * gst/gstquery.h
21942         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21943         GstData, init a memchunk.
21944         (standard_definitions): Add a few query types, deprecate a few.
21945         (gst_query_get_type): New proc.
21946         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21947         implementation.
21948         (gst_query_new_application, gst_query_get_structure): New public
21949         procs.
21950
21951         * docs/design/draft-query.txt: Removed LINKS from the query types,
21952         because all the rest can be dispatched to other pads -- seemed
21953         ugly to have a query that couldn't be dispatched. internal_links
21954         is fine as a pad method.
21955
21956         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21957         in gstpad.c, but maintain binary compatibility for the moment.
21958         Will fix before 0.9 is out.
21959
21960         * gst/gstqueryutils.c: 
21961         * gst/gstqueryutils.h: New files, implement 3 methods for each
21962         query type: parse_query, parse_response, and set. Probably need an
21963         allocator as well.
21964
21965         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21966
21967         * gst/elements/gstfilesink.c (gst_filesink_query2):
21968         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21969         query_types, and formats methods.
21970
21971         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21972         (gst_pad_set_query2_function): New functions.
21973         (gst_real_pad_init): Set query2_default as the default query2
21974         function. Basically just dispatches to internally linked pads.
21975
21976         Needs review!
21977         
21978         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21979         without using the atomic operations. Only one thread can possibly
21980         be accessing the data at this point. Changed so as to avoid
21981         gst_atomic operations.
21982
21983 2005-05-06  Wim Taymans  <wim@fluendo.com>
21984
21985         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21986         Also set caps if we use the fallback buffer alloc.
21987
21988 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21989
21990         * docs/gst/Makefile.am:
21991         * docs/gst/gstreamer-docs.sgml:
21992         * docs/gst/gstreamer-sections.txt:
21993         * docs/gst/tmpl/gstatomic.sgml:
21994         * docs/gst/tmpl/gstmemchunk.sgml:
21995         * testsuite/elements/struct_i386.h:
21996         * win32/GStreamer.vcproj:
21997         * win32/Makefile:
21998           Purge GstAtomic stuff from docs and win32 makefiles as well
21999
22000 2005-05-06  Wim Taymans  <wim@fluendo.com>
22001
22002         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
22003         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
22004         * gst/gstpad.c: (gst_pad_peer_get_caps):
22005         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22006         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22007         (gst_queue_src_activate), (gst_queue_change_state):
22008         * gst/gstqueue.h:
22009         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22010         (intersect_caps_func):
22011         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
22012         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
22013         Some fixes for the peer_get_caps() change.
22014
22015 2005-05-06  Wim Taymans  <wim@fluendo.com>
22016
22017         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22018         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22019         (gst_basesink_activate):
22020         Actually do something with error codes returned from the push
22021         functions.
22022
22023 2005-05-06  Wim Taymans  <wim@fluendo.com>
22024
22025         * docs/design/part-element-sink.txt:
22026         * docs/design/part-element-source.txt:
22027         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22028         (gst_basesink_event), (gst_basesink_activate):
22029         * gst/base/gstbasesink.h:
22030         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22031         (gst_basesrc_activate):
22032         * gst/base/gstbasesrc.h:
22033         * gst/gstelement.c: (gst_element_pads_activate):
22034         Some more documentation.
22035         Fixed scheduling decision in _pads_activate().
22036
22037 2005-05-05  Andy Wingo  <wingo@pobox.com>
22038
22039         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22040         the test suite.
22041
22042 2005-05-05  Wim Taymans  <wim@fluendo.com>
22043
22044         * gst/base/Makefile.am:
22045         * gst/base/gstbasesink.h:
22046         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22047         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22048         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22049         (gst_collectpads_class_init), (gst_collectpads_init),
22050         (gst_collectpads_finalize), (gst_collectpads_new),
22051         (gst_collectpads_set_function), (gst_collectpads_add_pad),
22052         (find_pad), (gst_collectpads_remove_pad),
22053         (gst_collectpads_is_active), (gst_collectpads_collect),
22054         (gst_collectpads_collect_range), (gst_collectpads_start),
22055         (gst_collectpads_stop), (gst_collectpads_peek),
22056         (gst_collectpads_pop), (gst_collectpads_available),
22057         (gst_collectpads_read), (gst_collectpads_flush),
22058         (gst_collectpads_chain):
22059         * gst/base/gstcollectpads.h:
22060         * gst/elements/Makefile.am:
22061         * gst/elements/gstelements.c:
22062         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22063         (gst_fakesink_get_times), (gst_fakesink_event),
22064         (gst_fakesink_preroll), (gst_fakesink_render):
22065         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22066         (gst_filesink_init), (gst_filesink_set_location),
22067         (gst_filesink_open_file), (gst_filesink_close_file),
22068         (gst_filesink_pad_query), (gst_filesink_event),
22069         (gst_filesink_render), (gst_filesink_change_state):
22070         * gst/elements/gstfilesink.h:
22071         Added object to help in making collect pad based elements.
22072         Ported filesink.
22073         Make event function in sink baseclass return gboolean.
22074
22075 2005-05-05  Wim Taymans  <wim@fluendo.com>
22076
22077         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22078         (gst_bin_get_by_name):
22079         * gst/gstbuffer.h:
22080         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22081         (gst_clock_finalize):
22082         * gst/gstdata.c: (gst_data_replace):
22083         * gst/gstdata.h:
22084         * gst/gstelement.c: (gst_element_request_pad),
22085         (gst_element_pads_activate):
22086         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22087         (gst_object_unref):
22088         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22089         (gst_pad_set_checkgetrange_function),
22090         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22091         (gst_pad_check_pull_range), (gst_pad_pull_range),
22092         (gst_static_pad_template_get_caps), (gst_pad_start_task),
22093         (gst_pad_pause_task), (gst_pad_stop_task):
22094         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22095         (gst_element_request_pad), (gst_pad_proxy_getcaps):
22096         Fix name lookup in GstBin.
22097         Added _data_replace() function and _buffer_replace()
22098         Use finalize method to clean up clock.
22099         Fix refcounting on request pads.
22100         Fix pad schedule mode error.
22101         Some more object refcounting debug info,
22102
22103
22104 2005-05-04  Andy Wingo <wingo@pobox.com>
22105
22106         * check/Makefile.am:
22107         * docs/gst/tmpl/gstatomic.sgml:
22108         * docs/gst/tmpl/gstplugin.sgml:
22109         * gst/base/gstbasesink.c: (gst_basesink_activate):
22110         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22111         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22112         (gst_basesrc_query), (gst_basesrc_set_property),
22113         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22114         (gst_basesrc_activate):
22115         * gst/base/gstbasesrc.h:
22116         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22117         (gst_base_transform_src_activate):
22118         * gst/elements/gstelements.c:
22119         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22120         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22121         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22122         * gst/elements/gsttypefindelement.c: (find_element_get_length),
22123         (gst_type_find_element_checkgetrange),
22124         (gst_type_find_element_activate):
22125         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22126         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22127         (gst_caps_load_thyself):
22128         * gst/gstelement.c: (gst_element_pads_activate),
22129         (gst_element_save_thyself), (gst_element_restore_thyself):
22130         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22131         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22132         * gst/gstpad.h:
22133         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22134         (gst_xml_parse_file), (gst_xml_parse_memory),
22135         (gst_xml_get_element), (gst_xml_make_element):
22136         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22137         (_file_index_id_save_xml), (gst_file_index_commit):
22138         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22139         (read_enum), (load_pad_template), (load_feature), (load_plugin),
22140         (load_paths):
22141         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22142         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22143         * tools/gst-complete.c: (main):
22144         * tools/gst-compprep.c: (main):
22145         * tools/gst-inspect.c: (print_element_properties_info):
22146         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22147         * tools/gst-xmlinspect.c: (print_element_properties):
22148         GCC 4 fixen.
22149         
22150 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22151
22152         * gst/gstplugin.c: (gst_plugin_check_module),
22153         (gst_plugin_check_file), (gst_plugin_load_file):
22154             apply patch from #172526 to make register work on MacOSX
22155
22156 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22157
22158         * docs/gst/tmpl/gstconfig.sgml:
22159         * gst/gstconfig.h.in:
22160           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
22161         * testsuite/debug/printf_extension.c: (main):
22162           Do not use GST_PTR_FORMAT on pointers to types with
22163           sizeof < sizeof(gpointer).  Fixes test on 64-bit
22164         * testsuite/elements/property.h:
22165           use correct printf format
22166
22167 2005-05-02  Wim Taymans  <wim@fluendo.com>
22168
22169         * docs/design/draft-push-pull.txt:
22170         * docs/design/draft-query.txt:
22171         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22172         (gst_basesrc_start):
22173         Added draft for new query API.
22174         Added draft for better selecting scheduling methods.
22175         Make basesrc ignore length if the subclass does not support
22176         it.
22177
22178 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22179
22180         * gst/Makefile.am:
22181           possible fixes for automake-1.5 - _LIBADD is reserved
22182
22183 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22184
22185         * docs/faq/Makefile.am:
22186         * docs/manual/Makefile.am:
22187         * docs/manuals.mak:
22188         * docs/pwg/Makefile.am:
22189         * gst/Makefile.am:
22190           possible fixes for automake-1.5
22191
22192 2005-04-28  Wim Taymans  <wim@fluendo.com>
22193
22194         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22195         (gst_basesink_pad_getcaps), (gst_basesink_init),
22196         (gst_basesink_do_sync):
22197         * gst/gstclock.c: (gst_clock_entry_new):
22198         * gst/gstevent.c: (gst_event_discont_get_value):
22199         * gst/gstpipeline.c: (pipeline_bus_handler),
22200         (gst_pipeline_change_state):
22201         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22202         Better debugging of clocking info.
22203         Allow NULL values when getting discont values.
22204
22205 2005-04-27  Wim Taymans  <wim@fluendo.com>
22206
22207         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22208         * check/gst/gstpad.c: (gst_pad_suite):
22209         Increase timeout for checks.
22210
22211 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22212
22213         * check/Makefile.am:
22214           fix the broken rule for cleanup.  Apparently this rule is
22215           only needed on FC2, so maybe this warrants further autotool
22216           inspection.
22217
22218 2005-04-26  Wim Taymans  <wim@fluendo.com>
22219
22220         * gst/gsttrashstack.h:
22221         Ooohh. a nasty one! After having a failed pop() from the stack,
22222         it's possible that the stack is empty. In that case, don't
22223         follow the NULL pointer.
22224
22225 2005-04-25  Wim Taymans  <wim@fluendo.com>
22226
22227         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22228         (gst_pad_set_checkgetrange_function),
22229         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22230         (gst_pad_check_pull_range), (gst_pad_pull_range),
22231         (gst_static_pad_template_get_caps), (gst_pad_start_task),
22232         (gst_pad_pause_task), (gst_pad_stop_task):
22233         * gst/gstplugin.c: (gst_plugin_load):
22234         * gst/gstplugin.h:
22235         Remove gst_library_load as it does more harm than good with
22236         the new g_module flags.
22237         Revert bogus caps template check in pad linking, pad caps
22238         are important when linking not the template, which is more
22239         general than the current caps.
22240
22241 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22242
22243         * gst/autoplug/.cvsignore:
22244         * gst/autoplug/Makefile.am:
22245         * gst/autoplug/gstsearchfuncs.c:
22246         * gst/autoplug/gstsearchfuncs.h:
22247         * gst/autoplug/gstspider.c:
22248         * gst/autoplug/gstspider.h:
22249         * gst/autoplug/gstspideridentity.c:
22250         * gst/autoplug/gstspideridentity.h:
22251         * gst/autoplug/spidertest.c:
22252           Die, spider, die.
22253
22254 2005-04-25  Wim Taymans  <wim@fluendo.com>
22255
22256         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22257         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22258         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22259         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22260         * gst/gstpad.h:
22261         Added stubs for unimplemented functions. 
22262
22263 2005-04-24  David Schleef  <ds@schleef.org>
22264
22265         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
22266         please fix.
22267
22268 2005-04-24  David Schleef  <ds@schleef.org>
22269
22270         Convert everything from GstAtomicInt to g_atomic_int_*, and
22271         remove gstatomic.
22272         * gst/Makefile.am:
22273         * gst/gstatomic.c:
22274         * gst/gstatomic.h:
22275         * gst/gstatomic_impl.h:
22276         * gst/gstbuffer.c:
22277         * gst/gstcaps.c:
22278         * gst/gstcaps.h:
22279         * gst/gstclock.c:
22280         * gst/gstclock.h:
22281         * gst/gstdata.c:
22282         * gst/gstdata.h:
22283         * gst/gstdata_private.h:
22284         * gst/gstevent.c:
22285         * gst/gstinfo.c:
22286         * gst/gstinfo.h:
22287         * gst/gstmessage.c:
22288         * gst/gstobject.c:
22289         * gst/gstobject.h:
22290         * gst/gststructure.c:
22291         * gst/gststructure.h:
22292         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22293         * gst/gstutils.h:
22294
22295 2005-04-24  David Schleef  <ds@schleef.org>
22296
22297         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22298         make the regressions tests work.  Remove some code that is no
22299         longer true.
22300         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22301         Disable warning for pads without templates.
22302
22303 2005-04-24  David Schleef  <ds@schleef.org>
22304
22305         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
22306         functions that handle filtered links.
22307         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22308         removed functions.
22309         * gst/gstutils.c: Fix/remove utility functions that handle
22310         filtered caps.
22311         * gst/gstutils.h:
22312         * gst/gstvalue.c: Add serialization/deserialization of caps
22313         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
22314         requires fixing so that the filter caps notation creates
22315         a capsfilter element and sets the filter_caps property.  I
22316         think everyone probably wants to keep the shorthand notation.
22317         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22318         * docs/gst/tmpl/gstpad.sgml:
22319
22320         * gst/elements/gstelements.c: Register capsfilter element.
22321         * gst/Makefile.am: fix spacing
22322         * docs/random/ds/0.9-suggested-changes: random
22323
22324 2005-04-23  David Schleef  <ds@schleef.org>
22325
22326         * gst/elements/Makefile.am:
22327         * gst/elements/gstcapsfilter.c: New element that acts like an
22328         identity, but filters caps.  Will eventually replace filtered
22329         caps in pad linking.
22330         * gst/gstutils.c: (gst_element_create_all_pads): New function
22331         to create all the ALWAYS pads that are registered with an
22332         element class.  This functionality should eventually be
22333         merged in with GstElement initialization.
22334         * gst/gstutils.h:
22335         * testsuite/trigger/README: part of trigger test code that should
22336         have been checked in a long time ago.
22337
22338 2005-04-23  David Schleef  <ds@schleef.org>
22339
22340         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
22341         needed with new versions of libtool (nobody will confirm this),
22342         and hard to carry around.
22343         * gst/autoplug/Makefile.am:
22344         * gst/base/Makefile.am:
22345         * gst/elements/Makefile.am:
22346         * gst/indexers/Makefile.am:
22347         * gst/schedulers/Makefile.am:
22348         * libs/gst/bytestream/Makefile.am:
22349         * libs/gst/control/Makefile.am:
22350         * libs/gst/dataprotocol/Makefile.am:
22351         * libs/gst/getbits/Makefile.am:
22352
22353 2005-04-21  Wim Taymans  <wim@fluendo.com>
22354
22355         * docs/design/draft-push-pull.txt:
22356         * docs/design/part-MT-refcounting.txt:
22357         * docs/design/part-TODO.txt:
22358         * docs/design/part-caps.txt:
22359         * docs/design/part-events.txt:
22360         * docs/design/part-gstbus.txt:
22361         * docs/design/part-gstpipeline.txt:
22362         * docs/design/part-messages.txt:
22363         * docs/design/part-push-pull.txt:
22364         * docs/design/part-query.txt:
22365         Some more docs.
22366
22367 2005-04-21  Wim Taymans  <wim@fluendo.com>
22368
22369         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22370         (gst_message_new), (gst_message_new_error),
22371         (gst_message_new_warning), (gst_message_new_tag),
22372         (gst_message_new_state_changed), (gst_message_new_application),
22373         (gst_message_get_structure):
22374         * gst/gstmessage.h:
22375         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22376         (gst_structure_copy_conditional):
22377         Use parent refcount in GstMessage to ensure GstStructure
22378         consistency.
22379         Cleaned up headers a bit.
22380         
22381
22382 2005-04-20  Wim Taymans  <wim@fluendo.com>
22383
22384         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22385         (gst_basesink_pad_getcaps), (gst_basesink_init),
22386         (gst_basesink_chain_unlocked):
22387         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22388         (gst_type_find_helper):
22389         * gst/elements/gsttypefindelement.c:
22390         (gst_type_find_element_have_type), (gst_type_find_element_init),
22391         (stop_typefinding), (gst_type_find_element_handle_event),
22392         (find_suggest), (gst_type_find_element_chain),
22393         (gst_type_find_element_checkgetrange),
22394         (gst_type_find_element_getrange), (do_typefind),
22395         (gst_type_find_element_activate):
22396         * gst/gstbuffer.c: (_gst_buffer_sub_free),
22397         (gst_buffer_default_free), (gst_buffer_default_copy),
22398         (gst_buffer_set_caps):
22399         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22400         (gst_caps_replace):
22401         * gst/gstmessage.c: (gst_message_new),
22402         (gst_message_new_state_changed):
22403         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22404         (gst_pad_set_checkgetrange_function),
22405         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22406         (gst_pad_set_caps), (gst_pad_check_pull_range),
22407         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22408         * gst/gstpad.h:
22409         * gst/gsttypefind.c: (gst_type_find_register):
22410         Make gst_caps_replace() work like other _replace() functions.
22411         Use _caps_replace() where possible.
22412         Make sure _message_new() initialises its field.
22413         Add gst_static_pad_template_get_caps()
22414
22415
22416 2005-04-18  Andy Wingo  <wingo@pobox.com>
22417
22418         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22419         on the peer, not the pad. I think that was a typo. Pass an extra
22420         arg to see if random access is possible. Activate the pads as
22421         PULL_RANGE if possible.
22422
22423         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22424
22425         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
22426         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22427         to PROP_....
22428
22429 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22430
22431         * docs/faq/using.xml:
22432           Add note on gstreamer-properties (#154996).
22433
22434 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22435
22436         * docs/random/bbb/optional-properties:
22437           Some analysis on optional properties.
22438
22439 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22440
22441         * docs/gst/tmpl/gstelementfactory.sgml:
22442         * gst/gstelement.h:
22443         * gst/gstelementfactory.c: (gst_element_factory_init),
22444         (gst_element_factory_cleanup), (gst_element_register),
22445         (__gst_element_factory_add_static_pad_template),
22446         (gst_element_factory_get_static_pad_templates),
22447         (gst_element_factory_can_src_caps),
22448         (gst_element_factory_can_sink_caps):
22449         * gst/registries/Makefile.am:
22450         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22451         (gst_xml_registry_class_init), (gst_xml_registry_init),
22452         (gst_xml_registry_new), (gst_xml_registry_set_property),
22453         (gst_xml_registry_get_property), (get_time), (make_dir),
22454         (gst_xml_registry_get_perms_func),
22455         (plugin_times_older_than_recurse), (plugin_times_older_than),
22456         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22457         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22458         (add_to_char_array), (read_string), (read_uint), (read_enum),
22459         (load_pad_template), (load_feature), (load_plugin), (load_paths),
22460         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22461         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22462         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22463         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22464         (gst_xml_registry_rebuild):
22465         * gst/registries/gstlibxmlregistry.h:
22466         * tools/gst-compprep.c: (main):
22467         * tools/gst-inspect.c: (print_pad_templates_info):
22468         * tools/gst-xmlinspect.c: (print_element_info):
22469           Use libxml2 for registry parsing, use staticpadtemplates in
22470           elementfactories. Makes gst_init() +/- 10x faster.
22471
22472 2005-04-12  Wim Taymans  <wim@fluendo.com>
22473
22474         * gst/base/Makefile.am:
22475         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22476         (gst_basesink_pad_getcaps), (gst_basesink_init),
22477         (gst_basesink_event), (gst_basesink_change_state):
22478         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22479         (gst_basesrc_init), (gst_basesrc_query),
22480         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22481         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22482         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22483         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22484         (gst_basesrc_stop), (gst_basesrc_activate),
22485         (gst_basesrc_change_state):
22486         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22487         (helper_find_suggest), (gst_type_find_helper):
22488         * gst/base/gsttypefindhelper.h:
22489         * gst/elements/Makefile.am:
22490         * gst/elements/gstelements.c:
22491         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22492         (gst_fakesink_get_times), (gst_fakesink_event),
22493         (gst_fakesink_preroll), (gst_fakesink_render):
22494         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22495         (gst_fakesrc_init), (gst_fakesrc_event_handler),
22496         (gst_fakesrc_get_property), (gst_fakesrc_create),
22497         (gst_fakesrc_start), (gst_fakesrc_stop):
22498         * gst/elements/gstfakesrc.h:
22499         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22500         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22501         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22502         (gst_filesrc_create_read), (gst_filesrc_create),
22503         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22504         (gst_filesrc_start):
22505         * gst/elements/gsttypefindelement.c:
22506         (gst_type_find_element_have_type), (gst_type_find_element_init),
22507         (start_typefinding), (stop_typefinding), (push_buffer_store),
22508         (gst_type_find_element_handle_event),
22509         (gst_type_find_element_chain),
22510         (gst_type_find_element_checkgetrange),
22511         (gst_type_find_element_getrange), (do_typefind),
22512         (gst_type_find_element_activate),
22513         (gst_type_find_element_change_state):
22514         * gst/elements/gsttypefindelement.h:
22515         * gst/gstpipeline.c: (pipeline_bus_handler):
22516         Added typefind helper.
22517         Small preroll fix in the base sink.
22518         Disable typefind code in basesrc.
22519         Crude port of typefindelement.
22520         Fakesrc cleanups.
22521
22522
22523 2005-04-11  Wim Taymans  <wim@fluendo.com>
22524
22525         * check/gst/gstbus.c: (gstbus_suite):
22526         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22527         * check/gstcheck.h:
22528           Fix up the timeout so that the test does not fail.
22529
22530 2005-04-06  Wim Taymans  <wim@fluendo.com>
22531
22532         * gst/base/README:
22533         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22534         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22535         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22536         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22537         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22538         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22539         (gst_basesrc_stop), (gst_basesrc_activate),
22540         (gst_basesrc_change_state), (basesrc_find_peek),
22541         (basesrc_find_suggest), (gst_basesrc_type_find):
22542         * gst/base/gstbasesrc.h:
22543         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22544         (gst_filesrc_class_init), (gst_filesrc_init),
22545         (gst_filesrc_finalize), (gst_filesrc_set_location),
22546         (gst_filesrc_set_property), (gst_filesrc_get_property),
22547         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22548         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22549         (gst_filesrc_create_read), (gst_filesrc_create),
22550         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22551         * gst/elements/gstfilesrc.h:
22552         * gst/gstelement.c: (gst_element_get_state_func),
22553         (gst_element_lost_state), (gst_element_pads_activate):
22554         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22555         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22556         (gst_pad_pull_range):
22557         * gst/gstpad.h:
22558         More work on the generic source base class, implement seeking,
22559         query.
22560         Make filesrc extend the base source class.
22561         Added gst_pad_set_checkgetrange_function to GstPad.
22562
22563 2005-04-06  Andy Wingo  <wingo@pobox.com>
22564
22565         * pkgconfig/gstreamer-base.pc.in:
22566         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22567
22568         * pkgconfig/Makefile.am:
22569         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22570
22571 2005-04-04  Wim Taymans  <wim@fluendo.com>
22572
22573         * gst/base/Makefile.am:
22574         * gst/base/README:
22575         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22576         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22577         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22578         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22579         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22580         (gst_basesrc_base_init), (gst_basesrc_class_init),
22581         (gst_basesrc_init), (gst_basesrc_get_formats),
22582         (gst_basesrc_get_query_types), (gst_basesrc_query),
22583         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22584         (gst_basesrc_set_property), (gst_basesrc_get_property),
22585         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22586         (gst_basesrc_loop), (gst_basesrc_activate),
22587         (gst_basesrc_change_state):
22588         * gst/base/gstbasesrc.h:
22589         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22590         (gst_fakesrc_class_init), (gst_fakesrc_init),
22591         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22592         (gst_fakesrc_get_property), (gst_fakesrc_create):
22593         * gst/elements/gstfakesrc.h:
22594         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22595         (gst_filesrc_open_file), (gst_filesrc_loop),
22596         (gst_filesrc_activate), (filesrc_find_peek),
22597         (gst_filesrc_type_find):
22598         Made base source class, make fakesrc extend it.
22599         Add comments to basesink class.
22600         Some filesrc cleanup.
22601
22602 2005-03-31  David Schleef  <ds@schleef.org>
22603
22604         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22605         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22606         expected to link against libgstreamer.
22607         * gst/base/Makefile.am: link against libgstreamer
22608         * gst/elements/Makefile.am: same
22609
22610 2005-03-31  Andy Wingo  <wingo@pobox.com>
22611
22612         * tests/instantiate/Makefile.am:
22613         * tests/instantiate/caps.c: Add test to test speed of caps copy
22614         and free.
22615
22616         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22617         GMemChunk to be fair.
22618
22619         * gst/gsttrashstack.h: Remove warning about using the fallback
22620         trash stack implementation, it's still faster than malloc.
22621
22622 2005-03-30  Andy Wingo  <wingo@pobox.com>
22623
22624         * tests/complexity.c: Add a copyright.
22625
22626 2005-03-31  Wim Taymans  <wim@fluendo.com>
22627
22628         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22629         (gst_base_transform_class_init), (gst_base_transform_init),
22630         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22631         (gst_base_transform_get_property),
22632         (gst_base_transform_sink_activate),
22633         (gst_base_transform_src_activate),
22634         (gst_base_transform_change_state):
22635         * gst/base/gstbasetransform.h:
22636         * gst/elements/gstidentity.c: (gst_identity_class_init),
22637         (gst_identity_event), (gst_identity_check_perfect),
22638         (gst_identity_transform), (gst_identity_start),
22639         (gst_identity_stop):
22640         Added start/stop methods to transform base class so subclasses 
22641         don't need to deal with state changes even.
22642
22643 2005-03-31  Wim Taymans  <wim@fluendo.com>
22644
22645         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22646         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22647         * gst/gstevent.h:
22648         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22649         (gst_pad_pull_range):
22650         Added rate to the discont event to prepare for variable speed
22651         and reverse playback.
22652
22653 2005-03-29  David Schleef  <ds@schleef.org>
22654
22655         * configure.ac:
22656         * testsuite/trigger/Makefile.am:
22657         * testsuite/trigger/trigger.c: A little example program to show
22658         how trigger-based elements can work.
22659
22660 2005-03-29  Wim Taymans  <wim@fluendo.com>
22661
22662         * gst/base/Makefile.am:
22663         * gst/base/README:
22664         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22665         (gst_basesink_base_init), (gst_basesink_class_init),
22666         (gst_basesink_pad_getcaps), (gst_basesink_init),
22667         (gst_basesink_activate), (gst_basesink_change_state):
22668         * gst/base/gstbasesink.h:
22669         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22670         (gst_base_transform_base_init), (gst_base_transform_finalize),
22671         (gst_base_transform_class_init), (gst_base_transform_init),
22672         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22673         (gst_base_transform_event), (gst_base_transform_getrange),
22674         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22675         (gst_base_transform_set_property),
22676         (gst_base_transform_get_property),
22677         (gst_base_transform_sink_activate),
22678         (gst_base_transform_src_activate),
22679         (gst_base_transform_change_state):
22680         * gst/base/gstbasetransform.h:
22681         * gst/elements/gstidentity.c: (gst_identity_finalize),
22682         (gst_identity_class_init), (gst_identity_init),
22683         (gst_identity_event), (gst_identity_check_perfect),
22684         (gst_identity_transform), (gst_identity_set_property),
22685         (gst_identity_get_property), (gst_identity_change_state):
22686         * gst/elements/gstidentity.h:
22687         * gst/gstelement.c: (gst_element_get_state_func),
22688         (gst_element_lost_state), (gst_element_pads_activate):
22689         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22690         (gst_pad_check_pull_range), (gst_pad_pull_range):
22691         * gst/gstpad.h:
22692         Simplify pad activation.
22693         Added function to check if pull_range can be performed.
22694         Error out when pulling inactive or flushing pads.
22695         Removed const from refcounted types as it does not make sense.
22696         Simplify pad templates in basesink
22697         Added base class for simple 1-to-1 transforms.
22698         Make identity subclass the base transform.
22699
22700 2005-03-29  Andy Wingo  <wingo@pobox.com>
22701
22702         * docs/libs/gstreamer-libs-overrides.txt: 
22703         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22704         really don't understand what's going on, but like whatever. I want
22705         green buildbot!
22706
22707         * docs/gst/Makefile.am:
22708         * docs/libs/Makefile.am: Dist the overrides files.
22709
22710         * check/Makefile.am (clean-local): Remove .libs directories.
22711
22712         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22713         elements to EXTRA_DIST, so po/ files are happy.
22714
22715         * po/POTFILES.in: Er, remove it here.
22716
22717         * po/POTFILES: Remove gstspider.c.
22718
22719         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22720
22721         * docs/libs/gstreamer-libs-docs.sgml: 
22722         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22723         bytestream.
22724
22725         * tests/complexity.c (main): Set the length of the preroll queue
22726         on the sinks to prevent a lockup.
22727
22728         * libs/gst/dataprotocol/Makefile.am: 
22729         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22730         the same as the one in check/gst-libs/gdp.c.
22731
22732         * po/, docs/gst/: Commit automatic changes to docs and po files.
22733
22734         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22735         the versioned libgstbase.
22736
22737         * check/Makefile.am: Depend on an unversioned gst-register, seems
22738         to make autoconf happier.
22739
22740         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22741
22742 2005-03-28  Wim Taymans  <wim@fluendo.com>
22743
22744         * configure.ac:
22745         * docs/design/part-gstelement.txt:
22746         * docs/design/part-negotiation.txt:
22747         * docs/design/part-preroll.txt:
22748         * docs/design/part-scheduling.txt:
22749         * docs/design/part-states.txt:
22750         * gst/Makefile.am:
22751         * gst/base/Makefile.am:
22752         * gst/base/README:
22753         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22754         (gst_basesink_base_init), (gst_basesink_class_init),
22755         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22756         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22757         (gst_basesink_set_pad_functions),
22758         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22759         (gst_basesink_set_property), (gst_basesink_get_property),
22760         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22761         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22762         (gst_basesink_preroll_queue_push),
22763         (gst_basesink_preroll_queue_empty),
22764         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22765         (gst_basesink_event), (gst_basesink_get_times),
22766         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22767         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22768         (gst_basesink_loop), (gst_basesink_activate),
22769         (gst_basesink_change_state):
22770         * gst/base/gstbasesink.h:
22771         * gst/elements/Makefile.am:
22772         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22773         (gst_fakesink_class_init), (gst_fakesink_init),
22774         (gst_fakesink_set_property), (gst_fakesink_get_property),
22775         (gst_fakesink_get_times), (gst_fakesink_event),
22776         (gst_fakesink_preroll), (gst_fakesink_render),
22777         (gst_fakesink_change_state):
22778         * gst/elements/gstfakesink.h:
22779         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22780         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22781         * gst/gstelement.c: (gst_element_add_pad),
22782         (gst_element_get_state_func), (gst_element_abort_state),
22783         (gst_element_commit_state), (gst_element_lost_state),
22784         (gst_element_set_state), (gst_element_pads_activate):
22785         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22786         * gst/gstpipeline.c: (gst_pipeline_send_event),
22787         (gst_pipeline_change_state):
22788         Added state change code.
22789         Added/updated docs.
22790         Added sink base class, make fakesink extend the base class.
22791         Small cleanups in GstPipeline.
22792
22793 2005-03-26  David Schleef  <ds@schleef.org>
22794
22795         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22796         is broken and should be implemented in a different library.
22797         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22798         * gst/gst.h: remove gstcpu.h
22799         * gst/gstcpu.c: remove
22800         * gst/gstcpu.h: remove
22801         * gst/Makefile.am.future: Remove this file.  It's ancient.
22802
22803 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22804
22805         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22806         (gst_bin_send_event):
22807           Add default event/set_manager handlers. The set_manager handler
22808           takes care that the manager is distributed over kids that were
22809           already in the bin before the manager was set. The event handler
22810           is a utility virtual function that sends the event over all sinks,
22811           so that gst_element_send_event (bin, event); has the expected
22812           behaviour.
22813         * gst/gstpad.c: (gst_pad_event_default):
22814           Re-install default event handling for discontinuities, so that
22815           seeking works without requiring hacks in applications or extra
22816           code in sinks.
22817         * gst/gstpipeline.c: (gst_pipeline_class_init),
22818         (gst_pipeline_send_event):
22819           Half hack, half utility: set a pipeline to PAUSED for seek events,
22820           since that is the only way we can guarantee a/v sync. Means that
22821           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22822           and it "just works".
22823
22824 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22825
22826         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22827           Lock/unlock mismatch.
22828
22829 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22830
22831         * docs/faq/gst-uninstalled:
22832           add gst-plugins-base
22833         * docs/gst/Makefile.am:
22834           don't error out until docs are fixed
22835         * docs/gst/gstreamer.types:
22836           remove thread
22837
22838 2005-03-22  Wim Taymans  <wim@fluendo.com>
22839
22840         * check/Makefile.am:
22841         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22842         * gst/gststructure.c: (gst_structure_set_valist),
22843         (gst_structure_copy_conditional):
22844         Activated more tests.
22845         Added message test.
22846         Added G_TYPE_POINTER to GstStructure.
22847         
22848
22849 2005-03-22  Wim Taymans  <wim@fluendo.com>
22850
22851         * docs/design/part-TODO.txt:
22852         * docs/design/part-events.txt:
22853         * docs/design/part-gstbin.txt:
22854         * docs/design/part-gstbus.txt:
22855         * docs/design/part-gstpipeline.txt:
22856         * docs/design/part-messages.txt:
22857         * gst/gstbus.c:
22858         * gst/gstmessage.c:
22859         Docs updates
22860
22861 2005-03-21  Wim Taymans  <wim@fluendo.com>
22862
22863         * gst/gstbus.c: (gst_bus_post):
22864         Fix copy-and-paste error.
22865
22866 2005-03-21  Wim Taymans  <wim@fluendo.com>
22867
22868         * check/Makefile.am:
22869         * gst/Makefile.am:
22870         * gst/elements/Makefile.am:
22871         * gst/elements/gstelements.c:
22872         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22873         (gst_fakesink_event), (gst_fakesink_chain):
22874         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22875         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22876         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22877         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22878         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22879         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22880         (gst_fakesrc_loop), (gst_fakesrc_activate),
22881         (gst_fakesrc_change_state):
22882         * gst/elements/gstfakesrc.h:
22883         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22884         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22885         (gst_filesrc_open_file), (gst_filesrc_loop),
22886         (gst_filesrc_activate), (gst_filesrc_change_state),
22887         (filesrc_find_peek), (filesrc_find_suggest),
22888         (gst_filesrc_type_find):
22889         * gst/elements/gstidentity.c: (gst_identity_finalize),
22890         (gst_identity_class_init), (gst_identity_init),
22891         (gst_identity_proxy_getcaps), (identity_queue_push),
22892         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22893         (gst_identity_getrange), (gst_identity_chain),
22894         (gst_identity_sink_loop), (gst_identity_src_loop),
22895         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22896         (gst_identity_set_property), (gst_identity_get_property),
22897         (gst_identity_change_state):
22898         * gst/elements/gstidentity.h:
22899         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22900         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22901         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22902         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22903         (gst_tee_sink_activate):
22904         * gst/elements/gsttee.h:
22905         * gst/gst.c: (gst_register_core_elements), (init_post):
22906         * gst/gst.h:
22907         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22908         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22909         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22910         (gst_bin_change_state):
22911         * gst/gstbin.h:
22912         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22913         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22914         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22915         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22916         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22917         (bus_watch_callback), (bus_watch_destroy),
22918         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22919         (poll_timeout), (gst_bus_poll):
22920         * gst/gstbus.h:
22921         * gst/gstcaps.h:
22922         * gst/gstdata.h:
22923         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22924         (gst_element_post_message), (gst_element_message_full),
22925         (gst_element_get_state_func), (gst_element_get_state),
22926         (gst_element_abort_state), (gst_element_commit_state),
22927         (gst_element_lost_state), (gst_element_set_state),
22928         (gst_element_pads_activate), (gst_element_change_state),
22929         (gst_element_dispose), (gst_element_set_manager_func),
22930         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22931         (gst_element_set_manager), (gst_element_get_manager),
22932         (gst_element_set_bus), (gst_element_get_bus),
22933         (gst_element_set_scheduler), (gst_element_get_scheduler):
22934         * gst/gstelement.h:
22935         * gst/gstevent.c: (gst_event_new_segment_seek),
22936         (gst_event_new_flush):
22937         * gst/gstevent.h:
22938         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22939         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22940         (gst_message_new_eos), (gst_message_new_error),
22941         (gst_message_new_warning), (gst_message_new_tag),
22942         (gst_message_new_state_changed), (gst_message_new_application),
22943         (gst_message_get_structure), (gst_message_parse_tag),
22944         (gst_message_parse_state_changed), (gst_message_parse_error),
22945         (gst_message_parse_warning):
22946         * gst/gstmessage.h:
22947         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22948         (gst_real_pad_set_property), (gst_pad_set_active),
22949         (gst_pad_is_active), (gst_pad_set_blocked_async),
22950         (gst_pad_set_blocked), (gst_pad_is_blocked),
22951         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22952         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22953         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22954         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22955         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22956         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22957         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22958         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22959         (gst_pad_set_caps), (gst_pad_configure_sink),
22960         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22961         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22962         (gst_real_pad_dispose), (gst_real_pad_finalize),
22963         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22964         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22965         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22966         * gst/gstpad.h:
22967         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22968         (pipeline_bus_handler), (gst_pipeline_change_state),
22969         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22970         * gst/gstpipeline.h:
22971         * gst/gstprobe.h:
22972         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22973         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22974         (gst_queue_link_src), (gst_queue_bufferalloc),
22975         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22976         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22977         (gst_queue_loop), (gst_queue_handle_src_event),
22978         (gst_queue_handle_src_query), (gst_queue_src_activate),
22979         (gst_queue_change_state):
22980         * gst/gstqueue.h:
22981         * gst/gstscheduler.c: (gst_scheduler_init),
22982         (gst_scheduler_dispose), (gst_scheduler_create_task),
22983         (gst_scheduler_factory_create):
22984         * gst/gstscheduler.h:
22985         * gst/gststructure.c: (gst_structure_get_type),
22986         (gst_structure_copy_conditional):
22987         * gst/gststructure.h:
22988         * gst/gsttaginterface.h:
22989         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22990         (gst_task_init), (gst_task_dispose), (gst_task_create),
22991         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22992         (gst_task_pause):
22993         * gst/gsttask.h:
22994         * gst/gstthread.c:
22995         * gst/gstthread.h:
22996         * gst/gsttypes.h:
22997         * gst/schedulers/Makefile.am:
22998         * gst/schedulers/cothreads_compat.h:
22999         * gst/schedulers/entryscheduler.c:
23000         * gst/schedulers/faircothreads.c:
23001         * gst/schedulers/faircothreads.h:
23002         * gst/schedulers/fairscheduler.c:
23003         * gst/schedulers/gstbasicscheduler.c:
23004         * gst/schedulers/gstoptimalscheduler.c:
23005         * gst/schedulers/gthread-cothreads.h:
23006         * gst/schedulers/threadscheduler.c:
23007         (gst_thread_scheduler_task_get_type),
23008         (gst_thread_scheduler_task_class_init),
23009         (gst_thread_scheduler_task_init),
23010         (gst_thread_scheduler_task_start),
23011         (gst_thread_scheduler_task_stop),
23012         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
23013         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23014         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23015         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23016         (plugin_init):
23017         * libs/gst/Makefile.am:
23018         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23019         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23020         (gst_file_pad_parent_set):
23021         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23022         (gst_dp_event_from_packet):
23023         * tests/complexity.c: (main):
23024         * tests/mass_elements.c: (main):
23025         * testsuite/states/locked.c: (message_received), (main):
23026         * testsuite/states/parent.c: (main):
23027         * tools/gst-inspect.c: (print_element_flag_info),
23028         (print_implementation_info), (print_pad_info):
23029         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23030         (main):
23031         * tools/gst-md5sum.c: (event_loop), (main):
23032         * tools/gst-typefind.c: (main):
23033         * tools/gst-xmlinspect.c: (print_element_info):
23034         Next big merge.
23035         Added GstBus for mainloop integration.
23036         Added GstMessage for sending notifications on the bus.
23037         Added GstTask as an abstraction for pipeline entry points.
23038         Removed GstThread.
23039         Removed Schedulers.
23040         Simplified GstQueue for multithreaded core.
23041         Made _link threadsafe, removed old capsnego.
23042         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23043         Added pad blocking functions.
23044         Reworked scheduling functions in GstPad to prepare for
23045         scheduling updates soon.
23046         Moved events out of data stream.
23047         Simplified GstEvent types.
23048         Added return values to push/pull.
23049         Removed clocking from GstElement.
23050         Added prototypes for state change function for next merge.
23051         Removed iterate from bins and state change management.
23052         Fixed some elements, disabled others for now.
23053         Fixed -inspect and -launch.
23054         Added check for GstBus.
23055
23056 2005-03-10  Wim Taymans  <wim@fluendo.com>
23057
23058         * docs/design/part-MT-refcounting.txt:
23059         * docs/design/part-clocks.txt:
23060         * docs/design/part-gstelement.txt:
23061         * docs/design/part-gstobject.txt:
23062         * docs/design/part-standards.txt:
23063         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23064         (gst_bin_remove_func), (gst_bin_remove):
23065         * gst/gstbin.h:
23066         * gst/gstbuffer.c:
23067         * gst/gstcaps.h:
23068         * testsuite/clock/clock1.c: (main):
23069         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23070         (main):
23071         * testsuite/dlopen/loadgst.c: (do_test):
23072         * testsuite/refcounting/bin.c: (add_remove_test1),
23073         (add_remove_test2), (main):
23074         * testsuite/refcounting/element.c: (main):
23075         * testsuite/refcounting/element_pad.c: (main):
23076         * testsuite/refcounting/pad.c: (main):
23077         * tools/gst-launch.c: (sigint_handler_sighandler):
23078         * tools/gst-typefind.c: (main):
23079         Doc updates.
23080         Added doc about clock.
23081         removed gst_bin_iterate_recurse_up(), marked methods
23082         for removal.
23083         Fix more testsuites.
23084
23085 2005-03-09  Wim Taymans  <wim@fluendo.com>
23086
23087         * gst/gstpad.c: (gst_pad_get_direction),
23088         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23089         (gst_pad_collect_valist):
23090         * testsuite/bins/interface.c: (main):
23091         * testsuite/caps/audioscale.c: (test_caps):
23092         * testsuite/caps/caps.c: (test1), (test2), (test3):
23093         * testsuite/caps/deserialize.c: (main):
23094         * testsuite/caps/enumcaps.c: (main):
23095         * testsuite/caps/filtercaps.c: (main):
23096         * testsuite/caps/intersect2.c: (main):
23097         * testsuite/caps/random.c: (main):
23098         * testsuite/caps/renegotiate.c: (my_fixate), (main):
23099         * testsuite/caps/sets.c: (check_caps):
23100         * testsuite/caps/simplify.c: (check_caps), (main):
23101         * testsuite/caps/subtract.c: (check_caps):
23102         Fix _pad_get_direction wrt ghostpads.
23103         Fix caps testsuite.
23104
23105 2005-03-09  Wim Taymans  <wim@fluendo.com>
23106
23107         * check/Makefile.am:
23108         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23109         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23110         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23111         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23112         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23113         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23114         (gst_bin_remove), (gst_bin_iterate_recurse_up),
23115         (bin_element_is_sink), (gst_bin_iterate_sinks),
23116         (gst_bin_iterate_all_by_interface):
23117         * gst/gstbin.h:
23118         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23119         (gst_element_change_state), (gst_element_dispose),
23120         (gst_element_finalize), (gst_element_set_loop_function):
23121         * gst/gstelement.h:
23122         * gst/gstiterator.c: (find_custom_fold_func):
23123         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23124         (gst_pad_collectv), (gst_pad_collect_valist),
23125         (gst_pad_template_new):
23126         * gst/gstpipeline.c: (gst_pipeline_class_init),
23127         (gst_pipeline_dispose), (gst_pipeline_set_property),
23128         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23129         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23130         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23131         * gst/gstutils.h:
23132         * gst/schedulers/entryscheduler.c:
23133         * gst/schedulers/gstbasicscheduler.c:
23134         (gst_basic_scheduler_cothreaded_chain),
23135         (gst_basic_scheduler_chain_add_element):
23136         * testsuite/bins/interface.c: (main):
23137         Added GstBin test.
23138         Added GstSystemClock test.
23139         Implemented clock distribution code in GstBin.
23140         Implemented iterate sinks method for future use.
23141         Rearranged gstelement.h
23142         Fix GstIterator comparison bug.
23143         Moved some code to GstPipeline, mostly clocking related.
23144
23145 2005-03-09  Wim Taymans  <wim@fluendo.com>
23146
23147         * configure.ac:
23148         * gst/gst_private.h:
23149         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23150         (gst_bin_remove_func), (gst_bin_remove),
23151         (gst_bin_get_by_name_recurse_up):
23152         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23153         (gst_clock_id_compare_func), (gst_clock_id_wait),
23154         (gst_clock_id_wait_async), (gst_clock_init),
23155         (gst_clock_adjust_unlocked), (gst_clock_get_time):
23156         * gst/gstelement.h:
23157         * gst/gstinfo.c: (_gst_debug_init):
23158         * gst/gstobject.h:
23159         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23160         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23161         * gst/gstpad.h:
23162         Bump version number, we're now 0.9.0
23163         Add future debugging category.
23164         Fix NULL _unref() in _get_by_name_recurse_up
23165         Rearrange gstpad.h.
23166         Update some docs.
23167
23168 2005-03-08  Wim Taymans  <wim@fluendo.com>
23169
23170         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23171         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23172         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23173         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23174         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23175         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23176         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23177         * gst/elements/gstidentity.c: (gst_identity_class_init):
23178         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23179         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23180         * gst/elements/gstshaper.c: (gst_shaper_class_init):
23181         * gst/elements/gststatistics.c: (gst_statistics_class_init):
23182         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23183         (gst_tee_link):
23184         * gst/gstelement.c: (gst_element_class_init),
23185         (gst_element_base_class_init), (gst_element_init),
23186         (gst_element_get_random_pad), (gst_element_wait_state_change),
23187         (gst_element_change_state), (gst_element_dispose),
23188         (gst_element_finalize), (gst_element_set_loop_function):
23189         * gst/gstelement.h:
23190         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23191         * gst/gstthread.c: (gst_thread_class_init),
23192         (gst_thread_release_children_locks), (gst_thread_change_state):
23193         * gst/schedulers/gstbasicscheduler.c:
23194         (gst_basic_scheduler_loopfunc_wrapper),
23195         (gst_basic_scheduler_chain_wrapper),
23196         (gst_basic_scheduler_src_wrapper),
23197         (gst_basic_scheduler_remove_element):
23198         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23199         Remove threadsafe properties. Fix elements because GObject
23200         complains when installing a property before declaring a
23201         set/get_property handler.
23202         Rearrange gstelement.h file, use STATE macros for state locks.
23203         Free mutexes in the finalize method instead of dispose.
23204
23205 2005-03-08  Wim Taymans  <wim@fluendo.com>
23206
23207         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23208         * gst/gstthread.c: (gst_thread_release_children_locks):
23209         Added parentage check.
23210         Fix build og GstThread again.
23211
23212 2005-03-08  Wim Taymans  <wim@fluendo.com>
23213
23214         * docs/design/part-MT-refcounting.txt:
23215         * docs/design/part-conventions.txt:
23216         * docs/design/part-gstobject.txt:
23217         * docs/design/part-relations.txt:
23218         * docs/design/part-standards.txt:
23219         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23220         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23221         (gst_bin_get_by_name), (gst_bin_get_by_interface),
23222         (gst_bin_iterate_all_by_interface):
23223         * gst/gstbuffer.h:
23224         * gst/gstclock.h:
23225         * gst/gstelement.c: (gst_element_class_init),
23226         (gst_element_change_state), (gst_element_set_loop_function):
23227         * gst/gstelement.h:
23228         * gst/gstiterator.c:
23229         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23230         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23231         (gst_object_dispatch_properties_changed), (gst_object_set_name),
23232         (gst_object_set_parent), (gst_object_unparent),
23233         (gst_object_check_uniqueness):
23234         * gst/gstobject.h:
23235         Docs updates, clean up some headers.
23236
23237 2005-03-07  Wim Taymans  <wim@fluendo.com>
23238
23239         * check/.cvsignore:
23240         * check/Makefile.am:
23241         * check/gst-libs/.cvsignore:
23242         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23243         * check/gst/.cvsignore:
23244         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23245         (START_TEST), (gstbus_suite), (main):
23246         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23247         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23248         (gst_data_suite), (main):
23249         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23250         (add_fold_func), (gstiterator_suite), (main):
23251         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23252         (thread_name_object), (thread_name_object_default),
23253         (gst_object_name_compare), (gst_object_suite), (main):
23254         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23255         (gst_pad_suite), (main):
23256         * check/gstcheck.c: (gst_check_log_message_func),
23257         (gst_check_log_critical_func), (gst_check_init):
23258         * check/gstcheck.h:
23259         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23260         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23261         Added checks.
23262
23263 2005-03-07  Wim Taymans  <wim@fluendo.com>
23264
23265         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23266         (gst_list_iterator_next), (gst_list_iterator_resync),
23267         (gst_list_iterator_free), (gst_iterator_new_list),
23268         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23269         (gst_iterator_free), (gst_iterator_push), (filter_next),
23270         (filter_resync), (filter_uninit), (filter_free),
23271         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23272         (gst_iterator_foreach), (find_custom_fold_func),
23273         (gst_iterator_find_custom):
23274         * gst/gstiterator.h:
23275         Added missing files.
23276
23277 2005-03-07  Wim Taymans  <wim@fluendo.com>
23278
23279         * Makefile.am:
23280         * configure.ac:
23281         * docs/design/part-MT-refcounting.txt:
23282         * docs/design/part-conventions.txt:
23283         * docs/design/part-gstobject.txt:
23284         * docs/design/part-relations.txt:
23285         * examples/mixer/mixer.c: (main):
23286         * examples/thread/thread.c: (eos), (main):
23287         * gst/Makefile.am:
23288         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23289         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23290         (gst_spider_plug_from_srcpad):
23291         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23292         (gst_spider_identity_change_state),
23293         (gst_spider_identity_sink_loop_type_finding):
23294         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23295         * gst/elements/gstidentity.c: (gst_identity_init):
23296         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23297         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23298         * gst/elements/gsttypefindelement.c: (free_entry):
23299         * gst/gst.c:
23300         * gst/gst.h:
23301         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23302         (gst_bin_set_clock_func), (gst_bin_auto_clock),
23303         (gst_bin_set_index), (gst_bin_set_element_sched),
23304         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23305         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23306         (gst_bin_iterate_elements), (iterate_child_recurse),
23307         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23308         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23309         (compare_interface), (gst_bin_get_by_interface),
23310         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23311         * gst/gstbin.h:
23312         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23313         (gst_buffer_default_free), (gst_buffer_default_copy),
23314         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23315         (gst_buffer_create_sub):
23316         * gst/gstbuffer.h:
23317         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23318         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23319         (gst_caps_unref), (gst_static_caps_get),
23320         (gst_caps_remove_and_get_structure), (gst_caps_append),
23321         (gst_caps_append_structure), (gst_caps_remove_structure),
23322         (gst_caps_copy_nth), (gst_caps_set_simple),
23323         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23324         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23325         (gst_caps_structure_intersect_field), (gst_caps_intersect),
23326         (gst_caps_structure_subtract_field), (gst_caps_subtract),
23327         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23328         (gst_caps_structure_figure_out_union),
23329         (gst_caps_switch_structures), (gst_caps_do_simplify),
23330         (gst_caps_replace), (gst_caps_from_string),
23331         (gst_caps_copy_conditional):
23332         * gst/gstcaps.h:
23333         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23334         (_gst_clock_id_free), (gst_clock_id_unref),
23335         (gst_clock_id_compare_func), (gst_clock_id_wait),
23336         (gst_clock_id_wait_async), (gst_clock_class_init),
23337         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23338         (gst_clock_get_time), (gst_clock_set_time_adjust),
23339         (gst_clock_set_property), (gst_clock_get_property):
23340         * gst/gstclock.h:
23341         * gst/gstcompat.h:
23342         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23343         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23344         * gst/gstdata.h:
23345         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23346         (gst_element_requires_clock), (gst_element_provides_clock),
23347         (gst_element_set_clock), (gst_element_clock_wait),
23348         (gst_element_wait), (gst_element_set_time_delay),
23349         (gst_element_is_indexable), (gst_element_add_pad),
23350         (gst_element_add_ghost_pad), (gst_element_remove_pad),
23351         (pad_compare_name), (gst_element_get_static_pad),
23352         (gst_element_request_pad), (gst_element_get_request_pad),
23353         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23354         (gst_element_class_get_pad_template_list),
23355         (gst_element_class_get_pad_template), (gst_element_error_func),
23356         (gst_element_get_random_pad), (gst_element_get_event_masks),
23357         (gst_element_send_event), (gst_element_seek),
23358         (gst_element_get_query_types), (gst_element_query),
23359         (gst_element_get_formats), (gst_element_convert),
23360         (gst_element_is_locked_state), (gst_element_set_locked_state),
23361         (gst_element_sync_state_with_parent), (gst_element_change_state),
23362         (gst_element_finalize), (gst_element_yield),
23363         (gst_element_interrupt), (gst_element_set_scheduler),
23364         (gst_element_get_scheduler), (gst_element_set_loop_function):
23365         * gst/gstelement.h:
23366         * gst/gstevent.h:
23367         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23368         (gst_format_get_by_nick), (gst_format_get_details),
23369         (gst_format_iterate_definitions):
23370         * gst/gstformat.h:
23371         * gst/gstindex.c: (gst_index_gtype_resolver):
23372         * gst/gstinfo.c:
23373         * gst/gstinfo.h:
23374         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23375         (gst_mem_chunk_free):
23376         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23377         (gst_object_ref), (gst_object_unref), (gst_object_sink),
23378         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23379         (gst_object_dispatch_properties_changed),
23380         (gst_object_set_name_default), (gst_object_set_name),
23381         (gst_object_get_name), (gst_object_set_name_prefix),
23382         (gst_object_get_name_prefix), (gst_object_set_parent),
23383         (gst_object_get_parent), (gst_object_unparent),
23384         (gst_object_check_uniqueness), (gst_object_save_thyself),
23385         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23386         (gst_object_set_property), (gst_object_get_property),
23387         (gst_object_get_path_string):
23388         * gst/gstobject.h:
23389         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23390         (gst_real_pad_init), (gst_real_pad_get_property),
23391         (gst_pad_custom_new), (gst_pad_get_direction),
23392         (gst_pad_set_active), (gst_pad_is_active),
23393         (gst_pad_set_event_function), (gst_pad_is_linked),
23394         (gst_pad_link_free), (gst_pad_link_intersect),
23395         (gst_pad_link_fixate), (gst_pad_set_caps),
23396         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23397         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23398         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23399         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23400         (gst_pad_get_caps), (gst_pad_peer_get_caps),
23401         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23402         (gst_pad_realize), (gst_pad_get_allowed_caps),
23403         (gst_real_pad_dispose), (gst_real_pad_finalize),
23404         (gst_pad_collectv), (gst_pad_collect_valist),
23405         (gst_pad_template_dispose), (gst_pad_template_new),
23406         (gst_pad_get_internal_links):
23407         * gst/gstpad.h:
23408         * gst/gstpipeline.c: (gst_pipeline_dispose),
23409         (gst_pipeline_change_state):
23410         * gst/gstpipeline.h:
23411         * gst/gstplugin.c:
23412         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23413         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23414         * gst/gstpluginfeature.h:
23415         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23416         * gst/gstquery.c: (_gst_query_type_initialize),
23417         (gst_query_type_register), (gst_query_type_get_by_nick),
23418         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23419         * gst/gstquery.h:
23420         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23421         * gst/gstscheduler.c: (gst_scheduler_add_element),
23422         (gst_scheduler_factory_create):
23423         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23424         (gst_structure_free), (gst_structure_set_name),
23425         (gst_structure_id_set_value), (gst_structure_set_value),
23426         (gst_structure_set_valist), (gst_structure_remove_field),
23427         (gst_structure_remove_fields),
23428         (gst_structure_remove_fields_valist),
23429         (gst_structure_remove_all_fields), (gst_structure_foreach),
23430         (gst_structure_map_in_place),
23431         (gst_caps_structure_fixate_field_nearest_int),
23432         (gst_caps_structure_fixate_field_nearest_double):
23433         * gst/gststructure.h:
23434         * gst/gstsystemclock.c: (gst_system_clock_class_init),
23435         (gst_system_clock_init), (gst_system_clock_dispose),
23436         (gst_system_clock_async_thread),
23437         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23438         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23439         * gst/gstsystemclock.h:
23440         * gst/gsttag.c: (gst_tag_list_add_value_internal),
23441         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23442         * gst/gsttaginterface.c:
23443         * gst/gstthread.c: (gst_thread_dispose),
23444         (gst_thread_release_children_locks), (gst_thread_change_state),
23445         (gst_thread_main_loop):
23446         * gst/gsttrashstack.h:
23447         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23448         * gst/gsttypes.h:
23449         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23450         (gst_element_request_pad), (gst_element_get_pad_from_template),
23451         (gst_element_request_compatible_pad),
23452         (gst_element_get_compatible_pad_filtered),
23453         (gst_element_get_compatible_pad), (gst_element_state_get_name),
23454         (gst_element_link_pads_filtered), (gst_element_link_filtered),
23455         (gst_element_link_many), (gst_element_link),
23456         (gst_element_link_pads), (gst_element_unlink_pads),
23457         (gst_element_unlink_many), (gst_element_unlink),
23458         (gst_pad_can_link_filtered), (gst_pad_can_link),
23459         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23460         (gst_object_default_error), (gst_bin_add_many),
23461         (gst_bin_remove_many), (gst_element_populate_std_props),
23462         (gst_element_class_install_std_props), (gst_buffer_merge),
23463         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23464         (link_fold_func), (gst_pad_proxy_setcaps):
23465         * gst/gstutils.h:
23466         * gst/gstvalue.c: (gst_value_deserialize_string):
23467         * gst/parse/grammar.y:
23468         * gst/schedulers/gstbasicscheduler.c:
23469         (gst_basic_scheduler_cothreaded_chain),
23470         (gst_basic_scheduler_chain_recursive_add),
23471         (gst_basic_scheduler_pad_link):
23472         * gst/schedulers/gstoptimalscheduler.c:
23473         (get_group_schedule_function),
23474         (gst_opt_scheduler_state_transition),
23475         (gst_opt_scheduler_add_element), (element_get_reachables_func):
23476         * libs/gst/bytestream/bytestream.c:
23477         * libs/gst/dataprotocol/dataprotocol.c:
23478         (gst_dp_header_from_buffer):
23479         * po/nb.po:
23480         * po/ru.po:
23481         * tests/threadstate/threadstate2.c: (eos):
23482         * tools/gst-compprep.c: (main):
23483         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23484         (print_pad_info), (print_children_info):
23485         * tools/gst-launch.c: (idle_func), (main):
23486         * tools/gst-md5sum.c: (idle_func), (main):
23487         * tools/gst-xmlinspect.c: (print_element_info):
23488         First THREADED backport attempt, focusing on adding locks and
23489         making sure the API is threadsafe. Needs more work. More docs
23490         follow this week.
23491
23492 2005-02-24  Andy Wingo  <wingo@pobox.com>
23493
23494         * tests/bench-complexity.scm:
23495         * tests/complexity.gnuplot: New files, good for running complexity
23496         benchmarks.
23497
23498         * tests/Makefile.am:
23499         * tests/complexity.c: New test, sets up N elements, at each level
23500         teeing into M streams per element. Eeeenteresting.
23501
23502         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23503         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23504         running bench-mass_elements.scm.
23505
23506         * tests/bench-mass_elements.scm: New script, runs mass_elements
23507         for various numbers of identities, outputting the results to a
23508         file. Requires guile 1.6. Just for testing.
23509
23510 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23511
23512         * gst/schedulers/fairscheduler.c:
23513           compile with debug disabled
23514
23515 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23516
23517         * configure.ac:
23518           hunting season on 0.9 is now OPEN