tests/check/gst/gstbuffer.c: Disable part of the gst_buffer_try_new_and_alloc test...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4
5         Disable part of the gst_buffer_try_new_and_alloc test, because
6         it can happily succeed on 64-bit systems where there's more address
7         space available.
8
9 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
10
11         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12         Add unit test for the improved caps checking from bug #421543.
13
14 2007-05-21  Wim Taymans  <wim@fluendo.com>
15
16         * docs/design/part-synchronisation.txt:
17         Small addition.
18
19         * gst/gstbin.c: (gst_bin_query):
20         * plugins/elements/gstqueue.c: (apply_segment):
21         Improve debugging.
22
23         * gst/gstmessage.h:
24         Improve docs.
25
26 2007-05-21  Wim Taymans  <wim@fluendo.com>
27
28         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
29         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
30         (gst_pad_configure_src):
31         Added simple version of improved caps checking. It was previously
32         assumed that a setcaps function would check the validity of the caps but
33         people prefer us to check caps against the template automatically. 
34         Fixes #421543.
35
36 2007-05-21  Wim Taymans  <wim@fluendo.com>
37
38         * libs/gst/base/gstbasetransform.h:
39         Fix macro for locking/unlocking the transform lock.
40
41 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
42
43         * docs/plugins/tmpl/.cvsignore:
44           Ignore more.
45
46 2007-05-18  Edward Hervey  <edward@fluendo.com>
47
48         * plugins/elements/gstqueue.c: (gst_queue_loop):
49         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
50         for the subtle art of warning a potentially blocking thread that it
51         should check the source pad return value, and relay the information
52         upstream.
53
54 2007-05-18  Edward Hervey  <edward@fluendo.com>
55
56         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
57         Release the queue lock !
58
59 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
60
61         * docs/libs/gstreamer-libs-sections.txt:
62         Add the two new controller functions to the appropiate places.
63
64 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
65
66         reviewed by: Stefan Kost <ensonic@users.sf.net>
67
68         * libs/gst/controller/gstcontroller.c:
69         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
70         (_gst_controller_get_property), (_gst_controller_set_property),
71         (_gst_controller_init), (_gst_controller_class_init):
72         * libs/gst/controller/gstcontroller.h:
73         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
74         (gst_object_get_control_rate), (gst_object_set_control_rate):
75         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
76         Add API that provides sync suggestion timestamps for elements that
77         call gst_object_sync_values() from which those elements can subdivide
78         their processing loop to get the best results for the controlled
79         properties. For now it just suggests last_sync + control_rate as
80         new timestamp but this will be improved in the future.
81
82         While doing that change the control-rate property to a GstClockTime
83         from guint and change it's meaning from samples to nanoseconds as
84         the GstController doesn't know anything about sampling rate. Strictly
85         speaking this breaks ABI but as the control-rate property didn't do
86         anything in the past and as such couldn't be used this should be no
87         problem.        
88
89 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
90
91         reviewed by: Stefan Kost <ensonic@users.sf.net>
92
93         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
94         (gst_controller_unset_all):
95         * libs/gst/controller/gstcontrollerprivate.h:
96         * libs/gst/controller/gstinterpolation.c:
97         (gst_controlled_property_find_control_point_node):
98         Save last synced value from the list to continue searching from there
99         in future syncs. This speeds everything up a bit.
100         
101 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
102
103         reviewed by: Stefan Kost <ensonic@users.sf.net>
104
105         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
106         (gst_control_point_find), (gst_controlled_property_new),
107         (gst_control_point_free), (gst_controlled_property_free),
108         (gst_controller_set), (gst_controller_set_from_list),
109         (gst_controller_unset), (gst_controller_unset_all),
110         (gst_controller_sync_values):
111         * libs/gst/controller/gstcontroller.h:
112         * libs/gst/controller/gstcontrollerprivate.h:
113         * libs/gst/controller/gstinterpolation.c:
114         (gst_controlled_property_find_control_point_node),
115         (interpolate_none_get), (interpolate_trigger_get):
116         Add a new private GstControlPoint struct which "inherits" from
117         GstTimedValue to allow different interpolators to store internal
118         values next to each control point. From the outside everything is
119         still a GstControlPoint so we don't loose binary compatibility.
120         Also fixup all the GValue handling to not leak GValues or list nodes.
121         * tests/check/libs/controller.c: (GST_START_TEST):
122         Free the list nodes and GValues in the controller_misc test.
123
124 2007-05-17  Edward Hervey  <edward@fluendo.com>
125
126         * gst/gstsegment.c:
127         Small doc fix.
128
129 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
130
131         * gst/gstplugin.c: (gst_plugin_load_file):
132           If we fail to load a plugin because of unresolved symbols or missing
133           libraries and spew a warning to stderr, we may just as well mention
134           which plugin it was that failed to load.
135
136 2007-05-13  David Schleef  <ds@schleef.org>
137
138         * docs/Makefile.am: the gtk-doc makefile snippet correctly
139           handles the case when ENABLE_GTK_DOC is false, and installs
140           the prebuilt documentation.  So gtk-doc subdirs are 
141           unconditionally enabled.  Fixes: #349099.
142
143 2007-05-13  David Schleef  <ds@schleef.org>
144
145         * gst/gstutils.h: Reword some documentation.
146
147 2007-05-12  David Schleef  <ds@schleef.org>
148
149         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
150           do anything with the passed "module" parameter, so remove it.
151           Allows removal of additional vestigal code.
152
153 2007-05-12  David Schleef  <ds@schleef.org>
154
155         * gst/gstplugin.c:
156           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
157           Switch to using g_stat() because it's more portable.
158
159 2007-05-12  David Schleef  <ds@schleef.org>
160
161         * gst/gst.c:
162           Add GST_DISABLE_OPTION_PARSING, in order to disable option
163           parsing for embedded systems.
164         * gst/gstelementfactory.c:
165           Allow gst_element_register() to be called with plugin==NULL.
166           Did nobody notice that static elements were broken?
167
168 2007-05-12  Wim Taymans  <wim@fluendo.com>
169
170         * tools/gst-launch.c: (event_loop):
171         Give more interesting info when buffering starts and stops.
172         Fix case where buffering starts but we fail to update the buffering flag
173         because the target state is not PLAYING.
174
175 2007-05-12  Wim Taymans  <wim@fluendo.com>
176
177         * plugins/elements/gstqueue.c: (gst_queue_init),
178         (gst_queue_finalize), (update_time_level), (apply_segment),
179         (apply_buffer), (gst_queue_locked_flush),
180         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
181         (gst_queue_handle_sink_event), (gst_queue_chain),
182         (gst_queue_push_one), (gst_queue_loop):
183         * plugins/elements/gstqueue.h:
184         Refactor an cleanup queue a bit.
185         Do better time level calculations that also work when the srcpad is not
186         yet running.
187         Remove some unneeded debug lines.
188
189         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
190         Added testcase for time level measurement.
191         Try to make some stuff more racefree.
192
193 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
194
195         * gst/gsturi.c: (gst_element_make_from_uri):
196           Don't leak plugin feature.
197
198         * tests/check/Makefile.am:
199         * tests/check/gst/.cvsignore:
200         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
201           Add brain-dead unit test.
202
203 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
204
205         Patch by: Jeroen Wouters <woutersj at gmail com>
206
207         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
208           Treat protocol strings in a case-insensitive way (#437563).
209
210 2007-05-11  Michael Smith <msmith@fluendo.com>
211
212         * gst/gstplugin.c: (gst_plugin_load_file):
213         * gst/gstregistry.c: (gst_registry_scan_path_level):
214           Don't print a g_warning for any failure to load a shared object.
215           Instead, push this down into gstplugin.c, and warn _only_ if we
216           failed to open the module (i.e. failure to link).
217           Avoids warnings on normal, working, non-plugin .so files.
218
219 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
220
221         * gst/gstplugin.c (gst_plugin_load_file):
222         * gst/gstregistry.c (GST_CAT_DEFAULT,
223           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
224           Print a g_warning if there was an error when loading a plugins during
225           registry scan. The shuld help beginners starting with gst-plugin
226           template.
227
228 2007-05-10  Wim Taymans  <wim@fluendo.com>
229
230         * plugins/elements/gstqueue.c: (gst_queue_class_init),
231         (update_time_level), (gst_queue_locked_flush),
232         (gst_queue_handle_sink_event), (gst_queue_chain),
233         (gst_queue_push_one), (gst_queue_loop):
234         * plugins/elements/gstqueue.h:
235         Be smarter when calculating the current amount of data in the queue by
236         measuring the difference between start and end timestamps (in running
237         time) inside the queue. Fixes #432876.
238         API: GstQueue::pushing to notify elements that we are pushing data again
239         since the running signal is rather broken for this purpose.
240
241 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
242
243         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
244           gst_queue_base_init, gst_queue_init):
245           use GST_BOILERPLATE
246
247 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
248
249         * win32/common/libgstreamer.def:
250         Add new exported functions.
251         * win32/vs6/grammar.dsp:
252         Use grammar pre-generated files.
253
254 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
255
256         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
257
258         * gst/Makefile.am:
259         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
260         * gst/gstparse.h:
261         * gst/gstutils.c: (gst_parse_bin_from_description):
262         * gst/gstutils.h:
263           Maintain API and ABI when --disable-parse is used. Now that
264           we have an appropriate error code, we can just return NULL and the
265           appropriate error when gst_parse_launch() is used despite it having
266           been disabled (#342564).
267
268         * tests/check/Makefile.am:
269         * tests/check/pipelines/.cvsignore:
270         * tests/check/pipelines/parse-disabled.c:
271           Make sure these functions exist and return NULL plus a GError when
272           --disable-parse is used.
273
274 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
275
276         * tests/benchmarks/complexity.c: (main):
277         * tests/benchmarks/mass-elements.c: (main):
278           Set a good example and don't leak messages.
279
280 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
281
282         * docs/gst/Makefile.am:
283         * docs/libs/Makefile.am:
284           Correct fixxrefs options.
285
286         * docs/plugins/Makefile.am:
287         * docs/plugins/gstreamer-plugins-docs.sgml:
288         * docs/plugins/gstreamer-plugins-sections.txt:
289         * plugins/elements/Makefile.am:
290         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
291         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
292           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
293           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
294           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
295           _GstCapsFilterClass, trans_class):
296         * plugins/elements/gstelements.c (name, rank, type, _elements):
297         * plugins/elements/gstidentity.c
298           (gst_identity_check_imperfect_timestamp,
299           gst_identity_check_imperfect_offset):
300           Document capsfilter and add doc-blurb to identity.
301
302 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
303
304         * libs/gst/controller/gstcontroller.c:
305         (gst_controlled_property_set_interpolation_mode):
306         * libs/gst/controller/gstinterpolation.c:
307           Don't crash if someone tries to set an interpolation mode that
308           is invalid or that isn't supported yet. Fixes #422295.
309
310         * tests/check/libs/controller.c: (GST_START_TEST),
311         (gst_controller_suite):
312           Add a test case for the above.
313
314 2007-05-03  Edward Hervey  <edward@fluendo.com>
315
316         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
317         Properly set the last_stop position on GstSegment. This will only happen
318         if there is a buffer to push out.
319
320 2007-05-03  Wim Taymans  <wim@fluendo.com>
321
322         * libs/gst/base/gstbasetransform.c:
323         (gst_base_transform_buffer_alloc):
324         always_in_place does not mean that the sink and source caps are the
325         same! Make sure we don't blindly proxy the buffer_alloc in this case.
326
327 2007-05-03  Wim Taymans  <wim@fluendo.com>
328
329         * docs/libs/gstreamer-libs-sections.txt:
330         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
331         (gst_base_src_default_query), (gst_base_src_get_range):
332         * libs/gst/base/gstbasesrc.h:
333         API: gst_base_src_query_latency(). Added method so that subclasses can
334         easily get the latency values of the base source class.
335
336 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
337
338         * tools/gst-inspect.c (print_implementation_info):
339         Remove 0.8 cruft.
340
341 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
342
343         * tools/Makefile.am:
344         * tools/gst-launch.1.in:
345           Don't create a customised man page based on the host architecture,
346           describe the default registry path generically. That way the man
347           page is the same for all architectures and packagers have one
348           multilib issue less to deal with. Fixes #434926.
349
350 2007-05-02  Wim Taymans  <wim@fluendo.com>
351
352         * gst/gstpad.c:
353         Fix documentation as spotted by rg on IRC. 
354
355 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
356
357         * gst/gstutils.c:
358           Improve docs for gst_element_{link,unlink}.
359
360 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
361
362         * docs/design/part-events.txt:
363         * docs/design/part-overview.txt:
364         * gst/gstevent.c:
365         * gst/gsturi.c:
366         * gst/gsturi.h:
367         * libs/gst/base/gstbasesink.c:
368           Typo fixes; minor docs addition.
369
370 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
371
372         * docs/gst/gstreamer-sections.txt:
373         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
374         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
375         * gst/gsturi.h:
376         API: Add gst_uri_protocol_is_supported(), which checks if an sink
377         or src that supports a given URI protocol exists.
378
379 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
380
381         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
382         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
383         Set the location to NULL if "file://" is set as URI. Otherwise
384         some random previous URI would still be set if "file://" is
385         set on an already used filesink/filesrc.
386
387 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
388
389         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
390         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
391         Special case the "file://" URI as as this is used by some
392         applications to test with gst_element_make_from_uri if there's
393         an element that supports the URI protocol.
394         Also move the g_path_is_absolute() check for the location part
395         of the URI to also check this for "file://localhost/bla" URIs.
396
397 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
398
399         * docs/gst/gstreamer-sections.txt:
400         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
401         * gst/gstbuffer.h:
402         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
403         (gst_buffer_suite):
404           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
405
406 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
407
408         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
409         (gst_registry_binary_load_pad_template),
410         (gst_registry_binary_load_plugin),
411         (gst_registry_binary_read_cache):
412         * gst/gstregistrybinary.h:
413           Implement no-mmap alternative for registry reading. Do code cleanups.
414           Add more comments about avoiding strdups for all text data. Comments
415           welcome.
416
417 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
418
419         * gst/gstregistrybinary.h (GstBinaryPluginElement,
420           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
421           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
422           Comment structs and reformat to fix the build (that stuff should go
423           into a priv. header).
424
425 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
426
427         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
428         (gst_registry_binary_load_feature):
429         * gst/gstregistrybinary.h:
430           Refactor so that we can implement multiple features. Add support for
431           TypeFindFactory features.
432
433 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
434
435         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
436
437         * configure.ac:
438           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
439
440 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
441
442         * gst/gstbin.c: (gst_bin_element_set_state),
443         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
444         (bin_handle_async_done), (gst_bin_handle_message_func):
445           Fix build with --gst-disable-gst-debug
446
447 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
448
449         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
450           Make sure streaming has finished before calling the ::stop() vfunc,
451           since that vfunc might clear state which is being used in the
452           streaming thread. This fixes a race that caused crashes in
453           audioresample when shutting down a pipeline (#420106).
454
455 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
456
457         * docs/gst/gstreamer-sections.txt:
458           That was one byte missing.
459
460 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
461
462         * configure.ac:
463         * docs/gst/gstreamer-sections.txt:
464         * gst/Makefile.am:
465         * gst/gstconfig.h.in:
466         * gst/gstobject.c: (gst_object_class_init),
467         (gst_signal_object_class_init):
468         * gst/gstobject.h:
469           2nd attempt to have a xml-less build as a joined effort of #413123
470           and #421480.
471
472 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
473
474         * docs/design/draft-tagreading.txt:
475           Added open issues/thoughts to draft.
476
477 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
478
479         * gst/parse/grammar.tab.pre.c:
480         * gst/parse/grammar.tab.pre.h:
481         * gst/parse/lex._gst_parse_yy.pre.c:
482         Update the prebuild parser sources.
483
484 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
485
486         * gst/parse/Makefile.am:
487         And now fix the building of the flex sources. Now everything should
488         work as expected.
489
490 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
491
492         * gst/parse/Makefile.am:
493         Now hopefully fix the build failures by setting proper rule
494         dependencies and moving instead of copying.
495
496 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
497
498         * tests/benchmarks/complexity.gnuplot:
499         * tests/benchmarks/complexity.scm:
500         * tests/benchmarks/mass-elements.gnuplot:
501         * tests/benchmarks/mass-elements.scm:
502           Total licensification.
503
504 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
505
506         * gst/parse/Makefile.am:
507           Fix the build by correcting the rule that gave wrong files to flex.
508
509 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
510
511         * tests/benchmarks/complexity.c:
512         * tests/benchmarks/mass-elements.c:
513           Change licence to LGPL as granted by Benjamin and Andy.
514
515 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
516
517         * gst/parse/Makefile.am:
518         Add correct grammar.tab.h dependency if compiling without new enough
519         flex. Fixes #431150.
520
521 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
522
523         * gst/parse/Makefile.am:
524         Fix typo and use outdated sources if the flex/bison sources are newer
525         than the pregenerated ones but flex is too old. Print a warning in
526         that case. This should fix the build on the build bot.
527
528 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
529
530         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
531         * gst/parse/Makefile.am:
532         * gst/parse/grammar.y:
533         * gst/parse/parse.l:
534         Make the parser reentrant and recursively callable. This requires flex
535         >= 2.5.31, for older versions pregenerated sources are used as we
536         can't bump the build dependency. Finally fixes #349180.
537
538         * gst/gstparse.c: (gst_parse_launch):
539         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
540         now anyway.
541
542         * docs/gst/Makefile.am:
543         * docs/gst/Makefile.am:
544         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
545         (__gst_parse_strfree), (__gst_parse_link_new),
546         (__gst_parse_link_free), (__gst_parse_chain_new),
547         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
548         (gst_parse_element_set), (gst_parse_free_link),
549         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
550         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
551         (_gst_parse_launch):
552         * gst/parse/grammar.tab.pre.h:
553         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
554         (yy_get_previous_state), (yy_try_NUL_trans), (input),
555         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
556         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
557         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
558         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
559         (_gst_parse_yypop_buffer_state),
560         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
561         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
562         (yy_fatal_error), (_gst_parse_yyget_extra),
563         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
564         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
565         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
566         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
567         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
568         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
569         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
570         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
571         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
572         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
573         (_gst_parse_yyfree):
574         If the installed flex version is too old use pre-generated parser
575         sources. These pre-generated parser sources are always updated when
576         the actual flex/bison sources change but require everybody who wants
577         to change something in the parser to have flex >= 2.5.31 installed.
578
579 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
580
581         * common/m4/gst-gettext.m4:
582         * gst/gst-i18n-lib.h:
583           Make --disable-nls to work
584
585 2007-04-17  Wim Taymans  <wim@fluendo.com>
586
587         * gst/gstconfig.h.in:
588         Revert previous change that broke the build.
589
590 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
591
592         * configure.ac:
593         * gst/Makefile.am:
594         * gst/gstconfig.h.in:
595           Drop libxml2 dependency when building with 
596           --enable-binary-registry --disable-loadsave
597
598 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
599
600         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
601         (gst_registry_binary_read_cache):
602         * gst/gstregistrybinary.h:
603           Remove unnecessary <sys/mman.h> include which broke the win32 build
604           with MingW; move includes from header file to .c file, even if the
605           header file isn't installed; use g_strerror() where UTF-8 strings
606           are expected, such as in GST_DEBUG messages.
607
608 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
609
610         * docs/libs/gstreamer-libs-sections.txt:
611         Remove bogus addition for API I didn't end up keeping.
612
613         * libs/gst/base/gstbasesrc.h:
614         Mention Since: 0.10.13 in the documentation.
615
616         Add the API keyword to the previous ChangeLog entry.
617
618 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
619
620         * docs/libs/gstreamer-libs-sections.txt:
621         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
622         (gst_base_src_default_prepare_seek_segment),
623         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
624         * libs/gst/base/gstbasesrc.h:
625         Allow basesrc derived classes to execute seeks in other formats
626         by providing a prepare_seek_segment vmethod. Sub-classes can choose
627         to prepare the GstSegment in any format that their perform_seek method
628         will be able to understand. The default implementation provides the
629         old behaviour of attempting to convert the seek offsets to the 
630         configured native format.
631
632         API: basesrc::prepare_seek_segment vmethod.
633
634 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
635
636         * gst/gstelement.c: (gst_element_get_state_func):
637         Don't output the same debug statement twice.
638
639         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
640         (gst_adapter_peek), (gst_adapter_take_buffer):
641         Optimise the case where we have buffers at the head of the queue that
642         can be joined quickly (because they're contiguous sub-buffers) by
643         merging them together rather than copying data out into new memory.
644
645         * gst/parse/grammar.y:
646         * tests/check/pipelines/parse-launch.c:
647         Fix a leak in an error path for parse_launch, and add a check 
648         for it to the testsuite.
649
650 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
651
652         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
653           Don't deadlock when releasing a pad - gst_pad_set_active may try
654           and take the multiqueue lock too.
655
656 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
657
658         * gst/gsterror.c: (_gst_core_errors_init):
659         * gst/gsterror.h:
660           API: add GST_CORE_ERROR_DISABLED (#392804).
661
662 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
663
664         * docs/faq/gst-uninstalled:
665           don't get empty paths on the PATH variables
666         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
667           Don't format for the uncommon terminal width of 84 characters.
668
669 2007-04-06  Wim Taymans  <wim@fluendo.com>
670
671         * gst/gstpipeline.c: (reset_stream_time),
672         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
673         Only try to select a different pipeline clock when we went back to
674         PAUSED and not when we merely got flushed.
675
676 2007-04-05  Michael Smith  <msmith@fluendo.com>
677
678         * tools/gst-launch.1.in:
679           fractions are better supported in gstreamer than ractions, so
680           suggest using those.
681
682 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
683
684         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
685
686         * po/LINGUAS:
687         * po/da.po:
688           Added Danish translation.
689
690 2007-04-05  Wim Taymans  <wim@fluendo.com>
691
692         * libs/gst/base/gstbasesink.c:
693         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
694         Fix leak caused when refusing newsegment after EOS.
695
696         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
697         (gst_fake_sink_init), (gst_fake_sink_set_property),
698         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
699         (gst_fake_sink_render), (gst_fake_sink_change_state):
700         * plugins/elements/gstfakesink.h:
701         Add num-buffers property to make the element generate EOS after a
702         configurable amount of buffers.
703         API: fakesink::num-buffers property.
704
705         * tests/check/elements/fakesink.c: (GST_START_TEST),
706         (fakesink_suite):
707         Fix GstBus leak in test.
708         Test for fakesink num-buffers.
709
710 2007-04-05  Wim Taymans  <wim@fluendo.com>
711
712         * libs/gst/base/gstbasesink.c:
713         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
714         (gst_base_sink_change_state):
715         Don't accept anything after an EOS, return UNEXPECTED instead.
716
717         * tests/check/elements/fakesink.c: (GST_START_TEST),
718         (fakesink_suite):
719         Unit test for new EOS behaviour.
720
721 2007-04-05  Wim Taymans  <wim@fluendo.com>
722
723         * gst/gstelement.c: (gst_element_get_request_pad):
724         Make padtemplates also work when they don't contain %s or %d.
725
726 2007-04-05  Wim Taymans  <wim@fluendo.com>
727
728         * docs/gst/gstreamer-sections.txt:
729         * gst/gstclock.c: (gst_clock_adjust_unlocked),
730         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
731         * gst/gstclock.h:
732         Improve _adjust_unlocked() so that it overflows less.
733         Add gst_clock_unadjust_unlocked to convert from external time to
734         internal time based on calibration.
735         Add some more debug.
736         API: GstClock::gst_clock_unadjust_unlocked()
737
738 2007-04-03  Wim Taymans  <wim@fluendo.com>
739
740         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
741
742         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
743         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
744         when releasing sink pad. Fixes #425400.
745
746 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
747
748         * docs/random/ensonic/dynlink.txt:
749           More work on proposal for new core api.
750
751         * docs/libs/gstreamer-libs-sections.txt:
752         * libs/gst/base/gstbasetransform.h:
753           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
754           
755         * libs/gst/controller/gstcontroller.c:
756         (on_object_controlled_property_changed),
757         (gst_controller_sync_values),
758         (gst_controller_set_interpolation_mode):
759         * libs/gst/controller/gstcontroller.h:
760           Less verbose logging add docs for unimplemented parts and correctly
761           return when using unavailable parts.
762
763 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
764
765         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
766         Move all the debug to the CLOCK category, and associate it with
767         the clock object.
768
769 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
770
771         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
772         Make take_buffer a bit quicker by removing redundant checks
773         caused by calling gst_adapter_take.
774
775 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
776
777         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
778           Don't leak GCond.
779
780         * tests/check/Makefile.am:
781         * tests/check/elements/.cvsignore:
782         * tests/check/elements/multiqueue.c: (setup_multiqueue),
783         (GST_START_TEST), (multiqueue_suite):
784           Add some dead simple unit tests for the 'multiqueue' element
785           (some bits don't work yet and are disabled for now).
786
787 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
788
789         * gst/gstelement.c: (gst_element_get_request_pad),
790         (gst_element_class_get_request_pad_template):
791           Make gst_element_get_request_pad() create request pads only for
792           request pad templates and not for, say, sometimes pad templates.
793
794 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
795
796         * docs/design/draft-klass.txt:
797           Add example that needs more thinking.
798         
799         * docs/design/draft-missing-plugins.txt:
800           More thoughts about wrapper plugins.
801         
802         * docs/random/ensonic/embedded.txt:
803         * docs/random/ensonic/profiling.txt:
804           More design work.
805
806 2007-03-25  Wim Taymans  <wim@fluendo.com>
807
808         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
809         (gst_base_src_loop):
810         Only push the segment events in the PLAYING state for live sources.
811
812 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
813
814         * gst/gstpipeline.c: (gst_pipeline_change_state):
815         Modify the clock distribution path in PAUSED->PLAYING so that we 
816         never attempt to choose a new clock unless we're actually leaving
817         the PAUSED state for the first time. This prevents choosing a
818         different clock when the state_change gets called for a 2nd time due
819         to some element doing an async state change.
820
821 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
822
823         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
824         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
825         (gst_pad_chain_unchecked), (gst_pad_push):
826         Revert last commit. This needs some more thoughts.
827
828 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
829
830         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
831         (gst_pad_chain_unchecked), (gst_pad_push):
832         Check in set_caps if the caps are compatible with the pad and remove
833         two functions that are redundant now. Fixes #421543.
834
835 2007-03-22  Wim Taymans  <wim@fluendo.com>
836
837         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
838         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
839         Unref some more to make valgrind happy.
840
841 2007-03-22  Wim Taymans  <wim@fluendo.com>
842
843         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
844         (gst_system_clock_id_wait_jitter),
845         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
846         Fix anoying regression that survived a few releases. When adding an
847         async entry while blocking on a sync entry, the sync entry will unblock
848         but still be busy, so it should continue to wait instead of returning
849         _BUSY to the app.
850         Add some comments here and there.
851
852         * tests/check/gst/gstsystemclock.c: (mixed_thread),
853         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
854         Add testcase for this.
855
856 2007-03-22  Wim Taymans  <wim@fluendo.com>
857
858         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
859         Handle errors from the clock sync better, only UNSCHEDULED indicates a
860         WRONG_STATE and can silently pause the task. All other cases should
861         error out.
862
863 2007-03-22  Wim Taymans  <wim@fluendo.com>
864
865         Patch by: <syrjala at sci dot fi>
866
867         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
868         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
869         Improve debugging.
870
871 2007-03-21  Michael Smith  <msmith@fluendo.com>
872
873         * docs/pwg/advanced-types.xml:
874           Fix some errors in the typefinding docs pointed out on irc.
875
876 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
877
878         * libs/gst/base/gstbasesrc.c:
879         Clarify FIXME comment in the face of having added unlock_stop()
880
881 2007-03-21  Wim Taymans  <wim@fluendo.com>
882
883         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
884         Prepare for release where we warn against possible app breakage in the
885         case of live pipelines along with an env var to enable/disable live
886         preroll mode (GST_COMPAT=[no-]live-preroll).
887
888 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
889
890         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
891         So we should use correct constants for checking for None offset.
892
893 2007-03-20  Wim Taymans  <wim@fluendo.com>
894
895         * docs/design/part-block.txt:
896         Mention the fact that the newly switched element should be set to at
897         least PAUSED.
898
899 2007-03-20  Wim Taymans  <wim@fluendo.com>
900
901         * gst/gst.c:
902         Fix compilation with registry disabled as spotted by Saur.
903
904 2007-03-20  Wim Taymans  <wim@fluendo.com>
905
906         Patch by: Olivier Crete <tester at tester dot ca>
907
908         * gst/gstelement.c: (gst_element_sync_state_with_parent):
909         Look at the pending state too when syncing the element state to the
910         parent. Fixes #420133.
911
912 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
913
914         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
915         (gst_base_sink_change_state):
916         * libs/gst/base/gstbasesink.h:
917         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
918         (gst_base_src_default_event), (gst_base_src_unlock_stop),
919         (gst_base_src_deactivate):
920         * libs/gst/base/gstbasesrc.h:
921         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
922         for sub-classes to correctly clear any state they set trying to
923         unlock, such as clearing out unlock commands from a command fd.
924
925         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
926         (gst_fd_sink_render), (gst_fd_sink_unlock),
927         (gst_fd_sink_unlock_stop):
928         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
929         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
930         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
931
932         Implement unlock_stop in fdsrc and fdsink.
933         Implement seeking in fdsrc when a seekable fd is passed, as in
934         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
935
936 2007-03-19  Wim Taymans  <wim@fluendo.com>
937
938         Patch by: Evan Nemerson <evan at coeus dash group dot com>
939
940         * gst/gstelement.c: (gst_element_class_init):
941         Fix pad-added and pad-removed signal signatures so that the pad type is
942         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
943
944 2007-03-19  Wim Taymans  <wim@fluendo.com>
945
946         * docs/gst/gstreamer-sections.txt:
947         Add new element field and method.
948
949         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
950         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
951         (gst_bin_recalc_state), (gst_bin_get_state_func),
952         (gst_bin_element_set_state), (gst_bin_change_state_func),
953         (gst_bin_continue_func), (bin_bus_handler),
954         (bin_push_state_continue), (bin_handle_async_start),
955         (bin_handle_async_done), (gst_bin_handle_message_func):
956         Make async state changes a bit smarter by using new ASYNC_START and
957         ASYNC_DONE messages. This reduces the number of times we run the state
958         recalculation thread.
959         Don't change state of element with a pending ASYNC_START message.
960         Deprecate STATE_DIRTY messages.
961         
962         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
963         (gst_element_get_state_func), (gst_element_continue_state),
964         (gst_element_lost_state), (gst_element_set_state_func),
965         (gst_element_change_state):
966         * gst/gstelement.h:
967         Keep the state that was last set by the app in a new element field.
968         Don't allow state changes when handling an element event.
969         Post ASYNC_START and ASYNC_DONE messages.
970         Change lost_state so that we go to PAUSED and wait for the parent to set
971         us to PLAYING again (so latency calculation can be performed)
972         Export gst_element_change_state() method so that subclasses can use it.
973         API: gst_element_change_state()
974         API: GST_STATE_TARGET
975
976         * gst/gstpipeline.c: (gst_pipeline_class_init),
977         (reset_stream_time), (gst_pipeline_change_state),
978         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
979         Using the new ASYNC_START message we can reset the base_time when
980         needed. This can then be used to implement base_time redistribution in
981         flushing seeks so that we can remove the explicit seek handling.
982         Perform latency query and configuration when going to PLAYING.
983
984         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
985         (gst_base_sink_query), (gst_base_sink_change_state):
986         Post new ASYNC_START/ASYNC_DONE messages.
987
988         * tests/check/generic/sinks.c: (GST_START_TEST):
989         Fix test because the bin will not set the async element to PLAYING right
990         away.
991
992         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
993         Make the message check a little stronger.
994         Handle ASYNC messages.
995
996         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
997         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
998         Expect ASYNC_DONE messages.
999
1000 2007-03-19  Wim Taymans  <wim@fluendo.com>
1001
1002         * docs/gst/gstreamer-sections.txt:
1003         * gst/gstmessage.c: (gst_message_new_async_start),
1004         (gst_message_new_async_done), (gst_message_parse_info),
1005         (gst_message_parse_async_start):
1006         * gst/gstmessage.h:
1007         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1008         support.
1009
1010 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
1011
1012         * tools/gst-inspect.c:
1013         (print_plugin_automatic_install_info_codecs):
1014           Now that we don't check for the 'Codec' keyword any longer in the
1015           klass, we shouldn't spew a warning if the klass isn't a decoder or
1016           encoder (since it might be a Source/Network, for example).
1017
1018 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1019
1020         * tools/gst-inspect.c:
1021         (print_plugin_automatic_install_info_codecs):
1022           Don't require decoder/demuxer/depayloader elements or
1023           encoder/muxer/paylader elements to have 'Codec' as part of their
1024           factory class string when introspecting a plugin's capabilities.
1025           draft-klass.txt mentions that it might be removed in future, and
1026           flump3dec doesn't have it as part of its class string, so chances
1027           are others might also not have it.
1028
1029 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1030
1031         * po/af.po:
1032         * po/az.po:
1033         * po/bg.po:
1034         * po/ca.po:
1035         * po/cs.po:
1036         * po/de.po:
1037         * po/en_GB.po:
1038         * po/fr.po:
1039         * po/it.po:
1040         * po/nb.po:
1041         * po/nl.po:
1042         * po/ru.po:
1043         * po/sq.po:
1044         * po/sr.po:
1045         * po/sv.po:
1046         * po/tr.po:
1047         * po/uk.po:
1048         * po/vi.po:
1049         * po/zh_CN.po:
1050         * po/zh_TW.po:
1051           Update translations from translation project
1052
1053 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
1054
1055         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1056         (gst_child_proxy_set_property):
1057           Invert precondition check to be alike the ones in the mimiced gobject
1058           api.
1059
1060 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
1061
1062         * docs/design/draft-tagreading.txt:
1063         * docs/random/ensonic/audiobaseclasses.txt:
1064           Do some Architect work.
1065
1066         * gst/gstobject.c: (gst_object_set_name):
1067           Add a WARNING.
1068
1069         * gst/gstpad.c:
1070           Add docs that point from gst_pad_get_range to gst_pad_pull_range
1071
1072 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
1073
1074         * gst/gstsystemclock.c: (gst_system_clock_init),
1075         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1076         Defer starting the async system clock thread until the first async
1077         wait is scheduled. Fixes #414986.
1078
1079 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
1080
1081         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1082         (gst_single_queue_free):
1083           Fix small leak (free GstSingleQueue structure too, not only contents).
1084
1085 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
1086
1087         * gst/gstbin.c:(gst_bin_add):
1088         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1089         * win32/common/libgstbase.def:
1090         * win32/common/libgstreamer.def:
1091         Add new exported functions.
1092
1093 2007-03-09  Wim Taymans  <wim@fluendo.com>
1094
1095         * docs/plugins/gstreamer-plugins-sections.txt:
1096         Fix GstTee docs.
1097
1098 2007-03-09  Wim Taymans  <wim@fluendo.com>
1099
1100         * docs/gst/gstreamer-sections.txt:
1101         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1102         * gst/gstbuffer.h:
1103         Add metadata copy functions. Fixes #393099.
1104
1105         * gst/gstutils.c: (gst_buffer_stamp):
1106         * libs/gst/base/gstbasetransform.c:
1107         (gst_base_transform_prepare_output_buffer):
1108         Use new metadata copy functions.
1109
1110 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1111
1112         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1113         (gst_identity_init), (gst_identity_check_perfect),
1114         (gst_identity_check_imperfect_timestamp),
1115         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1116         (gst_identity_set_property), (gst_identity_get_property):
1117         * plugins/elements/gstidentity.h:
1118         Separate out check-imperfect-timestamp and check-imperfect-offset.
1119         Put back check-perfect as it was to keep compatibility.
1120
1121 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
1122
1123         * gst/gstelement.c: (gst_element_dispose):
1124         There's no need to warn if VOID_PENDING is not NONE here, as
1125         long as the state is NULL it's ok, and that's checked immediately
1126         above.
1127
1128 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1129
1130         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1131         Fix check for perfect stream to ignore buffers with -1 
1132         offsets/offset ends when checking data contiguity.
1133
1134 2007-03-08  Wim Taymans  <wim@fluendo.com>
1135
1136         * tools/gst-launch.c: (event_loop):
1137         Print INFO messages.
1138
1139 2007-03-08  Wim Taymans  <wim@fluendo.com>
1140
1141         * libs/gst/base/gstbasetransform.c:
1142         (gst_base_transform_sink_eventfunc),
1143         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1144         (gst_base_transform_activate):
1145         * libs/gst/base/gstbasetransform.h:
1146         Add support for dropping buffers with custom GstFlowReturn.
1147         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1148         buffers or dropped buffers.
1149
1150         * docs/libs/gstreamer-libs-sections.txt:
1151         docs for new custom return code.
1152
1153         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1154         Use drop support in base class to implement drop-probability.
1155
1156 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
1157
1158         * gst/gst.c: (load_plugin_func):
1159         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1160         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1161         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1162           Remove newlines at end of debug log strings.
1163
1164 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1165
1166         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1167         Only post bus message at max, once per buffer received.
1168
1169 2007-03-07  Wim Taymans  <wim@fluendo.com>
1170
1171         * docs/design/Makefile.am:
1172         * docs/design/part-synchronisation.txt:
1173         Add doc about synchronisation
1174
1175         * docs/design/draft-latency.txt:
1176         * docs/design/part-TODO.txt:
1177         * docs/design/part-clocks.txt:
1178         * docs/design/part-events.txt:
1179         * docs/design/part-gstbus.txt:
1180         * docs/design/part-gstpipeline.txt:
1181         * docs/design/part-live-source.txt:
1182         * docs/design/part-messages.txt:
1183         * docs/design/part-overview.txt:
1184         * docs/design/part-streams.txt:
1185         * docs/design/part-trickmodes.txt:
1186         Documentation updates.
1187
1188 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
1189
1190         * gstreamer.doap:
1191         Update the doap file.
1192
1193 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1194
1195         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1196         Rename non-perfect to imperfect for Mike and for the sanctity of the
1197         language.
1198         Also make sure bus message gets emitted for data-incontiguities.
1199
1200 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1201
1202         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1203         (gst_identity_start):
1204         * plugins/elements/gstidentity.h:
1205         Emit bus message if check-perfect is true and we encounter a
1206         non-perfect stream between 2 consecutive buffers.
1207         Fixes #415394.
1208
1209 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
1210
1211         * configure.ac:
1212         Back to CVS
1213
1214 === release 0.10.12 ===
1215
1216 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
1217
1218         * configure.ac:
1219           releasing 0.10.12, "Inevitable Demise"
1220
1221 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
1222
1223         * configure.ac:
1224          Version 0.10.11.2 (0.10.12 pre-release)
1225          Bump libtool versioning.
1226
1227 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
1228
1229         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1230           Log flow-names and not numbers.
1231
1232 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1233
1234         * configure.ac:
1235           Convert to new AG_GST style.
1236
1237 2007-02-28  Wim Taymans  <wim@fluendo.com>
1238
1239         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1240         Don't unref query twice.
1241
1242 2007-02-28  Wim Taymans  <wim@fluendo.com>
1243
1244         * gst/gstvalue.c: (gst_value_transform_object_string),
1245         (_gst_value_initialize):
1246         Implement GstObject -> string transform so we print object names
1247         when serializing GValues containing GstObjects.
1248
1249 2007-02-28  Wim Taymans  <wim@fluendo.com>
1250
1251         * docs/gst/gstreamer-sections.txt:
1252         Add new stuff to docs.
1253
1254 2007-02-28  Wim Taymans  <wim@fluendo.com>
1255
1256         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1257         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1258         (gst_base_sink_change_state):
1259         Improve latency query code.
1260         Don't leak latency events.
1261
1262         * tests/check/gst/gstbin.c: (GST_START_TEST):
1263         Improve debugging.
1264
1265 2007-02-28  Wim Taymans  <wim@fluendo.com>
1266
1267         * gst/gstelement.c: (gst_element_message_full),
1268         (gst_element_get_state_func):
1269         * gst/gstelement.h:
1270         Improve docs a little. Added Since: for new macro.
1271
1272         * gst/gstobject.c: (gst_object_sink):
1273         * gst/gstpipeline.c: (gst_pipeline_change_state),
1274         (gst_pipeline_set_new_stream_time):
1275         * gst/gstpipeline.h:
1276         Improve debugging and docs.
1277
1278         * gst/gstutils.c: (gst_element_state_change_return_get_name):
1279         Improve debugging.
1280
1281 2007-02-28  Wim Taymans  <wim@fluendo.com>
1282
1283         * gst/gstelement.c: (gst_element_message_full),
1284         (gst_element_set_locked_state), (gst_element_get_state_func),
1285         (gst_element_change_state):
1286         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1287         Documentation updates.
1288         Small code cleanups.
1289
1290         * gst/gstmessage.c: (gst_message_new_info),
1291         (gst_message_parse_info):
1292         * gst/gstmessage.h:
1293         API: gst_message_new_info()
1294         API: gst_message_parse_info()
1295         Add INFO message create and parse code.
1296
1297 2007-02-28  Wim Taymans  <wim@fluendo.com>
1298
1299         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1300         (bin_query_latency_done):
1301         Also report the live parameter of a latency query.
1302
1303 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1304
1305         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1306           Copy the current generic/states example from -base and adapt so
1307           we can use the exact same code everywhere.
1308           Check a STATES_IGNORE_ELEMENTS env var which can be used
1309           to ignore certain element factories for this test, which is
1310           what is being done in -base
1311         * tests/check/Makefile.am:
1312           Mention this environment variable.
1313
1314 2007-02-27  Wim Taymans  <wim@fluendo.com>
1315
1316         * docs/gst/gstreamer-sections.txt:
1317         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1318         (gst_bus_timed_pop), (gst_bus_pop):
1319         * gst/gstbus.h:
1320         API: gst_bus_timed_pop()
1321         Implement gst_bus_timed_pop() to do a blocking timed wait for a
1322         message to arrive on the bus.
1323
1324         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1325         (gst_bus_suite):
1326         Two unit tests for new _timed_pop() function.
1327
1328 2007-02-23  Wim Taymans  <wim@fluendo.com>
1329
1330         * gst/gstpipeline.c: (gst_pipeline_change_state),
1331         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1332         Don't ref a NULL clock in _provide_clock_func().
1333         Don't allow an INVALID delay.
1334         Don't try to calculate base_time with an invalid start_time.
1335         Also distribute and notify a NULL clock when it was selected.
1336
1337         * tools/gst-launch.c: (event_loop):
1338         Don't crash when a NULL clock was selected in the pipeline.
1339
1340 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
1341
1342         * docs/design/Makefile.am:
1343         * docs/design/draft-missing-plugins.txt:
1344         * docs/random/draft-missing-plugins.txt:
1345           Some small updates: update plugin system identifier prefix
1346           ('gstreamer.net' to 'gstreamer'), mention our new install
1347           API in libgstbaseutils rather than libgimme-codec, add
1348           reference to the online docs.
1349
1350 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1351
1352         * win32/common/config.h:
1353           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
1354           use moap cl ci to only check in what is mentioned in the ChangeLog.
1355
1356 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1357
1358         * docs/gst/gstreamer-sections.txt:
1359         * gst/gstelement.h:
1360           Fix up documentation to link to the correct GstGError section.
1361           Add GST_ELEMENT_INFO macro since someone else added a Info message.
1362
1363 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1364
1365         * tools/gst-launch.c: (event_loop):
1366           Make sure that we actually show the important message part of a
1367           warning message.
1368           No need to check if the gerror is not NULL to free; first of all
1369           g_free accepts NULL; and second the default error handler would
1370           segfault if gerror was NULL.
1371
1372 2007-02-21  Wim Taymans  <wim@fluendo.com>
1373
1374         * docs/gst/gstreamer-sections.txt:
1375         Removed docs as well.
1376
1377 2007-02-21  Wim Taymans  <wim@fluendo.com>
1378
1379         * gst/gstmessage.c: (gst_message_parse_duration):
1380         * gst/gstmessage.h:
1381         Remove new messages for release.
1382
1383 2007-02-20  Wim Taymans  <wim@fluendo.com>
1384
1385         * docs/design/part-gstghostpad.txt:
1386         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1387         (gst_ghost_pad_new_full):
1388         Make the ghostpad a parent of the internal pad again for better backward
1389         compatibility. Don't write code that relies on this however.
1390
1391         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1392         (gst_pad_link_check_hierarchy):
1393         Require that parents should be GstElements in the hierarchy check.
1394
1395 2007-02-20  Wim Taymans  <wim@fluendo.com>
1396
1397         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1398         (gst_bin_change_state_func), (bin_query_min_max_init),
1399         (bin_query_latency_fold), (bin_query_latency_done),
1400         (gst_bin_query):
1401         Improve debug info.
1402         Implement latency query.
1403
1404 2007-02-20  Wim Taymans  <wim@fluendo.com>
1405
1406         * docs/design/part-gstghostpad.txt:
1407         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1408         (gst_ghost_pad_internal_do_activate_push),
1409         (gst_ghost_pad_internal_do_activate_pull),
1410         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1411         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1412         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1413         Do not set the internal pad as a parent anymore so we can avoid
1414         hierarchy linking errors when the ghostpad has no parent yet. This also
1415         fixes failed activation because of unlinked internal pads, which in
1416         turn fixes the impossible case where you have to activate a pad before
1417         you can add it to a running element.
1418         Also fix the docs.
1419
1420         * gst/gstpad.c: (pre_activate), (post_activate),
1421         (gst_pad_set_active), (gst_pad_activate_pull),
1422         (gst_pad_activate_push), (gst_pad_check_pull_range):
1423         Add some more debug info.
1424         Mark activation mode in pre_activate so that we don't try to activate in
1425         endless loops. Fixes #385084.
1426
1427 2007-02-19  Wim Taymans  <wim@fluendo.com>
1428
1429         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1430         (gst_base_transform_check_get_range):
1431         Implement a checkgetrange function instead of relying on the default
1432         core behaviour that assumes we can operate in pull mode if we have a
1433         getrange function. First step at fixing #385084.
1434
1435 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * gst/gstchildproxy.h:
1438         * libs/gst/base/gstbasesink.h:
1439         * libs/gst/base/gstbasesrc.h:
1440         * libs/gst/base/gstbasetransform.h:
1441         More docs coverage and some ChangeLog surgery (add missing names)
1442
1443 2007-02-15  Wim Taymans  <wim@fluendo.com>
1444
1445         * docs/design/part-TODO.txt:
1446         * docs/design/part-activation.txt:
1447         * docs/design/part-block.txt:
1448         * docs/design/part-buffering.txt:
1449         * docs/design/part-clocks.txt:
1450         * docs/design/part-element-source.txt:
1451         * docs/design/part-events.txt:
1452         * docs/design/part-gstbin.txt:
1453         * docs/design/part-gstbus.txt:
1454         * docs/design/part-gstpipeline.txt:
1455         * docs/design/part-live-source.txt:
1456         * docs/design/part-messages.txt:
1457         * docs/design/part-overview.txt:
1458         * docs/design/part-qos.txt:
1459         * docs/design/part-query.txt:
1460         * docs/design/part-states.txt:
1461         * docs/design/part-trickmodes.txt:
1462         Some doc updates. Start renaming from stream_time to running_time where
1463         it was used wrongly.
1464
1465 2007-02-15  Wim Taymans  <wim@fluendo.com>
1466
1467         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1468         Answer LATENCY query.
1469
1470 2007-02-15  Wim Taymans  <wim@fluendo.com>
1471
1472         * tests/check/gst/gstevent.c: (event_probe), (test_event),
1473         (GST_START_TEST):
1474         Improve debugging.
1475
1476 2007-02-15  Wim Taymans  <wim@fluendo.com>
1477
1478         * gst/gstpad.c: (gst_pad_get_internal_links_default),
1479         (gst_pad_dispatcher):
1480         Improve debugging of default pad dispatcher and query functions.
1481
1482 2007-02-15  Wim Taymans  <wim@fluendo.com>
1483
1484         * docs/gst/gstreamer-sections.txt:
1485         Remove old unused method.
1486
1487 2007-02-13  Wim Taymans  <wim@fluendo.com>
1488
1489         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1490         Fix check
1491
1492 2007-02-13  Wim Taymans  <wim@fluendo.com>
1493
1494         * docs/design/part-seeking.txt:
1495         Some small update.
1496
1497         * gst/gstsegment.c: (gst_segment_set_seek):
1498         Revert old bogus change that should make seeking work again.
1499
1500 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1501
1502         * docs/random/ensonic/dynlink.txt:
1503         * docs/random/ensonic/interfaces.txt:
1504         * docs/random/ensonic/receipies.txt:
1505           Possible dynamic reconnection api, plus some type fixes the other two
1506           docs.
1507
1508 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1509
1510         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1511         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1512         Also check for an absolute path following file:// in the filesrc
1513         element. Remove redundant check and call g_path_is_absolute() on the
1514         unescaped location.
1515
1516 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * docs/design/draft-klass.txt:
1519           Add existing category analysis.
1520           
1521         * gst/gstcaps.c:
1522           Fix doc example, framerate is a fraction.
1523
1524 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1525
1526         * configure.ac:
1527         * docs/gst/Makefile.am:
1528         * docs/gst/gstreamer-sections.txt:
1529         * docs/libs/Makefile.am:
1530           Erm, forgot a bunch of --extra-dir.
1531
1532 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1533
1534         * configure.ac:
1535         * docs/gst/Makefile.am:
1536         * docs/libs/Makefile.am:
1537         * docs/plugins/Makefile.am:
1538           Add crossreferences to glib/gobject docs.
1539
1540 2007-02-12  Wim Taymans  <wim@fluendo.com>
1541
1542         * docs/design/draft-latency.txt:
1543         Small update.
1544
1545         * docs/libs/gstreamer-libs-sections.txt:
1546         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1547         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1548         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1549         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1550         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1551         (gst_base_sink_get_position), (gst_base_sink_query),
1552         (gst_base_sink_change_state):
1553         * libs/gst/base/gstbasesink.h:
1554         API: gst_base_sink_query_latency() to let subclasses query the upstream
1555         latency.
1556         API: gst_base_sink_get_latency() to let subclasses query the configured
1557         latency in the sink.
1558         Implement query and set latency.
1559         Update some docs.
1560         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1561         don't continue preroll when we are flushing. Fixes #405284.
1562
1563         * tests/check/pipelines/stress.c: (change_state_timeout),
1564         (quit_timeout), (GST_START_TEST), (stress_suite):
1565         Test for #405284.
1566
1567 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1568
1569         Patch by: René Stadler <mail at renestadler de>
1570
1571         * docs/gst/gstreamer-sections.txt:
1572         * gst/gsttaglist.c: (_gst_tag_initialize):
1573         * gst/gsttaglist.h:
1574           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1575
1576 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1577
1578         * docs/libs/Makefile.am:
1579           Fix path to core docs.
1580
1581         * gst/gstbin.c: (gst_bin_get_by_interface),
1582         (gst_bin_iterate_all_by_interface):
1583           Refix docs by also renaming 'interface' to 'iface' in implementation.
1584
1585         * docs/gst/gstreamer-sections.txt:
1586         * gst/gstcaps.c:
1587         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1588         * gst/gstchildproxy.h:
1589         * gst/gstelementfactory.c:
1590         * gst/gstpadtemplate.h:
1591         * libs/gst/controller/gstcontroller.c:
1592         (gst_controlled_property_new):
1593           Document more.
1594
1595 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1596
1597         * gst/gstbin.h:(gst_bin_get_by_interface),
1598         (gst_bin_iterate_all_by_interface):
1599         Replace interface parameter name by iface as interface is 
1600         a reserved keyword in Visual Studio for C++ projects so it removes
1601         a build error for application developpers using VS.
1602         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1603         Fix a bug on Windows in uri format check. Now the prefix checked
1604         is file:// and next we check if the path after file:// is absolute.
1605         * win32/common/libgstbase.def:
1606         * win32/common/libgstdataprotocol.def:
1607         * win32/common/libgstgstreamer.def:
1608         Add new exported functions.
1609
1610 2007-02-09  Andy Wingo  <wingo@pobox.com>
1611
1612         * tests/check/pipelines/simple-launch-lines.c
1613         (simple_launch_lines_suite, test_tee): Disable tee test until I
1614         have time to fix it :-(
1615
1616         * tests/check/Makefile.am (noinst_HEADERS): 
1617         * tests/check/libs/libsabi.c: 
1618         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1619         * tests/check/gst/gstabi.c: 
1620         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1621
1622         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1623         tests for push and pull tee behavior.
1624
1625         * plugins/elements/gsttee.h: 
1626         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1627         mark as deprecated as well as unimplemented. It was a crack idea.
1628         Add support for tee operating in pull mode, off by default.
1629
1630         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1631         normal-case logs down to LOG, raise errors to WARNING.
1632         (gst_registry_xml_read_cache): Don't log before calling a function
1633         that logs.
1634
1635         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1636         exit (registry finalize).
1637         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1638         DEBUG log when we emit signals that people don't even have the
1639         chance to connect to.
1640         (gst_registry_scan_path_level): Less logging in the normal case.
1641
1642 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1643
1644         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1645
1646         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1647         Correctly generate EOS for non-seekable files. We don't have a total
1648         length for them and would get an unexpected end of file if we only
1649         special-cased for regular files. (Fixes: #404569)
1650
1651 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1652
1653         * tests/check/elements/filesrc.c: (GST_START_TEST),
1654         (filesrc_suite):
1655         Add unit test for the GstURIHandler interface in filesrc. This also
1656         tests the newly added file://localhost/foo/bar support.
1657
1658 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1659
1660         * gst/gstelementfactory.h:
1661           The klass string is not a hierarchy. Add reference to the design doc
1662           for more information and common types.
1663
1664 2007-02-02  Wim Taymans  <wim@fluendo.com>
1665
1666         * gst/gstquery.c: (gst_query_new_latency):
1667         Remove old structure field.
1668
1669 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1670
1671         * tools/gst-launch.1.in:
1672           Give example for network streaming (#351998)
1673
1674 2007-02-02  Wim Taymans  <wim@fluendo.com>
1675
1676         * docs/gst/gstreamer-sections.txt:
1677         Add docs for new methods.
1678
1679         * gst/gstevent.c: (gst_event_new_latency),
1680         (gst_event_parse_latency):
1681         * gst/gstevent.h:
1682         Add new LATENCY event to configure latency in a pipeline.
1683         API: gst_event_new_latency
1684         API: gst_event_parse_latency
1685
1686         * gst/gstmessage.c: (gst_message_new_buffering),
1687         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1688         (gst_message_new_latency), (gst_message_parse_buffering),
1689         (gst_message_parse_lost_preroll):
1690         * gst/gstmessage.h:
1691         Added messages used in draft-latency.
1692         API: gst_message_new_lost_preroll
1693         API: gst_message_parse_lost_preroll
1694         API: gst_message_new_prerolled
1695         API: gst_message_new_latency
1696
1697         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1698         (gst_query_parse_latency):
1699         * gst/gstquery.h:
1700         Implemented new latency query as in design doc.
1701         API: gst_query_new_latency
1702         API: gst_query_set_latency
1703         API: gst_query_parse_latency
1704
1705 2007-02-02  Wim Taymans  <wim@fluendo.com>
1706
1707         * docs/design/draft-latency.txt:
1708         Slight redesign to allow for dynamic latency adjustments.
1709
1710         * docs/design/part-negotiation.txt:
1711         Fix some typos.
1712
1713 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1714
1715         reviewed by: Wim Taymans <wim@fluendo.com>
1716
1717         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1718         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1719         Allow file://localhost/foo/bar URLs and correctly fail for every other
1720         hostname that one sets. This was gnomevfssrc is linked for those if
1721         installed as it can handle it (#403172)
1722
1723 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1724
1725         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1726
1727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1728         (unref_data), (gst_collect_pads_add_pad_full):
1729         * libs/gst/base/gstcollectpads.h:
1730         Don't put the previously added destroy notify in the GstCollectData
1731         struct as all it's padding is already used and we don't want to break
1732         ABI. Instead put in the pad's GObject data for now. This should be
1733         cleaned up for 0.11 (#402393).
1734
1735 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1736
1737         reviewed by: Wim Taymans <wim@fluendo.com>
1738
1739         * docs/libs/gstreamer-libs-sections.txt:
1740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1741         (unref_data), (gst_collect_pads_add_pad),
1742         (gst_collect_pads_add_pad_full):
1743         * libs/gst/base/gstcollectpads.h:
1744         API: Add function to specify a destroy notification for custom
1745         GstCollectData when adding new pads in GstCollectPads (#402393).
1746
1747 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1748
1749         * po/sv.po:
1750           Update Swedish translation (#378255).
1751
1752 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1753
1754         * docs/design/draft-klass.txt:
1755           Fix the previous change, this is a list of categories and not a hierarchy.
1756
1757 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1758
1759         * docs/design/draft-klass.txt:
1760           Add info about how to get a list of used classes.
1761
1762 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1763
1764         * plugins/elements/gsttypefindelement.c:
1765         (gst_type_find_element_chain_do_typefinding),
1766         (gst_type_find_element_change_state):
1767           Don't leak found caps in chain function (no idea why that never
1768           showed up as a leak anywhere).
1769
1770 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1771
1772         * gst/gstplugin.h:
1773           Fix and expand GstPluginDesc API docs.
1774
1775 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1776
1777         * gst/gstcaps.c:
1778         * gst/gstelementfactory.c:
1779         * gst/gstpadtemplate.h:
1780           api doc fixes
1781
1782         * libs/gst/controller/gstcontroller.c:
1783         (gst_controlled_property_new):
1784         * tests/examples/controller/audio-example.c:
1785           comment fixes
1786
1787 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1788
1789         * configure.ac:
1790           comment about refining the xml deps
1791
1792         * docs/manuals.mak:
1793           comments about moving away from jade for docs
1794         
1795         * gst/gst.c:
1796           recommit the ifdefs to use the binary registry
1797         
1798         * gst/gstbin.c: (gst_bin_change_state_func):
1799           this break is obsolete
1800
1801         * gst/gstelementfactory.h:
1802           better GST_ELEMENT_DETAILS docs, add comment about translation
1803
1804         * gst/gstinfo.h:
1805           remove eol slash
1806
1807         * gst/gstobject.c: (gst_signal_object_get_type):
1808           add G_UNLIKELY as usual
1809
1810         * gst/gstpad.c: (gst_pad_event_default):
1811           add fall trhu comment
1812
1813         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1814         (gst_registry_binary_initialize_magic),
1815         (gst_registry_binary_save_string),
1816         (gst_registry_binary_save_pad_template),
1817         (gst_registry_binary_save_feature),
1818         (gst_registry_binary_save_plugin),
1819         (gst_registry_binary_write_cache),
1820         (gst_registry_binary_check_magic),
1821         (gst_registry_binary_load_pad_template),
1822         (gst_registry_binary_load_feature),
1823         (gst_registry_binary_load_plugin),
1824         (gst_registry_binary_read_cache):
1825           comment typo and formatting
1826
1827         * gst/gstutils.c: (gst_element_state_get_name),
1828         (gst_element_state_change_return_get_name):
1829           remove obsolete breaks
1830
1831         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1832           add FIXME 0.11 and remove cpp comment
1833
1834 2007-01-29  Edward Hervey  <edward@fluendo.com>
1835
1836         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1837         Fix print statement in an even more portable way.
1838
1839 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1840
1841         * docs/gst/gstreamer-sections.txt:
1842         * gst/gstutils.h:
1843           API: add GST_ROUND_DOWN_* macros (#401781).
1844
1845 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1846
1847         * docs/gst/gstreamer.types.in:
1848         * gst/gstregistry.c: (gst_registry_class_init):
1849           Document registry signals and make gtk-doc pick them up (#401381).
1850
1851 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * docs/pwg/building-testapp.xml:
1854           Add some audioconverts and audioresample to the pipeline, and some
1855           more comments and error handling.
1856
1857 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1858
1859         * docs/manual/manual.xml:
1860         * docs/pwg/pwg.xml:
1861           Fix typo (#400987).
1862
1863 2007-01-26  Wim Taymans  <wim@fluendo.com>
1864
1865         * gst/gstcaps.c: (gst_static_caps_get):
1866         Init caps flags too.
1867
1868 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1869
1870         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1871
1872         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1873         If not using mmap'ed files try to seek to the end instead of the
1874         start to determine whether we can seek at all. This fixes the case
1875         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1876         seeks for everything afterwards fail. Fixes #400656
1877
1878 2007-01-25  Wim Taymans  <wim@fluendo.com>
1879
1880         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1881         Add some refcount debugging.
1882         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1883         in multiple streaming threads.
1884
1885 2007-01-25  Wim Taymans  <wim@fluendo.com>
1886
1887         Patch by: David Schleef <ds at schleef dot org>
1888
1889         * docs/libs/gstreamer-libs-sections.txt:
1890         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1891         * libs/gst/base/gstadapter.h:
1892         API: gst_adapter_copy() that can reduce the amount of memcpy when
1893         getting data from the adapter. Fixes #388201.
1894
1895 2007-01-25  Edward Hervey  <edward@fluendo.com>
1896
1897         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1898         In print statements, "%x" is for guint. Fixes build on macosx.
1899
1900 2007-01-24  Edward Hervey  <edward@fluendo.com>
1901
1902         * plugins/elements/gstmultiqueue.c:
1903         (gst_multi_queue_loop):
1904         Small fix.
1905         (single_queue_overrun_cb), (single_queue_underrun_cb),
1906         (single_queue_check_full), (gst_single_queue_new):
1907         Implement single queue growth system.
1908         This uses the extra-size properties, and will grow single queues by
1909         that much if one goes full whereas there are others empty. This is
1910         called extra-mode in the code.
1911         When a single queue's levels go back below the initial max-size
1912         limits, it is no longer in extra-mode. This is to ensure we don't
1913         consume too much memory.
1914         Fixes #399875
1915
1916 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1917
1918         * gst/gst.c: (gst_init_get_option_group):
1919           Make warning about late g_thread_init() calls a bit more explicit,
1920           so that it's more obvious to application developers what they need
1921           to do if a user files a bug against their application.
1922
1923 2007-01-22  Edward Hervey  <edward@fluendo.com>
1924
1925         * plugins/elements/gstmultiqueue.c:
1926         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1927         Remove previous hack of unsetting the flushing flag for the source pad
1928         instead of activating it. Instead, fix the source pad activate function
1929         so that it no longer depends on having a parent set or not.
1930
1931 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1932
1933         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1934
1935         * docs/manual/basics-bus.xml:
1936           Fix example code, gst_element_unref() doesn't exist any longer.
1937
1938 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1939
1940         Patch by: Mark Nauwelaerts <manauw at skynet be>
1941
1942         * gst/gstpad.c:
1943           Fix two docs typoes (#399094).
1944
1945 2007-01-19  Edward Hervey  <edward@fluendo.com>
1946
1947         * docs/faq/gst-uninstalled:
1948         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1949         depending on libgstbaseutils can work in uninstalled environment.
1950
1951 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1952
1953         * gst/gsttaglist.h:
1954         * gst/gsttagsetter.c:
1955         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1956         statement for new tag.
1957
1958 2007-01-17  Edward Hervey  <edward@fluendo.com>
1959
1960         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1961         When dynamically creating single queues, activate sinkpad before adding
1962         it.
1963         We should be doing the same thing for the source pad, but we can't
1964         since it would call a method which needs the parent to be set in order
1965         to work propertly. Instead of activating the source pad, we just unset
1966         the flushing flag, which is the minimal requirement for adding a pad
1967         to an element in a state greater than READY.
1968
1969 2007-01-17  Edward Hervey  <edward@fluendo.com>
1970
1971         * docs/faq/gst-uninstalled:
1972         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1973         Mac OS X.
1974
1975 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1976
1977         * tests/check/gst/gstabi.c:
1978         * tests/check/gst/struct_hppa.h:
1979         * tests/check/libs/libsabi.c:
1980         * tests/check/libs/struct_hppa.h:
1981           Add ABI structs for HPPA (see #393796).
1982
1983 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1984
1985         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1986           Actually write ABI structs to the file specified in the GST_ABI
1987           environment variable, as the message we print claims we would.
1988
1989 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1990
1991         * tests/check/gst/gsttask.c:
1992           Fix header comment.
1993
1994 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1995
1996         * gst/gsttaglist.c: (_gst_tag_initialize):
1997           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1998           previous two entries.
1999
2000 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
2001
2002         * docs/gst/gstreamer-sections.txt:
2003         * gst/gsttaglist.c: (_gst_tag_initialize):
2004         * gst/gsttaglist.h:
2005           Add tag support for beat-per-minute.
2006
2007 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
2008
2009         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2010         (gst_registry_binary_initialize_magic),
2011         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2012         (gst_registry_binary_save_pad_template),
2013         (gst_registry_binary_save_feature),
2014         (gst_registry_binary_save_plugin),
2015         (gst_registry_binary_write_cache),
2016         (gst_registry_binary_check_magic),
2017         (gst_registry_binary_load_pad_template),
2018         (gst_registry_binary_load_feature),
2019         (gst_registry_binary_load_plugin),
2020         (gst_registry_binary_read_cache):
2021         * gst/gstregistrybinary.h:
2022           Use glib types, cleanup comments, impement interfaces and uri-types.
2023
2024 2007-01-13  Andy Wingo  <wingo@pobox.com>
2025
2026         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2027         getrange() to return buffers with other caps, while we fix
2028         demuxers and typefind, or otherwise change part-negotiation.txt.
2029
2030 2007-01-12  Andy Wingo  <wingo@pobox.com>
2031
2032         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2033         Factor start/stop into this private function instead of partially
2034         in activate functions and partially in the change_state function.
2035         Fixes setup before the element has changed from READY->PAUSED, as
2036         is the case in pull-mode pipelines.
2037         (gst_base_transform_sink_activate_push)
2038         (gst_base_transform_src_activate_pull): Refactor to use
2039         gst_base_transform_activate().
2040         (gst_base_transform_change_state): Removed, not needed any more.
2041
2042         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2043         Truncate before fixating.
2044         
2045         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2046         Don't set_caps() if the result of fixating is ANY, as it's not
2047         supported, and not necessary in the case of a link with no
2048         template caps on either side. Fixes tests/check/libs/basesrc in
2049         some pull-mode tests.
2050
2051         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2052         (gst_base_transform_init, gst_base_transform_sink_activate_push)
2053         (gst_base_transform_src_activate_pull): 
2054         Track the activation mode.
2055         (gst_base_transform_setcaps): In pull mode, when activating the
2056         src pad, after activating the sink pad, activate the sink pad's
2057         peer, as discussed in part-negotiation.txt.
2058
2059         * libs/gst/base/gstbasesrc.h: 
2060         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2061         vmethod, as in basesink.
2062
2063         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2064
2065         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2066         mode, first proxy the setcaps to the peer pad.
2067         (gst_base_sink_pad_fixate): Add a fixate function that calls the
2068         new fixate vmethod.
2069         (gst_base_sink_default_activate_pull): Rename from
2070         gst_base_sink_activate_pull.
2071         (gst_base_sink_negotiate_pull): New function, performs negotiation
2072         in pull mode before calling ::activate_pull().
2073         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2074         vmethod instead of the default implementation. I have no idea how
2075         this worked before. Negotiate before calling activate_pull.
2076
2077         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2078         sink pads in pull mode. In addition to being correct, fixes
2079         filesrc ! decodebin ! identity ! fakesink.
2080         (gst_pad_get_range, gst_pad_pull_range): Don't call
2081         gst_pad_set_caps() if the caps changes; instead error out with
2082         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2083
2084 2007-01-12  Andy Wingo  <wingo@pobox.com>
2085
2086         * docs/design/part-negotiation.txt: Update with more policy.
2087
2088 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
2089
2090         * libs/gst/check/gstbufferstraw.h:
2091         * libs/gst/check/gstcheck.h:
2092           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2093           belongs.
2094
2095 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
2096
2097         * tests/check/Makefile.am:
2098         * tests/check/gst/.cvsignore:
2099         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2100         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2101         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2102         (GST_START_TEST), (gst_tag_setter_suite):
2103           Add minimal unit test for beforementioned GstTagSetter bug.
2104
2105 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
2106
2107         Patch by: René Stadler <mail at renestadler dot de>
2108
2109         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2110           gst_tag_list_merge() returns a new list, so it's not the best idea
2111           to ingore its return value. Effectively meant that tags could only
2112           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2113           Also add function guard to require a non-NULL taglist as input (has
2114           always been so due to gst_tag_list_copy(), just making it explicit).
2115
2116 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2117
2118         * docs/random/draft-missing-plugins.txt:
2119           Some additions: mention new API that is supposed to be used at the
2120           various stages; short blob about new gst-inspect introspection
2121           option; mention potential future problem with plugins that have
2122           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2123
2124 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2125
2126         * tools/gst-inspect.c:
2127         (print_plugin_automatic_install_info_codecs),
2128         (print_plugin_automatic_install_info_protocols),
2129         (print_plugin_automatic_install_info), (main):
2130         Add --print-plugin-auto-install-info option to gst-inspect, so we can
2131         introspect plugin files and get machine-parsable output that corresponds
2132         to the last bit of the missing-plugin installer string (small gotcha:
2133         doesn't take into account ranks).
2134
2135 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
2136
2137         * configure.ac:
2138         * docs/gst/gstreamer-sections.txt:
2139         * gst/Makefile.am:
2140         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2141         (gst_registry_lookup_locked):
2142         * gst/gstregistry.h:
2143         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2144         (gst_registry_binary_initialize_magic),
2145         (gst_registry_binary_save_string),
2146         (gst_registry_binary_save_pad_template),
2147         (gst_registry_binary_save_feature),
2148         (gst_registry_binary_save_plugin),
2149         (gst_registry_binary_write_cache),
2150         (gst_registry_binary_check_magic),
2151         (gst_registry_binary_load_pad_template),
2152         (gst_registry_binary_load_feature),
2153         (gst_registry_binary_load_plugin),
2154         (gst_registry_binary_read_cache):
2155         * gst/gstregistrybinary.h:
2156         * gst/gstregistryxml.c: (load_feature),
2157         (gst_registry_xml_read_cache):
2158           commit binary registry (disabled by default, see #359653)
2159
2160 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2161
2162         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2163           Fix 'make check' too.
2164
2165 2007-01-10  Andy Wingo  <wingo@pobox.com>
2166
2167         * docs/design/part-negotiation.txt: Fix a typo, add a couple
2168         notes.
2169         
2170         * docs/design/part-negotiation.txt: Update with, um, one way that
2171         pull-mode negotiation might work?
2172
2173         * gst/gstpad.h: 
2174         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2175         that the pad must be a src pad; makes sense to call it the other
2176         way in pull mode, and the logic is symmetric anyway.
2177
2178 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         * plugins/elements/gstfilesink.c:
2181           Include <stdio.h> for fseeko().
2182
2183 2007-01-10  Wim Taymans  <wim@fluendo.com>
2184
2185         * gst/gstevent.c:
2186         * gst/gstevent.h:
2187         Reserve LATENCY event.
2188
2189 2007-01-09  Wim Taymans  <wim@fluendo.com>
2190
2191         * docs/design/draft-latency.txt:
2192         Updates.
2193
2194 2007-01-09  Wim Taymans  <wim@fluendo.com>
2195
2196         * docs/design/draft-latency.txt:
2197         Updates.
2198
2199         * gst/gstelement.h:
2200         * gst/gststructure.c:
2201         * gst/gsttrace.c:
2202         Small typo fixes.
2203
2204 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2205
2206         * tests/check/.cvsignore:
2207           Ignore test-registry.xml as well.
2208
2209 2007-01-09  Wim Taymans  <wim@fluendo.com>
2210
2211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2212         unref data at the end when we are done with the pad.
2213
2214 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2215
2216         * docs/gst/gstreamer-sections.txt:
2217         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2218         (init_post), (gst_deinit), (gst_update_registry):
2219         * gst/gst.h:
2220           API: add gst_update_registry() (#391296).
2221
2222         * tests/check/Makefile.am:
2223         * tests/check/gst/gstregistry.c:
2224         * tests/check/gst/.cvsignore:
2225           Simple unit test for the above.
2226
2227 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2228
2229         * gst/gstregistry.c: (gst_registry_scan_path_level):
2230           Plugin extension on HP-UX is .sl, add that to the list of approved
2231           plugin extensions (see #393796).
2232
2233         * tests/check/gst/gstpad.c: (GST_START_TEST):
2234           ulong => gulong. Fixes compilation with HP-UX compiler.
2235
2236         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2237           Fix compilation if valgrind headers are not available.
2238
2239 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
2240
2241         * win32/common/libgstreamer.def: 
2242           Add new exported function.
2243         * win32/vs6/libgstbase.dsp: 
2244           Add gstdataqueue.c to the build.
2245         * win32/vs6/libgstcoreelements.dsp:
2246           Add gstmultiqueue.c to the build.
2247         
2248 2007-01-06  Andy Wingo  <wingo@pobox.com>
2249
2250         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2251         activate_pull(), providing for a way to specialize the process of
2252         spawning a thread to pull on the sink pad. There is a default
2253         implementation.
2254
2255         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2256         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2257         (gst_base_sink_init): Renamed pad activation functions (inserting
2258         "_pad" in their names). Refactor to use the new activate_pull
2259         vmethod, as appropriate.
2260         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2261         default activate_pull function to start a task pulling from the
2262         sink pad, as before.
2263
2264         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2265         on the pads if necessary, as in push()/chain(). Update docs.
2266         Shouldn't affect existing pull() usage as it is currently only
2267         being used on buffers without caps.
2268
2269 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2270
2271         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2272         (init_pre):
2273           Call g_thread_init() first thing in gst_init() / gst_check_init().
2274           When initialisation is done via gst_init_get_option_group() and
2275           GOption parsing, issue a warning if the GLib thread system has not
2276           been initialised yet by the time gst_init_get_option_group() is
2277           called, as it's quite likely other GLib functions such as
2278           g_option_context_new() have been called already then, and
2279           g_thread_init() must be called before any other GLib function. The
2280           application in question must be fixed in that case, since memory
2281           corruption might happen otherwise.
2282           We issue the warning because even if the GLib folks decide to work
2283           around the problem on their end in future, this is still an issue
2284           with all GLib versions >= 2.10.0, so we should warn until we depend
2285           on a GLib version we know to be safe.
2286           Update documentation as well.
2287           Closes bug #391278.
2288
2289 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2290
2291         * tools/gst-inspect.c: (main):
2292         * tools/gst-launch.c: (main):
2293         * tools/gst-typefind.c: (main):
2294         * tools/gst-xmlinspect.c: (main):
2295           Call g_thread_init() really really early, before any other GLib
2296           function (see #342564 and recent discussion on gtk-devel-list).
2297
2298 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2299
2300         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
2301
2302         * gst/gst_private.h:
2303         * gst/gstconfig.h.in:
2304         * gst/gstinfo.h:
2305           On win32, all the __declspec stuff for symbol exporting is
2306           apparently only needed with MSVC, but doesn't work with MingW.
2307           Fixes compilation with MingW and #391909.
2308
2309 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2310
2311         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2312           Change some GST_ERROR_OBJECT that aren't really errors to
2313           GST_WARNING_OBJECT in order to reduce terminal spam.
2314
2315 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
2316
2317         * tests/check/Makefile.am:
2318           disable test again, as there seem to be still race problems
2319
2320 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
2321
2322         * tests/check/Makefile.am:
2323         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2324         (GST_START_TEST), (queue_suite):
2325           enable queue test again, add tests for the leaky behaviour
2326
2327 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
2328
2329         * configure.ac:
2330         * tests/examples/Makefile.am:
2331           Compile adapter test/example only if the required headers are
2332           available (fixes #391915).
2333
2334 2007-01-01  David Schleef  <ds@schleef.org>
2335
2336         * gst/gstplugin.c:
2337           Restore the previous signal handler for SIGSEGV instead of
2338           setting to default, since we may have stolen it away from
2339           someone.  (i.e., Mono)
2340
2341 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
2342
2343         * docs/random/draft-missing-plugins.txt:
2344           Some small additions and clarifications.
2345
2346 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
2347
2348         * gst/gstregistryxml.c: (gst_registry_save_escaped):
2349           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2350           since that can lead to random memory corruptions and crashes
2351           (may or may not be related to #383244, #386711, and #386711).
2352
2353 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2354
2355         * tests/check/.cvsignore:
2356         * tests/check/Makefile.am:
2357           sync .cvsignome and CLEANFILES
2358
2359 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2360
2361         * tests/check/Makefile.am:
2362           fix distcheck
2363
2364 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2365
2366         * docs/design/part-states.txt:
2367           two tiny additional comments
2368         
2369         * gst/gststructure.c:
2370           doc fixing
2371
2372         * tests/check/Makefile.am:
2373         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2374         (GST_START_TEST):
2375           disable test for now, unless it gets fixed
2376
2377 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2378
2379         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2380         (GST_START_TEST):
2381           fix race in underrun test
2382
2383 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2384
2385         * tests/check/elements/.cvsignore:
2386           ignore more
2387
2388         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2389         (GST_START_TEST):
2390           try to narrow test failure
2391
2392 2006-12-21  David Schleef  <ds@schleef.org>
2393
2394         * plugins/elements/gstfakesrc.c:
2395           Use g_random_int_range(), since it produces better random
2396           numbers in a range than almost-correct floating point code.
2397
2398 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2399
2400         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2401         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2402         (gst_check_teardown_sink_pad):
2403           do not automatically (de)activate pads
2404
2405         * tests/check/Makefile.am:
2406         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2407         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2408           add new, yet simple tests for queue
2409
2410         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2411         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2412         * tests/check/elements/filesrc.c: (cleanup_filesrc),
2413         (GST_START_TEST):
2414         * tests/check/elements/identity.c: (cleanup_identity):
2415           consistent pad (de)activation
2416
2417 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2418
2419         Patch by: Sebastian Dröge  <slomo ubuntu com>
2420
2421         * libs/gst/base/gstcollectpads.c:
2422           Fix two doc typos (#387866).
2423
2424 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2425
2426         * docs/manual/advanced-dparams.xml:
2427           Fix typo (g_object_control_properties() doesn't exist).
2428
2429 2006-12-19  Edward Hervey  <edward@fluendo.com>
2430
2431         * gst/gstsegment.c: (gst_segment_set_seek):
2432         Fine tune the cases where the segment start/stop values are really
2433         updated.
2434         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2435         Add tests for the return values of gst_segment_set_seek().
2436
2437 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2438
2439         * gst/gst.c:
2440           Docs typo fix.
2441
2442         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2443         (gst_queue_init):
2444           Fix incorrect documentation and flesh it out a bit more.
2445           Set default values for the max properties on the GParamSpec as well,
2446           so it shows up correctly in gst-inspect.
2447
2448 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
2449
2450         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2451           Correct docs of queue, add more detail and crosslink it more.
2452
2453 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2454
2455         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2456           Print additional debug info when the stream isn't perfectly
2457           timestamped; don't try to use invalid durations.
2458
2459 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2460
2461         * docs/design/Makefile.am:
2462           Dist new design docs.
2463
2464 2006-12-16  Wim Taymans  <wim@fluendo.com>
2465
2466         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2467
2468         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2469         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2470         (gst_collect_pads_stop), (gst_collect_pads_event),
2471         (gst_collect_pads_chain):
2472         * libs/gst/base/gstcollectpads.h:
2473         Add refcounting to the collectpads data so we can track when it's safe
2474         to free the data. Fixes #383382.
2475
2476 2006-12-15  Wim Taymans  <wim@fluendo.com>
2477
2478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2479         (gst_collect_pads_remove_pad):
2480         Automatically activate/deactivate pads when they are added to a
2481         started/stoped collectpads.
2482
2483 2006-12-15  Wim Taymans  <wim@fluendo.com>
2484
2485         * gst/gstelement.c: (gst_element_add_pad):
2486         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2487         * gst/gstpad.c: (gst_pad_init):
2488         Set pads to FLUSHING when they are created. Check, warn and fix when a
2489         demuxer adds an inactive pad to itself when running. Fixes #339326.
2490
2491 2006-12-15  Wim Taymans  <wim@fluendo.com>
2492
2493         * gst/gstelement.c: (gst_element_class_init),
2494         (gst_element_default_send_event), (gst_element_send_event),
2495         (gst_element_default_query), (gst_element_query):
2496         Expose default element send_event and query handling as vmethods that
2497         subclasses can chain up to.
2498
2499 2006-12-15  Wim Taymans  <wim@fluendo.com>
2500
2501         * gst/gstelement.c: (gst_element_set_state_func):
2502         Small documentation fixes.
2503
2504 2006-12-15  Wim Taymans  <wim@fluendo.com>
2505
2506         * docs/design/draft-latency.txt:
2507         Checked in draft for handling latency in pipelines.
2508
2509 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2510
2511         * Makefile.am:
2512         * gstreamer.doap:
2513         * gstreamer.spec.in:
2514           adding .doap file
2515
2516 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2517
2518         * gst/gst.c: (init_pre), (init_post):
2519           init_pre() and init_post() might be called via our GOptionGroup or
2520           from gst_init(), and we should skip both of them if we've already
2521           been initialised, otherwise we will init some things twice or add
2522           two default log functions.
2523
2524 2006-12-13  Edward Hervey  <edward@fluendo.com>
2525
2526         * docs/manual/basics-bus.xml:
2527         No, gst_main_loop does not exist. Its g_main_loop.
2528         Discovered by somebody who abused the copy-paste technique of coding :)
2529
2530 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2531
2532         * gst/gstghostpad.c:
2533           Log ghostpad debug stuff to the GST_PADS category as well rather
2534           than just to the default category.
2535
2536 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2537
2538         * configure.ac:
2539         * gst/gst.c: (init_pre):
2540           Add some basic system details such as OS and architecture
2541           to the debug output if possible, courtesy of uname().
2542
2543 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2544
2545         * docs/gst/running.xml:
2546           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2547           environment variables.
2548
2549 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2550
2551         * tests/check/gst/gstbin.c: (GST_START_TEST):
2552         It is acceptable to have a refcount of 2 or 3 at this point in the
2553         test, because the pipeline might be just posting its state_change
2554         message. The next line then waits for that message to appear using
2555         bus_poll, so that should be fine too.
2556
2557 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2558
2559         * gst/gst.c: (ensure_current_registry_forking):
2560         Ignore EINTR when reading from the child registry pipe.
2561         Explicitly ignore the return value from close, since it makes no
2562         difference.
2563
2564         * gst/gstminiobject.c: (gst_mini_object_ref),
2565         (gst_mini_object_unref):
2566         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2567
2568         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2569         When removing cached plugins, remove their features too, so they're
2570         not visible after they've disappeared.
2571
2572         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2573         In the unlikely case that we are linking pads with no parents, don't
2574         crash trying to get the non-existent parent bin.
2575
2576         * gst/parse/grammar.y:
2577         Output debug in the PIPELINE category
2578
2579 2005-03-08  Wim Taymans  <wim@fluendo.com>
2580
2581         Patch by: René Stadler <mail at renestadler dot de>
2582
2583         * gst/gstclock.c: (gst_clock_new_periodic_id):
2584         Reject invalid clock times for interval of periodic ids.
2585         Fixes ##383506.
2586
2587 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2588
2589         * gst/gstelementfactory.c: (gst_element_factory_create):
2590         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2591         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2592         * tools/gst-inspect.c: (print_element_info):
2593         Fix refcounting of gst_plugin_feature_load to match the docs. 
2594         Fixes: #380129
2595
2596 2006-12-07  Wim Taymans  <wim@fluendo.com>
2597
2598         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2599         (gst_base_sink_get_position):
2600         Improve debugging of events.
2601
2602 2006-12-07  Wim Taymans  <wim@fluendo.com>
2603
2604         Patch by: René Stadler <mail at renestadler dot de>
2605
2606         * gst/gstclock.c: (gst_clock_id_wait):
2607         Make period ids add the interval to the origial requested time instead
2608         of the possibly updated time which can be wrong when there are multiple
2609         waiters for the same id. Fixes #382592.
2610
2611         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2612         (gst_system_clock_id_wait_jitter_unlocked),
2613         (gst_system_clock_id_wait_jitter):
2614         Fix restart in the async notify thread when an async entry is added to
2615         the front of the list. Fixes #381492. 
2616
2617         * tests/check/gst/gstsystemclock.c: (store_callback),
2618         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2619         Added test for multiple async waits.
2620         Added test for async wait order.
2621
2622 2006-12-07  Wim Taymans  <wim@fluendo.com>
2623
2624         * gst/gstbin.c: (gst_bin_query):
2625         Add some more docs about the POSITION query.
2626
2627 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2628
2629         * configure.ac:
2630         Bump version nano - back to CVS.
2631
2632 === release 0.10.11 ===
2633
2634 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2635
2636         * configure.ac:
2637           releasing 0.10.11, "Love never runs on time"
2638
2639 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2640
2641         * win32/common/libgstbase.def:
2642         * win32/common/libgstreamer.def:
2643         * win32/vs8/libgstbase.vcproj:
2644         * win32/vs8/libgstcoreelements.vcproj:
2645         * win32/vs8/libgstreamer.vcproj:
2646         Fix compilation on win32 under VS8
2647         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2648         Partially fixes #381175
2649
2650 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2651
2652         * gst/gstvalue.c: (gst_value_compare_fraction):
2653         If someone is foolish enough to compare 2 fractions with denominator =
2654         0, return UNORDERED rather than aborting.
2655
2656 2006-11-28  Edward Hervey  <edward@fluendo.com>
2657
2658         * libs/gst/base/Makefile.am:
2659         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2660         (gst_data_queue_base_init), (gst_data_queue_class_init),
2661         (gst_data_queue_init), (gst_data_queue_new),
2662         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2663         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2664         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2665         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2666         (gst_data_queue_set_flushing), (gst_data_queue_push),
2667         (gst_data_queue_pop), (gst_data_queue_drop_head),
2668         (gst_data_queue_set_property), (gst_data_queue_get_property):
2669         * libs/gst/base/gstdataqueue.h:
2670         New GstDataQueue object for threadsafe queueing. Most useful for
2671         elements that need some queueing functionnality.
2672         * docs/libs/gstreamer-libs-docs.sgml:
2673         * docs/libs/gstreamer-libs-sections.txt:
2674         Insert documentation for GstDataQueue
2675         * plugins/elements/Makefile.am:
2676         * plugins/elements/gstelements.c:
2677         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2678         (gst_multi_queue_class_init), (gst_multi_queue_init),
2679         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2680         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2681         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2682         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2683         (gst_multi_queue_loop), (gst_multi_queue_chain),
2684         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2685         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2686         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2687         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2688         (wake_up_next_non_linked), (compute_next_non_linked),
2689         (single_queue_overrun_cb), (single_queue_underrun_cb),
2690         (single_queue_check_full), (gst_single_queue_new):
2691         * plugins/elements/gstmultiqueue.h:
2692         New multiqueue element, using GstDataQueue. Used for queuing multiple
2693         streams.
2694         Closes #344639 and #347785
2695
2696 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2697
2698         * docs/pwg/advanced-types.xml:
2699           add more missing type details
2700
2701         * tools/gst-run.c: (main):
2702           remove unused variable
2703
2704 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2705
2706         * docs/libs/Makefile.am:
2707         * docs/libs/gstreamer-libs.types:
2708           add types of base classes to enable gobject specific stuff in the docs
2709
2710         * docs/random/ensonic/embedded.txt:
2711           more ideas about isolating platform specific things
2712
2713 2006-11-20  Wim Taymans  <wim@fluendo.com>
2714
2715         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2716
2717         * libs/gst/check/gstcheck.h:
2718         Fix compilation and running against 0.9.4. Fixes #377332.
2719
2720 2006-11-20  Wim Taymans  <wim@fluendo.com>
2721
2722         * gst/gstsegment.c: (gst_segment_set_seek),
2723         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2724         (gst_segment_to_running_time):
2725         Fix boundary checking in to_running_time() and to_stream_time().
2726         Fixes #377183.
2727
2728         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2729         stream and running time can now be calculated for the complete
2730         clipped segment.
2731
2732 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2733
2734         * gst/gstpad.c: (gst_pad_push_event):
2735           Can't access event structure after giving away ownership of
2736           the event.
2737
2738 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2739
2740         * docs/random/ensonic/embedded.txt:
2741         * docs/random/ensonic/profiling.txt:
2742         * docs/random/ensonic/receipies.txt:
2743           more thinking
2744
2745 2006-11-13  Wim Taymans  <wim@fluendo.com>
2746
2747         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2748
2749         * gst/gstpad.c:
2750         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2751
2752 2006-11-13  Wim Taymans  <wim@fluendo.com>
2753
2754         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2755
2756         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2757         Store new length in segment duration so we don't keep on calling the
2758         potentially expensize get_size() call. Fixes #370865.
2759
2760 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2761
2762         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2763
2764         * win32/common/libgstreamer.def:
2765           Add two missing symbols (#366492).
2766
2767 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2768
2769         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2770         (gst_adapter_take_buffer):
2771         Fix format string to use all its arguments.
2772         Remove useless >= check on a guint
2773
2774 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2775
2776         * tests/examples/adapter/.cvsignore:
2777         Ignore build file as commanded by the build-bot
2778
2779 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2780
2781         * tests/examples/adapter/Makefile.am:
2782         * tests/examples/adapter/adapter_test.c: (run_test_take),
2783         (run_test_take_buffer), (run_tests), (main):
2784
2785         Add new files from the previous commit
2786
2787 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2788
2789         * Makefile.am:
2790         * configure.ac:
2791         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2792         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2793         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2794         * libs/gst/base/gstadapter.h:
2795         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2796         (GST_START_TEST), (gst_adapter_suite):
2797         * tests/examples/Makefile.am:
2798         Do some optimisation work in GstAdapter to avoid copies in more cases.
2799         It could still do slightly better by merging buffers when
2800         gst_buffer_is_span_fast is true, but is already faster. 
2801
2802         Also, avoid traversing a single-linked list to append each incoming 
2803         buffer inside the adapter.
2804
2805         Add simple test app that times the adapter behaviour in different
2806         situations, and extend the unit test to check that bytes enter and
2807         exit the adapter in their original order.
2808
2809 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2810
2811         * docs/random/draft-missing-plugins.txt:
2812           Update: use element message instead of adding a new message
2813           type to the core; don't provide GStreamer API to initiate the
2814           plugin download, just provide API to compose the strings needed
2815           and let an external libgimmestuff handle the rest.
2816
2817 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2818
2819         * tools/gst-inspect.c: (print_element_properties_info):
2820         Print a string instead of 'unknown type' for GValueArray properties
2821
2822 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2823
2824         * docs/random/draft-missing-plugins.txt:
2825         More small fixes.
2826
2827 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * tests/examples/typefind/typefind.c: (type_found), (main):
2830           Make typefind element example work again (#371894); add a
2831           license header.
2832
2833 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2834
2835         * docs/random/draft-missing-plugins.txt:
2836           Commit initial draft about how to deal with missing plugins,
2837           needs work (API too).
2838
2839 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2840
2841         * docs/pwg/advanced-types.xml:
2842           documents the new caps elements (see #363118)
2843
2844 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2845
2846         * gst/gstplugin.c: (gst_plugin_load_file):
2847         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2848         (gst_file_src_map_region), (gst_file_src_start):
2849         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2850         (gst_file_index_commit):
2851           Use g_strerror() instead of strerror() - we want UTF-8.
2852
2853 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2854
2855         Patch by: Peter Kjellerstedt <pkj at axis com>
2856
2857         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2858           Another printf fix (#371493).
2859
2860 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2861
2862         * tests/check/gst/gsttag.c:
2863           relicence (okay with author=company)
2864
2865 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2866
2867         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2868         (gst_pad_push_event):
2869           Enhance debug and improve docs
2870         
2871         * gst/gsturi.c:
2872           Fix docs
2873
2874 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2875
2876         * docs/random/ensonic/distributed.txt:
2877         * docs/random/ensonic/profiling.txt:
2878           more ideas
2879
2880 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2881
2882         * docs/gst/gstreamer-sections.txt:
2883           add new API and fix the build
2884           
2885         * gst/gstbin.c: (gst_bin_recalc_state):
2886         * gst/gstelement.c: (gst_element_message_full),
2887         (gst_element_get_state_func), (gst_element_set_state_func):
2888           use new API and improve logging
2889         
2890         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2891         * gst/gstutils.h:
2892           API: add function to get StateChangereturn names to improve logs 
2893
2894 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2895
2896         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2897           I'm considering shooting the next person to put strerror stuff
2898           in the translateable part of the message.
2899
2900 2006-11-03  Wim Taymans  <wim@fluendo.com>
2901
2902         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2903         Get the type and printf conversion specifiers right.
2904
2905 2006-11-03  Wim Taymans  <wim@fluendo.com>
2906
2907         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2908
2909         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2910         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2911         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2912         Some small cleanups. Improve debugging.
2913         * gst/gstpad.h:
2914         Signal all waiting threads with a broadcast instead of just one.
2915         Fixes #369942.
2916
2917 2006-11-03  Wim Taymans  <wim@fluendo.com>
2918
2919         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2920         (gst_fd_src_create):
2921         Add some debugging. 
2922         Only update fd when it's different from the old.
2923
2924 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2925
2926         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2927           Printf fixes for PPC/OSX, take two (#369366).
2928
2929 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2930
2931         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2932
2933         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2934         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2935         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2936           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2937           don't cast to long long for portability reasons, but use
2938           GLib's types instead.
2939
2940 2006-10-30  Michael Smith  <msmith@fluendo.com>
2941
2942         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2943           Get the arguments to lseek() the right way around.
2944           Fixes 367677.
2945
2946 2006-10-30  Wim Taymans  <wim@fluendo.com>
2947
2948         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2949
2950         * gst/gstinfo.h:
2951         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2952
2953 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2954
2955         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2956
2957         * docs/design/part-MT-refcounting.txt:
2958         * docs/random/wtay/capsnego2-docs:
2959         * gst/gstclock.c:
2960         * gst/gstxml.c:
2961           Typo fixes (#366212).
2962
2963 2006-10-28  Wim Taymans  <wim@fluendo.com>
2964
2965         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2966
2967         * gst/gst.c:
2968         * win32/common/libgstbase.def:
2969         * win32/common/libgstreamer.def:
2970         * win32/vs8/libgstbase.vcproj:
2971         * win32/vs8/libgstcontroller.vcproj:
2972         Add needed entries in .def files.
2973         Use HAVE_UNISTD_H.
2974         Rearrange def files in vs8 solutions. Fixes #366286.
2975
2976 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2977
2978         * win32/common/gstconfig.h:
2979           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2980           hand-made win32 gstconfig.h. Fixes #366321.
2981
2982 2006-10-27  Wim Taymans  <wim@fluendo.com>
2983
2984         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2985         (gst_ghost_pad_new_full):
2986         Make acceptcaps return TRUE when we don't have a target, just like
2987         setcaps does.
2988
2989 2006-10-27  Wim Taymans  <wim@fluendo.com>
2990
2991         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2992         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2993
2994 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2995
2996         * gst/gststructure.c: (gst_structure_id_set_value):
2997           If someone tries to set a non-UTF8 string field on a structure,
2998           don't just print a warning, but also ignore the request and do
2999           not change/add that field to the structure.
3000
3001         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3002           Test for the above.
3003
3004 2006-10-25  David Schleef  <ds@schleef.org>
3005
3006         * gst/gstinfo.c:
3007           g_hash_table_insert() needs a cast to a non-const pointer duh.
3008
3009 2006-10-25  David Schleef  <ds@schleef.org>
3010
3011         * gst/gstinfo.c:
3012         * gst/gstinfo.h:
3013           Change name parameter of _gst_debug_register_funcptr to const
3014           to reflect the constness of its use in the function as well
3015           as to quiet a gcc warning.
3016
3017 2006-10-25  Edward Hervey  <edward@fluendo.com>
3018
3019         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3020         Don't push the buffer if it's empty.
3021         Closes #363095
3022
3023 2006-10-24  Wim Taymans  <wim@fluendo.com>
3024
3025         * gst/gstevent.h:
3026         Add small comment.
3027
3028         * libs/gst/base/gstbasetransform.c:
3029         (gst_base_transform_sink_eventfunc):
3030         Debug segment values *after* updating them as this is more
3031         interesting.
3032
3033 2006-10-23  Wim Taymans  <wim@fluendo.com>
3034
3035         * docs/design/part-events.txt:
3036         Update some docs.
3037
3038         * docs/design/part-block.txt:
3039         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3040         (gst_pad_push_event):
3041         Revert BLOCKING patch, it tries to be smart without really having a
3042         clear idea what or how. So, now we discard all FLUSHING events again on
3043         a blocking pad. Should fix gnonlin again.
3044
3045 2006-10-23  Wim Taymans  <wim@fluendo.com>
3046
3047         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3048
3049         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3050         (gst_base_src_start), (gst_base_src_activate_push):
3051         Make sure size is always initialized. Fixes #364388.
3052
3053 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
3054
3055         * docs/random/ensonic/distributed.txt:
3056           add some ideas about doing distributed processing
3057
3058         * docs/random/ensonic/profiling.txt:
3059           get_rusage look promising
3060
3061 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
3062
3063         * docs/manual/basics-helloworld.xml:
3064           Add a cast in example to fix compile warning
3065
3066 2006-10-18  Wim Taymans  <wim@fluendo.com>
3067
3068         * gst/gstsegment.c: (gst_segment_set_last_stop),
3069         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3070         Relax arg checking again, -1 is allowed.
3071
3072 2006-10-18  Wim Taymans  <wim@fluendo.com>
3073
3074         * gst/gstsegment.c: (gst_segment_set_last_stop),
3075         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3076         _set_last_stop() must be with a value != -1
3077         A _TYPE_SET to -1 means seek to 0.
3078         Calc last_stop correctly for negative rates.
3079         Make sure we work with positive durations when updating a segment.
3080
3081 2006-10-18  Wim Taymans  <wim@fluendo.com>
3082
3083         * docs/design/part-live-source.txt:
3084         * gst/gstclock.h:
3085         Small docs fixes.
3086
3087 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
3088
3089         * gst/gstbuffer.h:
3090           Add an explicit cast to GstBuffer** to keep old code that added an
3091           explicit cast to GstMiniObject** for gst_mini_object_replace()
3092           compiling without warning.
3093
3094 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
3095
3096         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3097           check for validity of dates
3098
3099 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
3100
3101         * docs/gst/gstreamer-sections.txt:
3102           Forgot this one, makes gtk-doc shut up.
3103
3104 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
3105
3106         Patch by: Peter Kjellerstedt <pkj at axis com>
3107
3108         * gst/gstobject.h:
3109           Don't define xmlNodePtr to gpointer if the core was built with
3110           --disable-loadsave and --disable-registry, this will break
3111           applications that want to use libxml2 but are buildling against a
3112           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3113           instead so we don't have to mess with the libxml2 namespace
3114           (#361675).
3115
3116 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
3117
3118         * gst/gstbuffer.h:
3119           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3120           type-punned pointer warnings.
3121
3122 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3123
3124         * gst/gstelement.h:
3125           Add casts to the correct return type to state <=> state transition
3126           macros.
3127
3128 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
3129
3130         * docs/design/part-live-source.txt:
3131           describe howto handle latency
3132         
3133         * docs/random/ensonic/profiling.txt:
3134           more ideas
3135
3136         * tools/gst-plot-timeline.py:
3137           fix log parsing for solaris, remove unused function
3138
3139 2006-10-16  Wim Taymans  <wim@fluendo.com>
3140
3141         * docs/design/part-trickmodes.txt:
3142         * gst/gstevent.c:
3143         Update some docs regarding reverse playback.
3144
3145 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3146
3147         Patch by: Marcus Granado  <mrc dot gran at gmail com>
3148
3149         * win32/vs8/grammar.vcproj:
3150           Error out with a warning if glib-genmarshal.exe is not in path,
3151           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3152
3153 2006-10-13  Wim Taymans  <wim@fluendo.com>
3154
3155         * gst/gstsegment.c: (gst_segment_set_seek):
3156         When seeking to stop -1, set last_stop (current position) to the
3157         duration of the segment.
3158
3159 2006-10-13  Wim Taymans  <wim@fluendo.com>
3160
3161         * gst/gstelement.h:
3162         Clarify _NO_PREROLL a bit more.
3163
3164         * gst/gstevent.c:
3165         Fix docs.
3166
3167         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3168         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3169         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3170         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3171         due to wrong locking order. Fixes #361769.
3172         Remove some redundant/misplaced checks in pad_block.
3173
3174         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3175         For negative rates, count backwards from the duration.
3176
3177 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3178
3179         * gst/gsterror.c: (_gst_library_errors_init):
3180           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3181           up with something better).
3182
3183 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
3184
3185         * win32/vs6/libgstreamer.dsp:
3186         * win32/vs7/libgstreamer.vcproj:
3187         * win32/vs8/libgstreamer.vcproj:
3188           Don't reference glib-compat.c which is currently not used and not
3189           disted; add gstquark.c which was recently added. Fixes #361730.
3190
3191 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
3192
3193         * win32/common/libgstbase.def:
3194         * win32/common/libgstcontroller.def:
3195         * win32/common/libgstreamer.def:
3196           Add gst_caps_merge() and a bunch of other recently-added functions.
3197           Fixes #361732.
3198
3199 2006-10-11  Wim Taymans  <wim@fluendo.com>
3200
3201         * docs/plugins/gstreamer-plugins.args:
3202         * docs/plugins/inspect/plugin-coreelements.xml:
3203         * docs/plugins/inspect/plugin-coreindexers.xml:
3204         Update element args.
3205
3206         * gst/gstsystemclock.c:
3207         Small comment update.
3208
3209         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3210         (gst_tee_request_new_pad), (gst_tee_release_pad),
3211         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3212         (gst_tee_sink_activate_pull):
3213         * plugins/elements/gsttee.h:
3214         Some tee loving:
3215         Add default property defines.
3216         Implement release pad function.
3217         Give properties better blubs etc.
3218         Activate pads before adding them to a running tee.
3219         Do simple buffer_alloc on the first requested pad.
3220         Post error when activation fails.
3221
3222 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
3223
3224         * gst/gst.c: (ensure_current_registry_forking):
3225           Check return value of write() to make compiler happy.
3226
3227 2006-10-11  Wim Taymans  <wim@fluendo.com>
3228
3229         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3230
3231         * plugins/elements/gstqueue.c: (gst_queue_chain):
3232         Recheck queue filledness after signalling the overrun when we're about
3233         to leak downstream because we released the lock when emitting the signal
3234         and the queue could be empty again. Fixes #352345.
3235
3236 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
3237
3238         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3239           Fix refcounting here too, just like we did for _new_valist() a few
3240           days ago (#357180) (thanks to René Stadler). Also remove all those
3241           'Since: 0.9' from the gtk-doc blobs.
3242
3243         * tests/check/libs/controller.c: (controller_refcount_new_list),
3244         (gst_controller_suite):
3245           Unit test for the above.
3246
3247 2006-10-10  Wim Taymans  <wim@fluendo.com>
3248
3249         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3250
3251         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3252         (gst_pad_save_thyself):
3253         Update some docs.
3254         Write pad direction in XML output. Fixes #345496.
3255
3256 2006-10-10  Wim Taymans  <wim@fluendo.com>
3257
3258         Patch by: René Stadler <mail at renestadler dot de>
3259
3260         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3261         (gst_controller_new_list), (_gst_controller_dispose),
3262         (_gst_controller_finalize), (_gst_controller_class_init):
3263         Take ref to controlled object so that it cannot disappear. 
3264         Fixes #357432.
3265
3266 2006-10-10  Wim Taymans  <wim@fluendo.com>
3267
3268         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3269         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3270         (gst_check_teardown_sink_pad):
3271         Activate/deactivate pads in setup/teardown respectively.
3272
3273 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3274
3275         Patch by: Josep Torre Valles <josep@fluendo.com>
3276
3277         * gst/Makefile.am:
3278         Cast values when making gstenumtypes.h.  This pacifies Forte
3279         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3280         in the enumeration.
3281
3282 2006-10-09  Wim Taymans  <wim@fluendo.com>
3283
3284         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3285         Rename some more @cur to @start to fix docs. 
3286
3287         * gst/gstsegment.c: (gst_segment_set_seek):
3288         Fix typo.
3289         time and start must always stay in sync as defined in design doc.
3290
3291         * gst/gsttaglist.c: (gst_tag_list_is_empty):
3292         Rename param to fix docs.
3293
3294         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3295         Check that start and time are in sync.
3296
3297         * tests/check/pipelines/parse-launch.c:
3298         (gst_parse_test_element_change_state):
3299         Activate pad before adding to the element.
3300
3301 2006-10-09  Wim Taymans  <wim@fluendo.com>
3302
3303         * docs/design/part-qos.txt:
3304         Fix typo.
3305
3306         * gst/gstevent.c:
3307         * gst/gstevent.h:
3308         Update seek event docs regarding negative rates.
3309         Rename @cur to @start. 
3310
3311         * gst/gstsegment.c: (gst_segment_set_seek):
3312         * gst/gstsegment.h:
3313         Update set_seek docs regarding negative rates.
3314         Correctly update last_stop to @stop when dealing with negative
3315         rates.
3316         Rename @cur to @start. 
3317
3318         * tests/check/gst/gstpad.c: (GST_START_TEST):
3319         Activate pads before trying to use them.
3320
3321         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3322         (gst_segment_suite):
3323         Add simple check for segments and negative rates.
3324
3325 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3326
3327         * gst/gsttaglist.c: (gst_tag_list_is_empty):
3328         * gst/gsttaglist.h:
3329         * docs/gst/gstreamer-sections.txt:
3330           API: add gst_tag_list_is_empty() (#360467).
3331
3332         * tests/check/gst/gsttag.c: (GST_START_TEST):
3333           And a test case.
3334
3335 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3336
3337         * gst/gstmessage.h:
3338         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3339         a value that doesn't fit on enumeration.
3340
3341 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3342
3343         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3344         Remove local debugging system and use Gstreamer's instead.
3345
3346 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3347
3348         Patch by: Josep Torre Valles <josep@fluendo.com>
3349
3350         * common/m4/gst-error.m4:
3351         Disable warning of statement not reached on Forte.
3352         * gst/gstmessage.h:
3353         Fix warning on Forte (value doesn't fit on enumeration).
3354         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3355         Fix warning on Forte (value doesn't fit on enumeration).
3356         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3357         DEBUG macro says it takes minimum of 2 args and so Forte
3358         complains about the use with just 1 arg.
3359         * plugins/elements/gstfdsink.c:
3360         * plugins/elements/gstfdsrc.c:
3361         * plugins/elements/gstfilesink.c:
3362         * plugins/elements/gstfilesrc.c:
3363         Use correct return type for the uri handler implementations.
3364
3365         All these fix warnings in Forte.  Fixes bug #360860.
3366
3367 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3368
3369         * gst/gstelement.h:
3370           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3371           format string, so don't use G_GNUC_PRINTF for those versions.
3372
3373 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3374
3375         * gst/gsttaglist.c: (gst_is_tag_list):
3376         * gst/gsttaglist.h:
3377           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3378
3379         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3380           Small test for the above.
3381
3382 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3383
3384         * gst/gsttaglist.h:
3385           Less tabs, more spaces.
3386
3387 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         * gst/gstinfo.h:
3390           Those two function declarations do actually belong there, revert
3391           commit from yesterday that turned them intro macros.
3392
3393 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3394
3395         Patch by: Josep Torre Valles <josep@fluendo.com>
3396
3397         * gst/gst.c: (gst_init_get_option_group):
3398         Fix empty declaration and type mismatch.
3399         * gst/gstbin.c: (gst_bin_change_state_func):
3400         Fix type mismatch.
3401         * gst/gstelement.c: (gst_element_continue_state),
3402         (gst_element_set_state_func), (gst_element_change_state),
3403         (gst_element_change_state_func):
3404         Fix type mismatches.
3405         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3406         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3407         Cast as appropriate.
3408         * gst/gstobject.c: (gst_class_signal_connect):
3409         Cast as appropriate.  The function pointer parameter really
3410         has the wrong type but would break API if we change it.
3411         * gst/gstquery.c:
3412         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3413         order of including string.h.
3414         * gst/gstutils.c: (gst_element_state_get_name):
3415         Remove unreachable line.
3416         * gst/gstxml.c: (gst_xml_parse_doc):
3417         Fix type mismatch.
3418         All these caught by Forte.
3419
3420 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3421
3422         Patch by: Josep Torre Valles <josep@fluendo.com>
3423
3424         * common/m4/gst-error.m4:
3425         Fixed bug #360151.
3426         We need to disable warnings on Forte for empty declarations
3427         due to gst-indent adding ;s to lines that just use macros
3428         where the macro actually doesn't need a ; at end to end
3429         statement.
3430
3431 2006-10-06  Wim Taymans  <wim@fluendo.com>
3432
3433         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3434         (gst_file_sink_close_file), (gst_file_sink_event),
3435         (gst_file_sink_render):
3436         Add some FIXME for the NEWSEGMENT handling.
3437
3438 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3439
3440         * gst/parse/grammar.y:
3441         Remove static function gst_parse_element_lock as all it does
3442         is return.  Looks like cruft from 0.8.
3443
3444 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3445
3446         Patch by: Josep Torre Valles <josep@fluendo.com>
3447
3448         * common/m4/gst-error.m4:
3449         * configure.ac:
3450         * libs/gst/net/Makefile.am:
3451         Fix a compilation issue with Forte on Solaris.  inet_aton is in
3452         libresolv.
3453
3454 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3455
3456         * gst/gstpad.c: (pre_activate):
3457         * gst/gstregistry.c: (gst_registry_scan_path_level):
3458         * gst/gstregistryxml.c: (load_plugin):
3459         * libs/gst/controller/gstcontroller.c:
3460         (gst_controlled_property_set_interpolation_mode):
3461         * libs/gst/dataprotocol/dataprotocol.c:
3462         (gst_dp_packet_from_event_1_0):
3463         * libs/gst/net/gstnetclientclock.c:
3464         (gst_net_client_clock_observe_times):
3465         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3466           Printf fixes.
3467
3468 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3469
3470         * configure.ac:
3471         * docs/gst/gstreamer-sections.txt:
3472         * gst/gstconfig.h.in:
3473         * gst/gstelement.h:
3474         * gst/gstinfo.h:
3475           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3476           whether we can use G_GNUC_PRINTF in other header files and at
3477           least check the printf format/arguments of debug messages and
3478           GST_ELEMENT_ERROR messages when the printf extension is not
3479           being used.
3480           Replace more tabs with spaces in gstinfo.h and remove two spurious
3481           function declarations in GST_DISABLE_DEBUG part with macros.
3482
3483 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3484
3485         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3486           More docs for the sync-message signal (mention that it is not
3487           emitted by default); log message structures of messages posted on
3488           the bus as well.
3489
3490 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3491
3492         * gst/gst.c: (ensure_current_registry_forking):
3493         Use a pipe pair to receive status results from the forked child, and
3494         ignore the result from waitpid. Fixes #355499
3495
3496 2006-10-02  Wim Taymans  <wim@fluendo.com>
3497
3498         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3499         (gst_ghost_pad_suite):
3500         Fix leak in check.
3501
3502 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3503
3504         * gst/gstpad.c:
3505           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3506
3507 2006-10-02  Edward Hervey  <edward@fluendo.com>
3508
3509         * docs/design/part-block.txt:
3510         Further explain the use of flushing on blocked pads.
3511         * docs/gst/gstreamer-sections.txt:
3512         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3513         (gst_pad_push_event):
3514         * gst/gstpad.h:
3515         Added new GstPadFlag : GST_PAD_BLOCKING.
3516         Adds the notion of pads really blocking, which enables to properly
3517         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3518         Fixes #358999
3519         API: gst_pad_is_blocking()
3520         API: GST_PAD_IS_BLOCKING() macro
3521         API: GST_PAD_BLOCKING GstPadFlag
3522         
3523 2006-10-02  Wim Taymans  <wim@fluendo.com>
3524
3525         Patch by: mrcgran <mrc.gran at gmail dot com>
3526
3527         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3528         Filter the proxied caps against the padtemplate if we have one.
3529
3530         * gst/gstquery.c: (gst_query_new_segment):
3531         Add include for gstinfo.h so that compilation with
3532         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3533
3534 2006-10-02  Wim Taymans  <wim@fluendo.com>
3535
3536         Patch by: Alessandro Decina  <alessandro at nnva org>
3537
3538         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3539         (gst_file_sink_set_location), (gst_file_sink_open_file),
3540         (gst_file_sink_close_file), (gst_file_sink_event),
3541         (gst_file_sink_render):
3542         Set file to NULL when closing filesink so that we can set a new filename
3543         in READY. Fixes #358613.
3544
3545 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         Patch by: Alessandro Decina  <alessandro at nnva org>
3548
3549         * gst/gstevent.c: (_gst_event_copy):
3550           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3551           with event structures by setting the parent refcount address of the
3552           copied structure to the address of the refcount member of the newly
3553           copied event rather than the address of the refcount member of the
3554           original event. Fixes #358737.
3555
3556         * tests/check/gst/gstevent.c: (GST_START_TEST):
3557           Unit test for the above.
3558
3559 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3560
3561         * docs/design/Makefile.am:
3562           Dist some more files.
3563
3564 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3565
3566         * tests/check/libs/controller.c: (GST_START_TEST),
3567         (gst_controller_suite):
3568           Add test for the previous fix; add some more tests
3569           for correct refcounting behaviour; fix a few leaks
3570           in test cases; call gst_controller_init() at start
3571           of all tests.
3572
3573 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3574
3575         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3576         (gst_controller_set_from_list):
3577           Don't g_return_val_if_fail() on timed values with invalid timestamps
3578           inside a critical section without unlocking the mutex. Spotted by
3579           René Stadler. (#357617)
3580           Also, fix up refcounting properly: when returning an existing
3581           controller, we should increase the reference only once and not
3582           once per property and when trying to control a property again
3583           we should also increase the refcount.
3584
3585 2006-09-29  Wim Taymans  <wim@fluendo.com>
3586
3587         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3588         * libs/gst/net/gstnettimeprovider.c:
3589         (gst_net_time_provider_thread):
3590         Stop reading commands when EOF as well.
3591
3592         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3593         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3594         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3595         Unify description of the dump property.
3596
3597 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3598
3599         * tests/examples/manual/.cvsignore:
3600         OK, so it's actually cvsignore that needs changing. Stop laughing.
3601
3602 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3603
3604         * tests/examples/manual/Makefile.am:
3605         Gah, declare vars *before* using them
3606
3607 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3608
3609         * gst/gst.c: (init_pre), (scan_and_update_registry),
3610         (ensure_current_registry_nonforking),
3611         (ensure_current_registry_forking), (ensure_current_registry),
3612         (init_post), (gst_debug_help), (gst_deinit):
3613         * gst/gst_private.h:
3614         * gst/gstregistry.c: (gst_registry_finalize),
3615         (gst_registry_remove_features_for_plugin_unlocked),
3616         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3617         (gst_registry_scan_path),
3618         (_priv_gst_registry_remove_cache_plugins),
3619         (_priv_gst_registry_cleanup):
3620         * gst/gstregistry.h:
3621         Re-commit the registry changes, along with an extra fix:
3622           When a cached plugin is encountered at a different file path,
3623           update the stored path in the registry cache so that the parent
3624           process knows where it actually is now when it re-reads the registry
3625           cache. Fixes the thing that broke distcheck with the previous commit.
3626
3627         * tests/check/Makefile.am:
3628         Clean up files named 'core' too when running make clean.
3629
3630         * tests/examples/manual/Makefile.am:
3631         Set up a registry path for running these tests, and clean it properly
3632         for distcheck.
3633
3634 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3635
3636         * configure.ac:
3637         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3638         want gmodule-no-export-2.0.pc instead so that we don't drag in
3639         --export-dynamic on every project that links to GStreamer.
3640
3641         Also, make our export regex only match the start of symbols, rather 
3642         than any symbol that contains '_gst' somewhere.
3643
3644         * libs/gst/check/Makefile.am:
3645         The libgstcheck we build does however need export-dynamic, as it
3646         produces some symbols that don't match our _gst... style regex.
3647         Fixes: #318031
3648
3649 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3650
3651         * gst/gst.c: (init_pre), (scan_and_update_registry),
3652         (ensure_current_registry_nonforking),
3653         (ensure_current_registry_forking), (ensure_current_registry),
3654         (init_post), (gst_debug_help), (gst_deinit):
3655         * gst/gst_private.h:
3656         * gst/gstregistry.c: (gst_registry_finalize),
3657         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3658         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3659         (_gst_registry_cleanup):
3660         * gst/gstregistry.h:
3661           Revert previous change until I figure out why it breaks distcheck.
3662
3663 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3664
3665         * gst/gst.c: (init_pre), (scan_and_update_registry),
3666         (ensure_current_registry_nonforking),
3667         (ensure_current_registry_forking), (ensure_current_registry),
3668         (init_post), (gst_debug_help), (gst_deinit):
3669
3670           Make init_pre and init_post take the full complement of GOptionFunc
3671           args so they can return useful GErrors. Make the registry updating
3672           functions do so.
3673
3674           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3675           ensure that the registry we're about to write out doesn't contain
3676           stale information about old-deleted plugin files.
3677
3678           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3679           that deletion of plugin files is considered a registry change.
3680
3681         * gst/gst_private.h:
3682         * gst/gstregistry.c: (gst_registry_finalize),
3683         (gst_registry_remove_features_for_plugin_unlocked),
3684         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3685         (gst_registry_scan_path),
3686         (_priv_gst_registry_remove_cache_plugins),
3687         (_priv_gst_registry_cleanup):
3688         * gst/gstregistry.h:
3689         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3690         by adding _priv prefix, so that they won't appear in the global
3691         symbol table. They still do atm though because of #318031. Move the
3692         prototypes to gst_private.h
3693
3694         When removing a plugin, remove all features for that plugin too. 
3695         Fixes #340878.
3696
3697 2006-09-27  Wim Taymans  <wim@fluendo.com>
3698
3699         * docs/random/moving-plugins:
3700         Make it clear that the "compiled-in descriptions" really mean
3701         the element details.
3702
3703         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3704         (gst_base_sink_wait_preroll):
3705         Update docs.
3706
3707         * docs/libs/gstreamer-libs-sections.txt:
3708         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3709         (gst_base_src_get_range), (gst_base_src_activate_push):
3710         * libs/gst/base/gstbasesrc.h:
3711         Added function to block while waiting for PLAYING, this function
3712         is used by live sources that block on the clock.
3713         API: gst_base_src_wait_playing()
3714
3715 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3716
3717         Patch by: Peter Kjellerstedt <pkj at axis com>
3718
3719         * Makefile.am:
3720           gst-element-check.m4 is generated and should therefore be
3721           copied from the build dir rather than the source dir (#357593).
3722           'make distcheck' hasn't noticed this because we were disting
3723           the file as well, so stop doing that.
3724
3725 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3726
3727         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3728           Add some tests for gst_caps_intersect().
3729
3730         * tools/gst-launch.c: (event_loop):
3731           Print all buffering percentages we get, even the 100% one.
3732
3733 2006-09-26  Wim Taymans  <wim@fluendo.com>
3734
3735         * tools/gst-inspect.c: (print_element_properties_info),
3736         (print_signal_info):
3737         Fix printing of flags to match the look of enums.
3738
3739 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3740
3741         * gst/gstelementfactory.c:
3742           Fix typo in docs blurb.
3743
3744 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3745
3746         * gst/gsturi.c: (search_by_entry):
3747           Don't assert/crash here if a uri handler doesn't return any
3748           supported protocols. The list of protocols could be generated
3749           dynamically at runtime or at plugin registration, and an error
3750           in the underlying library shouldn't be fatal (#353301).
3751
3752 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * gst/gstinfo.c:
3755           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3756           (spotted by Peter Kjellerstedt).
3757
3758 2006-09-23  Wim Taymans  <wim@fluendo.com>
3759
3760         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3761
3762         * libs/gst/base/gstbasesrc.c:
3763         (gst_base_src_default_check_get_range), (gst_base_src_start),
3764         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3765         (gst_base_src_change_state):
3766         Match _start/_stop calls in the activate functions. Remove redundant
3767         _stop call from the state change function. Fixes #356910.
3768         Turn failure DEBUG into ERROR. 
3769
3770 2006-09-22  Wim Taymans  <wim@fluendo.com>
3771
3772         * docs/design/part-buffering.txt:
3773         * gst/gstmessage.c: (gst_message_new_buffering),
3774         (gst_message_parse_buffering):
3775         Update docs about buffering.
3776
3777         * docs/design/part-trickmodes.txt:
3778         Fix typo.
3779
3780 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3781
3782         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3783         (gst_controller_new_list):
3784           Ref instances when returning them again (fixes #357180)
3785
3786 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3787
3788         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3789           Don't forget to release proxy lock when there's an error.
3790
3791 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3792
3793         * gst/gstcaps.h:
3794           Add extra initialisers for Caps things, to fix some plugin warnings
3795           when using -Wextra
3796
3797 2006-09-18  Wim Taymans  <wim@fluendo.com>
3798
3799         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3800           Also set template on the internal pad so that a getcaps from the 
3801           target pad returns the template caps.
3802
3803 2006-09-18  Wim Taymans  <wim@fluendo.com>
3804
3805         * gst/gstelement.c: (gst_element_post_message),
3806         (gst_element_dispose):
3807         Use _DEBUG_OBJECT some more.
3808
3809         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3810         Avoid typechecks.
3811
3812         * tools/gst-launch.c: (main):
3813         If the toplevel element is not a GstPipeline, it must be put in a
3814         pipeline so that a bus and clock is selected.
3815
3816 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3819           JITTER, RATE, and LATENCY query should be handled by the
3820           default case and not by the CONVERT query code.
3821
3822 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3823
3824         * gst/gstformat.c: (gst_format_register):
3825           Fix locking order (must take lock before using n_values).
3826
3827         * gst/gstvalue.c: (gst_value_serialize_enum),
3828         (gst_value_deserialize_enum_iter_cmp),
3829         (gst_value_deserialize_enum):
3830           Fix serialisation/deserialisation of custom registered GstFormats.
3831
3832         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3833           Unit test for custom format serialisation/deserialisation.
3834
3835 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3836
3837         * docs/pwg/building-boiler.xml:
3838         * plugins/elements/gstcapsfilter.c:
3839         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3840         section.
3841
3842 2006-09-16  Edward Hervey  <edward@fluendo.com>
3843
3844         * libs/gst/base/gstbasetransform.c:
3845         (gst_base_transform_buffer_alloc):
3846         Check if requested caps are the same as the sinks caps IF
3847         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3848         is FALSE.
3849         This fixes the renegotiation issues stated in #352827.
3850
3851 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3852
3853         * configure.ac:
3854         * docs/manual/advanced-autoplugging.xml:
3855         * tests/examples/Makefile.am:
3856         * tests/examples/manual/.cvsignore:
3857         * tests/examples/manual/Makefile.am:
3858         * tests/examples/manual/extract.pl:
3859           Extract the manual examples again like we used to do.
3860           Fix one of them.
3861
3862 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3863
3864         * win32/common/config.h:
3865           update for version
3866
3867 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3868
3869         * gst/gsterror.c:
3870           Documents how to receive errors.
3871
3872 2006-09-15  Wim Taymans  <wim@fluendo.com>
3873
3874         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3875         (event_loop), (main):
3876         Added some comments here and there.
3877         Post an application message when an interrupt is caught instead of doing
3878         an uncontrolled state change.
3879         Clean up the event loop.
3880         Handle buffering messages, pause/resume the pipeline.
3881         Make shutdown because of an interrupt more reliable.
3882
3883 2006-09-15  Wim Taymans  <wim@fluendo.com>
3884
3885         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3886         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3887         (gst_base_sink_preroll_object):
3888         Make sure that our internal state is correct when we commit our state
3889         asynchronously. This solves a race where a state change to PLAYING
3890         could cause the sink to remain blocked in preroll in some situations.
3891
3892 2006-09-15  Wim Taymans  <wim@fluendo.com>
3893
3894         * tools/gst-inspect.c: (print_element_properties_info),
3895         (print_signal_info):
3896         List flags as hex so it's easier to deal with.
3897
3898 2006-09-15  Wim Taymans  <wim@fluendo.com>
3899
3900         * docs/libs/gstreamer-libs-sections.txt:
3901         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3902         (gst_base_sink_do_sync):
3903         * libs/gst/base/gstbasesink.h:
3904         Expose logic to wait for preroll so that subclasses such as audiosink
3905         can also use this method.
3906         API: gst_base_sink_wait_preroll()
3907
3908 2006-09-15  Wim Taymans  <wim@fluendo.com>
3909
3910         * gst/gstobject.c: (gst_object_set_parent):
3911         * gst/gstpipeline.c: (do_pipeline_seek):
3912         Small cleanups in docs and code.
3913
3914         * gst/gstsegment.c: (gst_segment_clip):
3915         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3916         if stop == start and start is in the segment, no clipping should be
3917         done. Also add a test for this.
3918
3919 2006-09-15  Wim Taymans  <wim@fluendo.com>
3920
3921         * docs/design/part-buffering.txt:
3922         * docs/gst/gstreamer-sections.txt:
3923         * gst/gstmessage.c: (gst_message_new_buffering),
3924         (gst_message_parse_buffering):
3925         * gst/gstmessage.h:
3926         Added methods to create and parse BUFFERING messages.
3927         Added preliminary docs about buffering.
3928         API: gst_message_new_buffering
3929         API: gst_message_parse_buffering
3930
3931 2006-09-06  Wim Taymans  <wim@fluendo.com>
3932
3933         * gst/gstbin.c:
3934         Update documentation.
3935
3936         * gst/gstelement.c: (gst_element_class_init),
3937         (gst_element_release_request_pad), (gst_element_set_clock),
3938         (gst_element_get_index), (gst_element_add_pad),
3939         (gst_element_remove_pad), (gst_element_get_random_pad),
3940         (gst_element_send_event), (gst_element_get_query_types),
3941         (gst_element_query), (gst_element_post_message),
3942         (gst_element_message_full), (gst_element_continue_state),
3943         (gst_element_lost_state), (gst_element_save_thyself),
3944         (gst_element_restore_thyself):
3945         Documentation updates.
3946         Rename last bit of the new-pad -> pad-added signal rename.
3947         Fix the case where an element query would only work if the source
3948         pad was linked.
3949         Avoid some useless type checking in message handling.
3950
3951         * gst/gstevent.c:
3952         * gst/gstevent.h:
3953         * gst/gstutils.c:
3954         Documentation updates.
3955
3956 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3957
3958         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3959           add an INFO line for when we actually update the fd
3960
3961 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3962
3963         * configure.ac:
3964           back to TRUNK
3965
3966 === release 0.10.10 ===
3967
3968 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3969
3970         * configure.ac:
3971           releasing 0.10.10, "Pais"
3972
3973 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3974
3975         * docs/manual/advanced-position.xml:
3976           Fix typo in sample code.
3977
3978 2006-09-05  Wim Taymans  <wim@fluendo.com>
3979
3980         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3981         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3982         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3983         * libs/gst/net/gstnetclientclock.h:
3984         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3985         * libs/gst/net/gstnettimepacket.h:
3986         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3987         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3988         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3989         * libs/gst/net/gstnettimeprovider.h:
3990         Make stuff compile on windows. Fixes #345295.
3991
3992 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3993
3994         * gst/gst.c: (ensure_current_registry_forking):
3995           Print better details when child was terminated by signal.
3996
3997 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3998
3999         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4000           Print a warning rather than g_assert() if a plugin feature
4001           is a URI handler but returns no protocols (#353976).
4002
4003 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
4004
4005         * docs/random/moving-plugins:
4006         Fix two typos.         
4007
4008 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
4009
4010         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4011           Fix locking order, handle NULL function values properly.
4012
4013         * gst/gstinfo.h:
4014           Fix docs.
4015
4016         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4017           Initialise variable before using it and fix debug statement to
4018           print the address of the function rather than the address of the
4019           variable on the stack holding the address of the function.
4020
4021 2006-09-01  Wim Taymans  <wim@fluendo.com>
4022
4023         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4024         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4025         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4026         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4027         (gst_ghost_pad_parent_unset),
4028         (gst_ghost_pad_internal_do_activate_push),
4029         (gst_ghost_pad_internal_do_activate_pull),
4030         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4031         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4032         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4033         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4034         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4035         (gst_ghost_pad_new_no_target_from_template),
4036         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4037         More cleanups.
4038         Avoid needless typechecking in macros.
4039         Since the internal pad is always present and never changes, there is
4040         no need to locking or ref when retrieving it.
4041         Improve debugging a bit.
4042         Handle link errors when setting the target. Fixes #341029.
4043
4044 2006-09-01  Wim Taymans  <wim@fluendo.com>
4045
4046         * docs/libs/gstreamer-libs-sections.txt:
4047         * docs/plugins/gstreamer-plugins-sections.txt:
4048         Fix docs some more.
4049
4050         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4051         (gst_collect_pads_event):
4052         * libs/gst/base/gstcollectpads.h:
4053         Documentation updates.
4054         Free queued buffer when removing a pad.
4055
4056 2006-08-31  Michael Smith  <msmith@fluendo.com>
4057
4058         * gst/gstutils.c: (gst_element_link_pads),
4059         (gst_element_link_pads_filtered):
4060           Ensure that we set a capsfilter to NULL if we failed to link it
4061           when doing filtered linking, to avoid criticals.
4062
4063           No need to check for unreffing srcpad, which is explicly NULLed
4064           above (a trivial code cleanup).
4065
4066 2006-08-31  Wim Taymans  <wim@fluendo.com>
4067
4068         * docs/design/part-gstghostpad.txt:
4069         Update ascii art in documentation.
4070
4071         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4072         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4073         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4074         (gst_ghost_pad_internal_do_activate_push),
4075         (gst_ghost_pad_internal_do_activate_pull),
4076         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4077         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4078         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4079         (gst_ghost_pad_set_target):
4080         Small cleanups and leak fixes.
4081         Remove some checks now that the internal pad is never NULL.
4082         Fix the case where linking pads without a target would create nasty
4083         criticals. Fixes #341029.
4084         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4085         value of _set_target().
4086
4087         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4088         (gst_ghost_pad_suite):
4089         Some more tests for creating and linking untargeted ghostpads.
4090
4091 2006-08-31  Edward Hervey  <edward@fluendo.com>
4092
4093         * docs/gst/gstreamer-sections.txt:
4094         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4095         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4096         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4097         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4098         (gst_ghost_pad_new_from_template),
4099         (gst_ghost_pad_new_no_target_from_template):
4100         * gst/gstghostpad.h:
4101         Refactored *_new() functions.
4102         Templates are now used as a g_object_new() parameter.
4103         Use template in _do_getcaps() if we don't have a target.
4104         Small documentation cleanups.
4105         Added two new constructors:
4106         gst_ghost_pad_new_from_template()
4107         gst_ghost_pad_new_no_target_from_template()
4108         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4109         (gst_ghost_pad_suite):
4110         Added tests for new ghostpad instanciation functions.
4111
4112         API additions: gst_ghost_pad_new_from_template,
4113         gst_ghost_pad_new_no_target_from_template
4114
4115 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
4116
4117         * docs/random/ensonic/profiling.txt:
4118           Ideas about qos profiling.
4119
4120 2006-08-29  Wim Taymans  <wim@fluendo.com>
4121
4122         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4123         Code cleanups.
4124         Fix memleak.
4125
4126 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
4127
4128         * gst/gstxml.c:
4129           Improve and detypofy docs.
4130
4131         * tests/check/Makefile.am:
4132         * tests/check/gst/.cvsignore:
4133         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4134           Add a basic test suite for GstXML.
4135
4136 2006-08-29  Wim Taymans  <wim@fluendo.com>
4137
4138         * gst/gstelement.c: (activate_pads), (clear_caps),
4139         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4140         Clear the pad caps when the element shut down all of the pads and
4141         is not streaming data that could modify the caps. 
4142         Fixes #352958.
4143
4144 2006-08-28  Michael Smith  <msmith@fluendo.com>
4145
4146         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4147           Revert previous change; I misunderstood single-segment mode.
4148
4149 2006-08-28  Michael Smith  <msmith@fluendo.com>
4150
4151         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4152           Unset DISCONT on buffers when using single-segment mode.
4153
4154 2006-08-28  Wim Taymans  <wim@fluendo.com>
4155
4156         * gst/gstcaps.c: (gst_caps_merge_structure):
4157         * gst/gstcaps.h:
4158         Fix docs and indentation again.
4159
4160         * tests/check/gst/gstquery.c: (GST_START_TEST):
4161         Fix leak in tests and add some more tests.
4162
4163 2006-08-28  Edward Hervey  <edward@fluendo.com>
4164
4165         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4166         Inform GstSegment of the last stop position in order for the current
4167         segment to have a proper duration if it doesn't have a specific stop
4168         position from which a duration could be calculated.
4169         This bug was noticeable when a non-flushing, non-update new segment was
4170         followed by another segment (all buffers from the new segment were being
4171         dropped).
4172
4173 2006-08-28  Wim Taymans  <wim@fluendo.com>
4174
4175         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4176         Small comment update.
4177
4178         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4179         (gst_identity_transform_ip):
4180         Drop-probability is broken, mention this in the code with a 
4181         FIXME and also in the property description.
4182         Make silent also be silent about the drop messages.
4183
4184 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
4185
4186         * docs/manual/appendix-win32.xml:
4187           Remove mention of popt, we don't depend on that any
4188           longer (#353136). Add some comments pointing out that
4189           this section is slightly outdated.
4190
4191 2006-08-28  Wim Taymans  <wim@fluendo.com>
4192
4193         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4194
4195         * gst/gstquery.c: (gst_query_new_segment):
4196         * tests/check/gst/gstquery.c: (GST_START_TEST):
4197         Initialize variables when creating a new segment query.
4198         Fixes #353121.
4199
4200 2006-08-28  Wim Taymans  <wim@fluendo.com>
4201
4202         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4203
4204         * gst/gstelement.c: (gst_element_get_bus):
4205         * tests/check/gst/gstelement.c: (GST_START_TEST):
4206         Check for NULL before _reffing the bus. Fixes #353122.
4207
4208 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
4209
4210         * docs/manual/basics-bus.xml:
4211           Docs update: fix wrong callback return value explanation; add
4212           some lines about the implicit relationship between main loop
4213           and main context; remove duplicate main loop variable declaration.
4214
4215 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
4216
4217         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4218           Don't leak caps in unit test; add a few more simple
4219           checks. 
4220
4221 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
4222
4223         * docs/gst/gstreamer-sections.txt:
4224         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4225         (gst_caps_structure_is_subset), (gst_caps_merge),
4226         (gst_caps_merge_structure):
4227         * gst/gstcaps.h:
4228         * libs/gst/base/gstbasetransform.c:
4229         (gst_base_transform_transform_caps):
4230         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4231           implement caps merging (fixes #352580)
4232
4233 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * tools/Makefile.am:
4236         * tools/gst-plot-timeline.py:
4237           add debug-log plotting developer tool (#340674)
4238
4239 2006-08-23  Wim Taymans  <wim@fluendo.com>
4240
4241         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4242         (gst_pad_stop_task):
4243         Improve debugging for task functions.
4244
4245         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4246         (gst_task_start), (gst_task_pause), (gst_task_join):
4247         Make sure that the task function started and finished after a 
4248         join(). 
4249         Don't try to push the task function on the threadpool multiple
4250         times.
4251         Improve the g_warning message with some useful suggestions
4252         about how to fix the problem. 
4253
4254 2006-08-23  Wim Taymans  <wim@fluendo.com>
4255
4256         * gst/gstutils.c: (gst_pad_proxy_getcaps):
4257         Handle RESYNC correctly in _proxy_getcaps.
4258
4259 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
4260
4261         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4262         (gst_xml_parse_memory), (gst_xml_get_element):
4263           Chain up to parent class in dispose function and also
4264           unref the elements in the toplevel_elements GList.
4265           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4266           Always return a reference in gst_xml_get_element() rather
4267           than only sometimes.
4268
4269         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4270           Don't leak GstXml object.
4271
4272 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
4273
4274         * docs/gst/gstreamer-sections.txt:
4275         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4276         (gst_caps_merge):
4277         * gst/gstcaps.h:
4278         * libs/gst/base/gstbasetransform.c:
4279         (gst_base_transform_transform_caps):
4280           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4281           in a better way
4282
4283 2006-08-21  Edward Hervey  <edward@fluendo.com>
4284
4285         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4286         Implement GObject::dispose virtual method in GstXML so we can free the
4287         top_elements GList.
4288
4289 2006-08-21  Wim Taymans  <wim@fluendo.com>
4290
4291         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4292         (gst_buffer_create_sub):
4293         Copy duration/offset_end/caps when creating a subbuffer of the
4294         complete parent.
4295         Make the subbuffer read-only when we make the metadata writable for
4296         now. Fixes #351768.
4297
4298         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4299         Added check for metadata copy when creating subbuffers.
4300
4301 2006-08-21  Edward Hervey  <edward@fluendo.com>
4302
4303         * libs/gst/base/gstbasetransform.c:
4304         (gst_base_transform_buffer_alloc):
4305         Only call downstream buffer_alloc if transform element is passthrough
4306         or always_in_place. Closes #350449.
4307
4308 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4309
4310         * ChangeLog:
4311           ChangeLog surgery to add comments to previous changes
4312
4313 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4314
4315         * gst/gst.c:
4316           Add comments
4317
4318         * gst/gstpad.c: (gst_pad_set_active):
4319           Be more verbose in the log
4320
4321         * libs/gst/base/gstbasetransform.c:
4322         (gst_base_transform_transform_caps):
4323           Simplify caps to get rid of duplicates, fixes #345444
4324
4325 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4326
4327         * gst/gstvalue.c:
4328         * gst/gstvalue.h:
4329           Use these optimizations only internally.
4330
4331 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4332
4333         * gst/gstvalue.c: (gst_value_compare_list),
4334         (gst_value_compare_fraction_range),
4335         (gst_value_intersect_fraction_fraction_range),
4336         (gst_value_intersect_fraction_range_fraction_range),
4337         (gst_value_subtract_fraction_fraction_range),
4338         (gst_value_subtract_fraction_range_fraction_range),
4339         (gst_value_get_compare_func), (gst_value_compare),
4340         (gst_value_compare_with_func):
4341         * gst/gstvalue.h:
4342           Saves the expensive lookup of the compare function in many cases
4343          (#345444)
4344
4345 2006-08-18  Edward Hervey  <edward@fluendo.com>
4346
4347         * tests/check/gst/gstinfo.c: (gst_info_suite):
4348         Disable test that require gstdebug if it wasn't built in core.
4349
4350 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
4351
4352         * docs/random/ensonic/logging.txt:
4353           update ideas
4354           
4355         * gst/gstinfo.c: (gst_debug_log_default):
4356           reorder fields, save some columns, add optional color codes for log
4357           levels
4358
4359 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
4360
4361         * docs/random/ensonic/logging.txt:
4362           add ideas about making the logs a bit more useful
4363
4364 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4365
4366         * docs/pwg/advanced-events.xml:
4367         * docs/pwg/titlepage.xml:
4368           Update for 0.10 API (#340627). Add myself
4369           to authors list.
4370
4371 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4372
4373         * docs/libs/gstreamer-libs-docs.sgml:
4374         * docs/libs/gstreamer-libs-sections.txt:
4375         * libs/gst/check/gstbufferstraw.c:
4376           Make gstcheck stuff show up in docs (still needs to
4377           be documented properly though).
4378
4379 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
4380
4381         * docs/gst/gstreamer-sections.txt:
4382         * gst/Makefile.am:
4383         * gst/gst.c: (init_post):
4384         * gst/gst_private.h:
4385         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4386         * gst/gstquark.h:
4387         * gst/gstquery.c: (gst_query_new_position),
4388         (gst_query_set_position), (gst_query_parse_position),
4389         (gst_query_new_duration), (gst_query_set_duration),
4390         (gst_query_parse_duration), (gst_query_new_convert),
4391         (gst_query_set_convert), (gst_query_parse_convert),
4392         (gst_query_new_segment), (gst_query_set_segment),
4393         (gst_query_parse_segment), (gst_query_new_seeking),
4394         (gst_query_set_seeking), (gst_query_parse_seeking):
4395         Add internal helpers for pre-registering quarks from static strings
4396         and using the quark values directly instead of looking them up when
4397         creating and parsing queries. Can be used for event construction too.
4398         Closes #350432.
4399
4400 2006-08-16  Wim Taymans  <wim@fluendo.com>
4401
4402         * gst/gstbin.c:
4403         Fix bogus docs.
4404
4405 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4406
4407         * gst/gstutils.c: (gst_util_set_value_from_string):
4408           Fix memleak (#351502).
4409
4410         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4411           Add unit test for most of gst_util_set_value_from_string()
4412           (not that one would want to encourage use of this function).
4413
4414 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * libs/gst/check/gstcheck.h:
4417           Use const gchar * variables in fail_unless_equals_string
4418           macro to avoid compiler warnings (and don't use tabs for
4419           indenting).
4420
4421 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4422
4423         * tools/gst-launch.c: (print_tag):
4424           More space on the left for the tag names, to cater
4425           for the 'extended comment' tag (not touching the
4426           string for the first line since it's translated).
4427
4428 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4429
4430         * libs/gst/check/gstcheck.h:
4431           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4432           print something when they fail.
4433
4434 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4435
4436         * docs/gst/gstreamer-sections.txt:
4437         * gst/gsttaglist.c: (_gst_tag_initialize):
4438         * gst/gsttaglist.h:
4439           API: add GST_TAG_EXTENDED_COMMENT (#350935).
4440           Also change merge function for GST_TAG_COMMENT to
4441           use_first.
4442
4443 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4444
4445         * gst/gstinfo.c: (gst_debug_print_object):
4446           Make GST_PTR_FORMAT print messages as well.
4447
4448         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4449         (GST_START_TEST), (gst_info_suite):
4450           More tests.
4451
4452 2006-08-14  Edward Hervey  <edward@fluendo.com>
4453
4454         * gst/gstelementfactory.c: (gst_element_register):
4455         If the GstElementClass doesn't have a GstElementDetails with all fields
4456         filled up correctly (longname, description AND author), then error out
4457         nicely instead of crashing.
4458
4459 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4460
4461         * gst/gststructure.c:
4462           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4463
4464         * gst/gstvalue.h:
4465           Expand on the difference between arrays and lists as we use them.
4466           
4467 2006-08-14  Wim Taymans  <wim@fluendo.com>
4468
4469         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4470         If the parent state change function failed, don't assume we can safely
4471         stop the source, this will be done when the pads are deactivated.
4472
4473 2006-08-14  Wim Taymans  <wim@fluendo.com>
4474
4475         * gst/gstbuffer.c:
4476         * gst/gsttask.c: (gst_task_join):
4477         Small doc updates.
4478
4479         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4480         (gst_pad_stop_task):
4481         When pad (de)activation failed for some reason, restore the old
4482         activation mode and set the pad to flushing instead of assuming the
4483         pad is deactivated.
4484         If the _task_join() failed, reinstall the task on the pad so that it can
4485         be stopped later and return an error.
4486
4487 2006-08-11  Andy Wingo  <wingo@pobox.com>
4488
4489         * configure.ac:
4490         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4491         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4492         is only for users of API that don't want to see deprecated
4493         functions in the headers; people that want to compile out
4494         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4495         CFLAGS. Fixes the build of multifdsink, or will soon..
4496
4497 2006-08-11  Wim Taymans  <wim@fluendo.com>
4498
4499         * docs/gst/gstreamer-sections.txt:
4500         Add GstClockClass vmethod docs.
4501
4502         * gst/gstcaps.h:
4503         Mark #endif with comment for associated #if
4504
4505         * gst/gstclock.c: (gst_clock_id_wait):
4506         * gst/gstclock.h:
4507         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4508         most clock implementations.
4509         Document vmethods.
4510         Flesh out docs about resolution methods.
4511         API: GstClockClass::wait_jitter
4512
4513         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4514         (gst_system_clock_async_thread),
4515         (gst_system_clock_id_wait_jitter_unlocked),
4516         (gst_system_clock_id_wait_jitter):
4517         Use base class wait_jitter variant for improved performance
4518         due to less clock polling.
4519
4520 2006-08-11  Edward Hervey  <edward@fluendo.com>
4521
4522         * gst/gst.c: (gst_init_check), (init_post):
4523         Set gst as being initialized before scanning/updating the registry,
4524         since there might be my python plugin loader that calls gst_init() and
4525         we don't want to loop back in.
4526         Closes #350879
4527
4528 2006-08-11  Wim Taymans  <wim@fluendo.com>
4529
4530         * docs/design/part-qos.txt:
4531         Bring docs in line with the code. Mostly the sign of the jitter was
4532         wrong in the docs. Fixes #349943.
4533
4534         * gst/gstclock.c:
4535         Fix the docs for the jitter.
4536
4537         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4538         (gst_event_parse_tag), (gst_event_new_buffer_size),
4539         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4540         (gst_event_new_seek), (gst_event_parse_seek),
4541         (gst_event_new_navigation):
4542         Make sure the GstStructure has no parent when creating custom
4543         events.
4544         Add some more argument checking so that we avoid 0.0 rates.
4545         Flesh out the docs for the QoS event some more.
4546
4547 2006-08-11  Wim Taymans  <wim@fluendo.com>
4548
4549         * docs/gst/gstreamer-sections.txt:
4550         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4551         (ensure_current_registry_forking), (ensure_current_registry),
4552         (parse_one_option), (parse_goption_arg), (gst_deinit),
4553         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4554         * gst/gst.h:
4555         Doc updates.
4556         Added API and command line option to disable registry forking in
4557         addition to the environment variable.
4558         Constify some static arrays.
4559         Added some more debug.
4560         Don't deinit twice.
4561         API: gst_registry_fork_is_enabled()
4562         API: gst_registry_fork_set_enabled()
4563         API: --gst-disable-registry-fork command line option
4564         Fixes #348918.
4565
4566 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/gst.c: (gst_init):
4569           Fix typo in error message.
4570
4571 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4572
4573         * libs/gst/controller/gstcontroller.h:
4574           fix ABI size-correction
4575
4576         * tests/check/libs/gdp.c: (gst_dp_suite):
4577           make tests that use deprecated API conditional
4578
4579 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4580
4581         * docs/libs/gstreamer-libs-sections.txt:
4582         * libs/gst/controller/gstcontroller.c:
4583         (_gst_controller_get_property), (_gst_controller_set_property),
4584         (_gst_controller_init), (_gst_controller_class_init):
4585         * libs/gst/controller/gstcontroller.h:
4586         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4587         (gst_object_set_control_rate):
4588           API: add gst_object_{s,g}et_control_rate(), add private data section,
4589           fix docs
4590
4591         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4592         * libs/gst/dataprotocol/dataprotocol.h:
4593           add deprecation guards to make gtk-doc happy and allow disabling cruft
4594
4595 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4596
4597         * tests/check/Makefile.am:
4598         * tests/check/gst/.cvsignore:
4599           Let's enable the new unit test as well.
4600
4601 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         * configure.ac:
4604         * docs/gst/gstreamer-sections.txt:
4605         * gst/gstconfig.h.in:
4606         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4607         (_gst_info_printf_extension_ptr),
4608         (_gst_info_printf_extension_segment):
4609           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4610           register that lets us easily dump GstSegments into debug
4611           logs (#350419).
4612
4613         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4614         (info_segment_format_printf_extension), (gst_info_suite):
4615           Add simple unit test that logs a bunch of different segments (not
4616           valgrinded at the moment because of leaks in
4617           gst_debug_add_log_function).
4618
4619 2006-08-09  Edward Hervey  <edward@fluendo.com>
4620
4621         * libs/gst/base/gstbasetransform.c:
4622         (gst_base_transform_buffer_alloc):
4623         Even if we can't figure out the proper format to request downstream,
4624         call buffer_alloc() downstream with the input parameters without setting
4625         the caps on the srcpad. This will force negotiation in the chain
4626         function.
4627         Closes #350449
4628
4629 2006-08-08  Edward Hervey  <edward@fluendo.com>
4630
4631         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4632         Unlinking from a pad without a target is now a perfectly valid case
4633         which should NOT raise an assertion.
4634         This case would happen if a linked ghostpad its target set to NULL after
4635         it was previously linked.
4636
4637 2006-08-08  Edward Hervey  <edward@fluendo.com>
4638
4639         * tests/check/libs/gdp.c:
4640         Also comment out the test (see below).
4641
4642 2006-08-08  Edward Hervey  <edward@fluendo.com>
4643
4644         * tests/check/libs/gdp.c: (gst_dp_suite):
4645         Use the architecture information from config.h and not gcc macros
4646         in order to properly disable a test that fails on PPC64.
4647
4648 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4649
4650         * gst/gstelement.c: (gst_element_remove_pad):
4651           Don't crash printing the warning if the pad has no parent.
4652
4653 2006-08-02  Wim Taymans  <wim@fluendo.com>
4654
4655         * libs/gst/dataprotocol/dataprotocol.c:
4656         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4657         (gst_dp_crc), (gst_dp_header_payload_length),
4658         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4659         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4660         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4661         (gst_dp_event_from_packet), (gst_dp_validate_header),
4662         (gst_dp_validate_payload):
4663         Make debug category static
4664         Constify the crc table.
4665         Do some more arg checking in public functions.
4666         Fix some docs and do some small cleanups.
4667
4668         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4669         Add some more checks to see if GDP deals with bogus input.
4670
4671 2006-07-31  Wim Taymans  <wim@fluendo.com>
4672
4673         * gst/gstvalue.c: (gst_value_compare_list):
4674         Fix GstValueList comparison code. Fixes #347293.
4675
4676         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4677         Check to test GstValueList comparison.
4678
4679 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4680
4681         * gst/gstelementfactory.c: (gst_element_factory_create):
4682         Remove unnecessary ref/unref pair
4683
4684         * gst/parse/grammar.y:
4685         Make sure to free the parse buffer on all code paths.
4686         Move a g_free up to the error handler where it's easier to see.
4687
4688         * tests/check/gst/gstevent.c: (test_event):
4689         Extending timeout for downstream travelling events to 10 seconds to
4690         hopefully avoid intermittent failure on the buildbots.
4691
4692         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4693         Don't manually set the state of the src element - it will happen as a
4694         natural consequence of the pipeline changing state, and that way it
4695         will do it in the right order too.
4696
4697 2006-07-31  Wim Taymans  <wim@fluendo.com>
4698
4699         * libs/gst/base/gstbasetransform.c:
4700         (gst_base_transform_buffer_alloc):
4701         Use OBJECT_LOCK and refcounting to get the pad caps in the
4702         buffer_alloc function because the caps could change while we are
4703         busy with them. Fixes #349105
4704
4705 2006-07-31  Wim Taymans  <wim@fluendo.com>
4706
4707         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4708         Protect _PAD_CAPS with OBJECT_LOCK.
4709
4710 2006-07-31  Wim Taymans  <wim@fluendo.com>
4711
4712         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4713         (gst_pad_get_property), (gst_pad_activate_pull),
4714         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4715         (gst_pad_set_activate_function),
4716         (gst_pad_set_activatepull_function),
4717         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4718         (gst_pad_set_getrange_function),
4719         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4720         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4721         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4722         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4723         (gst_pad_set_acceptcaps_function),
4724         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4725         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4726         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4727         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4728         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4729         (gst_pad_configure_sink), (gst_pad_configure_src),
4730         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4731         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4732         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4733         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4734         (gst_pad_send_event):
4735         Use _DEBUG_OBJECT when it makes sense.
4736         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4737         Small cleanups and code reflows.
4738         Avoid caps refcounting in _accept_caps.
4739         Refactor alloc_buffer so that the code performed on the peer is in a
4740         separate function. Also if the pad does not implement a buffer alloc
4741         function, we should still check if the pad is flushing before falling
4742         back to the default allocator.
4743
4744 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4745
4746         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4747         Make all uses of identity and fakesink have silent=true to avoid
4748         serialising every passing data structure, which is breaking tests
4749         on FC4 for some unknown reason.
4750
4751 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4752
4753         * gst/parse/Makefile.am:
4754         * gst/parse/grammar.y:
4755         * gst/parse/parse.l:
4756           Reverted previous patch as it required to bump the flex dependency to
4757           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4758
4759 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4760
4761         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4762
4763         * gst/parse/Makefile.am:
4764         * gst/parse/grammar.y:
4765         * gst/parse/parse.l:
4766           push & pop the state of the lexer for reentrant use case
4767           Fixes #349180
4768
4769 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4770
4771         * libs/gst/base/gstbasesrc.h:
4772           Note in the docs that the ::newsegment vfunc is not actually used by
4773           GstBaseSrc.
4774
4775 2006-07-28  Wim Taymans  <wim@fluendo.com>
4776
4777         * libs/gst/base/gstcollectpads.c:
4778         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4779         (gst_collect_pads_clear), (gst_collect_pads_flush),
4780         (gst_collect_pads_event), (gst_collect_pads_chain):
4781         When flushing a pad, also clear the queued buffer so that we don't
4782         accidentally use it when we shouldn't.
4783         Fix leaks by inreffing incomming buffer.
4784         Flush out queued buffers in case of errors.
4785         Fixes #347452.
4786
4787 2006-07-28  Wim Taymans  <wim@fluendo.com>
4788
4789         * docs/random/phonon-gst:
4790         Random notes about a Phonon backend.
4791
4792 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4793
4794         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4795         Extra debug output
4796         * tests/check/libs/gdp.c: (gst_dp_suite):
4797         Take a whack at fixing the ppc compile using a different define to
4798         disable the broken test.
4799
4800         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4801         Remove excess g_print()
4802
4803 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4804
4805         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4806         Oops, meant to uncomment this line too to dampen the noise a bit.
4807
4808 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4809
4810         * gst/parse/grammar.y:
4811         * gst/parse/parse.l:
4812         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4813         (GST_START_TEST), (parse_suite):
4814         Fix some of the leaks exposed by extending the parse-launch testsuite,
4815         and move the 3 I can't figure out into a separate test that won't run
4816         the pipelines unless the appropriate line is uncommented.
4817
4818 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4819
4820         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4821           Requesting 0 bytes before the end of the file should result in
4822           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4823           unit test.
4824
4825 2006-07-27  Wim Taymans  <wim@fluendo.com>
4826
4827         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4828         Fix useless assert, a uint is always positive.
4829
4830         * gst/gststructure.c: (gst_structure_nth_field_name),
4831         (gst_structure_foreach), (gst_structure_map_in_place):
4832         Check input arguments for public functions to avoid obvious crashes.
4833
4834         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4835         * plugins/elements/gstfakesink.h:
4836         Do less useless typechecking.
4837
4838 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4841           Do not use mmap() by default since there are a number of error
4842           conditions that we would like to handle in a non-fatal way that
4843           will result in a SIGBUS if we use mmap(). Examples: external
4844           devices (USB harddrive, portable music player) being unplugged
4845           while in use; file on mounted CD/DVD that can't be read because
4846           the medium is partly damaged. Fixes #348455 and #348475.
4847
4848 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4849
4850         * gst/gstquery.h:
4851         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4852         rates are a gdouble
4853
4854 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4855
4856         * gst/gstregistry.c:
4857           Move big documentation comment into class section header, so that it
4858           appears in the API docs.
4859
4860 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4861
4862         * docs/gst/gstreamer-sections.txt:
4863         Oops. Commit the docs additions too for new API.
4864         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4865
4866 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4867
4868         * gst/gststructure.c: (gst_structure_id_set),
4869         (gst_structure_id_set_valist):
4870         * gst/gststructure.h:
4871         Add API for setting values into structures without performing
4872         a quark lookup, if the appropriate quark is already known.
4873
4874         API: gst_structure_id_set
4875         API: gst_structure_id_set_valist
4876
4877         * gst/parse/grammar.y:
4878         * gst/parse/parse.l:
4879         Remove some dead code shown by the coverage information.
4880         Don't throw a critical g_warning when encountering a syntax error,
4881         just warn and let the normal error path handle it.
4882
4883         * plugins/elements/gstelements.c:
4884         Bump the rank of filesink up to PRIMARY so that it is preferred over
4885         gnomevfssink for file:// sink uri's
4886
4887         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4888         (GST_START_TEST), (run_delayed_test),
4889         (gst_parse_test_element_base_init),
4890         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4891         (gst_parse_test_element_change_state),
4892         (gst_register_parse_element), (parse_suite):
4893         Beef up the tests for parse syntax to check that more error cases
4894         fail as they are supposed to. Increases the test coverage a bit.
4895
4896 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4897
4898         * docs/manual/basics-elements.xml:
4899           Fix gst_element_link() example.
4900
4901         * gst/gstutils.c:
4902           Mention in API docs that one should usually gst_bin_add()
4903           elements to a bin or pipeline before doing the linking.
4904           
4905 2006-07-26  Wim Taymans  <wim@fluendo.com>
4906
4907         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4908         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4909         Avoid function call for known types by keeping the buffer and
4910         subbuffer GType global.
4911
4912         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4913         Random silly optimisations in read() path.
4914
4915 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4916
4917         * tools/gst-launch.c: (main):
4918           If the top-level of the parse is a normal bin, it doesn't do the
4919           right logic to run as a top-level element, so place it inside a
4920           pipeline.
4921
4922 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4923
4924         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4925           Remove superfluous g_object_notify() calls, GObject does
4926           that for us automatically.
4927
4928 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * gst/gstinfo.h:
4931           on Win32, use dllspec to export the debug category symbols
4932
4933 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4934
4935         * gst/gsttaglist.c: (_gst_tag_initialize):
4936           Allow more than one GST_TAG_IMAGE per taglist.
4937
4938 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4939
4940         * gst/gstminiobject.c:
4941           update docs
4942         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4943         (gst_fd_src_create):
4944           log recurring events at LOG level
4945           add more debug for when the fd gets set
4946
4947 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4948
4949         * gst/gstparse.c: (gst_parse_launch):
4950           Also remove reentrance checks if flex is MT safe (#348179)
4951          Fix my empty ChangeLog entry below
4952
4953 2006-07-21  Andy Wingo  <wingo@pobox.com>
4954
4955         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4956
4957         * libs/gst/check/Makefile.am
4958         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4959         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4960         * libs/gst/check/gstbufferstraw.h:
4961         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4962         functions, thus proving I am still a GStreamer haxor. OK I wrote
4963         them a long time ago, but anyways.
4964
4965 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4966
4967         * configure.ac:
4968         * gst/gstparse.c: (gst_parse_launch):
4969           Check for flex version and omit mutex if we have a MT save flex
4970           (fixes #348179)
4971
4972 2006-07-21  Wim Taymans  <wim@fluendo.com>
4973
4974         * gst/gstparse.c: (gst_parse_launch):
4975         Protect recursive calls to _parse with a recursive mutex
4976         and busy flag.
4977
4978 2006-07-21  Wim Taymans  <wim@fluendo.com>
4979
4980         * tests/check/gst/gstpad.c: (GST_START_TEST):
4981         Fix leak in test.
4982
4983 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4984
4985         * gst/gstparse.c: (gst_parse_launch):
4986           Do not hang on recursive usage of gst_parse_launch()
4987
4988 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4989
4990         * gst/gsttaglist.c:
4991           Add some more docs, comments and FIXME 0.11s here and there
4992           and also fix some typos.
4993
4994 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4995
4996         * gst/gstsegment.h:
4997           Convert tabs to spaces for better readability. 
4998
4999 2006-07-20  Edward Hervey  <edward@fluendo.com>
5000
5001         * tests/check/libs/gdp.c: (gst_dp_suite):
5002         the test_buffer test fails at line 140 on ppc64 at the following
5003         check:
5004         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5005                 GST_BUFFER_FLAG_IN_CAPS),
5006                 "GST_BUFFER_IN_CAPS flag should have been copied !");
5007         See bug #348114 for more details.
5008
5009 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
5010
5011         * docs/pwg/advanced-scheduling.xml:
5012         * gst/gstpad.c:
5013           Fix typos (#348000).
5014
5015 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * docs/pwg/intro-basics.xml:
5018           Fix wrong links (#347927).
5019
5020 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
5021
5022         * gst/gstregistry.h:
5023         * gst/gstregistryxml.c: (load_feature),
5024         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5025         * win32/common/config.h:
5026           make --disable-index work (#342564)
5027
5028 2006-07-18  Wim Taymans  <wim@fluendo.com>
5029
5030         Patch by: Peter Kjellerstedt <pkj at axis dot com>
5031
5032         * gst/Makefile.am:
5033         * gst/gsttrace.h:
5034         The attached patch adds two missing defines to gsttrace.h when tracing
5035         is disabled.  It also corrects one existing define.
5036         Fixes #347756.
5037
5038 2006-07-17  Wim Taymans  <wim@fluendo.com>
5039
5040         * docs/gst/gstreamer-sections.txt:
5041         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5042         * gst/gst.h:
5043         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5044         Add two functions to check and change the SIGSEGV behaviour
5045         when loading plugins.
5046         Don't mess with the SIGSEGV handler when we were told not to.
5047         Fixes #347794.
5048         API: gst_segtrap_is_enabled
5049         API: gst_segtrap_set_enabled
5050
5051 2006-07-14  Wim Taymans  <wim@fluendo.com>
5052
5053         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5054         * tests/check/elements/filesrc.c: (GST_START_TEST):
5055         Revert fix for regression in #347408 after release.
5056
5057 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
5058
5059         Patch by: Antoine Tremblay <hexa00 at gmail com>
5060
5061         * gst/gstutils.c: (gst_element_unlink):
5062           Free iterator when done (#347311).
5063
5064         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5065           And add a test case for this.
5066
5067 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
5068
5069         * configure.ac:
5070         Bump nano back to CVS
5071
5072 === release 0.10.9 ===
5073
5074 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
5075
5076         * configure.ac:
5077           releasing 0.10.9, "On the road again"
5078
5079 2006-07-13  Wim Taymans  <wim@fluendo.com>
5080
5081         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5082         * tests/check/elements/filesrc.c: (GST_START_TEST):
5083         Revert pull-0 fix for release. Disable check. Fixes #347408.
5084
5085 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5086
5087         * libs/gst/dataprotocol/dataprotocol.c:
5088         (gst_dp_event_from_packet_1_0):
5089           Fixes #347337: failure to deserialize event packets with
5090           empty payload (only event type)
5091
5092 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5093
5094         * gst/Makefile.am:
5095           do not install a .c file in the header directory
5096
5097 2006-07-13  Edward Hervey  <edward@fluendo.com>
5098
5099         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5100         GhostPad no longer implicitely use the padtemplates of the targets.
5101         Fixes #347384
5102
5103 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
5104
5105         * gst/gstvalue.c: (gst_value_compare_list),
5106         (gst_value_compare_array), (_gst_value_initialize):
5107         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5108         Make GstValueArray comparison be order dependent as designed.
5109         Add checks for value lists and value array comparisons.
5110         Fixes #347221
5111
5112 2006-07-11  Edward Hervey  <edward@fluendo.com>
5113
5114         * gst/gstbin.c: (activate_pads),
5115         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5116         (gst_bin_change_state_func):
5117         (de)activate src pads before calling state_change on the childs.
5118         This is to avoid the case where a src ghostpad is blocked (holding the
5119         stream lock), which would block the deactivation of the ghostpad's
5120         target pad.
5121         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5122         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5123         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5124         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5125         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5126         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5127         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5128         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5129         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5130         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5131         (gst_ghost_pad_class_init),
5132         (gst_ghost_pad_internal_do_activate_push),
5133         (gst_ghost_pad_internal_do_activate_pull),
5134         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5135         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5136         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5137         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5138         GhostPads now create their internal GstProxyPad at creation (and not
5139         when they're linked, as it was being done previously).
5140         The internal and target pads are linked straight away.
5141         The data will also travel through the other pad in order to make
5142         pad blocking and probes non-hackish (the probe/block now really happens
5143         on the GhostPad and not on the target).
5144         * gst/gstpad.c: (gst_pad_set_blocked_async),
5145         (gst_pad_link_prepare), (gst_pad_push_event):
5146         Remove previous ghostpad cruft.
5147         * gst/gstutils.c: (gst_pad_add_data_probe),
5148         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5149         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5150         (gst_pad_remove_buffer_probe):
5151         Remove previous ghost pad cruft.
5152         Added more detailed debug statements.
5153         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5154         Fix the testsuite for refcounting changes.
5155         The comments about who has references were correct, but the refcount
5156         being checked wasn't the same (!?!).
5157
5158         Fixes #341029
5159
5160 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
5161
5162         * docs/gst/gstreamer-sections.txt:
5163         * gst/gstconfig.h.in:
5164         More docs for configuration options, add docs to gtk-doc.
5165
5166 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
5167
5168         * gst/Makefile.am:
5169         * gst/gstconfig.h.in:
5170         * win32/common/config.h:
5171         Fix build when disabling tracing (fixes #344016). Also start to document
5172         the defines that disable the sub-systems.
5173
5174 2006-07-10  Edward Hervey  <edward@fluendo.com>
5175
5176         * gst/gst.c: (ensure_current_registry_forking):
5177         let's make valgrind happy...
5178
5179 2006-07-09  Wim Taymans  <wim@fluendo.com>
5180
5181         * gst/gstelement.c: (activate_pads),
5182         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5183         Better pad activation code: Reset the collect value too on resync.
5184         Add some comments.
5185
5186 2006-07-09  Wim Taymans  <wim@fluendo.com>
5187
5188         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5189         (gst_pad_activate_push):
5190         Use some more macros where it makes sense.
5191         Allow pad mode switching instead of asserting. When a pad
5192         is activated in one mode and we activate it in another, 
5193         deactivate it first before activating it in a different mode.
5194         Fixes #329198.
5195
5196 2006-07-08  Andy Wingo  <wingo@pobox.com>
5197
5198         * tools/gst-launch.c (main): Handle err == NULL.
5199
5200         * gst/gst.c (init_post, ensure_current_registry)
5201         (ensure_current_registry_forking)
5202         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5203         factoring out the registry scanning into separate functions. Don't
5204         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5205         Better environment var name/interface suggestions accepted.
5206
5207 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5208
5209         * gst/gstobject.c: (gst_object_set_name_default),
5210         (gst_object_set_name):
5211           Random micro-optimisation: don't use a hash table
5212           with strings as keys and the usual strdup/strcmp
5213           involved, but rather just use the GQuark of the
5214           type name as key, since it needs to be looked up
5215           anyway to get the type name string.
5216
5217         * tests/check/gst/gstobject.c: (GST_START_TEST):
5218           Fix various leaks.
5219
5220 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5221
5222         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5223         (gst_bin_iterate_all_by_interface):
5224           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5225           GTypes are gulongs and thus the top 4 bytes might be cut
5226           off on some platforms when doing GPOINTER_TO_INT, leading
5227           to invalid GTypes and bad things happening (see RH bug #179654).
5228           Also add a check to make sure the type passed in is really
5229           an interface type.
5230
5231 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * .cvsignore:
5234           Ignore more.
5235
5236 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5237
5238         * Makefile.am:
5239         * configure.ac:
5240         * gst-element-check.m4:
5241         * gst-element-check.m4.in:
5242           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5243           instead of the unversioned gst-inspect (#324176, #168659).
5244
5245 2006-07-06  Wim Taymans  <wim@fluendo.com>
5246
5247         * gst/gstmessage.h:
5248         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5249         warnings.
5250
5251 2006-07-06  Wim Taymans  <wim@fluendo.com>
5252
5253         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5254         (gst_base_src_wait), (gst_base_src_update_length),
5255         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5256         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5257         (gst_base_src_loop), (gst_base_src_start),
5258         (gst_base_src_activate_pull):
5259         Update docs.
5260         blocksize == 0 now means the default blocksize when working in push
5261         based mode.
5262         Remove some pointless asserts in _wait function.
5263         Fix offset/length calculations and EOS handling. We can now pull 0
5264         bytes as well, which is allowed.
5265         use _check_get_range() to decide if we can operate in _pull based
5266         mode.
5267         Fix refcounting leak when check_get_range function was not 
5268         implemented.
5269         API GstBaseSrc::blocksize range can be 0 too now (default)
5270
5271         * tests/check/elements/filesrc.c: (GST_START_TEST),
5272         (filesrc_suite):
5273         Added check to test _get_range() behaviour.
5274
5275 2006-07-06  Wim Taymans  <wim@fluendo.com>
5276
5277         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5278         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5279         (gst_pad_pull_range):
5280         * gst/gstpad.h:
5281         Lots of comments and docs added to the pad functions.
5282         Flesh out the expected behaviour of the get_range() functions.
5283
5284 2006-07-06  Wim Taymans  <wim@fluendo.com>
5285
5286         * gst/gstbus.h:
5287         * gst/gstclock.h:
5288         * gst/gstevent.h:
5289         * gst/gstiterator.h:
5290         * gst/gstpad.h:
5291         * gst/gstplugin.h:
5292         * gst/gsttask.h:
5293         Remove comma at end of enumerator list. 
5294
5295 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
5296
5297         * win32/common/libgstbase.def:
5298         * win32/common/libgstdataprotocol.def:
5299         * win32/common/libsgtreamer.def:
5300         Add new exported functions.
5301
5302 2006-07-05  Wim Taymans  <wim@fluendo.com>
5303
5304         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5305         Add some more docs here and there.
5306
5307 2006-07-05  Wim Taymans  <wim@fluendo.com>
5308
5309         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5310         (gst_base_sink_loop), (gst_base_sink_get_position):
5311         When operating in pull mode update the offset so that we
5312         read sequentially.
5313
5314 2006-07-05  Wim Taymans  <wim@fluendo.com>
5315
5316         * gst/gstregistryxml.c: (read_string):
5317         Avoid strdup. (will happen in libxml, but hey!)
5318
5319         * gst/gsturi.c:
5320         Add some more docs.
5321
5322 2006-07-05  Wim Taymans  <wim@fluendo.com>
5323
5324         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5325         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5326         (gst_buffer_suite):
5327         No point in checking if the size of the subbuffer > 0, the
5328         code handles it correclty as demonstrated by unit test.
5329         Also add a unit test for the zero sized _new_and_alloc and
5330         _copy. Fixes #346663.
5331
5332 2006-07-05  Wim Taymans  <wim@fluendo.com>
5333
5334         * libs/gst/base/gstbasetransform.c:
5335         (gst_base_transform_prepare_output_buffer),
5336         (gst_base_transform_buffer_alloc),
5337         (gst_base_transform_handle_buffer):
5338         Make sure the buffer we pass to transform_ip has a refcount of
5339         1 and thus is writable. Fixes #343196
5340
5341 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
5342
5343         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5344         (gst_file_src_init), (gst_file_src_set_property),
5345         (gst_file_src_get_property), (gst_file_src_map_region):
5346         * plugins/elements/gstfilesrc.h:
5347         Add "sequential" property, off by default, to use madvise and hint
5348         to the kernel that sequential access is desired.
5349         Touch all retrieved pages by default to ensure they are pulled
5350         into memory. (Closes #345720)
5351
5352 2006-07-03  Wim Taymans  <wim@fluendo.com>
5353
5354         * docs/design/part-block.txt:
5355         * docs/design/part-dynamic.txt:
5356         Small docs updates.
5357
5358 2006-07-03  Wim Taymans  <wim@fluendo.com>
5359
5360         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5361         (gst_caps_unref), (gst_static_caps_get),
5362         (gst_caps_append_structure):
5363         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5364         Use GSlice when the glib we build against is >= 2.10
5365
5366 2006-07-03  Wim Taymans  <wim@fluendo.com>
5367
5368         * gst/gstelement.c: (gst_element_pads_activate):
5369         Small cleanup in pad activation code.
5370
5371 2006-07-03  Wim Taymans  <wim@fluendo.com>
5372
5373         Patch by: Peter Kjellerstedt <pkj at axis dot com>
5374
5375         * gst/gst-i18n-app.h:
5376         * gst/gst-i18n-lib.h:
5377         * tools/gst-inspect.c: (print_signal_info):
5378         The attached patch will make the inclusion of gettext.h unconditional in
5379         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5380         libintl.h in tools/gst-inspect.c.
5381         This allows use of --disable-nls again and fixes #344642.
5382
5383 2006-07-03  Edward Hervey  <edward@fluendo.com>
5384
5385         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5386         Implement pad blocking on events according to part-block.txt.
5387         More comments on behaviour.
5388         * tests/check/gst/gstevent.c: (test_event):
5389         Send event to peer pad of blocked pad (else it will block).
5390
5391 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5392
5393         * libs/gst/check/gstcheck.c: (gst_check_message_error),
5394         (gst_check_run_suite):
5395           if we get the wrong message, give us the types as string
5396         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5397           Fix a translatable
5398         * tests/check/elements/filesrc.c: (GST_START_TEST):
5399           add a test for trying to open a non-existing file
5400
5401 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5402
5403         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5404           add a test for adding self
5405
5406 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5407
5408         * libs/gst/check/gstcheck.h:
5409           add some assert_ as alias for fail_unless_*
5410         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5411           increase test coverage
5412
5413 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5414
5415         * Makefile.am:
5416           include lcov.mak for lcov coverage generation
5417         * tools/Makefile.am:
5418           add to CLEANFILES
5419
5420 2006-07-02  Edward Hervey  <edward@fluendo.com>
5421
5422         * tests/check/elements/.cvsignore:
5423         moaping
5424
5425 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5426
5427         * configure.ac:
5428           don't set CFLAGS and friends for gcov, done from GST_GCOV now
5429         * tests/check/Makefile.am:
5430           clean up gcov files
5431
5432 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5433
5434         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5435           remove gst_caps_simplify; it was not declared and not used
5436           and deprecated in 0.8
5437
5438 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5439
5440         * docs/faq/gst-uninstalled:
5441           don't put empty paths on PYTHONPATH
5442         * docs/gst/gstreamer-sections.txt:
5443           remove some symbols that are not there
5444
5445 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5446
5447         * gst/gstcaps.c: (gst_caps_compare_structures):
5448           whitespace fixes
5449         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5450         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5451           add more tests
5452
5453 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5454
5455         * libs/gst/dataprotocol/Makefile.am:
5456           build dataprotocol test by linking to the lib, instead of
5457           compiling the source, so we get coverage
5458         * tests/check/Makefile.am:
5459         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5460         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5461           add a test for filesrc
5462
5463 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5464
5465         * tests/check/gst/gststructure.c: (GST_START_TEST),
5466         (gst_structure_suite):
5467           Push coverage from 59.04% to 70.00%
5468
5469 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5470
5471         * tests/check/Makefile.am:
5472           gst-inspect every element; this makes sure that we also get
5473           coverage on element's get/set functions
5474
5475 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5476
5477         * configure.ac:
5478           set CFLAGS and friends to -O0 if gcov is being used
5479           add GCOV LIBS
5480         * gst/Makefile.am:
5481         * libs/gst/base/Makefile.am:
5482         * libs/gst/check/Makefile.am:
5483         * libs/gst/controller/Makefile.am:
5484         * libs/gst/dataprotocol/Makefile.am:
5485         * libs/gst/net/Makefile.am:
5486         * plugins/elements/Makefile.am:
5487         * plugins/indexers/Makefile.am:
5488           add makefile rules to generate gcov data and clean up
5489         * tests/check/Makefile.am:
5490           add a coverage target that generates an html overview
5491           of coverage data
5492
5493 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5494
5495         * tests/check/elements/fakesink.c:
5496         * tests/check/elements/fakesrc.c:
5497         * tests/check/elements/fdsrc.c:
5498         * tests/check/elements/identity.c:
5499         * tests/check/generic/sinks.c: (gst_sinks_suite):
5500         * tests/check/generic/states.c:
5501         * tests/check/gst/gst.c:
5502         * tests/check/gst/gstabi.c:
5503         * tests/check/gst/gstbin.c:
5504         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5505         * tests/check/gst/gstbus.c: (gst_bus_suite):
5506         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5507         * tests/check/gst/gstelement.c:
5508         * tests/check/gst/gstevent.c: (gst_event_suite):
5509         * tests/check/gst/gstghostpad.c:
5510         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5511         * tests/check/gst/gstmessage.c: (gst_message_suite):
5512         * tests/check/gst/gstminiobject.c:
5513         * tests/check/gst/gstobject.c:
5514         * tests/check/gst/gstpad.c:
5515         * tests/check/gst/gstpipeline.c:
5516         * tests/check/gst/gstplugin.c:
5517         * tests/check/gst/gstquery.c: (gst_query_suite):
5518         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5519         * tests/check/gst/gststructure.c:
5520         * tests/check/gst/gstsystemclock.c:
5521         * tests/check/gst/gsttag.c:
5522         * tests/check/gst/gsttask.c: (gst_task_suite):
5523         * tests/check/gst/gstutils.c:
5524         * tests/check/gst/gstvalue.c:
5525         * tests/check/libs/adapter.c:
5526         * tests/check/libs/basesrc.c:
5527         * tests/check/libs/collectpads.c:
5528         * tests/check/libs/controller.c:
5529         * tests/check/libs/gdp.c: (gst_dp_suite):
5530         * tests/check/libs/gstnetclientclock.c:
5531         * tests/check/libs/gstnettimeprovider.c:
5532         * tests/check/libs/libsabi.c: (libsabi_suite):
5533         * tests/check/libs/typefindhelper.c:
5534         * tests/check/pipelines/cleanup.c:
5535         * tests/check/pipelines/parse-launch.c:
5536         * tests/check/pipelines/simple-launch-lines.c:
5537         * tests/check/pipelines/stress.c: (stress_suite):
5538           use the new macro
5539
5540 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5541
5542         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5543         * libs/gst/check/gstcheck.h:
5544           create a macro and function so that the simple unit test
5545           case can be just one macro to create main()
5546
5547 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * gst/gstbin.c: (gst_bin_restore_thyself):
5550         * gst/gstxml.c: (gst_xml_make_element):
5551           Fix deserialisation from XML. Set parent manually
5552           instead of using gst_bin_add(), since gst_bin_add()
5553           will unlink all pads of the element being added.
5554           Fixes #341667.
5555
5556 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5557
5558         Patch by: Peter Kjellerstedt <pkj at axis com>
5559
5560         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5561           Fix missing g_strdup() and double free when using the
5562           --gst-plugin-load command line option (#346097).
5563
5564 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5565
5566         * gst/gstinfo.c:
5567           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5568
5569         * libs/gst/net/gstnetclientclock.c:
5570         * libs/gst/net/gstnettimeprovider.c:
5571           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5572
5573 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5574
5575         * docs/manual/advanced-dataaccess.xml:
5576           Fix buffer probe example compilation in
5577           ADM (#345708).
5578         
5579 2006-06-22  Edward Hervey  <edward@fluendo.com>
5580
5581         * gst/gstelement.c: (gst_element_pads_activate):
5582         We need to deactivate src pads first and then sink pads.
5583         The reason is the src pads might be blocking while holding the streaming
5584         lock, so we need to deactivate them first so that deactivating the sink
5585         pads doesn't block (since it will require the streaming lock).
5586
5587 2006-06-22  Wim Taymans  <wim@fluendo.com>
5588
5589         * libs/gst/base/gstbasetransform.c:
5590         (gst_base_transform_buffer_alloc):
5591         Forgot to remove two unneeded unrefs.
5592         Simplify a check _is_equal allready checks the obvious case.
5593
5594 2006-06-22  Wim Taymans  <wim@fluendo.com>
5595
5596         * docs/design/part-block.txt:
5597         Some docs about what pad_block should do.
5598
5599 2006-06-22  Wim Taymans  <wim@fluendo.com>
5600
5601         * gst/gstcaps.c: (gst_caps_replace):
5602         Fix crasher when passed NULL. Doc clarification.
5603         Optimize for the trivial case.
5604
5605         * gst/gstpipeline.c: (gst_pipeline_change_state):
5606         Small cleanups.
5607
5608         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5609         Small documentation cleanup.
5610
5611         * libs/gst/base/gstbasetransform.c:
5612         (gst_base_transform_buffer_alloc):
5613         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5614         is what we need and it avoids a whole lot of redundant 
5615         refcount operations.
5616
5617 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5620
5621         * docs/manual/advanced-dataaccess.xml:
5622           Fix 'Embedding static elements' section to use
5623           GST_PLUGIN_DEFINE_STATIC (#345607).
5624
5625 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5626
5627         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5628           Attempt to 'fix' spuriously failing test case: it seems like the
5629           timeout of half a second is simply too small when the system is under
5630           load otherwise, and the timeout doesn't really seem to serve any
5631           particular purpose here. Give the pipeline a few seconds to preroll
5632           first, and then give it another half a second to go from PAUSED to
5633           PLAYING and marshal the message into the main thread.
5634
5635 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5636
5637         * tools/gst-feedback-m.m:
5638           Don't only use unversioned tools, try versioned tools as well
5639           (#345086).
5640
5641 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5642
5643         * gst/gstbus.c: (gst_bus_class_init):
5644           Fix some typos, make docs more explicit.
5645
5646 2006-06-20  Wim Taymans  <wim@fluendo.com>
5647
5648         * tests/check/gst/gstghostpad.c: (block_callback),
5649         (GST_START_TEST), (gst_ghost_pad_suite):
5650         Added some more ghostpad tests, mainly blocking
5651         and probes.
5652
5653 2006-06-16  Wim Taymans  <wim@fluendo.com>
5654
5655         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5656         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5657         (gst_file_sink_event), (gst_file_sink_render):
5658         * plugins/elements/gstfilesink.h:
5659         Check if we can seek in the file instead of assuming
5660         we always can. Post an error when we are asked to seek in a
5661         non-seekable file (like a fifo). Fixes #343312.
5662         Some cleanups.
5663
5664 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5665
5666         * tools/gst-launch.1.in:
5667           Un-garble (fourcc) bit in filtered caps section.
5668
5669 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5670
5671         * docs/manual/advanced-autoplugging.xml:
5672         * docs/manual/basics-helloworld.xml:
5673         * docs/manual/highlevel-components.xml:
5674           Don't leak bus reference in sample code.
5675
5676 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5677
5678         * autogen.sh:
5679           Add default for new --enable-plugin-docs switch.
5680
5681         * configure.ac:
5682           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5683           Fixes #344039.
5684
5685         * docs/Makefile.am:
5686           Use new ENABLE_PLUGIN_DOCS conditional.
5687
5688 2006-06-14  Wim Taymans  <wim@fluendo.com>
5689
5690         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5691         Make it clear with a FIXME and a real define what the #if 0
5692         previously disabled.
5693
5694 2006-06-14  Wim Taymans  <wim@fluendo.com>
5695
5696         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5697         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5698         * libs/gst/base/gstbasetransform.c:
5699         (gst_base_transform_sink_eventfunc):
5700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5701         Don't randomly and silently reset a segment when the format 
5702         changes as this is a bug somewhere upstream. Fixes #330379.
5703
5704 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5705
5706         Patch by: Wouter Paesen  <wouter at kangaroot net>
5707
5708         * libs/gst/controller/gstcontroller.c:
5709         (gst_controlled_property_new):
5710           Fix controlling of float properties (#344849).
5711
5712         * tests/check/libs/controller.c:
5713         (gst_test_mono_source_get_property),
5714         (gst_test_mono_source_set_property),
5715         (gst_test_mono_source_class_init), (GST_START_TEST):
5716           While we're at it, add some float stuff to unit test.
5717
5718 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5719
5720         * docs/README:
5721         * docs/images/gdp-header.svg:
5722           add a gdp image
5723         * docs/libs/Makefile.am:
5724         * docs/libs/gdp-header.png:
5725         * libs/gst/dataprotocol/dataprotocol.c:
5726           add it to the API docs
5727         * docs/manual/intro-motivation.xml:
5728           fix typo
5729
5730 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5731
5732         * gst/gst.c: (scan_and_update_registry), (init_post):
5733           If the fork()'ed child process can't write the updated registry cache
5734           file to disk for some reason, make it exit with a failure exit code,
5735           so that the parent can then re-scan the plugins itself and update the
5736           registry structures in memory and work with that (rather than failing
5737           when creating elements because seemingly no plugins are available).
5738           Refactor registry scanning code into separate function for this and
5739           also separate fork() and non-fork() code paths. Fixes #344748.
5740
5741 2006-06-13  Wim Taymans  <wim@fluendo.com>
5742
5743         * docs/manual/advanced-dataaccess.xml:
5744         Fix wrong PluginDesc. Fixes #344755.
5745
5746 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5749           Fix silly bug that prevented us from creating
5750           ~/.gstreamer-0.10 and writing the registry in one
5751           go (the first call to g_mkstemp() would overwrite the
5752           placeholder in the template string, so the second call
5753           to g_mkstemp() after creating the missing directory
5754           would then error out with 'invalid argument').
5755
5756 2006-06-13  Edward Hervey  <edward@fluendo.com>
5757
5758         * gst/gst.c: (init_post):
5759         Free string.
5760
5761 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5762
5763         * gst/glib-compat-private.h:
5764         * gst/glib-compat.c:
5765         * gst/glib-compat.h:
5766         * gst/gstvalue.c: (gst_value_serialize_flags):
5767           remove GLib 2.6 compatibility code
5768
5769 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5770
5771         * gst/parse/Makefile.am:
5772           Fix build with 'make -j N' even more (#340016).
5773
5774 2006-06-12  Wim Taymans  <wim@fluendo.com>
5775
5776         * docs/gst/gstreamer-sections.txt:
5777         Fix docs.
5778
5779 2006-06-12  Wim Taymans  <wim@fluendo.com>
5780
5781         * gst/gstsegment.c: (gst_segment_set_duration),
5782         (gst_segment_set_last_stop), (gst_segment_set_seek),
5783         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5784         (gst_segment_to_running_time), (gst_segment_clip):
5785         Use G_UNLIKELY to help the compiler a bit.
5786
5787 2006-06-12  Wim Taymans  <wim@fluendo.com>
5788
5789         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5790
5791         * gst/gstevent.c: (gst_event_get_type):
5792         * gst/gstmessage.c:
5793         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5794         (gst_pad_push):
5795         constify quark registration strings. Fixes #344115
5796         Avoid unneeded type checking is _pad_push() by internally
5797         calling gst_pad_chain_unchecked().
5798
5799 2006-06-12  Wim Taymans  <wim@fluendo.com>
5800
5801         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5802         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5803         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5804         (gst_buffer_is_span_fast), (gst_buffer_span):
5805         Init _type for consistency.
5806         Use _FLAGS macro to avoid type check.
5807         Avoid unneeded type checks in subbufer code.
5808
5809 2006-06-12  Wim Taymans  <wim@fluendo.com>
5810
5811         * gst/gst.c: (gst_debug_help):
5812         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5813         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5814         (gst_plugin_feature_list_free):
5815         * gst/gstregistry.c: (gst_registry_add_plugin),
5816         (gst_registry_add_feature), (gst_registry_plugin_filter),
5817         (gst_registry_feature_filter), (gst_registry_find_plugin),
5818         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5819         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5820         * gst/gstregistryxml.c: (load_feature),
5821         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5822         * gst/gstminiobject.c: (gst_mini_object_unref),
5823         (gst_mini_object_replace), (gst_value_mini_object_free),
5824         (gst_value_mini_object_copy):
5825         Use _CAST macros to avoid unneeded type checking.
5826         Added some more G_UNLIKELY.
5827
5828 2006-06-12  Wim Taymans  <wim@fluendo.com>
5829
5830         * gst/gstbuffer.h:
5831         Avoid unneeded type checking.
5832         API: GST_BUFFER_IS_DISCONT
5833
5834         * gst/gstminiobject.h:
5835         Avoid type check in flag accessor.
5836
5837         * gst/gstelementfactory.h:
5838         * gst/gstplugin.h:
5839         * gst/gstpluginfeature.h:
5840         Add _CAST macros.
5841         API: GST_ELEMENT_FACTORY_CAST
5842         API: GST_PLUGIN_CAST
5843         API: GST_PLUGIN_FEATURE_CAST
5844
5845 2006-06-12  Wim Taymans  <wim@fluendo.com>
5846
5847         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5848         (gst_object_unref):
5849         Add G_UNLIKELY in type registration.
5850         Avoid type check in _ref/_unref since that is also
5851         done in glib.
5852
5853 2006-06-12  Wim Taymans  <wim@fluendo.com>
5854
5855         * gst/gsterror.c: (gst_g_error_get_type):
5856         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5857         (gst_static_pad_template_get_type):
5858         * gst/gsttaglist.c: (gst_tag_list_get_type):
5859         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5860         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5861         * gst/gsturi.c: (gst_uri_handler_get_type):
5862         * gst/gstvalue.c: (gst_date_get_type):
5863         * gst/gstxml.c: (gst_xml_get_type):
5864         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5865         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5866         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5867         Add G_UNLIKELY in type registration.
5868
5869 2006-06-12  Wim Taymans  <wim@fluendo.com>
5870
5871         * tools/gst-inspect.c: (print_signal_info):
5872         Properly print enum values.
5873
5874 2006-06-12  Wim Taymans  <wim@fluendo.com>
5875
5876         * gst/gstinfo.c: (gst_debug_set_active),
5877         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5878         * gst/gstinfo.h:
5879         Add some G_[UN]LIKELY.
5880         Maintain __gst_debug_min to avoid formatting the arguments of
5881         debug messages that will be dropped anyway to avoid a lot of 
5882         overhead from the debugging system.
5883
5884 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5885
5886         * po/POTFILES.in:
5887         * po/POTFILES.skip:
5888           add missing files containing translatable strings, tell intltool about
5889           one exception
5890
5891 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5892
5893         * tests/check/libs/.cvsignore:
5894         add test-binary to ignore list
5895
5896 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5897
5898         * docs/libs/gstreamer-libs-docs.sgml:
5899         reorder (put dp into a chapter) and indent
5900
5901 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5902
5903         * configure.ac:
5904           back to HEAD
5905
5906 === release 0.10.8 ===
5907
5908 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5909
5910         * configure.ac:
5911           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5912
5913 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5914
5915         * gst/gst.c: (init_post):
5916           move pid declaration to declaration block
5917
5918 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5919
5920         * gst/gst.c: (init_post):
5921           use _exit() instead of exit() in our forked child; this ensures
5922           that none of the registered exit handlers from whatever is using
5923           GStreamer get executed.  This fixes gnome-mixer-applet failing
5924           to load, because ORBit would shut down.
5925           Spotted by: Edward Hervey  <edward@fluendo.com>
5926           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5927           Fixes #344474
5928
5929 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5930
5931         * configure.ac:
5932           back to TRUNK
5933
5934 === release 0.10.7 ===
5935
5936 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5937
5938         * configure.ac:
5939           releasing 0.10.7, "Soepeke, ik zie ou"
5940
5941 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5942
5943         * configure.ac:
5944         * po/af.po:
5945         * po/az.po:
5946         * po/bg.po:
5947         * po/ca.po:
5948         * po/cs.po:
5949         * po/de.po:
5950         * po/en_GB.po:
5951         * po/fr.po:
5952         * po/it.po:
5953         * po/nb.po:
5954         * po/nl.po:
5955         * po/ru.po:
5956         * po/sq.po:
5957         * po/sr.po:
5958         * po/sv.po:
5959         * po/tr.po:
5960         * po/uk.po:
5961         * po/vi.po:
5962         * po/zh_CN.po:
5963         * po/zh_TW.po:
5964         * win32/common/config.h:
5965           0.10.6.2 prerelease
5966
5967 2006-06-07  Wim Taymans  <wim@fluendo.com>
5968
5969         * gst/gstindex.c: (gst_index_gtype_resolver):
5970         * tools/gst-xmlinspect.c: (print_plugin_info):
5971         Fix leak spotted by coverity checker. Fixes #343827
5972         Fix another other leak found by paolo borelli.
5973
5974 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5975
5976         * libs/gst/dataprotocol/dataprotocol.c:
5977         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5978         (gst_dp_version_get_type), (gst_dp_init),
5979         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5980         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5981         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5982         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5983         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5984         (gst_dp_packetizer_free):
5985         * libs/gst/dataprotocol/dataprotocol.h:
5986           API: add a GstDPPacketizer object, and create/free functions
5987           API: add GstDPVersion enum
5988           Add 1.0 event function that uses the string serialization
5989           Serialize more useful buffer flags
5990           Fixes #343988
5991
5992 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5993
5994         * tests/check/Makefile.am:
5995         * tests/check/gst/gstabi.c:
5996         * tests/check/gst/struct_ppc64.h:
5997         * tests/check/libs/libsabi.c:
5998         * tests/check/libs/struct_ppc64.h:
5999           add ppc64 structure sizes
6000
6001 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6002
6003         * tests/check/Makefile.am:
6004         * tests/check/gst/gstabi.c:
6005         * tests/check/gst/struct_x86_64.h:
6006         * tests/check/libs/libsabi.c:
6007         * tests/check/libs/struct_x86_64.h:
6008           generate and add structure size lists for x86_64
6009
6010 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6011
6012         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6013         * libs/gst/check/gstcheck.h:
6014           factor out the method from tests that checks size of structures,
6015           and add code to generate the header containing these sizes
6016         * tests/check/gst/gstabi.c: (GST_START_TEST):
6017         * tests/check/gst/struct_i386.h:
6018         * tests/check/libs/libsabi.c: (GST_START_TEST):
6019         * tests/check/libs/struct_i386.h:
6020           use it
6021
6022 2006-06-06  Michael Smith  <msmith@fluendo.com>
6023
6024         * gst/gstsegment.h:
6025           Don't use c++-style comments, fixes #343929
6026
6027 2006-06-05  Edward Hervey  <edward@fluendo.com>
6028
6029         * gst/gst.c:
6030         plugin_paths is not used if we build without registry support.
6031
6032         * gst/gstsegment.c: (gst_segment_copy): 
6033         _copy() was always returning NULL...
6034
6035 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6036
6037         * libs/gst/dataprotocol/dataprotocol.c:
6038         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6039         (gst_dp_packet_from_event):
6040           factor out CRC code
6041
6042 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6043
6044         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6045           make sure we unset caps
6046
6047 2006-06-02  Michael Smith  <msmith@fluendo.com>
6048
6049         * libs/gst/check/gstcheck.c: (gst_check_init),
6050         (gst_check_chain_func):
6051         * libs/gst/check/gstcheck.h:
6052           Add a cond/mutex to the check support lib, signal this whenever we
6053           add to the buffers list. This will allow tests to not busy-wait on
6054           the buffer-list.
6055
6056 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6057
6058         * libs/gst/dataprotocol/dataprotocol.c:
6059         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6060         (gst_dp_packet_from_event):
6061           factor out some common header init code
6062
6063 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6064
6065         * docs/libs/gstreamer-libs-sections.txt:
6066         * docs/libs/tmpl/gstdataprotocol.sgml:
6067         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6068         * libs/gst/dataprotocol/dataprotocol.h:
6069           API: make gst_dp_crc() public
6070
6071 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
6072
6073         * plugins/indexers/gstindexers.c: (plugin_init):
6074         conditionally register fileindexer (fixes #343598)
6075
6076 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
6077
6078         * gst/gsttagsetter.h:
6079         Can't cast ifaces to a class
6080
6081         * libs/gst/net/gstnetclientclock.h:
6082         * libs/gst/net/gstnettimeprovider.h:
6083         * plugins/elements/gstfakesink.h:
6084         * plugins/elements/gstfakesrc.h:
6085         * plugins/elements/gstfdsink.h:
6086         * plugins/elements/gstfdsrc.h:
6087         * plugins/elements/gstfilesink.h:
6088         * plugins/elements/gstfilesrc.h:
6089         * plugins/elements/gstidentity.h:
6090         * plugins/elements/gstqueue.h:
6091         * plugins/elements/gsttee.h:
6092         * plugins/indexers/gstfileindex.c:
6093         * plugins/indexers/gstmemindex.c:
6094         * tests/old/examples/plugins/example.h:
6095         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6096
6097 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6098
6099         * libs/gst/dataprotocol/dataprotocol.c:
6100         (gst_dp_header_from_buffer):
6101           make sure we zero the whole ABI-compatible area
6102
6103 2006-06-01  Wim Taymans  <wim@fluendo.com>
6104
6105         Patch by: Alessandro Decina <alessandro at nnva dot org>
6106
6107         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6108         Make sure the EOS flag is cleared from pads after a flush
6109         or stop. Fixes #343538.
6110
6111         * tests/check/libs/collectpads.c: (GST_START_TEST),
6112         (gst_collect_pads_suite):
6113         Added test for collectpads reusage after EOS.
6114
6115 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
6116
6117         * gst/gst.c:
6118          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6119         * win32/common/libgstbase.def:
6120          export gst_collect_pads_set_flushing
6121         * win32/common/libgstreamer.def:
6122          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6123          gst_value_fraction_multiply
6124         * win32/vs6/gst_inspect.dsp:
6125          add a link to intl.lib
6126
6127 2006-05-30  Wim Taymans  <wim@fluendo.com>
6128
6129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6130         (gst_collect_pads_chain):
6131         Handle the case where a pad is removed from the collection
6132         that could cause the other pads to become collectable.
6133
6134 2006-05-30  Wim Taymans  <wim@fluendo.com>
6135
6136         * gst/gstelement.c:
6137         Clarify the use of _release_request_pad() and
6138         _get_request_pad() a bit better.
6139
6140         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6141         (gst_adapter_take_buffer):
6142         Fix some doc and comment typos.
6143
6144 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6145
6146         * docs/gst/gstreamer-sections.txt:
6147         * docs/libs/gstreamer-libs-sections.txt:
6148           add declared symbols
6149
6150 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
6151
6152         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6153         Add debug that can be enabled using a #define at the top of the file,
6154         for dumping stats about how late/early we were when waking up from
6155         waiting on the clock.
6156
6157 2006-05-30  Wim Taymans  <wim@fluendo.com>
6158
6159         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6160         When rebuilding the pad list, don't leak the previous list.
6161
6162 2006-05-30  Wim Taymans  <wim@fluendo.com>
6163
6164         Patch by: Lutz Mueller <lutz at topfrose dot de>
6165
6166         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6167         (gst_base_src_get_query_types), (gst_base_src_update_length):
6168         Publish supported query types.
6169         Update last_stop field in get_range mode so the position
6170         query works. Fixes #342321.
6171
6172 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
6173
6174         * docs/gst/gstreamer-sections.txt:
6175         * gst/gsttaglist.c: (_gst_tag_initialize):
6176         * gst/gsttaglist.h:
6177           API: add GST_TAG_PREVIEW_IMAGE (#343341).
6178
6179 2006-05-30  Wim Taymans  <wim@fluendo.com>
6180
6181         Patch by: Alessandro Decina <alessandro at nnva dot org>
6182
6183         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6184         Unlock mutex when removing an unknown pad.
6185         Fixes #343334.
6186
6187         * tests/check/Makefile.am:
6188         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6189         (push_event), (setup), (teardown), (GST_START_TEST),
6190         (gst_collect_pads_suite), (main):
6191         Added collecpads check, disabled for now as check crashes for
6192         some reason.
6193
6194 2006-05-29  Wim Taymans  <wim@fluendo.com>
6195
6196         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6197         Don't leak pads lists.
6198
6199 2006-05-29  Wim Taymans  <wim@fluendo.com>
6200
6201         * docs/libs/gstreamer-libs-sections.txt:
6202         * libs/gst/base/gstcollectpads.c:
6203         (gst_collect_pads_set_flushing_unlocked),
6204         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6205         (gst_collect_pads_stop):
6206         * libs/gst/base/gstcollectpads.h:
6207         API: gst_collect_pads_set_flushing()
6208         Added api to set the pads to flushing, useful for seeking
6209         code in elements using collectpads.
6210         Clear segment when receiving a flush.
6211
6212 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
6213
6214         * gst/gst.c: (add_path_func), (init_post):
6215           Don't scan registry paths passed via --gst-plugin-path immediately
6216           (will crash, because absolutely nothing is set up and no types are
6217           registered etc.); do this later in init_post(). Fixes #343057.
6218
6219 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6220
6221         * gst/gst.c: (init_post):
6222           if we have fork, fork while reading/rebuilding the registry
6223           so the parent doesn't take the hit of having all plugins loaded
6224           in memory.  Fixes #342777.
6225         * configure.ac:
6226           Check if we have fork()
6227         * win32/common/config.h.in:
6228           no fork() on win32
6229
6230 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
6231
6232         * plugins/elements/gstelements.c:
6233         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6234         (gst_file_src_init), (gst_file_src_set_property),
6235         (gst_file_src_get_property), (gst_file_src_start):
6236         * plugins/elements/gstfilesrc.h:
6237           API: GstFileSrc::use-mmap
6238
6239         Add a use-mmap property to enable easier testing of all code paths.
6240         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6241         in the absence of gnomevfssrc. (Closes #340501)
6242
6243 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6244
6245         * tools/gst-inspect.c:
6246         Add missing include, removes warning of ngettext not being defined on
6247         some arches.
6248
6249 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
6250
6251         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6252         Handle NULL input and output pointers silently as a failed conversion,
6253         rather than g_warnings.
6254
6255 2006-05-25  Wim Taymans  <wim@fluendo.com>
6256
6257         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6258         Initialize variable before using. Fixes #342820.
6259
6260 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6261
6262         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6263           Fix off-by-one bug that would only allow peeks of N-1 bytes
6264           from the start even if the buffer to typefind on contains
6265           in fact N bytes of data (makes vorbis typefinding from a
6266           vorbis identification header buffer work).
6267
6268         * tests/check/Makefile.am:
6269         * tests/check/libs/.cvsignore:
6270         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6271         (gst_typefindhelper_suite), (main), (foobar_typefind),
6272         (plugin_init):
6273           Add very basic unit test for gst_type_find_helper_for_buffer()
6274           that checks for the problem fixed above.
6275
6276 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6277
6278         * tools/gst-inspect.c: (print_interfaces),
6279         (print_element_properties_info), (print_element_list), (main):
6280           add more translatable strings
6281
6282 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
6283
6284         Patch by: Julien Moutte  <julien at moutte net>
6285
6286         * docs/gst/gstreamer-sections.txt:
6287           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6288           
6289         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6290         (gst_fake_sink_preroll):
6291         * plugins/elements/gstfakesink.h:
6292           API: Add new GstFakeSink::preroll-handoff signal (#337100).
6293
6294 2006-05-23  Wim Taymans  <wim@fluendo.com>
6295
6296         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6297         * gst/gstpad.h:
6298         Added _CUSTOM error and success GstFlowReturn that can be
6299         used be elements internally. 
6300         Added macro to check for SUCCESS flowreturns.
6301         API: GST_FLOW_CUSTOM_SUCCESS
6302         API: GST_FLOW_CUSTOM_ERROR
6303         API: GST_FLOW_IS_SUCCESS
6304
6305         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6306         Added check for GstFlowReturn sanity.
6307
6308 2006-05-23  Wim Taymans  <wim@fluendo.com>
6309
6310         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6311
6312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6313         (gst_collect_pads_event):
6314         clear/reset segment info in FLUSH_STOP.
6315         Fixes #336929.
6316
6317 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
6318
6319         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6320         (gst_collect_pads_check_collected):
6321         Flush queued buffer on _stop(), fixes playing again (#342454)
6322
6323 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6324
6325         * tests/check/gst/gststructure.c: (GST_START_TEST),
6326         (gst_structure_suite):
6327           add a test for a complete structure
6328
6329 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6330
6331         * docs/faq/developing.xml:
6332         * docs/faq/faq.xml:
6333         * docs/faq/troubleshooting.xml:
6334         * docs/faq/using.xml:
6335           Some minor FAQ updates that won't change the fact that
6336           our FAQ is badly structured, full of information hardly
6337           anyone new to GStreamer needs to know and lacking lots
6338           of information people constantly ask for.
6339           
6340 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
6341
6342         * gst/gstpad.c: (gst_pad_set_caps):
6343           Short-circuit gst_pad_set_caps if setting the existing
6344           caps pointer again, and avoid printing debug and 
6345           reffing/unreffing the caps.
6346
6347         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6348           There's actually no need to set the caps before pushing -
6349           the acceptcaps method will handle it anyway.
6350
6351 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6352
6353         * docs/gst/gstreamer-sections.txt:
6354         * win32/common/libgstreamer.def:
6355         * gst/gstutils.c: (gst_element_seek_simple):
6356         * gst/gstutils.h:
6357           API: add gst_element_seek_simple() (#342238).
6358
6359 2006-05-18  Edward Hervey  <edward@fluendo.com>
6360
6361         * gst/gsttypefind.c: (gst_type_find_get_type):
6362         * gst/gsttypefind.h:
6363         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6364         registered for GstTypeFind pointers. This allows wrapping the structure
6365         in bindings (i.e. gst-python).
6366
6367 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * gst/gsttagsetter.c:
6370           Docs additions and fixes (see #339918).
6371
6372 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6373
6374         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6375         The caps intersection algorithm can produce multiple copies of the
6376         caps. Until that is fixed, we need to simplify the result to be
6377         sure whether the allowed caps are fixed or not.
6378
6379         * plugins/elements/gstqueue.c: (gst_queue_init),
6380         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6381         (gst_queue_push_one):
6382         Proxied buffer alloc should not set the caps on the source pad.
6383         When pushing buffers, we always accept the caps change that triggers.
6384         This prevents negotiation errors caused by caps changing mid-stream 
6385         and then being refused on our source pad (because upstream is now
6386         refusing those caps).
6387
6388 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6389
6390         * tests/examples/helloworld/helloworld.c: (main):
6391           Must plug audioconvert and audioresample between decoder
6392           and audio sink.
6393
6394 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
6395
6396         * gst/gstregistryxml.c: (read_string), (load_pad_template),
6397         (load_feature), (load_plugin):
6398         Allow empty strings for some of the plugin fields so we don't 
6399         drop valid plugin entries that were written out correctly
6400         (Fixes #341479)
6401
6402 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
6403         
6404         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6405           Use g_remove and g_rename instead of remove and rename that don't 
6406           handle utf8 characters. rename was failing for users who had specific
6407           characters in their name then the registry was built at each 
6408           gstreamer init.
6409         * win32/vs6/gst_inspect.dsp:
6410         * win32/vs6/gst_launch.dsp:
6411         * win32/vs6/libgstbase.dsp:
6412         * win32/vs6/libgstcoreelements.dsp:
6413         * win32/vs6/libgstreamer.dsp:
6414           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
6415           build of libgstreamer and clean unused libraries in projects link 
6416           settings.
6417
6418 2006-05-17  Edward Hervey  <edward@fluendo.com>
6419
6420         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6421         The queue is not responsible for pushing an EOS when receiving a fatal
6422         flow error. It's up to the real element driving the pipeline to do that.
6423
6424 2006-05-16  Edward Hervey  <edward@fluendo.com>
6425
6426         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6427         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6428         buffer returned a fatal error. It should just send an EOS and stop
6429         its task.
6430         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6431         when pushing buffers on the queue and will be able to handle the event.
6432
6433 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6434
6435         * docs/manual/basics-bins.xml:
6436         * docs/manual/basics-init.xml:
6437           Fix typos and minor errors in sample code (#341856).
6438
6439 2006-05-16  Wim Taymans  <wim@fluendo.com>
6440
6441         * docs/design/part-qos.txt:
6442         Fix indexes in formulas to make more sense.
6443
6444 2006-05-15  Wim Taymans  <wim@fluendo.com>
6445
6446         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6447         Don't report POSITION based on clock time if sync is
6448         disabled in a sink.
6449
6450 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
6451
6452         * gst/gstobject.h:
6453           Add cast to make compiler happy - refcount variable was a gint
6454           in GstObject but is a guint in GObject and g_atomic_int_get()
6455           wants a gint *.
6456
6457 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6458
6459         * gst/parse/Makefile.am:
6460           chain commands using &&, which also makes parallel make work
6461
6462 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * docs/gst/gstreamer-sections.txt:
6465         * gst/gstevent.c:
6466         * gst/gstevent.h:
6467         * gst/gstmessage.h:
6468           Minor docs fixes.
6469
6470 === release 0.10.6 ===
6471
6472 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
6473
6474         * configure.ac:
6475           releasing 0.10.6, "Take the cannoli"
6476
6477 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6478
6479         * tools/gst-launch.c: (print_tag):
6480           Fix use of uninitialized variable in the hypothetical
6481           case that some broken plugin creates a GST_TAG_IMAGE
6482           tag containing a NULL buffer (#341667).
6483
6484 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6485
6486         * tools/gst-launch.c: (print_tag):
6487           Print something more intelligible for image tags when
6488           using the -t switch (#341556).
6489
6490 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6491
6492         * Makefile.am:
6493           updates for win32
6494         * configure.ac:
6495           define GST_MAJORMINOR so we have it available in win32/common/config.h
6496           Possibly remove it from our Makefile.am files later
6497         * win32/common/config.h:
6498         * win32/common/config.h.in:
6499           added GST_MAJORMINOR
6500         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6501         * win32/common/gstversion.h:
6502           updated
6503
6504 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6505
6506         * win32/MANIFEST:
6507           Update win32 files listing.
6508         * win32/common/gstversion.h:
6509           Add GST_MAJORMINOR definition.
6510         * win32/common/libgstreamer.def:
6511           Add new exported functions.
6512           
6513 2006-05-12  Michael Smith  <msmith@fluendo.com>
6514
6515         * gst/gstplugin.c: (gst_plugin_load_file):
6516           If an so file has no plugin entry point, unload the module.
6517
6518 2006-05-11  Wim Taymans  <wim@fluendo.com>
6519
6520         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6521         (gst_queue_set_property):
6522         Don't forget to signal the _chain or _loop function 
6523         when the queue size or thresholds change since that might
6524         cause them to make progres again.
6525
6526 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6527
6528         * gst/gstclock.c: (gst_clock_class_init):
6529         * gst/gstindex.c: (gst_index_class_init):
6530         * gst/gstobject.c: (gst_object_class_init):
6531         * gst/gstpad.c: (gst_pad_class_init):
6532         * gst/gstpipeline.c: (gst_pipeline_class_init):
6533         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6534         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6535         * libs/gst/base/gstbasetransform.c:
6536         (gst_base_transform_class_init):
6537         * libs/gst/net/gstnetclientclock.c:
6538         (gst_net_client_clock_class_init):
6539         * libs/gst/net/gstnettimeprovider.c:
6540         (gst_net_time_provider_class_init):
6541         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6542         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6543         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6544         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6545         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6546         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6547         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6548         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6549         * plugins/elements/gsttee.c: (gst_tee_class_init):
6550         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6551         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6552           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6553
6554 2006-05-11  Wim Taymans  <wim@fluendo.com>
6555
6556         * gst/gstbuffer.c: (_gst_buffer_initialize):
6557         Register subbufer along with the buffer type so that
6558         it does not accidentally gets registered from N
6559         different streaming threads in a non threadsafe way.
6560
6561 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6562
6563         * gst/gstbuffer.h:
6564         * gst/gstevent.h:
6565         * gst/gstmessage.h:
6566           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6567           gst_event_ref() and gst_message_ref() functions again
6568           (ugly hack, please do fix if there's a better way besides
6569           overrides.txt, which doesn't seem to work).
6570
6571 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6572
6573         * libs/gst/check/gstcheck.h:
6574           add an assert for setting state to avoid lots of repetitive code
6575           in the future
6576
6577 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6578
6579         * gst/gstvalue.c: (gst_value_serialize_flags):
6580           fix a leak if no flags are set
6581         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6582           fix leak in tests
6583
6584 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6585
6586         * docs/manual/basics-pads.xml:
6587           Expand a bit on caps and filtered links and update
6588           examples that were still using the no longer existing
6589           gst_pad_link_filtered() (#338206).
6590
6591 2006-05-10  Wim Taymans  <wim@fluendo.com>
6592
6593         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6594         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6595         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6596         (gst_collect_pads_stop):
6597         * libs/gst/base/gstcollectpads.h:
6598         No need to call _stop in _finalize.
6599         Iterate the main pad list in _finalize.
6600         Added some more debug.
6601         Free lists and data in the right order.
6602         Also free data whem doing _remove_pad when stopped for
6603         backward compatibility protect ::started with PAD_LOCK as
6604         well.
6605
6606 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6607
6608         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6609         (gst_structure_parse_value):
6610           add some comments
6611           rename a method so that it actually says what it does better
6612
6613 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6614
6615         * gst/gstevent.c: (_gst_event_initialize):
6616         * gst/gstformat.c: (_gst_format_initialize):
6617           make sure some essential types used by events are registered
6618           as part of gst_init()
6619         * gst/gstvalue.c: (gst_value_serialize_flags):
6620           if no flags are set, serialize them to a value that represents NONE
6621           so that deserializing them works
6622         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6623           add tests for serialization and deserialization of flags
6624
6625 2006-05-10  Wim Taymans  <wim@fluendo.com>
6626
6627         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6628         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6629         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6630         (gst_collect_pads_event), (gst_collect_pads_chain):
6631         Update docs.
6632         Better debug info.
6633         Catch and return errors from the collect function
6634         Refuse data on eos pads.
6635
6636 2006-05-10  Edward Hervey  <edward@fluendo.com>
6637
6638         * gst/gstinterface.h:
6639         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6640         GInterface type checking.
6641         They were previously using non-defined macros.
6642
6643 2006-05-09  Wim Taymans  <wim@fluendo.com>
6644
6645         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6646         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6647         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6648         (gst_collect_pads_start), (gst_collect_pads_stop),
6649         (gst_collect_pads_peek), (gst_collect_pads_pop),
6650         (gst_collect_pads_available), (gst_collect_pads_read),
6651         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6652         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6653         (gst_collect_pads_chain):
6654         * libs/gst/base/gstcollectpads.h:
6655         Clean up the mess that is collectpads, add comments and
6656         FIXMEs where needed.
6657         Maintain a separate pad list so we can add pads while
6658         collecting the other ones. For this we need a new separate 
6659         lock (see comics).
6660         Fix memory leak in finalize.
6661         Refactor some weird code to set/unset pad flushing flags, mark
6662         with comments.
6663         Don't crash in _available, _read, _flush when we're EOS.
6664
6665         * tests/check/libs/.cvsignore:
6666         Ignore adapter check binary.
6667
6668 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6669
6670         * gst/gstindex.c: (gst_index_resolver_get_type):
6671         * plugins/elements/gstfakesink.c:
6672         (gst_fake_sink_state_error_get_type):
6673         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6674         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6675         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6676           Const-ify GEnumValue arrays.
6677
6678 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6679
6680         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6681           Add test case for flags + gst_buffer_make_metadata_writable().
6682
6683 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6684
6685         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6686           gst_buffer_make_metadata_writable() should maintain the
6687           buffer flags (those that make sense at least) (see #340859).
6688
6689 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6690
6691         * tools/gst-inspect.c:
6692         * tools/gst-launch.c:
6693         * tools/gst-typefind.c:
6694         * tools/gst-xmlinspect.c:
6695         * tools/tools.h:
6696           Fix up includes: need to include stdlib.h in tools.h for exit().
6697
6698 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6699
6700         * gst/gsttaglist.c: (_gst_tag_initialize):
6701         * gst/gsttaglist.h:
6702           API: add GST_TAG_IMAGE tag (#340721).
6703
6704 2006-05-08  Wim Taymans  <wim@fluendo.com>
6705
6706         * gst/gstquery.c:
6707         Added some docs for the segment query.
6708
6709 2006-05-08  Wim Taymans  <wim@fluendo.com>
6710
6711         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6712         (gst_base_src_loop), (gst_base_src_change_state):
6713         Always push non-flushing serialized events in the streaming 
6714         thread.
6715
6716 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6717
6718         * gst/gsterror.c: (_gst_stream_errors_init):
6719           Add a missing error string.
6720
6721 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6722
6723         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6724         Add applied_rate to the debug
6725
6726         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6727         Copy applied_rate into the outgoing NEWSEGMENT event
6728
6729 2006-05-08  Wim Taymans  <wim@fluendo.com>
6730
6731         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6732
6733         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6734         (gst_base_sink_change_state):
6735         call ::unlock before taking the PREROLL_LOCK so we can safely
6736         handle elements that lock in ::render.
6737         Fixes #340174.
6738
6739 2006-05-08  Edward Hervey  <edward@fluendo.com>
6740
6741         * autogen.sh: (CONFIGURE_DEF_OPT): 
6742         Darwin's libtoolize is in fact called glibtoolize.
6743         Adding glibtoolize to the list of accepted names for libtoolize.
6744
6745 2006-05-08  Wim Taymans  <wim@fluendo.com>
6746
6747         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6748         Unify error handling, don't post an error message
6749         when a push() returns EOS but perform our normal EOS
6750         handling code. Fixes #340772.
6751
6752 2006-05-08  Wim Taymans  <wim@fluendo.com>
6753
6754         * docs/design/part-overview.txt:
6755         Make upsteam/downstream concepts more clear.
6756         Give an example of serialized/non-serialized events.
6757
6758         * docs/design/part-events.txt:
6759         * docs/design/part-streams.txt:
6760         Mention applied_rate.
6761
6762         * docs/design/part-trickmodes.txt:
6763         Mention applied rate, flesh out some more use cases.
6764
6765         * gst/gstevent.c: (gst_event_new_new_segment),
6766         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6767         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6768         (gst_event_parse_tag), (gst_event_new_buffer_size),
6769         (gst_event_parse_buffer_size), (gst_event_new_qos),
6770         (gst_event_parse_qos), (gst_event_parse_seek),
6771         (gst_event_new_navigation):
6772         * gst/gstevent.h:
6773         Add applied_rate field to NEWSEGMENT event.
6774         API: gst_event_new_new_segment_full()
6775         API: gst_event_parse_new_segment_full()
6776
6777         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6778         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6779         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6780         * gst/gstsegment.h:
6781         Add applied_rate to GstSegment structure.
6782         Make calculation of stream_time and running_time more correct
6783         wrt rate/applied_rate.
6784         Add some more docs.
6785         API: GstSegment::applied_rate field
6786         API: gst_segment_set_newsegment_full();
6787
6788         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6789         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6790         * libs/gst/base/gstbasetransform.c:
6791         (gst_base_transform_sink_eventfunc),
6792         (gst_base_transform_handle_buffer):
6793         Parse and use applied_rate in the GstSegment field.
6794
6795         * tests/check/gst/gstevent.c: (GST_START_TEST):
6796         Add check for applied_rate field.
6797
6798         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6799         (gstsegments_suite):
6800         Add more checks for various GstSegment operations.
6801
6802 2006-05-08  Wim Taymans  <wim@fluendo.com>
6803
6804         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6805         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6806         (gst_base_sink_get_position), (gst_base_sink_change_state):
6807         Store the sync time of the buffer end position separatly in a
6808         new variable eos_rtime so we can properly sync the EOS event.
6809         Fixes #340697.
6810         Fix the docs for gst_base_sink_set_qos_enabled().
6811         Don't set segment start to invalid value when we receive a 
6812         non TIME newsegment.
6813         get closer to handling position reporting for negative rates 
6814         correctly.
6815
6816 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6817
6818         * gst/gstcaps.c:
6819         Docs about how to print caps for debug purposes.
6820
6821         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6822         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6823
6824 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6825
6826         * gst/gstelement.c:
6827           use full enum names and preprend a '%' in docs strings to make recent 
6828           gtk-doc turn that into a link
6829
6830 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6831
6832         * docs/manual/basics-bins.xml:
6833         * docs/manual/basics-bus.xml:
6834         * docs/manual/basics-pads.xml:
6835           Some typo fixes, some additions, some clarifications. 
6836
6837 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6838
6839         * tools/gst-inspect.c: (main):
6840         * tools/gst-launch.c: (main):
6841         * tools/gst-run.c: (main):
6842         * tools/gst-typefind.c: (main):
6843         * tools/gst-xmlinspect.c: (main):
6844           Use the string passed to g_option_context_new() for
6845           what it's intended for - the program name is already
6846           printed elsewhere.
6847
6848 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6849
6850         * tools/Makefile.am:
6851         * tools/gst-inspect.c: (main):
6852         * tools/gst-launch.c: (main):
6853         * tools/gst-xmlinspect.c: (main):
6854         * tools/tools.h:
6855           Add back --version command line option (#340460).
6856
6857         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6858           Add --version option and use GOption for argument parsing; refactor a
6859           bit; accept directories as arguments and recurse into them; lastly,
6860           print a decent error message when things go wrong.
6861
6862 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6863
6864         * docs/manual/basics-bins.xml:
6865         Don't mention GstThread (#340611)
6866         * docs/manual/basics-elements.xml:
6867         Update link to GObject tutorial (#340607)
6868         
6869 2006-05-05  Wim Taymans  <wim@fluendo.com>
6870
6871         * gst/gstbuffer.h:
6872         * gst/gstminiobject.c:
6873         Add note about refcounting and miniobject/buffer writeability
6874         to docs. Fixes #340604
6875
6876         * gst/gstelementfactory.h:
6877         Added some explanation about @klass.
6878
6879 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6880
6881         * docs/manual/intro-motivation.xml:
6882         * docs/manual/manual.xml:
6883         Avoid CORBA & Bonobo references (#340598)
6884
6885 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6886
6887         * docs/manual/basics-bus.xml:
6888         * docs/manual/basics-pads.xml:
6889         Fix up some inaccuracies and omissions (#340609)
6890         
6891 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6892
6893         * gst/gstghostpad.c:
6894           Small typo in docs (#340625)
6895
6896 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6897
6898         * gst/parse/Makefile.am:
6899           Make 'make -j' proof (see #340698).
6900
6901 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6902
6903         * configure.ac:
6904           Require GLib-2.8 here as well.
6905
6906 2006-05-05  Wim Taymans  <wim@fluendo.com>
6907
6908         * gst/glib-compat.c:
6909         * gst/gst.c: (init_pre):
6910         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6911         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6912         (gst_object_dispatch_properties_changed):
6913         * gst/gstobject.h:
6914         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6915         * gst/gststructure.c: (gst_structure_set_valist):
6916         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6917         Remove pre glib2.8 compatibility, fixes #340508
6918
6919 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6920
6921         * gst/gsttaglist.h:
6922           Mention type of tags in doc blurbs.
6923
6924 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6925
6926         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6927         (gst_pad_configure_src), (gst_pad_push):
6928         Restore acceptcaps checking behaviour now that good plugins have
6929         been released.
6930
6931 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6932
6933         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6934
6935         * gst/gst.c:
6936         * gst/gstbus.c:
6937         * gst/gstclock.c:
6938         * gst/gstevent.c:
6939         * gst/gstformat.c:
6940         * gst/gstmessage.c:
6941         * gst/gstparse.c:
6942         * gst/gstquery.c:
6943         * gst/gstutils.c:
6944         * gst/parse/Makefile.am:
6945         * libs/gst/base/gstadapter.c:
6946         * libs/gst/base/gstbasesrc.c:
6947         * libs/gst/base/gstpushsrc.c:
6948         * libs/gst/base/gsttypefindhelper.c:
6949         * plugins/elements/gstfakesrc.c:
6950         * plugins/elements/gstidentity.c:
6951           Make sure gstprivate.h and/or config.h are
6952           always included first, otherwise some of our
6953           defines (like _FILE_OFFSET_BITS) might be
6954           redefined in the system headers. Fixes build
6955           on opensolaris (#340016).
6956
6957 2006-05-04  Wim Taymans  <wim@fluendo.com>
6958
6959         * docs/libs/gstreamer-libs-sections.txt:
6960         API: addition: gst_adapter_take_buffer()
6961         
6962         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6963         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6964         (gst_adapter_available_fast):
6965         * libs/gst/base/gstadapter.h:
6966         Prepare for optimizing the hell out of this hugely inefficient
6967         piece of code. 
6968         Added gst_adapter_take_buffer() so we can at least start thinking
6969         about subbuffering and merging.
6970         Added some comments.
6971
6972         * tests/check/Makefile.am:
6973         * tests/check/libs/adapter.c: (GST_START_TEST),
6974         (gst_adapter_suite), (main):
6975         Added GstAdapter check.
6976
6977 2006-05-04  Wim Taymans  <wim@fluendo.com>
6978
6979         * docs/design/part-overview.txt:
6980         Fix some typos, add blurb about buffer flags.
6981
6982 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6983
6984         * docs/libs/gstreamer-libs-sections.txt:
6985           make sure GstBaseTransformClass shows up in the docs
6986         * libs/gst/base/gstbasetransform.c:
6987         * libs/gst/base/gstbasetransform.h:
6988           move docs so gtk-doc picks it up now
6989
6990 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6991
6992         * docs/libs/gstreamer-libs-sections.txt:
6993           add missing symbols to docs
6994
6995 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6996
6997         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6998           back out the newsegment handling change, see #340060 for ongoing
6999           discussion
7000
7001 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
7002
7003         * tools/gst-run.c: (get_candidates), (main):
7004           Fix wrong g_file_test() usage (see glib docs for why it doesn't
7005           work); fix typo in error message. Fixes #340079.
7006
7007 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7008
7009         * common/Makefile.am:
7010         * docs/Makefile.am:
7011         * docs/faq/Makefile.am:
7012         * docs/gst/Makefile.am:
7013         * docs/libs/Makefile.am:
7014         * docs/manual/Makefile.am:
7015         * docs/plugins/Makefile.am:
7016         * docs/pwg/Makefile.am:
7017         * docs/slides/Makefile.am:
7018         * docs/upload.mak:
7019         * common/upload.mak:
7020           move upload.mak to common
7021
7022 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7023
7024         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7025           add more asserts on refcounts
7026           do more cleanup at end of tests
7027           fix test leaks showing in FC5
7028
7029 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
7030
7031         * plugins/elements/gsttypefindelement.c:
7032         (gst_type_find_element_handle_event):
7033         reverted wrong change and reflowed code to avoid others falling into
7034         this trap
7035
7036 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7037
7038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7039           fix changelog entry about last collectpads change,
7040           add notes about proper fix
7041
7042 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7043
7044         * gst/gst.c:
7045         * gst/gstregistry.c: (gst_registry_scan_path_level),
7046         (gst_registry_scan_path):
7047         * gst/gstregistry.h:
7048           only write out registry if it has changed, fixes #338339
7049
7050 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7051
7052         * gst/gstbin.c:
7053         * gst/gstpipeline.c:
7054         * plugins/elements/gstcapsfilter.c:
7055         * plugins/elements/gstfakesink.c:
7056         * plugins/elements/gstfakesrc.c:
7057         * plugins/elements/gstfdsink.c:
7058         * plugins/elements/gstfdsrc.c:
7059         * plugins/elements/gstfilesink.c:
7060         * plugins/elements/gstfilesrc.c:
7061         * plugins/elements/gstidentity.c:
7062         * plugins/elements/gstqueue.c:
7063         * plugins/elements/gsttee.c:
7064         * plugins/elements/gsttypefindelement.c:
7065         (gst_type_find_element_handle_event):
7066           make GstElementDetails const
7067
7068 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7069
7070         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7071         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7072         (gst_collect_pads_is_collected), (gst_collect_pads_event):
7073           more detailed debug and formatting cleanup,
7074           forward newsegments to src-pad (so that e.g. adder not eats them)
7075
7076 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7077
7078         * gst/gstutils.c: (gst_element_link_pads):
7079           cleanup double code
7080
7081 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
7082
7083         * libs/gst/controller/gstcontroller.c:
7084         (gst_controller_sync_values):
7085           some little tuning
7086         * tests/check/libs/controller.c: (GST_START_TEST),
7087         (gst_controller_suite):
7088           a new test for live value handling
7089
7090 2006-04-28  Wim Taymans  <wim@fluendo.com>
7091
7092         * gst/gstutils.c: (push_and_ref):
7093         Added some more docs.
7094         Fix refcount issue whith gst_element_found_tags() helper 
7095         function. Fixes #338335
7096
7097         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7098         Added testsuite for gst_element_found_tags().
7099
7100 2006-04-28  Michael Smith  <msmith@fluendo.com>
7101
7102         * gst/gstvalue.c: (gst_value_serialize_flags):
7103           Avoid NULL dereference when trying to serialize flags containing
7104           invalid values.
7105
7106 2006-04-28  Michael Smith  <msmith@fluendo.com>
7107
7108         * plugins/elements/gsttypefindelement.c:
7109         (gst_type_find_element_handle_event):
7110           If we get EOS before any data is accumulated, don't use
7111           uninitialised local variables.
7112
7113 2006-04-28  Michael Smith  <msmith@fluendo.com>
7114
7115         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7116         (gst_dp_event_from_packet):
7117           Fixes in reading/writing events over GDP (not currently used?) - 
7118           dereferencing NULL events for unknown/invalid event types, memory
7119           leak, and change g_warning to GST_WARNING.
7120
7121 2006-04-28  Wim Taymans  <wim@fluendo.com>
7122
7123         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7124         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7125         (gst_base_sink_get_position), (gst_base_sink_change_state):
7126         When frame dropping is enabled, we should not ignore frames
7127         without a duration.
7128         Update some documentation.
7129
7130 2006-04-28  Wim Taymans  <wim@fluendo.com>
7131
7132         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7133         (gst_base_src_send_event), (gst_base_src_change_state):
7134         Documentation updates.
7135
7136 2006-04-28  Wim Taymans  <wim@fluendo.com>
7137
7138         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7139         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7140         handle EAGAIN, EINTR and short writes correctly. Also clean
7141         up some error cases, avoid a deadlock on bad file descriptors and
7142         use GST_DEBUG_OBJECT.
7143         Fixes #339843
7144
7145 2006-04-28  Wim Taymans  <wim@fluendo.com>
7146
7147         * gst/gstvalue.c: (gst_value_serialize_buffer),
7148         (gst_value_deserialize_buffer):
7149         Don't try to serialize a GValue with a NULL buffer. 
7150         Fixes #339821.
7151
7152         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7153         Added check for serialisation of NULL buffers.
7154
7155 2006-04-28  Wim Taymans  <wim@fluendo.com>
7156
7157         * gst/gstminiobject.c: (gst_value_take_mini_object):
7158         Taking a NULL miniobject is valid, fix the case where
7159         we try to unref the NULL miniobject.
7160
7161 2006-04-28  Wim Taymans  <wim@fluendo.com>
7162
7163         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7164
7165         * gst/gstbin.c: (gst_bin_handle_message_func):
7166         Update docs.
7167         Don't leak bin refcount when a state recalc is
7168         in progress and we delay another one #339808.
7169
7170 2006-04-28  Wim Taymans  <wim@fluendo.com>
7171
7172         * docs/design/part-TODO.txt:
7173         Mention QoS as an ongoing work item.
7174
7175         * docs/design/part-buffering.txt:
7176         New doc about buffering that needs to be fleshed out
7177         at some point.
7178
7179         * docs/design/part-qos.txt:
7180         More QoS policy for decoders/demuxers/transforms
7181
7182         * docs/design/part-trickmodes.txt:
7183         Small update.
7184
7185 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7186
7187         * configure.ac:
7188           back to HEAD
7189
7190 === release 0.10.5 ===
7191
7192 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
7193
7194         * configure.ac:
7195           releasing 0.10.5, "Fogo"
7196
7197 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7198
7199         patch by: Wim Taymans
7200
7201         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7202         (gst_pad_configure_src), (gst_pad_push):
7203         * gst/gstpipeline.c: (gst_pipeline_init):
7204           Fix internal data flow errors.  Fixes #338711.
7205
7206 2006-04-12  Wim Taymans  <wim@fluendo.com>
7207
7208         * tests/check/gst/gstelement.c: (GST_START_TEST):
7209         Don't leak the factory.
7210
7211 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7212
7213         * configure.ac:
7214         * win32/common/config.h:
7215           prerelease
7216
7217 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7218
7219         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7220         (gst_controller_unset_all):
7221           Free allocated GstTimedValues when freeing list nodes.
7222           Should fix leaks 'make check-valgrind' complains about.
7223
7224         * win32/common/libgstcontroller.def:
7225           Add gst_controller_unset_all.
7226
7227 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
7228
7229         * docs/libs/gstreamer-libs-sections.txt:
7230         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7231         (gst_controller_unset_all):
7232         * libs/gst/controller/gstcontroller.h:
7233         API: Added new method gst_controller_unset_all()
7234         fixed gst_controller_unset()
7235         * tests/check/libs/controller.c: (GST_START_TEST),
7236         (gst_controller_suite):
7237         Added two testcases for new and fixed method
7238
7239 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
7240
7241         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7242           MSG_DONTWAIT is not defined on Cygwin, so work
7243           around that (fixes #317048).
7244           
7245 2006-04-11  Wim Taymans  <wim@fluendo.com>
7246
7247         * gst/gstelementfactory.c: (gst_element_register),
7248         (gst_element_factory_create), (gst_element_factory_make):
7249         Some cleanups.
7250         Fixed a FIXME.
7251         Updated docs (Fixes #131079)
7252
7253         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7254         Small cleanups.
7255
7256         * tests/check/gst/gstelement.c: (GST_START_TEST),
7257         (gst_element_suite):
7258         Added testcase for elementfactory class field.
7259
7260 2006-04-10  Wim Taymans  <wim@fluendo.com>
7261
7262         * gst/gstsegment.c:
7263         Added some more docs.
7264
7265         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7266         (gst_base_sink_reset_qos):
7267         Calculate more accurate rate values.
7268
7269 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
7270
7271         * gst/gst_private.h:
7272           add a new #ifdef to use __declspec(dllimport) only for
7273           other modules and not for gstreamer core
7274         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7275           use gst_guint64_to_gdouble for conversion
7276         * win32/common/libgstreamer.def:
7277           add new exported functions
7278         * win32/vs6/gst_inspect.dsp:
7279         * win32/vs6/gst_launch.dsp:
7280         * win32/vs6/libgstbase.dsp:
7281         * win32/vs6/libgstcontroller.dsp:
7282         * win32/vs6/libgstcoreelements.dsp:
7283         * win32/vs6/libgstdataprotocol.dsp:
7284         * win32/vs6/libgstnet.dsp:
7285           update project files
7286
7287 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
7288
7289         * gst/gstbuffer.c: (gst_subbuffer_class_init):
7290         * gst/gstclock.c: (gst_clock_class_init):
7291         * gst/gstelement.c: (gst_element_class_init):
7292         * gst/gstindex.c: (gst_index_class_init):
7293         * gst/gstindexfactory.c: (gst_index_factory_class_init):
7294         * gst/gstobject.c: (gst_object_class_init),
7295         (gst_signal_object_class_init):
7296         * gst/gstpad.c: (gst_pad_class_init):
7297         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7298         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7299         * gst/gstregistry.c: (gst_registry_class_init):
7300         * gst/gstsystemclock.c: (gst_system_clock_class_init):
7301         * gst/gsttask.c: (gst_task_class_init):
7302         * gst/gstxml.c: (gst_xml_class_init):
7303         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7304         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7305         (gst_base_src_loop):
7306         * libs/gst/controller/gstcontroller.c:/
7307         (_gst_controller_class_init):
7308         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7309         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7310         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7311         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7312         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7313         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7314
7315 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
7316
7317         * gst/gstpad.c: (gst_pad_link):
7318           Must set peer pads before calling the link function, otherwise
7319           a task started from a link function might get a flow-not-linked
7320           result when trying to push because the other thread where the
7321           linking happens hasn't had a chance to set the peers yet. This
7322           might happen for example when a queue gets linked to a downstream
7323           element, as queue starts a streaming task when its source pad
7324           gets linked. Happens in real life when playing back flac/musepack
7325           files in playbin (#332390).
7326           
7327 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
7328
7329         * gst/gstindex.h:
7330         * gst/gstxml.h:
7331         * libs/gst/base/gstadapter.h:
7332         * libs/gst/base/gstbasesink.h:
7333         * libs/gst/base/gstbasesrc.h:
7334         * libs/gst/base/gstbasetransform.h:
7335         * libs/gst/base/gstcollectpads.h:
7336         * libs/gst/base/gstpushsrc.h:
7337         Fix broken GObject macros
7338
7339 2006-04-07  Wim Taymans  <wim@fluendo.com>
7340
7341         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7342         Initialize start and stop times, thanks valgrind.
7343
7344 2006-04-07  Wim Taymans  <wim@fluendo.com>
7345
7346         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7347         Be a bit nicer to badly behaving upstream elements that expect
7348         us to deal with non TIME segments and timestamps (such as fakesrc
7349         in the testsuite).
7350
7351 2006-04-07  Wim Taymans  <wim@fluendo.com>
7352
7353         * gst/gstbus.c:
7354         Small documentation clarification about the signal watch.
7355
7356         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7357         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7358         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7359         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7360         (gst_base_sink_get_position_last),
7361         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7362         Convert and store timestamps in stream time and running time, the
7363         raw timestamps are not useful, also document this better.
7364         Use different window sizes for good and bad QoS observations so
7365         we react to badness a little quicker.
7366         Keep track of the amount of rendered and dropped buffers.
7367         Send QoS timestamps in running time.
7368
7369         * libs/gst/base/gstbasetransform.c:
7370         (gst_base_transform_sink_eventfunc),
7371         (gst_base_transform_handle_buffer):
7372         Compare QoS timestamps against running time.
7373
7374 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7375
7376         * gst/gstpad.c:
7377           Typo fixes in docs.
7378
7379 2006-04-06  Michael Smith  <msmith@fluendo.com>
7380
7381         * gst/gstpad.c: (gst_pad_set_property):
7382           Use g_value_get_object() instead of g_value_dup_gst_object(),
7383           to avoid double-reffing the pad template (which we then sink,
7384           so this worked previously if (and only if) the pad template
7385           was floating.
7386
7387         * gst/gstpadtemplate.c: (gst_pad_template_init),
7388         (gst_pad_template_pad_created):
7389           Never return floating references to pad templates, create
7390           them as initially-sunken.
7391
7392           Document an extra function (and make this stop sinking our
7393           pad template, since that is now guaranteed to do nothing,
7394           since we created it sunken).
7395
7396         * gst/gstghostpad.c:
7397           Fix docs typo.
7398
7399 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7400
7401         * gst/gstinfo.c: (__gst_in_valgrind):
7402           Add some newlines.
7403
7404         * plugins/elements/gsttypefindelement.c:
7405         (gst_type_find_element_chain):
7406           Don't leak buffer caps.
7407
7408 2006-04-06  Michael Smith  <msmith@fluendo.com>
7409
7410         * gst/parse/grammar.y:
7411           Fix a leak in parse-launch for any source-or-sink named element 
7412           references used.
7413
7414         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7415           Unref the pipeline if it exists after we've failed parsing.
7416
7417 2006-04-05  Michael Smith  <msmith@fluendo.com>
7418
7419         * gst/gstpipeline.c: (gst_pipeline_init):
7420           When we create a pipeline bus, initially create it in flushing mode.
7421           Fixes leaks in at least one test, and makes a new pipeline work the
7422           same as one that has gone to READY and then back to NULL.
7423
7424         * gst/gstelement.c:
7425           Typo fix in docs.
7426
7427 2006-04-05  Michael Smith  <msmith@fluendo.com>
7428
7429         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7430           Unref a pad we reffed.
7431         * tests/check/gst/gstutils.c: (GST_START_TEST):
7432           Unref bins
7433
7434 2006-04-05  Michael Smith  <msmith@fluendo.com>
7435
7436         * gst/gstquery.c: (gst_query_set_formats),
7437         (gst_query_set_formatsv):
7438           Fix leaking GValues in queries, as shown by valgrind/testsuite.
7439
7440 2006-04-05  Michael Smith  <msmith@fluendo.com>
7441
7442         * tests/check/generic/sinks.c: (GST_START_TEST):
7443           Fix a variety of memleaks in sinks check, which are only sometimes 
7444           shown by running the tests under valgrind (weird?).
7445
7446 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
7447
7448         * docs/version.entities.in:
7449           Fix the substituted entity name after thomas' changes on the
7450           weekend.
7451
7452 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7453
7454         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7455         VALGRIND_PRINTF
7456         
7457 2006-04-05  Andy Wingo  <wingo@pobox.com>
7458
7459         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7460
7461         * libs/gst/base/gstbasetransform.c
7462         (gst_base_transform_sink_eventfunc): When resetting our segment on
7463         FLUSH_STOP, also update the flag saying we haven't seen a
7464         newsegment.
7465
7466 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7467
7468         Patch by: Paolo Borelli  <pborelli at katamail dot com>
7469
7470         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7471         (gst_plugin_check_license):
7472           minor clean-ups: G_DEFINE_TYPE already takes care of the
7473           parent_class stuff, no need to do it twice. Mark array of
7474           license strings as constant. (#337103)
7475           
7476 2006-04-04  Michael Smith  <msmith@fluendo.com>
7477
7478         * tools/gst-inspect.c: (print_element_list):
7479           Free the right plugin list; fixes a memory leak.
7480
7481 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7482
7483         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
7484
7485         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7486           Don't error out on empty buffers (#336945).
7487           
7488 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
7489
7490         * docs/libs/gstreamer-libs-sections.txt:
7491         * gst/gsttaglist.c:
7492         * libs/gst/base/gstbasesink.c:
7493         * libs/gst/base/gstbasesink.h:
7494         * libs/gst/base/gstbasesrc.c:
7495         * libs/gst/base/gstbasesrc.h:
7496           Documentation updates. Make BaseSink and BaseSrc docs contain the
7497           class structure so that people can actually see the prototypes for
7498           virtual functions they're supposed to be overriding.
7499
7500 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7501
7502         * plugins/elements/gsttypefindelement.c:
7503         (gst_type_find_element_chain):
7504           More debug info; when skipping typefinding, send cached
7505           events in all cases.
7506
7507 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7508
7509         * configure.ac:
7510           use new AS_VERSION and AS_NANO macros
7511         * gst/gst-i18n-lib.h:
7512         * gst/gst.c:
7513         * gst/gsterror.c:
7514         * gst/gstversion.h.in:
7515         * win32/common/config.h:
7516         * win32/common/config.h.in:
7517           update accordingly
7518
7519 2006-03-31  Michael Smith  <msmith@fluendo.com>
7520
7521         * plugins/elements/gsttypefindelement.c:
7522         (gst_type_find_element_chain):
7523           Do not typefind content if the buffers already have caps.
7524           Neccesary for icydemux (#333657), and the right thing to do anyway.
7525
7526 2006-03-30  Wim Taymans  <wim@fluendo.com>
7527
7528         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7529         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7530         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7531         (gst_base_sink_record_qos_observation),
7532         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7533         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7534         (gst_base_sink_change_state):
7535         More QoS measurements as described in the design doc.
7536         Get rid of ringbuffer with observations, running average is
7537         more simple and equally good.
7538         Calculates valid proportion now.
7539         Added beginning of flood measurement.
7540
7541 2006-03-29  Wim Taymans  <wim@fluendo.com>
7542
7543         * docs/design/part-qos.txt:
7544         * gst/gstclock.c:
7545         Small documentation updates and additions.
7546
7547 2006-03-29  Wim Taymans  <wim@fluendo.com>
7548
7549         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7550         (gst_base_src_send_event), (gst_base_src_loop),
7551         (gst_base_src_change_state):
7552         Perform the EOS logic when we reach the segment stop position.
7553         Fix compilation on gcc4.1
7554
7555 2006-03-29  Wim Taymans  <wim@fluendo.com>
7556
7557         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7558
7559         * plugins/elements/gstqueue.c: (gst_queue_init),
7560         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7561         (gst_queue_set_property):
7562         * plugins/elements/gstqueue.h:
7563         In queue, when EOS is received, if minimum threshold > max_size -
7564         current_level, there is chance that queue blocks forever in conditional
7565         item del wait. This is because the queue is not emptied completely due
7566         to minimum threshold.  Here is another approach. Instead of setting
7567         cur_levels to max in EOS, just zero all minimum threshold levels. This
7568         should make sure that queue gives out all data. When going to READY
7569         (stop) state, just reset the original minimum threshold levels.
7570         Fixes #336336.
7571
7572 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7573
7574         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7575         (gst_type_find_element_handle_event),
7576         (gst_type_find_element_send_cached_events),
7577         (gst_type_find_element_change_state):
7578         * plugins/elements/gsttypefindelement.h:
7579           When typefinding is done in push mode, we should cache
7580           events we receive during typefinding instead of just
7581           dropping them (e.g. newsegment, custom events from
7582           dvdreadsrc etc.) and then send them out once we've
7583           determined the type of the stream (and decodebin
7584           has had a chance to plug in a decoder/demuxer).
7585           
7586 2006-03-27  Wim Taymans  <wim@fluendo.com>
7587
7588         * docs/design/part-qos.txt:
7589         First QoS ideas.
7590
7591 2006-03-27  Wim Taymans  <wim@fluendo.com>
7592
7593         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7594
7595         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7596         (gst_base_src_send_event), (gst_base_src_change_state):
7597         Handle element seek correctly when we are streaming.
7598         Fixes #326998.
7599
7600 2006-03-24  Michael Smith  <msmith@fluendo.com>
7601
7602         * docs/faq/gst-uninstalled:
7603           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7604           allow you to correctly run intalled applications built against old 
7605           core, using plugins that require updated core (e.g. running
7606           installed totem against a full uninstalled gstreamer stack)
7607
7608 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7609
7610         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7611         more debug details
7612
7613 2006-03-24  Wim Taymans  <wim@fluendo.com>
7614
7615         * docs/gst/gstreamer-sections.txt:
7616         Rearrange the order of the methods so that related methods
7617         are grouped together in sections.
7618
7619 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7620
7621         * gst/gstelement.c:
7622           Little clarification in the docs
7623
7624 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7625
7626         * docs/README:
7627         formatting fix
7628         * plugins/elements/gstidentity.c:
7629         * plugins/elements/gstqueue.c:
7630         * plugins/elements/gsttee.c:
7631         * plugins/elements/gsttypefindelement.c:
7632         GST_ELEMENT_DETAILS formatting
7633
7634 2006-03-24  Wim Taymans  <wim@fluendo.com>
7635
7636         * libs/gst/base/gstbasesink.h:
7637         Only add fields, not insert or we break ABI.
7638
7639 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7640
7641         * win32/common/libgstbase.def:
7642         * win32/common/libgstreamer.def:
7643           Update, add recently added functions.
7644
7645 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7646
7647         * docs/gst/gstreamer-sections.txt:
7648         * gst/gstutils.c: (gst_pad_query_peer_position),
7649         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7650         * gst/gstutils.h:
7651           API: add some new utility functions:
7652            - gst_pad_query_peer_position()
7653            - gst_pad_query_peer_duration()
7654            - gst_pad_query_peer_convert()
7655           
7656 2006-03-23  Wim Taymans  <wim@fluendo.com>
7657
7658         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7659         (gst_base_sink_init), (gst_base_sink_finalize),
7660         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7661         (gst_base_sink_set_property), (gst_base_sink_get_property),
7662         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7663         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7664         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7665         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7666         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7667         (gst_base_sink_preroll_object), (gst_base_sink_event),
7668         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7669         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7670         (gst_base_sink_query), (gst_base_sink_change_state):
7671         Decouple max-lateness and the fact that QoS messages are generated
7672         with a new property (qos).
7673         added API: GstBaseSink::async_play()
7674         Add vmethod so subclasses can be notified of ASYNC playing
7675         state changes.
7676         Collect timestamp start and stop to report better current
7677         position in EOS/PLAYING/PAUSED/READY/NULL.
7678         Refactor QoS/frame dropping and other measurements.
7679         API: GstBaseSrc::qos
7680         Fixes #326311
7681
7682         * libs/gst/base/gstbasesink.h:
7683         Added Private struct.
7684         API: gst_base_sink_set_qos_enabled()
7685         API: gst_base_sink_is_qos_enabled()
7686
7687 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7688
7689         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7690           If compiling against GLib-2.8 or newer, try to read the
7691           registry file using GMappedFile first before falling back
7692           to fopen() + fread() (#332151).
7693
7694 2006-03-22  Wim Taymans  <wim@fluendo.com>
7695
7696         * gst/gstinfo.c: (gst_debug_set_active),
7697         (gst_debug_category_set_threshold):
7698         Disable debugging unless explicitly activated.
7699         Fixes #335480.
7700
7701 2006-03-22  Wim Taymans  <wim@fluendo.com>
7702
7703         * gst/gstelement.c: (gst_element_set_locked_state),
7704         (gst_element_dispose):
7705         Cleanup the error case.
7706
7707         * gst/gstobject.c: (gst_object_dispose):
7708         print a critical when some object was disposed with
7709         a parent, also revive the object since it might
7710         crash the parent.
7711
7712 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7713
7714         * tools/gst-launch.1.in:
7715           Fix another typo.
7716
7717 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7718
7719         * configure.ac:
7720         * tests/check/Makefile.am:
7721           disable some tests when we don't have a registry
7722         * tests/check/gst/gstutils.c: (gst_utils_suite):
7723           don't build the part that needs parsing
7724
7725 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7726
7727         * gst/Makefile.am
7728         * tests/examples/Makefile.am:
7729           fix --disable-parse build
7730
7731 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7732
7733         * tools/gst-feedback.1.in:
7734           Fix typo: s/feeback/feedback/ (#133494).
7735
7736 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7737
7738         * tools/Makefile.am:
7739         * tools/gst-launch.1.in:
7740           Add FILES section and correct entry about GST_REGISTRY_PATH
7741           environment variable (#133495; #133494).
7742
7743 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7744
7745         * tools/Makefile.am:
7746         * tools/gst-md5sum.1.in:
7747         * tools/gst-md5sum.c:
7748           Remove gst-md5sum and man page (the md5sink element
7749           required was removed ages ago)
7750
7751 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7752
7753         * gst/gststructure.c: (gst_structure_id_set_value):
7754           Make sure that string fields in structures/taglists
7755           contain valid UTF-8 - we don't want to pass rubbish to
7756           applications because of a buggy plugin (cp. #334167).
7757
7758 2006-03-21  Edward Hervey  <edward@fluendo.com>
7759
7760         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7761         (gst_bin_handle_message_func):
7762         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7763         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7764         (gst_element_set_bus_func):
7765         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7766         * gst/gstminiobject.c: (gst_value_set_mini_object),
7767         (gst_value_take_mini_object):
7768         * gst/gstpad.c: (gst_pad_set_pad_template):
7769         * gst/gstpipeline.c: (gst_pipeline_dispose),
7770         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7771         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7772         (gst_collect_pads_chain):
7773         * libs/gst/net/gstnettimeprovider.c:
7774         (gst_net_time_provider_set_property):
7775         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7776         It's in fact all issues with gst_*object_replace().
7777
7778 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7779
7780         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7781         
7782         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7783         * pkgconfig/gstreamer-check.pc.in:
7784           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7785
7786 2006-03-21  Edward Hervey  <edward@fluendo.com>
7787
7788         * gst/gstbuffer.h:
7789         * gst/gstevent.h:
7790         * gst/gstmessage.h:
7791         gst_[buffer|event|message]_ref() macros are replaced by a static
7792         inline functions because gcc-4.1 will about if the return value
7793         isn't used.
7794         * tests/check/gst/gstevent.c: (event_probe):
7795         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7796
7797 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7798
7799         * gst/gstutils.h:
7800         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7801         the type' case. (Closes: #335195 for now). In the future, when we
7802         depend on GLib 2.10, we could also intern the type name using
7803         g_intern_static_string()
7804
7805 2006-03-20  Wim Taymans  <wim@fluendo.com>
7806
7807         * gst/gstbin.c: (gst_bin_handle_message_func),
7808         (bin_query_max_init), (bin_query_position_fold),
7809         (bin_query_position_done), (gst_bin_query):
7810         Position query should also take max of all streams.
7811
7812 2006-03-20  Wim Taymans  <wim@fluendo.com>
7813
7814         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7815         (gst_fake_src_finalize):
7816         Fix leaks in fakesrc.
7817
7818         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7819         Fix leaks in the testcase.
7820
7821 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7822
7823         * gst/gst_private.h:
7824           add win32 specific import decoration(__declspec(dllimport)) 
7825           for all extern GstDebugCategory * variables
7826         * win32/common/libgstbase.def:
7827         * win32/common/libgstcontroller.def:
7828         * win32/common/libgstreamer.def:
7829           Add some exports, remove empty lines
7830         * win32/common/libgstdataprotocol.def:
7831         * win32/common/libgstdataprotocol.dsp:
7832         * win32/common/libgstnet.def:
7833         * win32/common/libgstnet.dsp:
7834           new project files and exportation files added
7835         
7836 2006-03-19  Wim Taymans  <wim@fluendo.com>
7837
7838         * tests/check/libs/basesrc.c: (eos_event_counter):
7839         Use proper return value for probe.
7840
7841 2006-03-17  Wim Taymans  <wim@fluendo.com>
7842
7843         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7844         (gst_pad_push):
7845         Don't leak buffers, caps and pads on negotiation errors.
7846
7847 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7848
7849         * docs/faq/cvs.xml:
7850         * docs/faq/dependencies.xml:
7851         * docs/faq/developing.xml:
7852         * docs/faq/faq.xml:
7853         * docs/faq/general.xml:
7854         * docs/faq/getting.xml:
7855         * docs/faq/legal.xml:
7856         * docs/faq/troubleshooting.xml:
7857         * docs/faq/using.xml:
7858         Faq review and update.
7859
7860 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7861
7862         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7863         (gst_pad_push):
7864         Don't pound the cpu to pieces by checking get_caps when accept_caps
7865         is called with the same caps as the pad already has.
7866         Use GST_DEBUG_OBJECT when outputting caps change information.
7867
7868 2006-03-15  Wim Taymans  <wim@fluendo.com>
7869
7870         * gst/gstclock.c: (gst_clock_class_init):
7871         Fix docs.
7872
7873 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7874
7875         * gst/gstbuffer.h:
7876         Documentation fix.
7877
7878         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7879         (gst_pad_accept_caps), (gst_pad_configure_sink),
7880         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7881         Make the default acceptcaps behaviour be to check the requested 
7882         caps against the gst_pad_get_caps output. 
7883
7884         Ensure that gst_pad_accept_caps is used to check caps when a pad
7885         doesn't have a setcaps function, so that pads automatically refuse 
7886         caps that they don't allow in their pad template. (Fixes #332986)
7887
7888         When a buffer with attached caps is pushed, ensure that the source 
7889         pad receives those caps even if the element didn't call
7890         gst_pad_set_caps first.
7891
7892 2006-03-15  Wim Taymans  <wim@fluendo.com>
7893
7894         * libs/gst/base/gstadapter.c:
7895         Add some docs.
7896
7897 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7898
7899         * win32/common/libgstbase.def:
7900         * win32/common/libgstcontroller.def:
7901         * win32/common/libgstreamer.def:
7902           Add a whole bunch of missing functions (#334434).
7903
7904 2006-03-14  Wim Taymans  <wim@fluendo.com>
7905
7906         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7907         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7908         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7909         Better debug info when we receive a segment event.
7910         Reorganize a bit so we can pass the get_times() results around.
7911         Use the segment format when calculating the running time.
7912         Don't do QoS is sync is disabled or we have no clock or the
7913         element does not want us to sync to the clock.
7914         Don't drop buffers if QoS is disabled for now.
7915
7916 2006-03-14  Wim Taymans  <wim@fluendo.com>
7917
7918         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7919         Marked the stats property as unimplemented so people don't get
7920         wild ideas.
7921         Add debug message when regression goes wrong.
7922         Added some more docs.
7923
7924 2006-03-14  Wim Taymans  <wim@fluendo.com>
7925
7926         * gst/gstsegment.c: (gst_segment_to_stream_time):
7927         Return correct return type in case of errors.
7928
7929 2006-03-14  Wim Taymans  <wim@fluendo.com>
7930
7931         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7932           Don't segfault on invalid formats.
7933
7934 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7935
7936         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7937           Can't use gst_segment_to_running_time() when the segment
7938           is not in GST_TIME_FORMAT (like with filesink, for example).
7939           Stops flac encoding pipelines from spewing critical warnings
7940           at EOS (#331248).
7941           
7942 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7943
7944         * gst/gstpipeline.c: (gst_pipeline_class_init):
7945           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7946
7947         * plugins/elements/gsttypefindelement.c:
7948         (gst_type_find_element_handle_event):
7949           Don't try to typefind empty streams.
7950
7951 2006-03-14  Wim Taymans  <wim@fluendo.com>
7952
7953         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7954         (gst_base_sink_do_qos):
7955         Separate QoS calculation.
7956         Only drop buffers when lateness is bigger than the 
7957         duration of the buffer.
7958
7959 2006-03-13  Wim Taymans  <wim@fluendo.com>
7960
7961         * gst/gstpipeline.c: (gst_pipeline_set_property),
7962         (gst_pipeline_get_property), (do_pipeline_seek),
7963         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7964         (gst_pipeline_get_delay):
7965         Don't deadlock when reading properties.
7966
7967 2006-03-13  Wim Taymans  <wim@fluendo.com>
7968
7969         * libs/gst/base/gstbasetransform.c:
7970         (gst_base_transform_class_init), (gst_base_transform_init),
7971         (gst_base_transform_sink_event),
7972         (gst_base_transform_sink_eventfunc),
7973         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7974         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7975         (gst_base_transform_set_property),
7976         (gst_base_transform_get_property),
7977         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7978         (gst_base_transform_set_qos_enabled),
7979         (gst_base_transform_is_qos_enabled):
7980         * libs/gst/base/gstbasetransform.h:
7981         Make basetransform virtual method for src events too.
7982         Handle QOS in basetransform.
7983         API: gst_base_transform_update_qos()
7984         API: gst_base_transform_set_qos_enabled()
7985         API: gst_base_transform_is_qos_enabled()
7986
7987 2006-03-13  Wim Taymans  <wim@fluendo.com>
7988
7989         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7990         (gst_base_sink_do_sync):
7991         Small cleanups.
7992         Use QOS debug category.
7993
7994 2006-03-13  Wim Taymans  <wim@fluendo.com>
7995
7996         * plugins/elements/gstqueue.c:
7997         Very small doc update.
7998
7999 2006-03-13  Wim Taymans  <wim@fluendo.com>
8000
8001         * gst/gst_private.h:
8002         * gst/gstinfo.c: (_gst_debug_init):
8003         Added QOS debug category
8004
8005 2006-03-13  Wim Taymans  <wim@fluendo.com>
8006
8007         * docs/gst/gstreamer-sections.txt:
8008         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8009         * gst/gstbin.h:
8010         * gst/gstbus.c: (gst_bus_class_init):
8011         * gst/gstbus.h:
8012         * gst/gstclock.c:
8013         * gst/gstelement.c: (gst_element_set_locked_state):
8014         * gst/gstsegment.c:
8015         Documentation updates.
8016
8017         * gst/gstpipeline.c: (gst_pipeline_get_type),
8018         (gst_pipeline_class_init), (gst_pipeline_init),
8019         (gst_pipeline_dispose), (gst_pipeline_set_property),
8020         (gst_pipeline_get_property), (do_pipeline_seek),
8021         (gst_pipeline_send_event), (gst_pipeline_change_state),
8022         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8023         (gst_pipeline_get_delay):
8024         * gst/gstpipeline.h:
8025         Added methods for setting the delay.
8026         API: gst_pipeline_set_delay()
8027         API: gst_pipeline_get_delay()
8028         Add pipeline debug category
8029         Various cleanups.
8030         Updated docs.
8031         Don't reset stream time when seek failed.
8032
8033 2006-03-13  Wim Taymans  <wim@fluendo.com>
8034
8035         * docs/design/draft-klass.txt:
8036         * docs/design/part-clocks.txt:
8037         * docs/design/part-events.txt:
8038         * docs/design/part-gstbin.txt:
8039         * docs/design/part-gstpipeline.txt:
8040         * docs/design/part-messages.txt:
8041         * docs/design/part-negotiation.txt:
8042         * docs/design/part-overview.txt:
8043         * docs/design/part-preroll.txt:
8044         * docs/design/part-seeking.txt:
8045         * docs/design/part-states.txt:
8046         * docs/design/part-streams.txt:
8047         Documentation updates.
8048
8049 2006-03-12  Julien MOUTTE  <julien@moutte.net>
8050
8051         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8052         us to leak strings...
8053
8054 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8055
8056         * libs/gst/net/gstnettimeprovider.c:
8057           fix docs
8058         * win32/common/config.h:
8059           update
8060
8061 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8062
8063         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8064
8065         * configure.ac:
8066           Don't check for libgnomeui (leftover from old examples
8067           that aren't built or disted any longer) (#334303).
8068           
8069 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
8070
8071         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8072         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8073           Emit RESOURCE_NO_SPACE_LEFT error here as well when
8074           there's no space left on the device.
8075
8076 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
8077
8078         * gst/gstclock.h:
8079           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8080           to cast the input to GstClockTime before comparing with
8081           another GstClockTime value.
8082
8083 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8084
8085         * configure.ac:
8086           back to trunk
8087
8088 === release 0.10.4 ===
8089
8090 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
8091
8092         * configure.ac:
8093           releasing 0.10.4, "Light"
8094
8095 2006-03-10  Michael Smith  <msmith@fluendo.com>
8096
8097         * libs/gst/dataprotocol/dataprotocol.c:
8098           Fix docs for dataprocotol to not get the return types completely
8099           wrong for a few functions.
8100
8101 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
8102
8103         * docs/gst/gstreamer-sections.txt:
8104         * gst/gstpipeline.c: (gst_pipeline_class_init),
8105         (gst_pipeline_init), (gst_pipeline_set_property),
8106         (gst_pipeline_get_property), (gst_pipeline_change_state),
8107         (gst_pipeline_set_auto_flush_bus),
8108         (gst_pipeline_get_auto_flush_bus):
8109         * gst/gstpipeline.h:
8110           Add new API: gst_pipeline_set_auto_flush_bus() and
8111           gst_pipeline_get_auto_flush_bus() to disable automatic
8112           flushing of the pipeline's GstBus when going from READY
8113           to NULL state (#332045).
8114
8115 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
8116
8117         * docs/gst/gstreamer-sections.txt:
8118         * gst/gsturi.c: (gst_uri_has_protocol):
8119         * gst/gsturi.h:
8120            Add new API: gst_uri_has_protocol() (#333779).
8121
8122 2006-03-09  Wim Taymans  <wim@fluendo.com>
8123
8124         * gst/gstclock.c: (gst_clock_entry_new),
8125         (gst_clock_id_compare_func), (gst_clock_id_wait),
8126         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8127         (gst_clock_init), (gst_clock_get_internal_time),
8128         (gst_clock_set_master), (do_linear_regression),
8129         (gst_clock_add_observation), (gst_clock_set_property):
8130         * gst/gstclock.h:
8131         Review docs.
8132         Small cleanups.
8133         Fix a possible segfault when the window-size is made smaller.
8134         Calculate jitter before performing the clock wait. Ideally
8135         the clock implementation should calculate jitter but we need
8136         API breakage for that.
8137
8138         * gst/gstsystemclock.c: (gst_system_clock_init):
8139         Docs review.
8140         
8141         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8142         Remove leftover else
8143
8144         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8145         (gst_systemclock_suite):
8146         Added check to test GST_CLOCK_DIFF.
8147
8148 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
8149
8150         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8151         (gst_type_find_helper_get_range):
8152           If we are provided with the size, we should implement
8153           GstTypeFind::get_length, so that typefind functions who
8154           want to can actually peek at the middle of a file.
8155
8156 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
8157
8158         * docs/manual/advanced-dataaccess.xml:
8159           Add some very very basic error checking.
8160
8161         * docs/pwg/appendix-checklist.xml:
8162           Some updates to the list of things to check when writing an element.
8163
8164 2006-03-08  Wim Taymans  <wim@fluendo.com>
8165
8166         * docs/design/part-element-transform.txt:
8167         Added some docs about the design of tranform elements.
8168
8169         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8170         (gst_base_src_loop), (gst_base_src_change_state):
8171         Mark buffers with the DISCONT flag.
8172
8173 2006-03-08  Michael Smith  <msmith@fluendo.com>
8174
8175         * gst/gstregistry.h:
8176         * gst/gstregistryxml.c: (gst_registry_save),
8177         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8178         (gst_registry_xml_save_pad_template),
8179         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8180         (gst_registry_xml_write_cache):
8181           Rewrite registry-saving to avoid race conditions and check for
8182           failed writes.
8183
8184 2006-03-08  Wim Taymans  <wim@fluendo.com>
8185
8186         * libs/gst/base/gstbasetransform.c:
8187         (gst_base_transform_transform_caps),
8188         (gst_base_transform_transform_size),
8189         (gst_base_transform_prepare_output_buffer),
8190         (gst_base_transform_get_unit_size),
8191         (gst_base_transform_buffer_alloc),
8192         (gst_base_transform_handle_buffer),
8193         (gst_base_transform_change_state):
8194         Cleanups, separate normal flow from errors, add sensible
8195         DEBUG lines.
8196         Don't try to renegotiate when allocating an output buffer.
8197         Also copy DISCONT buffer flag when copying a buffer.
8198         Reset the transform after we finish streaming, not during.
8199
8200 2006-03-08  Wim Taymans  <wim@fluendo.com>
8201
8202         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8203         Use last buffer timestamp in qos message.
8204
8205 2006-03-07  Wim Taymans  <wim@fluendo.com>
8206
8207         Patch by: Christophe Fergeau
8208
8209         * docs/pwg/advanced-tagging.xml:
8210         * docs/pwg/building-pads.xml:
8211           fixes #333416
8212
8213 2006-03-07  Wim Taymans  <wim@fluendo.com>
8214
8215         * docs/libs/gstreamer-libs-sections.txt:
8216         Added basesink new methods.
8217
8218         * gst/gstevent.c:
8219         * gst/gstevent.h:
8220         Docs updates. Flesh out the QoS docs.
8221
8222         * libs/gst/base/gstadapter.c:
8223         Small doc clarification about ownership and flushing.
8224
8225         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8226         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8227         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8228         (gst_base_sink_get_property), (gst_base_sink_do_sync):
8229         * libs/gst/base/gstbasesink.h:
8230         API additions: 
8231         Added new methods to allow subclass to control max-lateness 
8232         and sync.
8233         Generate very basic QoS events based on last sync observation.
8234         Updated docs, fix typo, added some QoS blurb.
8235
8236         * libs/gst/base/gstbasesrc.c:
8237         Remove obsolete _get_state() calls from docs.
8238
8239 2006-03-07  Wim Taymans  <wim@fluendo.com>
8240
8241         * docs/libs/gstreamer-libs-sections.txt:
8242         * libs/gst/base/gstbasetransform.h:
8243         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8244         Fix docs for GstBaseSrc.
8245
8246 2006-03-07  Wim Taymans  <wim@fluendo.com>
8247
8248         * docs/gst/gstreamer-sections.txt:
8249         * gst/gstbuffer.h:
8250         * gst/gstvalue.c:
8251         * libs/gst/base/gstbasetransform.h:
8252         Small documentation fixes.
8253
8254 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8255
8256         * gst/gstvalue.c:
8257           Document thread-unsafety of gst_value_register_foo_func()
8258           when used at the same time as gst_value_foo() (#322628).
8259
8260 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8261
8262         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8263         (gst_push_src_check_get_range):
8264           Push sources don't support pull mode by default.
8265
8266 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
8267
8268         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8269         (gst_base_src_init), (gst_base_src_pad_check_get_range),
8270         (gst_base_src_default_check_get_range):
8271         * libs/gst/base/gstbasesrc.h:
8272           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8273           provide default implementation, and rename
8274           gst_base_src_check_get_range() to
8275           gst_base_src_pad_check_get_range() for clarity.
8276
8277 2006-03-06  Wim Taymans  <wim@fluendo.com>
8278
8279         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8280         Make property overridable.
8281
8282 2006-03-06  Wim Taymans  <wim@fluendo.com>
8283
8284         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8285         (gst_base_sink_init), (gst_base_sink_set_property),
8286         (gst_base_sink_get_property), (gst_base_sink_do_sync):
8287         * libs/gst/base/gstbasesink.h:
8288         API addition: Make max-lateness a property.
8289
8290 2006-03-06  Wim Taymans  <wim@fluendo.com>
8291
8292         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8293         (gst_base_sink_do_sync), (gst_base_sink_render_object):
8294         Don't ever draw a frame that is >10ms late.
8295
8296 2006-03-06  Michael Smith  <msmith@fluendo.com>
8297
8298         * gst/gstmessage.c: (_gst_message_copy):
8299           When copying a message, set the parent_refcount of the enclosed
8300           structure to point at the copy, not the original message.
8301
8302 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
8303
8304         Patch by: Christophe Fergeau
8305
8306         * gst/gstutils.h:
8307           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8308           usable in c++ code (#333417)
8309
8310 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8311
8312         * gst/gstclock.h:
8313           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8314
8315 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
8316
8317         * libs/gst/base/gstbasetransform.c:
8318         (gst_base_transform_transform_caps):
8319           Make sure caps are writable before passing them to
8320           gst_caps_append().
8321
8322 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
8323
8324         * gst/gsterror.h:
8325           Fix some minor docs errors.
8326
8327 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
8328
8329           Patch by: Ross Burton <ross at burtonini dot com>
8330
8331         * gst/gsterror.c: (_gst_resource_errors_init):
8332         * gst/gsterror.h:
8333           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8334
8335 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
8336
8337         * gst/gst.c:
8338         Add a check and output a g_warning when GStreamer is built
8339         against GLib 2.6 but running against 2.8 or higher, and vice 
8340         versa. (Closes: #323542)
8341
8342 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
8343
8344         * gst/parse/parse.l:
8345           Commit patch for parse_launch syntax from #331255. Removes 
8346           support for quoted strings and mimetypes when writing filtered 
8347           caps. See the bug report for more details - I'm pretty sure this
8348           obscure feature is not in use by _anyone_ anywhere.
8349
8350           With this simple change, the size of the gstreamer.so here 
8351           drops from 2193KB to 1565KB.
8352
8353 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8354
8355         * plugins/elements/gsttypefindelement.h:
8356         * plugins/elements/gsttypefindelement.c:
8357         (gst_type_find_element_src_event), (start_typefinding),
8358         (stop_typefinding), (gst_type_find_element_handle_event),
8359         (gst_type_find_element_chain),
8360         (gst_type_find_element_chain_do_typefinding):
8361           Use gst_type_find_helper_for_buffer() for chain-based
8362           typefinding.
8363
8364 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * plugins/elements/gsttypefindelement.c:
8367         (gst_type_find_element_class_init),
8368         (gst_type_find_element_set_property),
8369         (gst_type_find_element_get_property):
8370           Deprecate "maximum" property (not only was it only taken into
8371           account for typefinding in push-mode anyway, it also was never
8372           actually possible to set it in the first place because the
8373           property was registered with the numeric property ID for the
8374           "minimum" property). Register "maximum" property correctly,
8375           for the sake of future copy'n'pasters. Remove some cruft
8376           from property get/set functions.
8377
8378 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8379
8380         * plugins/elements/gsttypefindelement.c:
8381         (gst_type_find_element_activate):
8382           Use gst_type_find_helper_get_range() here, so we
8383           can honour the "minimum" property and also emit
8384           the signal with the correct probability of the found caps.
8385
8386 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
8387
8388         * docs/libs/gstreamer-libs-sections.txt:
8389         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8390         (helper_find_suggest), (gst_type_find_helper_get_range),
8391         (gst_type_find_helper):
8392         * libs/gst/base/gsttypefindhelper.h:
8393           New API: gst_type_find_helper_get_range() (#333042).
8394
8395 2006-03-02  Michael Smith  <msmith@fluendo.com>
8396
8397         * gst/gstregistryxml.c: (load_feature):
8398           Asserting on a failure to read part of the registry is Not Cool.
8399           Just log a warning and return NULL (which is already handled)
8400
8401 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
8402
8403         * win32/common/libgstbase.def:
8404           added export of gst_type_find_helper_for_buffer
8405         * win32/common/libgstbase.def:
8406           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8407           gst_ghost_pad_get_target
8408
8409 2006-02-28  Wim Taymans  <wim@fluendo.com>
8410
8411         * docs/design/draft-klass.txt:
8412         We use Filter now.
8413         Added Connector to mark elements that are only used to
8414         allow pipeline connections.
8415         Moved Debug to extra feature since most of them are 
8416         functionally something else.
8417
8418 2006-02-28  Wim Taymans  <wim@fluendo.com>
8419
8420         * docs/design/draft-klass.txt:
8421         Some updates and clarifications.
8422
8423 2006-02-28  Wim Taymans  <wim@fluendo.com>
8424
8425         * docs/design/draft-klass.txt:
8426         Proposal for klass field values.
8427
8428         * docs/design/part-streams.txt:
8429         Start of a doc describing stream anatomy.
8430
8431 2006-02-28  Wim Taymans  <wim@fluendo.com>
8432
8433         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8434         Help the compiler a bit with type registration.
8435         Use existing forward cod path instead of duplicating it when 
8436         handling a message.
8437         
8438         * gst/gstbus.c: (gst_bus_get_type):
8439         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8440         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8441         * gst/gstclock.c: (gst_clock_get_type):
8442         * gst/gstelement.c: (gst_element_get_type),
8443         * gst/gstelementfactory.c: (gst_element_factory_get_type):
8444         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8445         * gst/gstminiobject.c: (gst_mini_object_get_type):
8446         * gst/gstpad.c: (gst_pad_get_type):
8447         * gst/gstsegment.c: (gst_segment_get_type):
8448         * gst/gststructure.c: (gst_structure_get_type):
8449         * gst/gstsystemclock.c: (gst_system_clock_get_type):
8450         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8451         * gst/gstvalue.c:
8452         Help compiler with type registration.
8453
8454         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8455         Small doc update.
8456
8457 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8458
8459         * plugins/elements/gsttypefindelement.c:
8460         (gst_type_find_element_handle_event):
8461           When we get an EOS event and have not found a type yet
8462           (most likely because we had not yet accumulated
8463           TYPE_FIND_MIN_SIZE of data yet), try to determine the
8464           type given the data we have so far. Fixes typefinding
8465           for very short streams again, most notably quicktime
8466           redirections as used on Apple's trailer site (#331701).
8467
8468 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8469
8470         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8471         (gst_type_find_helper):
8472           Try typefinding factories with the highest rank first.
8473
8474 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8475
8476         * docs/libs/gstreamer-libs-docs.sgml:
8477         * docs/libs/gstreamer-libs-sections.txt:
8478         * libs/gst/base/gsttypefindhelper.c:
8479           Add section for typefind helper and add documentation
8480           for the old and the new function.
8481
8482 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8483
8484         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8485         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8486         (gst_type_find_helper_for_buffer):
8487         * libs/gst/base/gsttypefindhelper.h:
8488           New API: gst_type_find_helper_for_buffer() (#332723).
8489           
8490 2006-02-27  Michael Smith  <msmith@fluendo.com>
8491
8492         Patch by: Loïc Minier
8493
8494         * configure.ac:
8495         * docs/Makefile.am:
8496         * docs/slides/Makefile.am:
8497           prevent CVS directories getting disted.
8498
8499 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8500
8501         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8502           Use the REFCOUNTING category for caps refcounting.
8503           
8504 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8505
8506         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8507           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8508
8509 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8510
8511         * plugins/elements/gsttypefindelement.c:
8512         (gst_type_find_element_activate):
8513           Use gst_pad_check_pull_range() before _activate_pull()
8514           to avoid unnecessary open/close (see #331690).
8515
8516 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8517
8518         * gst/gstutils.c:
8519           Docs enhancement: make it crystal clear what the
8520           gst_pad_add_*_probe() callbacks should look like.
8521
8522 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8523
8524         * libs/gst/base/gstbasesrc.c:
8525           Document how applications can stop recording from
8526           live sources (see #330996).
8527
8528 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8529
8530         * tests/check/Makefile.am:
8531         * tests/check/libs/basesrc.c: (eos_event_counter),
8532         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8533         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8534         (gst_basesrc_suite), (main):
8535           ... and add some tests for the base source EOS stuff.
8536
8537 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8538
8539         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8540           Test case originally showed the problem fixed below,
8541           but was then amended. Add checks back at the place
8542           where they used to be.
8543
8544 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8545
8546         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8547         (gst_base_src_init), (gst_base_src_loop),
8548         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8549         (gst_base_src_change_state):
8550         * libs/gst/base/gstbasesrc.h:
8551           Don't unconditionally send EOS when going from PAUSED to
8552           READY state, esp. make sure we don't send two EOS events
8553           in some cases (e.g. one when reaching EOS and one when
8554           going from PAUSED to READY). Also, we don't want to send
8555           EOS events when operating in pull mode. However, we do
8556           want to send an EOS event when shutting down a live
8557           source explicitly, for example (fixes #330996).
8558           
8559 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8560
8561         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8562           Update src->read_position after a seek when not using mmap.
8563           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8564
8565 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8566
8567         * gst/Makefile.am:
8568         * gst/gstparse.h:
8569         * gst/gstutils.c:
8570         * gst/gstutils.h:
8571         Make things work with --disable-parse as they do with 
8572         --disable-load-save - the symbols involved disappear, but the
8573         header is still installed and GST_DISABLE_PARSE is included via
8574         gstconfig.h
8575
8576 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8577
8578         * libs/gst/base/gstbasetransform.c:
8579         (gst_base_transform_change_state): Fix a stupid bug. I was 
8580         sure I compiled that.
8581
8582 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8583
8584         * gst/gstpad.c: (gst_pad_set_blocked_async):
8585         * gst/gstutils.c: (gst_pad_add_data_probe),
8586         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8587         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8588         (gst_pad_remove_buffer_probe): Make those function act on the
8589         ghostpad target when it's a ghostpad. (Closes #331727)
8590
8591 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8592
8593         * libs/gst/base/gstbasetransform.c:
8594         (gst_base_transform_change_state): Make basetransform reusable.
8595         (Closes #331898)
8596
8597 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8598
8599         * docs/random/release:
8600         Move the current documentation of how to do a release to the top
8601         of the file.
8602
8603         * gst/gstbin.c: (gst_bin_class_init),
8604         (gst_bin_handle_message_func):
8605         Allow multiple state-recalculation threads. (Closes #328873)
8606
8607 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8608
8609         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8610         * gst/gstpad.c: (gst_pad_set_event_function),
8611         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8612         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8613         2 strings. You can't use the STR_NULL macro on that.
8614
8615 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8616
8617         * gst/gstpad.c: (gst_pad_set_event_function),
8618         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8619         (gst_pad_set_getcaps_function)
8620         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8621           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8622           So now, we can use --gst-debug-level=5 on Windows
8623         * win32/common/libgstcontroller.def:
8624           Added export of gst_controller_init
8625         * win32/vs6/libgstcontroller.dsp:
8626           Fixed Release post build configuration
8627
8628 2006-02-17  Wim Taymans  <wim@fluendo.com>
8629
8630         * tests/check/gst/gstquery.c: (GST_START_TEST):
8631         Added another check.
8632
8633 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * plugins/elements/gsttypefindelement.c: (find_peek):
8636           We can do peeks at non-zero offsets, as long as they
8637           fall within the buffer we have.
8638
8639 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8640
8641         * tests/check/Makefile.am:
8642         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8643         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8644         (parse_suite), (main):
8645           Add testsuite for parse launch syntax
8646
8647 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8648
8649         * plugins/elements/gsttypefindelement.c:
8650         (gst_type_find_element_chain):
8651           When typefinding is unsuccessful in the chain function, don't
8652           error out immediately. Only error out with NO_CAPS_FOUND if
8653           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8654           otherwise simply wait for more data so we can try typefinding
8655           again with more data later. Also, don't attempt to typefind
8656           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8657           this should improve typefinding from network sources where the
8658           size of the first buffer can be somewhat random.
8659
8660 2006-02-14  Wim Taymans  <wim@fluendo.com>
8661
8662         * docs/gst/gstreamer-sections.txt:
8663         * gst/gstpadtemplate.c:
8664         * gst/gstpadtemplate.h:
8665         Fix padtemplate docs, fixes #328805.
8666
8667 2006-02-14  Wim Taymans  <wim@fluendo.com>
8668
8669         * tools/gst-launch.c: (main):
8670         NO_PREROLL is not an ERROR so don't send confusing messages
8671         to the user.
8672
8673 2006-02-14  Wim Taymans  <wim@fluendo.com>
8674
8675         Patch by: Torsten Schoenfeld
8676
8677         * gst/gstregistry.c: (gst_registry_get_default),
8678         (_gst_registry_cleanup):
8679         Protect default registry with lock and ref/sink it.
8680         Fixes #324818
8681
8682 2006-02-14  Wim Taymans  <wim@fluendo.com>
8683
8684         * gst/gstbuffer.c:
8685         * gst/gstquery.c: (gst_query_list_add_format),
8686         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8687         (gst_query_parse_formats_nth):
8688         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8689         Docs fixes.
8690
8691 2006-02-14  Wim Taymans  <wim@fluendo.com>
8692
8693         * docs/gst/gstreamer-sections.txt:
8694         Reworked query docs.
8695
8696         * gst/gstquery.c: (gst_query_new_formats),
8697         (gst_query_list_add_format), (gst_query_set_formats),
8698         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8699         (gst_query_parse_formats_nth):
8700         * gst/gstquery.h:
8701         Flesh out formats query, added some new methods.
8702         Fix part of #324398.
8703
8704         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8705         Added query creation tests.
8706
8707 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8708
8709         * gst/gstpad.c: (fixate_value):
8710         Add a default fixation for fraction lists.
8711
8712 2006-02-13  Wim Taymans  <wim@fluendo.com>
8713
8714         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8715         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8716         (gst_task_join):
8717         * gst/gsttask.h:
8718         Detect and warn for obvious deadlocks. fixes #320340
8719         Fix error case where lock was not released.
8720
8721         * tests/check/Makefile.am:
8722         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8723         (task_func), (gst_element_suite), (main):
8724         Add task check.
8725
8726 2006-02-13  Wim Taymans  <wim@fluendo.com>
8727
8728         * docs/gst/gstreamer-sections.txt:
8729         * gst/gstbus.c:
8730         Add new functions to docs.
8731
8732 2006-02-13  Wim Taymans  <wim@fluendo.com>
8733
8734         * docs/design/part-TODO.txt:
8735         Updated TODO list, basesrc supports seeking to non-bytes
8736         formats.
8737
8738         * docs/design/part-element-sink.txt:
8739         Update docs.
8740
8741         * gst/gstbin.c: (bin_replace_message),
8742         (gst_bin_handle_message_func):
8743         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8744         * gst/gstevent.c: (gst_event_finalize):
8745         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8746         (gst_pad_send_event):
8747         Use shiny new _TYPE_NAME macros.
8748
8749         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8750         Move debug statement up.
8751
8752         * gst/gstelement.c: (gst_element_set_locked_state):
8753         Add some debugging.
8754
8755 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8756
8757         * docs/gst/gstreamer-sections.txt:
8758         * gst/gstmessage.h:
8759         * gst/gstquery.h:
8760           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8761           macros (#330906). Also, document the already existing
8762           GST_QUERY_TYPE macro.
8763
8764 2006-02-13  Wim Taymans  <wim@fluendo.com>
8765
8766         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8767         (event_probe), (GST_START_TEST):
8768         Only events up to the pipeline EOS are counted, there are
8769         some more when going to NULL currently which we don't care
8770         about for now.
8771
8772 2006-02-13  Wim Taymans  <wim@fluendo.com>
8773
8774         * gst/gstpad.c: (gst_pad_send_event):
8775         Correctly check flushing and emit probes. fixes #330125
8776
8777 2006-02-10  Andy Wingo  <wingo@pobox.com>
8778
8779         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8780         structure.
8781         (gst_bus_init): Cache the location of the private data in the
8782         instance structure.
8783         (gst_bus_enable_sync_message_emission) 
8784         (gst_bus_disable_sync_message_emission): Implement new public
8785         functions.
8786         (gst_bus_post): Emit the sync-message signal if the user asked for
8787         it. Fixes #330684.
8788
8789         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8790         location of the bus-private structure.
8791         (gst_bus_enable_sync_message_emission)
8792         (gst_bus_disable_sync_message_emission): API addition
8793
8794 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8795
8796         Patch by: Vincent Torri
8797
8798         * docs/pwg/building-boiler.xml:
8799         PWG patch from #326800
8800
8801 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8802
8803         * configure.ac:
8804         * docs/Makefile.am:
8805         * docs/design/Makefile.am:
8806           Dist design docs.
8807
8808 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8809
8810         * configure.ac:
8811           back to CVS
8812
8813 === release 0.10.3 ===
8814
8815 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8816
8817         * configure.ac:
8818           releasing 0.10.3, "Like a virgin"
8819
8820 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8821
8822         * configure.ac:
8823           2nd prerelease of 0.10.3
8824           Bump libtool versioning.
8825
8826 2006-02-07  Andy Wingo  <wingo@pobox.com>
8827
8828         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8829         update last_stop if we're in TIME format and the timestamp is
8830         valid.
8831
8832         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8833         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8834         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8835         If we get a new newsegment with a different format, adapt
8836         accordingly.
8837
8838         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8839         of 0. Not a problem, really.
8840
8841         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8842         warn if sync=true.
8843
8844 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8845
8846         * configure.ac:
8847           Prelease of 0.10.3
8848
8849 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8850
8851         * win32/vs7:
8852           project files updated to the default vs7 configuration
8853         * win32/common/libgstbase.def:
8854         * win32/common/libgstreamer.def:
8855           added new symbols,
8856           removed empty lines,
8857           sorted all exported symbols alphabetically
8858         * win32/common/dirent.c:
8859         * win32/common/dirent.h:
8860         * win32/common/gchar.h:
8861           use windows line end.
8862           
8863 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8864
8865         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8866           Send EOS event when stopping.
8867
8868 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8869
8870         * docs/README:
8871           Tell folks what to do if the plugin-foobar.xml file
8872           hasn't been generated for a newly-added plugin.
8873
8874 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8875
8876         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8877         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8878         (gst_collect_pads_start), (gst_collect_pads_stop),
8879         (gst_collect_pads_event): Collectpads now holds a reference
8880         to the GstPad that was added. Indeed we don't want to look
8881         at pads that might just go away with no warning...
8882
8883 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8884
8885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8886         (gst_collect_pads_start), (gst_collect_pads_stop),
8887         (gst_collect_pads_event), (gst_collect_pads_chain):
8888         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8889         Mark Nauwelaerts's patch on bug #328491.
8890
8891 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8892
8893         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8894         (gst_utils_suite):
8895           Add some simple tests for gst_parse_bin_from_description() and
8896           gst_bin_find_unconnected_pad() (#329069).
8897
8898 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8899
8900         * tools/gst-launch.c: (event_loop), (main):
8901           Catch errors during preroll (#320084).
8902
8903 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8904
8905         * plugins/elements/gsttypefindelement.c:
8906         (gst_type_find_element_activate):
8907           Post TYPE_NOT_FOUND error message when typefinding
8908           is unsuccessful in the activate function as well.
8909
8910 2006-02-02  Wim Taymans  <wim@fluendo.com>
8911
8912         * docs/design/part-element-sink.txt:
8913         Updated doc.
8914
8915 2006-02-02  Wim Taymans  <wim@fluendo.com>
8916
8917         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8918         (gst_base_sink_render_object),
8919         (gst_base_sink_queue_object_unlocked):
8920         Only keep track of prerollable items when we are 
8921         prerolling.
8922         Before rendering after preroll, always check if we
8923         have queued items.
8924         Added some more debugging.
8925
8926 2006-02-02  Wim Taymans  <wim@fluendo.com>
8927
8928         * gst/gstelement.c: (gst_element_continue_state),
8929         (gst_element_set_state_func), (gst_element_change_state):
8930         Fixed #326576, been running this for quite some time with
8931         no regressions at all.
8932
8933 2006-02-02  Wim Taymans  <wim@fluendo.com>
8934
8935         * common/gst.supp:
8936         Added more suppressions
8937
8938 2006-02-02  Wim Taymans  <wim@fluendo.com>
8939
8940         * docs/design/part-element-sink.txt:
8941         Updated document.
8942
8943         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8944         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8945         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8946         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8947         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8948         (gst_base_sink_preroll_object),
8949         (gst_base_sink_queue_object_unlocked),
8950         (gst_base_sink_queue_object), (gst_base_sink_event),
8951         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8952         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8953         (gst_base_sink_get_position), (gst_base_sink_change_state):
8954         * libs/gst/base/gstbasesink.h:
8955         Totally refactored matching the design doc.
8956         Use two segments, one to clip incomming buffers and another to
8957         perform sync.
8958         Handle queueing correctly, bypass the queue when playing.
8959         Make EOS cancelable.
8960         Handle errors correctly when operating in pull based mode.
8961
8962         * tests/check/elements/fakesink.c: (GST_START_TEST),
8963         (fakesink_suite):
8964         Added new check for sinks.
8965
8966 2006-02-02  Wim Taymans  <wim@fluendo.com>
8967
8968         * gst/gstsegment.c: (gst_segment_clip):
8969         No reason to refuse to clip when start == -1
8970
8971 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8972
8973         * docs/README:
8974         * docs/manual/intro-basics.xml:
8975         * docs/manual/intro-preface.xml:
8976         * docs/manual/manual.xml:
8977         * docs/pwg/advanced-dparams.xml:
8978         * docs/pwg/intro-basics.xml:
8979         * docs/pwg/intro-preface.xml:
8980         * docs/pwg/pwg.xml:
8981           describe dparams (controller) for plugins
8982           unify docs a little more
8983
8984 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8985
8986         * docs/gst/gstreamer-sections.txt:
8987         * gst/gstutils.c: (element_find_unconnected_pad),
8988         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8989         * gst/gstutils.h:
8990           Add new API: gst_parse_bin_from_description() and
8991           gst_bin_find_unconnected_pad() (#329069).
8992
8993 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8994
8995         * docs/manual/README:
8996           uncover a nasty detail of the docs build
8997
8998 2006-01-31  Wim Taymans  <wim@fluendo.com>
8999
9000         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9001         Don't cache duration messages if we're not going to use or
9002         free them.
9003
9004 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
9005
9006         * docs/manual/advanced-dparams.xml:
9007         * docs/pwg/advanced-dparams.xml:
9008           more dparam docs
9009         * gst/gstindex.c:
9010           fix docs
9011         * libs/gst/controller/lib.c: (gst_controller_init):
9012           init just once
9013
9014 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
9015
9016         * gst/gstelement.c: (gst_element_message_full):
9017           also show file/line/func if no additional debug was given
9018
9019 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
9020         
9021         * win32/vs7/grammar.vcproj:
9022           activate copy of autogenerated files for Release mode
9023
9024 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
9025         
9026         * win32/common/libgstreamer.def:
9027           export gst_value_compare
9028
9029 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
9030
9031         * plugins/elements/Makefile.am:
9032         * plugins/elements/gstelements.c:
9033         * plugins/elements/gstfdsink.c: (_do_init),
9034         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9035         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9036         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9037         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9038         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9039         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9040         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9041         * plugins/elements/gstfdsink.h:
9042         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9043
9044 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
9045
9046         * docs/manual/advanced-dparams.xml:
9047           describe controller
9048         * docs/manual/advanced-position.xml:
9049         * docs/manual/basics-init.xml:
9050         * docs/manual/manual.xml:
9051         * docs/manual/titlepage.xml:
9052         * docs/pwg/pwg.xml:
9053         * docs/pwg/titlepage.xml:
9054           cleanup xml (more to come)
9055         * libs/gst/controller/gstcontroller.c:
9056           fix typo
9057
9058 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
9059         
9060         * win32/vs6/grammar.dsp:
9061           add autogen of gstmarshal.c,h for Release mode
9062                 
9063 2006-01-30  Wim Taymans  <wim@fluendo.com>
9064
9065         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9066         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9067         (gst_base_sink_handle_object), (gst_base_sink_event),
9068         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9069         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9070         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9071         (gst_base_sink_deactivate), (gst_base_sink_activate),
9072         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9073         (gst_base_sink_query), (gst_base_sink_change_state):
9074         Basesink cleanups, remove some old code.
9075         Handle the case where a subclass can preroll in the render
9076         method (mostly audiosinks).
9077         Handle more events.
9078         Remove some locks around variables that are now protected
9079         with the PREROLL_LOCK (clock_id, flushing, ..).
9080         Optimize position query some more, do correct locking.
9081         Remove old code to push queue in state change, this is not
9082         needed anymore since preroll blocks on all prerollable items 
9083         now.
9084         Almost implemented as described in design doc.
9085
9086 2006-01-30  Wim Taymans  <wim@fluendo.com>
9087
9088         * tests/check/gst/gstbin.c: (GST_START_TEST):
9089         Wait for refcount to settle down before checking.
9090
9091 2006-01-30  Wim Taymans  <wim@fluendo.com>
9092
9093         * docs/design/part-element-sink.txt:
9094         Pseudo code overview of desired sink behaviour regarding
9095         preroll.
9096
9097 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
9098         * win32/vs6/grammar.dsp:
9099           fix some bugs in Release mode for autogenerated files
9100                 
9101 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
9102         * win32/common/libgstbase.def:
9103         * win32/common/libgstreamer.def:
9104           export some new symbols: gst_base_src_set_format,
9105           gst_iterator_next, gst_structure_set_valist
9106
9107 2006-01-29  Julien MOUTTE  <julien@moutte.net>
9108
9109         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9110         Set pad functions unconditionally. Fixes #329105.
9111
9112 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
9113         * win32/vs8:
9114           add vs8 project files created by Sergey Scobich
9115
9116 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
9117
9118         * gst/gstutils.c: (gst_element_unlink_pads):
9119         Don't leak pad references.
9120
9121         * tests/check/elements/fakesink.c: (GST_START_TEST):
9122         * tests/check/generic/sinks.c: (GST_START_TEST):
9123         * tests/check/generic/states.c: (GST_START_TEST):
9124         * tests/check/gst/gstbin.c: (GST_START_TEST):
9125         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9126         * tests/check/gst/gstelement.c: (GST_START_TEST):
9127         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9128         * tests/check/gst/gstiterator.c: (GST_START_TEST):
9129         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9130         Fix a bunch of leaks. Make generic/sinks.c
9131         use a bit less cpu by slowing the buffer rate
9132         between fakesrc and fakesink.
9133         
9134 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
9135         * gst/gstcaps.c:
9136         * gst/gstelement.c: (gst_element_send_event):
9137         * gst/gstevent.c:
9138         * gst/gstinfo.c:
9139         * gst/gstiterator.c:
9140         * gst/gstiterator.h:
9141         * gst/gstpad.c: (gst_pad_send_event):
9142         * gst/gststructure.c:
9143         * gst/gsturi.c:
9144         * gst/gstutils.c:
9145         * gst/gstvalue.c:
9146         * libs/gst/base/gstadapter.c:
9147           doc fixes, to link to function, just write gst_cool_function(), don't
9148           prefix with '#'
9149
9150 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9151
9152         * plugins/elements/gsttee.c: (gst_tee_do_push),
9153         (gst_tee_handle_buffer):
9154         Always prefer an actual return value from a src
9155         pad in place of NOT_LINKED. This means we return
9156         WRONG_STATE when all src pads are WRONG_STATE
9157         instead of NOT_LINKED.
9158
9159         Lock when replacing the last message to prevent
9160         racing with the get_property method.
9161
9162         Add debug output
9163
9164 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9165
9166         * tests/check/Makefile.am:
9167         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9168         (main):
9169         Add a very simple check that should have caught the memleak I fixed
9170         last night (if not for the slice allocator hiding it)
9171
9172 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9173
9174         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9175         (gst_bin_remove_func), (gst_bin_handle_message_func),
9176         (bin_query_duration_fold), (bin_query_generic_fold):
9177         Clean up references to the clock provider when disposed or when
9178         handling a clock-lost message from it.
9179
9180         Unref sinks when performing a query via gst_iterator_fold, as the
9181         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9182
9183         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9184         (gst_clock_set_master):
9185         Drop our reference to the master clock, if any, when we are disposed.
9186
9187         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9188         Chain up in dispose. 
9189
9190 2006-01-26  Wim Taymans  <wim@fluendo.com>
9191
9192         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9193         Add some debugging.
9194
9195 2006-01-26  Julien MOUTTE  <julien@moutte.net>
9196
9197         * plugins/elements/gsttee.c: (gst_tee_do_push),
9198         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9199         handles pad being NOT_LINKED or in WRONG_STATE.
9200
9201 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9202
9203         * win32/MANIFEST:
9204           more updating
9205
9206 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9207
9208         * win32/MANIFEST:
9209           remove obsolete entry
9210
9211 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9212
9213         * docs/gst/gstreamer-sections.txt:
9214         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9215         (gst_bin_iterate_sources), (gst_bin_send_event):
9216         * gst/gstbin.h:
9217         * gst/gstelement.c: (gst_element_send_event):
9218         * gst/gstevent.c:
9219         * gst/gstpad.c: (gst_pad_send_event):
9220           added code for downstream events, reviewed docs in gstevent.c
9221
9222 2006-01-25  Julien MOUTTE  <julien@moutte.net>
9223
9224         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9225         We only query position using the clock in the playing state.
9226         Query peer in the other cases.
9227         * win32/common/config.h: Updates.
9228
9229 2006-01-24  Wim Taymans  <wim@fluendo.com>
9230
9231         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9232         A clock entry that is scheduled for the exact time of the
9233         clock is still in time.
9234
9235         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9236         (gst_base_sink_do_sync):
9237         Add some more debug info.
9238
9239 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
9240
9241         * win32/vs7:
9242           Add new vs7 project files and solution.
9243
9244 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
9245
9246         * win32/vs7:
9247           all files removed as they were out-dated.
9248
9249 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9250
9251         * docs/random/release:
9252           update notes
9253         * gst/gstbin.c: (gst_bin_init):
9254         * gst/gstbus.c: (gst_bus_new):
9255         * gst/gstbus.h:
9256         * gst/gstpipeline.c: (gst_pipeline_init):
9257           use gst_bus_new(), improve logging, fix docs
9258         * win32/common/config.h:
9259           update for cvs build
9260
9261 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9262
9263         * autogen.sh:
9264           up required version of automake to 1.7
9265
9266 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
9267
9268         * win32/common/libgstreamer.def:
9269           export gst_buffer_is_metadata_writable
9270
9271 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
9272
9273         * docs/gst/gstreamer-sections.txt:
9274         * gst/gstevent.h:
9275           Add gst_event_replace() (#327001)
9276
9277 2006-01-20  Wim Taymans  <wim@fluendo.com>
9278
9279         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9280         Make it actually compile too..
9281
9282 2006-01-20  Wim Taymans  <wim@fluendo.com>
9283
9284         * gst/gstcaps.c:
9285         Clarify behaviour of _is_equal() when passing NULL parameters.
9286
9287         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9288         (gst_pad_set_caps):
9289         Cleanups. Don't unref NULL caps.
9290         When setting the same caps, protect caps of the pad with
9291         proper lock.
9292         Use full functionality of _is_equal() when comparing caps.
9293
9294 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
9295
9296         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9297         Don't loop infinitely if there are no buffers to present. Partially
9298         fixes #327197, but collectpads is just broken for reusing elements
9299         to do multiple encodes atm.
9300
9301 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
9302
9303         * tools/gst-inspect.c: (print_element_features):
9304         * tools/gst-xmlinspect.c: (main):
9305         URL_HANDLER is not a plugin feature we can search for in
9306         the registry.
9307
9308 2006-01-19  Edward Hervey  <edward@fluendo.com>
9309
9310         * gst/gstelement.c: (gst_element_pads_activate): 
9311         When activating, do src pads first, then sink pads.
9312         When de-activating, do sink pads first, then src pads.
9313
9314 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9315
9316         * docs/gst/gstreamer-sections.txt:
9317         Add gst_index_add_associationv to the docs
9318
9319 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9320
9321         * gst/gstevent.c:
9322           Fix docs typo
9323
9324         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9325         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9326           Do some refactoring. Doesn't actually change functionality,
9327           but makes landing the DRAIN event easier later.
9328
9329 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
9330
9331         * docs/pwg/advanced-scheduling.xml:
9332           Update from 0.9.x to 0.10 API and make example a bit
9333           clearer.
9334
9335 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9336
9337         * docs/gst/gstreamer-sections.txt:
9338         Add gst_buffer_(is|make)_metadata_writable methods.
9339
9340 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9341
9342         * docs/design/part-sparsestreams.txt:
9343         Update sparse streams doc, hopefully for greater clarity
9344
9345 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
9346
9347         * docs/design/part-events.txt:
9348         Remove mention of FILLER events.
9349         Add DRAIN event.
9350
9351         * docs/design/part-sparsestreams.txt:
9352         Write some things about using NEWSEGMENT to keep sparse streams
9353         flowing.
9354
9355 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9356
9357         * gst/gstbin.c: (gst_bin_dispose):
9358           Guard gst_object_unref call against a NULL object (dispose
9359           can theoretically be called multiple times).
9360           
9361 2006-01-18  Wim Taymans  <wim@fluendo.com>
9362
9363         * gst/gstbin.c: (gst_bin_element_set_state):
9364         * gst/gstclock.c: (gst_clock_id_wait):
9365         Added some more debug info.
9366
9367         * libs/gst/base/gstadapter.c:
9368         Added more docs.
9369
9370         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9371         (gst_base_sink_do_sync), (gst_base_sink_chain):
9372         Added some comments.
9373
9374 2006-01-18  Wim Taymans  <wim@fluendo.com>
9375
9376         * tests/check/Makefile.am:
9377         * tests/check/elements/fakesink.c: (chain_async_buffer),
9378         (chain_async), (chain_async_return), (GST_START_TEST),
9379         (fakesink_suite), (main):
9380         Added fakesink test that checks prerolling and clipping
9381         behaviour.
9382
9383         * tests/check/gst/gstutils.c: (GST_START_TEST):
9384         Make check run faster so that buildbots don't timeout.
9385
9386 2006-01-18  Wim Taymans  <wim@fluendo.com>
9387
9388         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9389         (gst_base_sink_do_sync):
9390         Some cleanups.
9391         When the sink finishes blocking on the preroll buffer, it can
9392         immediatly render it instead of rendering when the next buffer
9393         arrives.
9394
9395 2006-01-18  Wim Taymans  <wim@fluendo.com>
9396
9397         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9398         (gst_base_sink_get_property), (gst_base_sink_do_sync),
9399         (gst_base_sink_chain):
9400         Small cleanups.
9401         GST_ELEMENT_CLOCK and sync are protected with LOCK.
9402         Don't store _last_stop if the buffer is dropped.
9403
9404 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9405
9406         * plugins/elements/gsttypefindelement.c:
9407         (gst_type_find_element_class_init):
9408           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9409           object method handler that sets the caps on the pad and we want
9410           that to happen before we emit the signal (fixes e.g. feeding a
9411           plain text file to decodebin).
9412
9413 2006-01-18  Christian Schaller  <Christian@fluendo.com>
9414
9415         * gst/gstplugin.c: Add MPL and Proprietary as license options
9416
9417 2006-01-18  Andy Wingo  <wingo@pobox.com>
9418
9419         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9420         symbol was exported before, it appears this was just an oversight.
9421         Fixes #168703.
9422         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9423
9424         * gst/gstindex.c (gst_index_add_associationv): Changed int in
9425         prototype to gint. OK since this prototype was not in the header.
9426
9427 2006-01-17  Andy Wingo  <wingo@pobox.com>
9428
9429         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9430         registry while we remove plugins.
9431
9432         * tools/gst-inspect.c (print_element_info): Don't unref the
9433         factory arg, that should be the responsibility of whatever code
9434         received the ref. Fixes a double-free when called from
9435         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9436         (main): Unref the factory if we have one.
9437         (print_element_list): No change -- relies on the
9438         plugin_feature_list_free to free the list of features.
9439
9440 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
9441
9442         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9443         (gst_buffer_make_metadata_writable):
9444         * gst/gstbuffer.h:
9445         * libs/gst/base/gstbasetransform.c:
9446         (gst_base_transform_prepare_output_buf):
9447         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9448         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9449           Replace gst_buffer_(make|is)_metadata_writable patch now
9450           that the release is out.
9451
9452 2006-01-17  Andy Wingo  <wingo@pobox.com>
9453
9454         * gst/gstregistry.c: Reflow design comment. Update so as to speak
9455         in the present tense without reference to versions.
9456
9457         * gst/gstregistry.c (gst_registry_add_plugin)
9458         (gst_registry_remove_plugin, gst_registry_remove_feature)
9459         (gst_registry_find_feature, gst_registry_get_feature_list)
9460         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9461         (gst_registry_lookup, gst_registry_scan_path)
9462         (_gst_registry_remove_cache_plugins)
9463         (gst_registry_get_feature_list_by_plugin): Add argument
9464         validation.
9465
9466 === release 0.10.2 ===
9467
9468 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
9469
9470         * configure.ac:
9471           releasing 0.10.2, "If man is five"
9472
9473 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9474
9475         * gst/gstbuffer.c:
9476         * gst/gstbuffer.h:
9477         * libs/gst/base/gstbasetransform.c:
9478         (gst_base_transform_prepare_output_buf):
9479         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9480         * tests/check/gst/gstbuffer.c: (gst_test_suite):
9481           Back out patch until after the release.
9482
9483 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9484
9485         * gst/gstminiobject.c:
9486           Spelling fix in docs.
9487         * ChangeLog - remove conflict indicator
9488
9489 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9490
9491         Reviewed By: Andy Wingo
9492
9493         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9494         (gst_buffer_make_metadata_writable):
9495         * gst/gstbuffer.h:
9496           Add gst_buffer_(is|make)_metadata_writable as analogues of
9497           gst_buffer_(is|make)_writable.
9498
9499         * libs/gst/base/gstbasetransform.c:
9500         (gst_base_transform_prepare_output_buf):
9501         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9502           Use name gst_buffer_(is|make)_metadata_writable functions.
9503
9504         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9505           Test gst_buffer_(is|make)_metadata_writable
9506         
9507           (Closes: #324162)
9508
9509 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9510
9511         * docs/manual/Makefile.am:
9512           don't do parallel make
9513         * configure.ac:
9514           AC_SUBST HOST_CPU
9515         * win32/common/config.h.in:
9516           add generations for HOST_CPU and GST_MAJORMINOR
9517         * win32/common/config.h:
9518           commit generated result
9519
9520 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9521
9522         * docs/manual/appendix-integration.xml:
9523           Update GNOME integration section to use gst_init_get_option_group()
9524           instead of the old popt stuff (#322911). Also, GNOME applications
9525           should  now use gconf*sink and gconf*src instead of the old gconf
9526           helper lib we had.
9527
9528 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9529
9530
9531         * docs/gst/gstreamer-docs.sgml:
9532         * docs/gst/gstreamer-sections.txt:
9533         * docs/libs/gstreamer-libs-sections.txt:
9534           add new API entries to the docs
9535         * libs/gst/controller/Makefile.am:
9536         * libs/gst/controller/gstcontroller.c:
9537         * libs/gst/controller/gstcontroller.h:
9538         * libs/gst/controller/gstcontrollerprivate.h:
9539         * libs/gst/controller/gsthelper.c:
9540         * libs/gst/controller/gstinterpolation.c:
9541           move private structs to private header
9542         * po/README:
9543           gstreamer-0.7 -> gstreamer-0.10
9544         * tests/check/libs/struct_i386.h:
9545           remove private structs
9546
9547 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9548
9549         * plugins/indexers/Makefile.am:
9550           Fixes as part of #317048
9551
9552 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9553
9554         * plugins/indexers/Makefile.am:
9555           fix #316086 - compilation when mmap is missing
9556
9557 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9558
9559         * libs/gst/base/gstbasesink.c:
9560           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9561           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9562         * win32/common/config.h:
9563           added some defines GST_MAJORMINOR and HOST_CPU
9564         * win32/common/libgstbase.def:
9565         * win32/common/libgstreamer.def:
9566           added some exported functions.
9567
9568 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9569
9570         * libs/gst/controller/gstcontroller.c:
9571         (gst_controlled_property_set_interpolation_mode),
9572         (gst_controlled_property_new):
9573         * libs/gst/controller/gstcontroller.h:
9574         * libs/gst/controller/gstinterpolation.c:
9575         (interpolate_none_get_string_value_array):
9576           make G_TYPE_STRING controlable
9577
9578 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9579
9580         * tools/README:
9581         * tools/gst-feedback.1.in:
9582         * tools/gst-inspect.1.in:
9583         * tools/gst-launch.1.in:
9584         * tools/gst-md5sum.1.in:
9585         * tools/gst-typefind.1.in:
9586         * tools/gst-xmlinspect.1.in:
9587         * tools/gst-xmllaunch.1.in:
9588           cleanup man-pages, remove reference to gst-register, document env-vars
9589
9590 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9591
9592         * gst/gstbuffer.c: (gst_buffer_span):
9593           gst_buffer_span should copy the timestamp of the first buffer
9594           if they were both originally overlapping subbuffers of the 
9595           same parent, using the same logic as the 'slow copy' case.
9596
9597 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9598
9599         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9600           Need to awaken ALL the pads when we pop a buffer, otherwise
9601           collectpads only works when there is 2 input streams.
9602
9603 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9604
9605         * docs/random/ensonic/media-device-daemon.txt:
9606           more ideas (dbus)
9607         * gst/gstbuffer.c:
9608           fix doc example, add clarification
9609         * tools/gst-launch.1.in:
9610           add initial info about GST_PLUGIN_PATH, needs more work
9611
9612 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9613
9614         * docs/manual/basics-bins.xml:
9615         * docs/manual/basics-elements.xml:
9616         * docs/manual/intro-basics.xml:
9617           Some more minor docs additions and updates.
9618
9619 2006-01-11  Wim Taymans  <wim@fluendo.com>
9620
9621         * docs/manual/basics-bins.xml:
9622         * docs/manual/basics-elements.xml:
9623         Some small fixes as pointed out by Ser-ver on IRC.
9624
9625 2006-01-10  Edward Hervey  <edward@fluendo.com>
9626
9627         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9628         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9629         the single-segment mode.
9630
9631 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9632
9633         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9634
9635         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9636         (gst_base_src_perform_seek), (gst_base_src_send_event),
9637         (gst_base_src_set_property), (gst_base_src_get_property),
9638         (gst_base_src_loop), (gst_base_src_start),
9639         (gst_base_src_activate_push):
9640         * libs/gst/base/gstbasesrc.h:
9641           Name (private) union; makes Sun's Forte compiler happy (#324900).
9642
9643 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9644
9645         * README:
9646           gst-register is gone.
9647
9648 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9649
9650         * gst/gstvalue.c: (_gst_value_initialize):
9651           make the G_TYPE_DATE instantiation work if debug is disabled
9652
9653 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9654
9655         * gst/gstmessage.c: (gst_message_parse_tag),
9656         (gst_message_parse_error), (gst_message_parse_warning):
9657           Don't crash when return location for error/warning debug
9658           string is NULL; add fact that return locations can be
9659           NULL to docs where appropriate.
9660
9661 2006-01-05  Wim Taymans  <wim@fluendo.com>
9662
9663         * gst/gstplugin.c: (gst_plugin_load_file):
9664         Replace strdup by g_strdup.
9665
9666 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9667
9668         * docs/pwg/advanced-types.xml:
9669           fix doc borkage
9670
9671 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9672
9673         submitted by: Abel Cheung
9674
9675         * po/LINGUAS:
9676         * po/zh_TW.po:
9677           Added Chinese (traditional) translation
9678
9679 2006-01-04  Wim Taymans  <wim@fluendo.com>
9680
9681         * docs/manual/basics-pads.xml:
9682         * docs/plugins/Makefile.am:
9683         * docs/plugins/gstreamer-plugins-docs.sgml:
9684         * docs/plugins/gstreamer-plugins-sections.txt:
9685         * docs/pwg/advanced-clock.xml:
9686         * docs/pwg/advanced-scheduling.xml:
9687         * docs/pwg/advanced-types.xml:
9688         * plugins/elements/gstfdsink.c:
9689         * plugins/elements/gstfdsrc.c:
9690         * plugins/elements/gstfdsrc.h:
9691         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9692         * plugins/elements/gstidentity.h:
9693         * plugins/elements/gstqueue.h:
9694         * plugins/elements/gsttee.c:
9695         * plugins/elements/gsttee.h:
9696         * plugins/elements/gsttypefindelement.c:
9697         (gst_type_find_element_class_init):
9698         * plugins/elements/gsttypefindelement.h:
9699         Small updates to various docs.
9700         Added core plugins to docs.
9701
9702 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9703
9704         * common/gst.supp:
9705           add a suppression for liboil's uninitialized variable
9706
9707 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9708
9709         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9710
9711         * gst/gstutils.h:
9712           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9713           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9714           compiler switch is being used (#325429).
9715
9716 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9717
9718         * gst/gstbin.c: (gst_bin_query):
9719           Disable duration query caching in bins until it gets
9720           fixed (see #324807).
9721
9722 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9723
9724         * tools/gst-inspect.c: (print_element_properties_info):
9725           Handle properties of POINTER and BOXED type.
9726
9727 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9728
9729         * gst/gst.c: (init_post):
9730           Init tags stuff and some other things before loading
9731           any static plugins (there may be other static plugins
9732           than just the GStreamer ones, and they may want to
9733           register their own tags or formats or whatever, and
9734           preferably without segfaulting).
9735
9736         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9737           Print at least a warning in the debug logs if we drop a
9738           query just because we don't know how to adjust the value
9739           in the particular format.
9740
9741 2005-12-24  David Schleef  <ds@schleef.org>
9742
9743         * tools/gstreamer-completion:
9744           Replacement for gst-complete written in sh and sed.  Only
9745           completes names of features, but that's 90% of what I want
9746           it for.  Properties are not available in registry.xml.  (Maybe
9747           they should be...)
9748
9749 === release 0.10.1 ===
9750
9751 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9752
9753         * configure.ac:
9754           releasing 0.10.1, "Nollaig chridheil"
9755
9756 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9757
9758         * docs/faq/cvs.xml:
9759           Add missing quote, should be make ERROR_CFLAGS="".
9760
9761 2005-12-20  Wim Taymans  <wim@fluendo.com>
9762
9763         * docs/design/part-trickmodes.txt:
9764         More documentation on trickmodes.
9765
9766 2005-12-20  Edward Hervey  <edward@fluendo.com>
9767
9768         * gst/gstcaps.c: (gst_static_caps_get_type):
9769         * gst/gstcaps.h:
9770           API addition: GST_TYPE_STATIC_CAPS
9771         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9772         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9773         * gst/gstpadtemplate.h:
9774           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9775         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9776         bindings.
9777
9778 2005-12-18  Wim Taymans  <wim@fluendo.com>
9779
9780         * libs/gst/base/gstadapter.c:
9781         * libs/gst/base/gstadapter.h:
9782         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9783         (gst_base_sink_get_position):
9784         * libs/gst/base/gstbasesink.h:
9785         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9786         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9787         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9788         (gst_base_src_send_event), (gst_base_src_update_length),
9789         (gst_base_src_get_range), (gst_base_src_loop),
9790         (gst_base_src_start):
9791         * libs/gst/base/gstbasesrc.h:
9792         * libs/gst/base/gstbasetransform.h:
9793         * libs/gst/base/gstcollectpads.h:
9794         * libs/gst/base/gstpushsrc.c:
9795         * libs/gst/base/gstpushsrc.h:
9796         * libs/gst/dataprotocol/dataprotocol.c:
9797         * libs/gst/dataprotocol/dataprotocol.h:
9798         * libs/gst/net/gstnetclientclock.h:
9799         * libs/gst/net/gstnettimeprovider.h:
9800         Documentation updates.
9801
9802 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9803
9804         * docs/manual/basics-helloworld.xml:
9805           Remove superfluous closing bracket in helloworld example.
9806
9807 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9808
9809         * tools/gst-launch.1.in:
9810           Update gst-launch man page; add a section with useful
9811           environment variables. Fixes #323882.
9812
9813 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9814
9815         * gst/gst.c:
9816         * gst/gst_private.h:
9817           change some char* into char[]
9818
9819 2005-12-16  Wim Taymans  <wim@fluendo.com>
9820
9821         * gst/gstregistryxml.c: (load_feature):
9822         Cleanups.
9823         Don't use g_object_unref on GstObjects so that we avoid
9824         leaks on unsafe glibs.
9825
9826 2005-12-16  Wim Taymans  <wim@fluendo.com>
9827
9828         * gst/gstbin.c: (gst_bin_recalc_state):
9829         Small doc updates.
9830
9831 2005-12-16  Wim Taymans  <wim@fluendo.com>
9832
9833         * common/check.mak:
9834         Added make forever target for check.
9835
9836 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9837
9838         * gst/gst.c: (init_post):
9839           make the registry cache file HOST_CPU-dependent
9840
9841 2005-12-16  Andy Wingo  <wingo@pobox.com>
9842
9843         * plugins/elements/gstbufferstore.c
9844         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9845         return value.
9846
9847         * tests/check/gst/gstobject.c
9848         (test_fake_object_name_threaded_unique): Pay attention to
9849         g_list_sort return value.
9850
9851 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9852
9853         * tools/gst-feedback-m.m:
9854           Update for 0.9/0.10 (fixes #323870).
9855
9856 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9857
9858         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9859           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9860           
9861         * tests/check/gst/gstminiobject.c: (my_foo_init),
9862         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9863         (test_value_collection), (gst_mini_object_suite):
9864           Add test to ensure refcounts end up as expected when passing
9865           GstMiniObjects through g_object_get() and g_object_set().
9866
9867 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9868
9869         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9870         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9871         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9872         of collectpads. This version removes a lot of races without
9873         touching API/ABI. Yay !
9874
9875 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9876
9877         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9878           Don't allow activation of a srcpad in pull_range if it has no
9879           getrange function.
9880           Change some debug statements to be a little clearer
9881
9882         * plugins/elements/gsttypefindelement.c:
9883         (gst_type_find_handle_src_query):
9884           Check that we have a peer before executing queries thereupon.
9885
9886         * tests/examples/metadata/read-metadata.c: (message_loop):
9887           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9888           immediately return us any available message with 0 timeout.
9889
9890 2005-12-12  Michael Smith  <msmith@fluendo.com>
9891
9892         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9893           Don't unref factories after calling them.
9894         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9895         * plugins/elements/gsttypefindelement.c:
9896         (gst_type_find_element_chain):
9897           Free lists of factories after using them. Fixing typefinding memory
9898           leaks.
9899
9900 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9901
9902         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9903         (gst_plugin_feature_load):
9904           more meaningful debug output
9905         * configure.ac:
9906         * tests/Makefile.am:
9907         * tests/old/examples/Makefile.am:
9908           make make distcheck happy again
9909
9910 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9911
9912         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9913           Catch the special case where we are operating chain-based,
9914           but the downstream peer pad has no chain function. Emit a
9915           custom error message in this case instead of letting the
9916           core generate one implying that this is some sort of core
9917           bug. It's not, it just means that whatever got plugged
9918           into the pipeline downstream when we announced the type
9919           can only operate pull-based, while our source can only
9920           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9921           Error string has not been marked for translation yet, as
9922           it probably needs some more work first.
9923
9924         (gst_type_find_element_get_best_possibility):
9925           Add helper function to find the best of all available
9926           found possibilities that qualify given the min. threshold.
9927
9928         (gst_type_find_element_handle_event):
9929           Fix the case where we get an EOS while still in TYPEFIND
9930           mode (we want to chose the best of all possible types,
9931           not just the first type that happens to be in our unsorted
9932           list of possible types).
9933
9934         (gst_type_find_element_chain):
9935           Make sure we return GST_FLOW_ERROR when we errored out
9936           in stop_typefinding(); also, don't just find the best of
9937           all found type entries and then use the last examined
9938           type entry, but actually use the best entry.
9939
9940 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9941
9942         * tests/examples/typefind/typefind.c: (type_found):
9943         * tests/examples/xml/runxml.c: (xml_loaded):
9944           More gcc4 fixes and a mem leak fix.
9945
9946 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9947
9948         * tests/examples/xml/createxml.c: (object_saved):
9949           gcc 4 fixes
9950
9951 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9952
9953         * tests/Makefile.am:
9954           enable the examples even more
9955
9956 2005-12-12  Andy Wingo  <wingo@pobox.com>
9957
9958         * libs/gst/net/gstnettimeprovider.c
9959         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9960         (gst_net_time_provider_set_property)
9961         (gst_net_time_provider_get_property):
9962         API addition: Export "active" as a GObject property.
9963         (gst_net_time_provider_thread): Only respond to time queries if
9964         the time provider is active.
9965
9966         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9967         NetTimeProvider, preserving binary compat.
9968
9969 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9970
9971         * tests/examples/controller/audio-example.c: (main):
9972         * tests/examples/launch/Makefile.am:
9973           convert comments again
9974
9975 2005-12-12  Wim Taymans  <wim@fluendo.com>
9976
9977         * libs/gst/base/gstpushsrc.c:
9978         Fix typo.
9979
9980 2005-12-12  Wim Taymans  <wim@fluendo.com>
9981
9982         * docs/libs/gstreamer-libs-sections.txt:
9983         Added new symbol to docs.
9984
9985         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9986         (gst_base_src_init), (gst_base_src_set_format),
9987         (gst_base_src_default_query), (gst_base_src_query),
9988         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9989         (gst_base_src_perform_seek), (gst_base_src_send_event),
9990         (gst_base_src_default_event), (gst_base_src_event_handler),
9991         (gst_base_src_set_property), (gst_base_src_get_property),
9992         (gst_base_src_wait), (gst_base_src_do_sync),
9993         (gst_base_src_update_length), (gst_base_src_get_range),
9994         (gst_base_src_check_get_range), (gst_base_src_loop),
9995         (gst_base_src_default_negotiate), (gst_base_src_start),
9996         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9997         (gst_base_src_change_state):
9998         * libs/gst/base/gstbasesrc.h:
9999         Implement seeking to other formats than _BYTES.
10000         Implement more seeking methods correctly.
10001         Doc updates.
10002         Added query vmethod.
10003         Added do_seek vmethod to make life easier for subclasses
10004         when seeking.
10005         API addition: gst_base_src_set_format()
10006
10007 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
10008
10009         * tests/examples/Makefile.am:
10010           added that too
10011
10012 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
10013
10014         * configure.ac:
10015         * docs/random/ensonic/media-device-daemon.txt:
10016         * tests/examples/controller/.cvsignore:
10017         * tests/examples/controller/Makefile.am:
10018         * tests/examples/controller/audio-example.c: (main):
10019         * tests/examples/helloworld/.cvsignore:
10020         * tests/examples/helloworld/Makefile.am:
10021         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10022         * tests/examples/launch/.cvsignore:
10023         * tests/examples/launch/Makefile.am:
10024         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10025         * tests/examples/metadata/.cvsignore:
10026         * tests/examples/metadata/Makefile.am:
10027         * tests/examples/metadata/read-metadata.c: (message_loop),
10028         (make_pipeline), (print_tag), (main):
10029         * tests/examples/queue/.cvsignore:
10030         * tests/examples/queue/Makefile.am:
10031         * tests/examples/queue/queue.c: (event_loop), (main):
10032         * tests/examples/typefind/.cvsignore:
10033         * tests/examples/typefind/Makefile.am:
10034         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10035         (main):
10036         * tests/examples/xml/.cvsignore:
10037         * tests/examples/xml/Makefile.am:
10038         * tests/examples/xml/createxml.c: (object_saved), (main):
10039         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10040         * tests/old/examples/Makefile.am:
10041         * tests/old/examples/TODO:
10042         * tests/old/examples/controller/.cvsignore:
10043         * tests/old/examples/controller/Makefile.am:
10044         * tests/old/examples/controller/audio-example.c:
10045         * tests/old/examples/helloworld/.cvsignore:
10046         * tests/old/examples/helloworld/Makefile.am:
10047         * tests/old/examples/helloworld/helloworld.c:
10048         * tests/old/examples/launch/.cvsignore:
10049         * tests/old/examples/launch/Makefile.am:
10050         * tests/old/examples/launch/mp3parselaunch.c:
10051         * tests/old/examples/launch/mp3play:
10052         * tests/old/examples/manual/Makefile.am:
10053         * tests/old/examples/metadata/Makefile.am:
10054         * tests/old/examples/metadata/read-metadata.c:
10055         * tests/old/examples/queue/.cvsignore:
10056         * tests/old/examples/queue/Makefile.am:
10057         * tests/old/examples/queue/queue.c:
10058         * tests/old/examples/typefind/.cvsignore:
10059         * tests/old/examples/typefind/Makefile.am:
10060         * tests/old/examples/typefind/typefind.c:
10061         * tests/old/examples/xml/.cvsignore:
10062         * tests/old/examples/xml/Makefile.am:
10063         * tests/old/examples/xml/createxml.c:
10064         * tests/old/examples/xml/runxml.c:
10065           applied some simple fixing to some examples
10066           re-enabled the working examples
10067
10068 2005-12-12  Wim Taymans  <wim@fluendo.com>
10069
10070         * gst/gstsegment.c: (gst_segment_init),
10071         (gst_segment_set_last_stop), (gst_segment_set_seek),
10072         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10073         (gst_segment_to_running_time):
10074         Added more documentation.
10075         Make sure the last_pos value is updated properly.
10076         Make sure to_stream_time and to_running_time don't
10077         operate on wrong values.
10078
10079         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10080         Update check.
10081
10082 2005-12-12  Michael Smith  <msmith@fluendo.com>
10083
10084         * plugins/elements/gsttypefindelement.c: (free_entry),
10085         (gst_type_find_element_chain):
10086           Now that we're not leaking factories, make sure we keep references
10087           to them while we need them.
10088
10089 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10090
10091         * tests/check/gst/struct_i386.h:
10092           ifdef out the XML structs
10093
10094 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10095
10096         * gst/gstvalue.c: (gst_value_transform_double_fraction):
10097           floor is not needed, F is always positive; this obviates the
10098           need for adding -lm when building without libxml
10099
10100 2005-12-12  Wim Taymans  <wim@fluendo.com>
10101
10102         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10103         Take current playback rate into account when reporting
10104         the position.
10105
10106 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10107
10108         * docs/manual/mime-world.fig:
10109           Let's try this again, this time with a file that is
10110           actually in XFig format.
10111
10112 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10113
10114         * docs/manual/mime-world.fig:
10115           Add audioconvert element to diagram so that it
10116           matches the text and the code (fixes #319526).
10117
10118 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10119
10120         * docs/pwg/building-chainfn.xml:
10121         * docs/pwg/building-pads.xml:
10122         * docs/pwg/building-state.xml:
10123         * docs/pwg/other-source.xml:
10124           Update state change stuff for 0.10 (fixes #322969).
10125
10126 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10127
10128         * docs/manual/advanced-dataaccess.xml:
10129         * docs/manual/appendix-checklist.xml:
10130         * docs/manual/appendix-programs.xml:
10131         * docs/manual/basics-pads.xml:
10132         * docs/manual/highlevel-components.xml:
10133         * docs/manual/manual.xml:
10134           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10135           add converters in front of pipelines; remove curly
10136           brackets for threads stuff, they no longer exist; use
10137           GST_TYPE_FRACTION for framerates; update some pieces of
10138           code to 0.10, but there's plenty more to do.
10139
10140         * docs/manual/appendix-porting.xml:
10141           Expand on asynchroneous state changes; s/0.9/0.10/;
10142           mention disappearance of gst_init_get_popt_table()
10143           (fixes #322916).
10144
10145 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
10146
10147         * docs/faq/using.xml:
10148           Spider no longer exists, and neither does gst-launch-ext.
10149           Update examples to use decodebin and playbin and put
10150           converters in front of sinks (fixes #323726).
10151
10152 2005-12-09  Michael Smith  <msmith@fluendo.com>
10153
10154         * plugins/elements/gsttypefindelement.c: (find_peek),
10155         (gst_type_find_element_chain):
10156           Fix leaking element factories in typefinding.
10157           Fix problem where we forgot about a probable type on non-seekable
10158           files, and thus later mis-typefound it.
10159
10160 2005-12-09  Michael Smith  <msmith@fluendo.com>
10161
10162         * common/m4/gst-makecontext.m4:
10163         * common/m4/gst-mcsc.m4:
10164         * configure.ac:
10165         * win32/common/config.h:
10166         * win32/common/config.h.in:
10167           Remove makecontext stuff; not used in 0.10 and causes problems on
10168           HPUX according to bug #322441
10169
10170 2005-12-07  Wim Taymans  <wim@fluendo.com>
10171
10172         * tests/check/Makefile.am:
10173         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10174         (main):
10175         * tests/check/libs/struct_i386.h:
10176         Added ABI check for libs
10177
10178 2005-12-07  Wim Taymans  <wim@fluendo.com>
10179
10180         * tests/check/Makefile.am:
10181         And add the struct_i386.h to dist.
10182
10183 2005-12-07  Wim Taymans  <wim@fluendo.com>
10184
10185         * tests/check/Makefile.am:
10186         * tests/check/gst/.cvsignore:
10187         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10188         (main):
10189         * tests/check/gst/struct_i386.h:
10190         Added check for ABI compatibility.
10191
10192 2005-12-07  Wim Taymans  <wim@fluendo.com>
10193
10194         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10195         (gst_fake_src_get_times), (gst_fake_src_create):
10196         Fix broken sync option, fixes #323259
10197
10198 2005-12-07  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/gstbuffer.c:
10201         Small docs update.
10202
10203         * gst/gstcaps.c: (gst_caps_is_equal):
10204         Don't assert on NULL <--> X. Fixes #323260
10205
10206         * gst/gstminiobject.c: (gst_mini_object_replace):
10207         If we're doing atomic operations, we might just as well use
10208         the proper way to get an atomic pointer.
10209
10210         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10211         Clean up debugging.
10212
10213 2005-12-07  Michael Smith  <msmith@fluendo.com>
10214
10215         * gst/parse/grammar.y:
10216           Remove handling of { } for threads.
10217
10218 2005-12-06  David Schleef  <ds@schleef.org>
10219
10220         * libs/gst/base/gstbasetransform.c: speling fix.
10221
10222 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10223
10224         * docs/libs/tmpl/gstdataprotocol.sgml:
10225         * docs/random/omega/testing/gstobject.c:
10226         * gst/gst.c:
10227         * gst/gstclock.c:
10228         * gst/gstelement.c:
10229         * gst/gstelementfactory.c:
10230         * gst/gsterror.c:
10231         * gst/gstevent.c:
10232         * gst/gstghostpad.c:
10233         * gst/gstinfo.c:
10234         * gst/gstpadtemplate.c:
10235         * gst/gstregistryxml.c:
10236         * gst/gsttaglist.c:
10237         * gst/gsttagsetter.c:
10238         * gst/gsttypefind.c:
10239         * gst/gstvalue.c:
10240         * libs/gst/base/gstbasesrc.c:
10241         * libs/gst/net/gstnetclientclock.c:
10242         * libs/gst/net/gstnettimeprovider.c:
10243         * plugins/elements/gstfakesrc.c:
10244         * plugins/elements/gstfdsrc.c:
10245         * plugins/elements/gstfilesrc.c:
10246         * plugins/elements/gstidentity.c:
10247         * plugins/elements/gstqueue.c:
10248         * plugins/elements/gsttypefindelement.c:
10249         * plugins/indexers/gstfileindex.c:
10250         * plugins/indexers/gstmemindex.c:
10251         * tests/check/gst/gsttag.c:
10252         * tests/old/examples/cutter/cutter.c:
10253         * tests/old/examples/mixer/mixer.c:
10254         * tests/old/examples/xml/runxml.c: (main):
10255         * tests/old/testsuite/caps/normalisation.c:
10256         * tests/old/testsuite/debug/global.c:
10257         * tests/old/testsuite/parse/parse1.c:
10258         * tools/gst-xmlinspect.c:
10259         * win32/common/dirent.c:
10260           expand tabs
10261
10262 === release 0.10.0 ===
10263
10264 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10265
10266         * configure.ac:
10267           releasing 0.10.0, "Maroilles"
10268
10269 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10270
10271         submitted by: Funda Wang <fundawang@linux.net.cn>
10272
10273         * po/LINGUAS:
10274         * po/zh_CN.po:
10275           added Chinese (Traditional) translation
10276
10277 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10278
10279         * docs/gst/gstreamer-sections.txt:
10280         * docs/libs/tmpl/gstdataprotocol.sgml:
10281         * docs/random/thomasvs/TODO:
10282         * gst/gstutils.c:
10283         * gst/gstutils.h:
10284           fix docs
10285
10286 2005-12-05  Andy Wingo  <wingo@pobox.com>
10287
10288         patch by: Wim Taymans <wim@fluendo.com>
10289
10290         * libs/gst/base/gstbasetransform.c
10291         (gst_base_transform_prepare_output_buf)
10292         (gst_base_transform_buffer_alloc):
10293         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10294         alloc_buffer_and_set_caps.
10295
10296         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10297         set_caps on the source pad.
10298         (gst_pad_alloc_buffer_and_set_caps): New function, does what
10299         alloc_buffer used to do. Fixes #322874.
10300
10301         * docs/gst/gstreamer-sections.txt: 
10302         * docs/design/part-negotiation.txt: 
10303         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10304         changes.
10305
10306 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         patch by: Sebastien Moutte
10309
10310         * win32/MANIFEST:
10311         * win32/common/config.h.in:
10312         * win32/vs6/libgstcontroller.dsp:
10313           win32 build fixes
10314
10315 2005-12-05  Wim Taymans  <wim@fluendo.com>
10316
10317         * gst/gstcaps.c: (gst_caps_is_equal):
10318         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10319         (gst_fake_src_create):
10320         Back out previous code changes, leave doc updates, file bugs 
10321         instead. 
10322
10323 2005-12-05  Wim Taymans  <wim@fluendo.com>
10324
10325         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10326         (gst_fake_src_get_times), (gst_fake_src_create):
10327         * plugins/elements/gstfakesrc.h:
10328         Fix broken sync code.
10329
10330 2005-12-05  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/gstcaps.c: (gst_caps_is_equal):
10333         Comparing NULL against !NULL yields different caps, not a
10334         failure.
10335
10336 2005-12-05  Wim Taymans  <wim@fluendo.com>
10337
10338         * gst/gstpipeline.c:
10339         Fix small typo in docs.
10340
10341 2005-12-05  Andy Wingo  <wingo@pobox.com>
10342
10343         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
10344
10345         * gst/gst.c (init_post): remove hard-coded 0.9 location for
10346         registries/plugins with a MAJORMINOR one.
10347         (plugin_desc): Rename library from gstcoreleements to
10348         staticelements. Fixes #323222.
10349
10350 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
10351
10352         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10353           Change debug category to 'collectpads' from 'collect_pads'
10354           (fixes #323250).
10355
10356 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10357
10358         patch by: Sebastien Moutte
10359
10360         * libs/gst/controller/gstinterpolation.c:
10361           use convert function for uint64/double
10362         * win32/vs6/libgstcontroller.dsp:
10363           link to GLib
10364
10365 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10366
10367         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10368         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10369         * gst/gstutils.h:
10370         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10371           add tests that seem to show that the guint64/gdouble conversions
10372           are correct.
10373
10374 2005-12-02  Wim Taymans  <wim@fluendo.com>
10375
10376         * gst/gstregistry.c: (gst_registry_add_path):
10377         * gst/gstregistry.h:
10378         * gst/gstregistryxml.c:
10379         Fix docs again.
10380
10381 2005-12-02  Wim Taymans  <wim@fluendo.com>
10382
10383         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10384         (gst_util_uint64_scale_int):
10385         Small cleanup.
10386
10387         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10388         Add debug log line.
10389
10390         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10391         Add FIXME.
10392
10393 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10394
10395         * win32/MANIFEST:
10396         * win32/common/config.h:
10397         * win32/vs6/gstreamer.dsw:
10398         * win32/vs6/libgstcoreelements.dsp:
10399         * win32/vs6/libgstelements.dsp:
10400           renamed core elements plugin
10401
10402 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10403
10404         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10405         (get_candidates):
10406           do piece-wise major/minor comparison so 0.9 < 0.10
10407           also allow .exe extensions for tools
10408
10409 2005-12-02  Michael Smith  <msmith@fluendo.com>
10410
10411         * gst/gst.c:
10412           Escape a % to make gtkdoc happier; bug 322958.
10413
10414 === release 0.9.7 ===
10415
10416 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10417
10418         * configure.ac:
10419           releasing 0.9.7, "My Dog Has No Nose"
10420
10421 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10422
10423         * common/gst-xmlinspect.py:
10424         * configure.ac:
10425         * docs/libs/tmpl/gstdataprotocol.sgml:
10426         * docs/random/release:
10427         * po/af.po:
10428         * po/az.po:
10429         * po/bg.po:
10430         * po/ca.po:
10431         * po/cs.po:
10432         * po/de.po:
10433         * po/en_GB.po:
10434         * po/fr.po:
10435         * po/it.po:
10436         * po/nb.po:
10437         * po/nl.po:
10438         * po/ru.po:
10439         * po/sq.po:
10440         * po/sr.po:
10441         * po/sv.po:
10442         * po/tr.po:
10443         * po/uk.po:
10444         * po/vi.po:
10445         * win32/common/config.h:
10446         * win32/common/config.h.in:
10447         * win32/vs6/gst_inspect.dsp:
10448         * win32/vs6/gst_launch.dsp:
10449         * win32/vs6/libgstbase.dsp:
10450         * win32/vs6/libgstelements.dsp:
10451         * win32/vs6/libgstreamer.dsp:
10452         * win32/vs7/GStreamer.vcproj:
10453         * win32/vs7/gst-inspect.vcproj:
10454         * win32/vs7/gst-launch.vcproj:
10455         * win32/vs7/libgstbase.vcproj:
10456           bump GST_MAJORMINOR to 0.10
10457           reset libtool version
10458
10459 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10460
10461         * po/LINGUAS:
10462         * po/bg.po:
10463           Added Bulgarian translation by (Alexander Shopov)
10464
10465 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10466
10467         * tests/check/gst/gstplugin.c:
10468           fix test
10469
10470 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10471
10472         * common/gst-xmlinspect.py:
10473         * common/gtk-doc-plugins.mak:
10474         * configure.ac:
10475         * docs/Makefile.am:
10476         * docs/gst/Makefile.am:
10477         * docs/gst/gstreamer-docs.sgml:
10478         * docs/gst/gstreamer-sections.txt:
10479         * docs/gst/gstreamer.types:
10480         * docs/gst/gstreamer.types.in:
10481         * docs/plugins/Makefile.am:
10482         * docs/plugins/gstreamer-plugins-docs.sgml:
10483         * docs/plugins/gstreamer-plugins-sections.txt:
10484         * docs/plugins/gstreamer-plugins.types:
10485         * docs/plugins/inspect.stamp:
10486         * docs/plugins/inspect/plugin-coreelements.xml:
10487         * docs/plugins/inspect/plugin-coreindexers.xml:
10488         * docs/plugins/scanobj-build.stamp:
10489         * gstreamer.spec.in:
10490         * plugins/elements/Makefile.am:
10491         * plugins/elements/gstelements.c:
10492         * plugins/elements/gstfakesink.c:
10493         * plugins/elements/gstfakesrc.c:
10494         * plugins/elements/gstfilesink.c:
10495         * plugins/elements/gstfilesrc.c:
10496         * plugins/elements/gstqueue.c:
10497         * plugins/indexers/Makefile.am:
10498         * plugins/indexers/gstindexers.c:
10499           document core plugins in a separate document just like all the
10500           others
10501           rename these plugins to something starting with core
10502
10503 2005-12-01  Andy Wingo  <wingo@pobox.com>
10504
10505         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10506         padding here before, but it missed the commit.
10507
10508 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10509
10510         * libs/gst/controller/gstinterpolation.c:
10511           whitespace prices have crashed, we should feel free to use some now
10512           use gst_guint64_to_gdouble
10513
10514 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10515
10516         * libs/gst/controller/gstcontroller.c:
10517         * libs/gst/controller/gsthelper.c:
10518         * libs/gst/controller/gstinterpolation.c:
10519         * libs/gst/controller/lib.c:
10520           wrap config.h include
10521
10522 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10523
10524         * docs/gst/gstreamer-sections.txt:
10525           update docs
10526
10527 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10528
10529         * plugins/elements/gstelements.c:
10530         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10531         (gst_fd_sink__class_init), (gst_fd_sink__init),
10532         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10533         (gst_fd_sink__get_property):
10534         * plugins/elements/gstfdsink.h:
10535         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10536         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10537         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10538         (gst_fd_src_unlock), (gst_fd_src_set_property),
10539         (gst_fd_src_get_property), (gst_fd_src_create),
10540         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10541         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10542         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10543         (gst_fd_src_uri_handler_init):
10544         * plugins/elements/gstfdsrc.h:
10545         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10546           more anal cleanup
10547
10548 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10549
10550         * docs/gst/Makefile.am:
10551         * docs/gst/gstreamer.types.in:
10552         * gst/Makefile.am:
10553           fix the docs build
10554
10555 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10556
10557         * configure.ac:
10558         * gst/Makefile.am:
10559         * gst/gst.c:
10560         * gst/gstplugin.h:
10561         * gst/gstregistry.h:
10562         * tests/benchmarks/complexity.c:
10563         * tests/benchmarks/mass-elements.c:
10564         * tests/check/Makefile.am:
10565         * tools/Makefile.am:
10566         * tools/gst-inspect.c:
10567         * tools/gst-xmlinspect.c:
10568           various fixes to make
10569           --disable-nls --disable-registry --disable-loadsave
10570           --disable-parse --disable-gst-debug
10571           work and get the core .so down to 360444 bytes after stripping
10572
10573 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10574
10575         * Makefile.am:
10576         * configure.ac:
10577           descend into tests
10578         * docs/random/thomasvs/TODO:
10579         * tests/Makefile.am:
10580         * tests/README:
10581           add a README
10582
10583 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10584
10585         * win32/GStreamer.vcproj:
10586         * win32/MANIFEST:
10587         * win32/Makefile:
10588         * win32/Makefile.inspect:
10589         * win32/Makefile.launch:
10590         * win32/Makefile.register:
10591         * win32/README.txt:
10592         * win32/gst-inspect.vcproj:
10593         * win32/gst-launch.vcproj:
10594         * win32/gst-register.vcproj:
10595         * win32/gstelements.vcproj:
10596         * win32/gstgetbits.def:
10597         * win32/gstgetbits.vcproj:
10598         * win32/gstreamer-dbg.def:
10599         * win32/gstreamer.def:
10600         * win32/libgstbase.def:
10601         * win32/libgstbase.vcproj:
10602         * win32/link_oldruntime.c:
10603         * win32/mman.c:
10604         * win32/mman.h:
10605         * win32/mman.inl:
10606         * win32/msvc71.sln:
10607           move even more stuff, win32/ is nice and clean now
10608
10609 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10610
10611         * libs/gst/control/.cvsignore:
10612         * win32/MANIFEST:
10613         * win32/config.h:
10614         * win32/dirent.c:
10615         * win32/dirent.h:
10616         * win32/gstbytestream.def:
10617         * win32/gstbytestream.vcproj:
10618         * win32/gstconfig.h:
10619         * win32/gstenumtypes.c:
10620         * win32/gstenumtypes.h:
10621         * win32/gstoptimalscheduler.vcproj:
10622         * win32/gstversion.h:
10623         * win32/gtchar.h:
10624         * win32/testsuite/bins.vcproj:
10625         * win32/testsuite/bytestream.vcproj:
10626         * win32/testsuite/caps.vcproj:
10627         * win32/testsuite/cleanup.vcproj:
10628         * win32/testsuite/clock.vcproj:
10629         * win32/testsuite/debug.vcproj:
10630         * win32/testsuite/dlopen.vcproj:
10631         * win32/testsuite/dynparams.vcproj:
10632         * win32/testsuite/elements.vcproj:
10633         * win32/testsuite/ghostpads.vcproj:
10634         * win32/testsuite/indexers.vcproj:
10635         * win32/testsuite/negotiation.vcproj:
10636         * win32/testsuite/parse.vcproj:
10637         * win32/testsuite/plugin.vcproj:
10638         * win32/testsuite/refcounting.vcproj:
10639         * win32/testsuite/schedulers.vcproj:
10640         * win32/testsuite/states.vcproj:
10641         * win32/testsuite/tags.vcproj:
10642         * win32/testsuite/threads.vcproj:
10643           remove old win32 stuff that isn't maintained and should be
10644           reorganized
10645
10646 2005-11-30  Andy Wingo  <wingo@pobox.com>
10647
10648         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10649         loading the gst.interfaces python module bork.
10650
10651         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10652         available since GLib 2.2. Fixes #318031.
10653
10654 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10655
10656         * Makefile.am:
10657         * check/.cvsignore:
10658         * check/Makefile.am:
10659         * check/elements/.cvsignore:
10660         * check/elements/fakesrc.c:
10661         * check/elements/fdsrc.c:
10662         * check/elements/identity.c:
10663         * check/generic/.cvsignore:
10664         * check/generic/states.c:
10665         * check/gst-libs/.cvsignore:
10666         * check/gst-libs/controller.c:
10667         * check/gst-libs/gdp.c:
10668         * check/gst/.cvsignore:
10669         * check/gst/capslist.h:
10670         * check/gst/gst.c:
10671         * check/gst/gstbin.c:
10672         * check/gst/gstbuffer.c:
10673         * check/gst/gstbus.c:
10674         * check/gst/gstcaps.c:
10675         * check/gst/gstelement.c:
10676         * check/gst/gstevent.c:
10677         * check/gst/gstghostpad.c:
10678         * check/gst/gstiterator.c:
10679         * check/gst/gstmessage.c:
10680         * check/gst/gstminiobject.c:
10681         * check/gst/gstobject.c:
10682         * check/gst/gstpad.c:
10683         * check/gst/gstpipeline.c:
10684         * check/gst/gstplugin.c:
10685         * check/gst/gstsegment.c:
10686         * check/gst/gststructure.c:
10687         * check/gst/gstsystemclock.c:
10688         * check/gst/gsttag.c:
10689         * check/gst/gstutils.c:
10690         * check/gst/gstvalue.c:
10691         * check/net/.cvsignore:
10692         * check/net/gstnetclientclock.c:
10693         * check/net/gstnettimeprovider.c:
10694         * check/pipelines/.cvsignore:
10695         * check/pipelines/cleanup.c:
10696         * check/pipelines/simple_launch_lines.c:
10697         * check/pipelines/stress.c:
10698         * check/states/.cvsignore:
10699         * check/states/sinks.c:
10700         * configure.ac:
10701         * examples/Makefile.am:
10702         * examples/appreader/.cvsignore:
10703         * examples/appreader/Makefile.am:
10704         * examples/appreader/appreader.c:
10705         * examples/controller/.cvsignore:
10706         * examples/controller/Makefile.am:
10707         * examples/controller/audio-example.c:
10708         * examples/cutter/.cvsignore:
10709         * examples/cutter/Makefile.am:
10710         * examples/cutter/cutter.c:
10711         * examples/cutter/cutter.h:
10712         * examples/events/Makefile.am:
10713         * examples/events/seek.c:
10714         * examples/helloworld/.cvsignore:
10715         * examples/helloworld/Makefile.am:
10716         * examples/helloworld/helloworld.c:
10717         * examples/helloworld2/.cvsignore:
10718         * examples/helloworld2/Makefile.am:
10719         * examples/helloworld2/helloworld2.c:
10720         * examples/launch/.cvsignore:
10721         * examples/launch/Makefile.am:
10722         * examples/launch/mp3parselaunch.c:
10723         * examples/launch/mp3play:
10724         * examples/manual/.cvsignore:
10725         * examples/manual/Makefile.am:
10726         * examples/manual/extract.pl:
10727         * examples/metadata/Makefile.am:
10728         * examples/metadata/read-metadata.c:
10729         * examples/mixer/.cvsignore:
10730         * examples/mixer/Makefile.am:
10731         * examples/mixer/mixer.c:
10732         * examples/mixer/mixer.h:
10733         * examples/pingpong/.cvsignore:
10734         * examples/pingpong/Makefile.am:
10735         * examples/pingpong/pingpong.c:
10736         * examples/plugins/.cvsignore:
10737         * examples/plugins/Makefile.am:
10738         * examples/plugins/example.c:
10739         * examples/plugins/example.h:
10740         * examples/pwg/.cvsignore:
10741         * examples/pwg/Makefile.am:
10742         * examples/pwg/extract.pl:
10743         * examples/queue/.cvsignore:
10744         * examples/queue/Makefile.am:
10745         * examples/queue/queue.c:
10746         * examples/queue2/.cvsignore:
10747         * examples/queue2/Makefile.am:
10748         * examples/queue2/queue2.c:
10749         * examples/queue3/.cvsignore:
10750         * examples/queue3/Makefile.am:
10751         * examples/queue3/queue3.c:
10752         * examples/queue4/.cvsignore:
10753         * examples/queue4/Makefile.am:
10754         * examples/queue4/queue4.c:
10755         * examples/retag/.cvsignore:
10756         * examples/retag/Makefile.am:
10757         * examples/retag/retag.c:
10758         * examples/retag/transcode.c:
10759         * examples/thread/.cvsignore:
10760         * examples/thread/Makefile.am:
10761         * examples/thread/thread.c:
10762         * examples/typefind/.cvsignore:
10763         * examples/typefind/Makefile.am:
10764         * examples/typefind/typefind.c:
10765         * examples/xml/.cvsignore:
10766         * examples/xml/Makefile.am:
10767         * examples/xml/createxml.c:
10768         * examples/xml/runxml.c:
10769         * tests/Makefile.am:
10770         * tests/check/Makefile.am:
10771         * testsuite/.cvsignore:
10772         * testsuite/Makefile.am:
10773         * testsuite/Rules:
10774         * testsuite/caps/.cvsignore:
10775         * testsuite/caps/Makefile.am:
10776         * testsuite/caps/app_fixate.c:
10777         * testsuite/caps/audioscale.c:
10778         * testsuite/caps/caps.c:
10779         * testsuite/caps/caps.h:
10780         * testsuite/caps/caps_strings:
10781         * testsuite/caps/compatibility.c:
10782         * testsuite/caps/deserialize.c:
10783         * testsuite/caps/enumcaps.c:
10784         * testsuite/caps/eratosthenes.c:
10785         * testsuite/caps/filtercaps.c:
10786         * testsuite/caps/fixed.c:
10787         * testsuite/caps/fraction-convert.c:
10788         * testsuite/caps/fraction-multiply-and-zero.c:
10789         * testsuite/caps/intersect2.c:
10790         * testsuite/caps/intersection.c:
10791         * testsuite/caps/normalisation.c:
10792         * testsuite/caps/random.c:
10793         * testsuite/caps/renegotiate.c:
10794         * testsuite/caps/sets.c:
10795         * testsuite/caps/simplify.c:
10796         * testsuite/caps/string-conversions.c:
10797         * testsuite/caps/structure.c:
10798         * testsuite/caps/subtract.c:
10799         * testsuite/caps/union.c:
10800         * testsuite/debug/.cvsignore:
10801         * testsuite/debug/Makefile.am:
10802         * testsuite/debug/category.c:
10803         * testsuite/debug/commandline.c:
10804         * testsuite/debug/global.c:
10805         * testsuite/debug/output.c:
10806         * testsuite/debug/printf_extension.c:
10807         * testsuite/dlopen/.cvsignore:
10808         * testsuite/dlopen/Makefile.am:
10809         * testsuite/dlopen/dlopen_gst.c:
10810         * testsuite/dlopen/loadgst.c:
10811         * testsuite/elements/.cvsignore:
10812         * testsuite/elements/Makefile.am:
10813         * testsuite/elements/gst-inspect-check.in:
10814         * testsuite/elements/struct_i386.h:
10815         * testsuite/elements/struct_size.c:
10816         * testsuite/indexers/.cvsignore:
10817         * testsuite/indexers/Makefile.am:
10818         * testsuite/indexers/cache1.c:
10819         * testsuite/indexers/indexdump.c:
10820         * testsuite/parse/.cvsignore:
10821         * testsuite/parse/Makefile.am:
10822         * testsuite/parse/parse1.c:
10823         * testsuite/parse/parse2.c:
10824         * testsuite/plugin/.cvsignore:
10825         * testsuite/plugin/Makefile.am:
10826         * testsuite/plugin/README:
10827         * testsuite/plugin/dynamic.c:
10828         * testsuite/plugin/linked.c:
10829         * testsuite/plugin/loading.c:
10830         * testsuite/plugin/registry.c:
10831         * testsuite/plugin/static.c:
10832         * testsuite/plugin/static2.c:
10833         * testsuite/plugin/testplugin.c:
10834         * testsuite/plugin/testplugin2.c:
10835         * testsuite/plugin/testplugin2_s.c:
10836         * testsuite/plugin/testplugin_s.c:
10837         * testsuite/refcounting/.cvsignore:
10838         * testsuite/refcounting/Makefile.am:
10839         * testsuite/refcounting/bin.c:
10840         * testsuite/refcounting/element.c:
10841         * testsuite/refcounting/element_pad.c:
10842         * testsuite/refcounting/mainloop.c:
10843         * testsuite/refcounting/mem.c:
10844         * testsuite/refcounting/mem.h:
10845         * testsuite/refcounting/object.c:
10846         * testsuite/refcounting/pad.c:
10847         * testsuite/refcounting/sched.c:
10848         * testsuite/refcounting/thread.c:
10849         * testsuite/states/.cvsignore:
10850         * testsuite/states/Makefile.am:
10851         * testsuite/states/bin.c:
10852         * testsuite/states/locked.c:
10853         * testsuite/states/parent.c:
10854         * testsuite/threads/.cvsignore:
10855         * testsuite/threads/159566.c:
10856         * testsuite/threads/159852.c:
10857         * testsuite/threads/Makefile.am:
10858         * testsuite/threads/queue.c:
10859         * testsuite/threads/signals.c:
10860         * testsuite/threads/staticrec.c:
10861         * testsuite/threads/thread.c:
10862         * testsuite/threads/threadb.c:
10863         * testsuite/threads/threadc.c:
10864         * testsuite/threads/threadd.c:
10865         * testsuite/threads/threade.c:
10866         * testsuite/threads/threadf.c:
10867         * testsuite/threads/threadg.c:
10868         * testsuite/threads/threadh.c:
10869         * testsuite/threads/threadi.c:
10870           move all of these under tests
10871
10872 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10873
10874         * configure.ac:
10875         * tests/Makefile.am:
10876           fix distcheck
10877
10878 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10879
10880         * docs/gst/gstreamer-sections.txt:
10881         * tests/sched/.cvsignore:
10882         * tests/sched/Makefile.am:
10883         * tests/sched/cases/(fs-fs).xml:
10884         * tests/sched/cases/(fs-i-fs).xml:
10885         * tests/sched/cases/(fs-i-i-fs).xml:
10886         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10887         * tests/sched/dynamic-pipeline.c:
10888         * tests/sched/interrupt1.c:
10889         * tests/sched/interrupt2.c:
10890         * tests/sched/interrupt3.c:
10891         * tests/sched/runtestcases:
10892         * tests/sched/runxml.c:
10893         * tests/sched/sched-stress.c:
10894         * tests/sched/sort.c:
10895         * tests/sched/testcases:
10896         * tests/sched/testcases1.tc:
10897         * tests/seeking/.cvsignore:
10898         * tests/seeking/Makefile.am:
10899         * tests/seeking/seeking1.c:
10900         * tests/threadstate/.cvsignore:
10901         * tests/threadstate/Makefile.am:
10902         * tests/threadstate/test1.c:
10903         * tests/threadstate/test2.c:
10904         * tests/threadstate/threadstate1.c:
10905         * tests/threadstate/threadstate2.c:
10906         * tests/threadstate/threadstate3.c:
10907         * tests/threadstate/threadstate4.c:
10908         * tests/threadstate/threadstate5.c:
10909           remove obsolete tests
10910         * configure.ac:
10911         * tests/bench-complexity.scm:
10912         * tests/bench-mass_elements.scm:
10913         * tests/complexity.c:
10914         * tests/complexity.gnuplot:
10915         * tests/instantiate/.cvsignore:
10916         * tests/instantiate/Makefile.am:
10917         * tests/instantiate/caps.c:
10918         * tests/mass_elements.c:
10919         * tests/network-clock-utils.scm:
10920         * tests/network-clock.scm:
10921         * tests/plot-data:
10922         First pass at cleaning up tests/ dir before moving the rest
10923         Combined with CVS surgery
10924
10925 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10926
10927         * po/POTFILES.in:
10928           queue has moved, update
10929
10930 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10931
10932         * docs/gst/gstreamer-sections.txt:
10933           remove double entries from the docs
10934         * gst/gst_private.h:
10935         * gst/gstinfo.c: (_gst_debug_init):
10936           remove the THREAD debug category
10937         * gst/Makefile.am:
10938         * gst/gstqueue.c:
10939         * gst/gstqueue.h:
10940         * docs/gst/gstreamer.types:
10941         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10942         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10943           completely move queue and fix up debugging categories
10944
10945 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10946
10947         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10948           make initialization portable, using LL is not
10949
10950 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10951
10952         * win32/common/gstconfig.h:
10953           add large padding
10954
10955 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10956
10957         * win32/common/libgstreamer.def:
10958           rename symbols; sort base section
10959
10960 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10961
10962         * gst/gstclock.c: (do_linear_regression):
10963           remove crack non-portable handrolled DEBUG macro
10964
10965 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10966
10967         * docs/random/release:
10968           update notes
10969         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10970         (gst_object_flags_get_type), (register_gst_bin_flags),
10971         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10972         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10973         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10974         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10975         (gst_caps_flags_get_type), (register_gst_clock_return),
10976         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10977         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10978         (gst_clock_flags_get_type), (register_gst_state),
10979         (gst_state_get_type), (register_gst_state_change_return),
10980         (gst_state_change_return_get_type), (register_gst_state_change),
10981         (gst_state_change_get_type), (register_gst_element_flags),
10982         (gst_element_flags_get_type), (register_gst_core_error),
10983         (gst_core_error_get_type), (register_gst_library_error),
10984         (gst_library_error_get_type), (register_gst_resource_error),
10985         (gst_resource_error_get_type), (register_gst_stream_error),
10986         (gst_stream_error_get_type), (register_gst_event_type_flags),
10987         (gst_event_type_flags_get_type), (register_gst_event_type),
10988         (gst_event_type_get_type), (register_gst_seek_type),
10989         (gst_seek_type_get_type), (register_gst_seek_flags),
10990         (gst_seek_flags_get_type), (register_gst_format),
10991         (gst_format_get_type), (register_gst_index_certainty),
10992         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10993         (gst_index_entry_type_get_type),
10994         (register_gst_index_lookup_method),
10995         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10996         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10997         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10998         (gst_index_flags_get_type), (register_gst_debug_level),
10999         (gst_debug_level_get_type), (register_gst_debug_color_flags),
11000         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11001         (gst_iterator_result_get_type), (register_gst_iterator_item),
11002         (gst_iterator_item_get_type), (register_gst_message_type),
11003         (gst_message_type_get_type), (register_gst_mini_object_flags),
11004         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11005         (gst_pad_link_return_get_type), (register_gst_flow_return),
11006         (gst_flow_return_get_type), (register_gst_activate_mode),
11007         (gst_activate_mode_get_type), (register_gst_pad_direction),
11008         (gst_pad_direction_get_type), (register_gst_pad_flags),
11009         (gst_pad_flags_get_type), (register_gst_pad_presence),
11010         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11011         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11012         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11013         (gst_plugin_error_get_type), (register_gst_plugin_flags),
11014         (gst_plugin_flags_get_type), (register_gst_rank),
11015         (gst_rank_get_type), (register_gst_query_type),
11016         (gst_query_type_get_type), (register_gst_tag_merge_mode),
11017         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11018         (gst_tag_flag_get_type), (register_gst_task_state),
11019         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11020         (gst_alloc_trace_flags_get_type),
11021         (register_gst_type_find_probability),
11022         (gst_type_find_probability_get_type), (register_gst_uri_type),
11023         (gst_uri_type_get_type), (register_gst_parse_error),
11024         (gst_parse_error_get_type):
11025         * win32/common/gstenumtypes.h:
11026         * win32/common/gstversion.h:
11027           update visual studio generated files
11028
11029 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11030
11031         * win32/vs6/libgstbase.dsp:
11032         * win32/vs6/libgstelements.dsp:
11033           update project files for new locations
11034
11035 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11036
11037         * Makefile.am:
11038           remove some files
11039         * README:
11040           reinstate and update
11041         * DEVEL:
11042         * REQUIREMENTS:
11043           removed
11044         * LICENSE:
11045         * docs/random/LICENSE:
11046           moved to random
11047
11048 2005-11-30  Edward Hervey  <edward@fluendo.com>
11049
11050         * gst/gsttypefind.c: (gst_type_find_register):
11051         * gst/gsttypefind.h:
11052         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11053         (gst_type_find_factory_dispose):
11054         * gst/gsttypefindfactory.h:
11055         Fix memory leak in GstTypeFindFactory.
11056
11057 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11058
11059         * gst/gst.c:
11060         * plugins/elements/Makefile.am:
11061         * plugins/elements/gstelements.c:
11062         * plugins/elements/gstqueue.c:
11063           move queue from core to the elements plugin
11064
11065 2005-11-29  Andy Wingo  <wingo@pobox.com>
11066
11067         * libs/gst/base/gstbasetransform.h: 
11068         * libs/gst/base/gstbasesrc.h: 
11069         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11070
11071         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11072         of pointers by which to pad very extensible base classes (like the
11073         ones in libs/gst/base).
11074
11075 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11076
11077         * docs/gst/gstreamer-docs.sgml:
11078         * docs/gst/gstreamer-sections.txt:
11079         * docs/libs/gstreamer-libs-docs.sgml:
11080         * docs/libs/gstreamer-libs-sections.txt:
11081           moving documentation from core to lib
11082
11083 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11084
11085         * check/Makefile.am:
11086         * configure.ac:
11087         * docs/gst/Makefile.am:
11088         * gst/Makefile.am:
11089         * gst/base/.cvsignore:
11090         * gst/base/Makefile.am:
11091         * gst/base/README:
11092         * gst/base/gstadapter.c:
11093         * gst/base/gstadapter.h:
11094         * gst/base/gstbasesink.c:
11095         * gst/base/gstbasesink.h:
11096         * gst/base/gstbasesrc.c:
11097         * gst/base/gstbasesrc.h:
11098         * gst/base/gstbasetransform.c:
11099         * gst/base/gstbasetransform.h:
11100         * gst/base/gstcollectpads.c:
11101         * gst/base/gstcollectpads.h:
11102         * gst/base/gstpushsrc.c:
11103         * gst/base/gstpushsrc.h:
11104         * gst/base/gsttypefindhelper.c:
11105         * gst/base/gsttypefindhelper.h:
11106         * gst/check/Makefile.am:
11107         * gst/check/gstcheck.c:
11108         * gst/check/gstcheck.h:
11109         * gst/net/Makefile.am:
11110         * gst/net/gstnet.h:
11111         * gst/net/gstnetclientclock.c:
11112         * gst/net/gstnetclientclock.h:
11113         * gst/net/gstnettimepacket.c:
11114         * gst/net/gstnettimepacket.h:
11115         * gst/net/gstnettimeprovider.c:
11116         * gst/net/gstnettimeprovider.h:
11117         * libs/gst/Makefile.am:
11118         * libs/gst/base/Makefile.am:
11119         * libs/gst/base/gstbasetransform.c:
11120         * libs/gst/check/Makefile.am:
11121         * plugins/elements/Makefile.am:
11122         * po/POTFILES.in:
11123           CVS surgery + support to move base, check, and net out of gst
11124           and into libs/gst
11125
11126 2005-11-29  Andy Wingo  <wingo@pobox.com>
11127
11128         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11129
11130         * gst/gststructure.h (struct _GstStructure): Only one pointer of
11131         padding.
11132
11133         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11134
11135         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11136
11137         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11138
11139         * gst/gstobject.h: (struct _GstObject): Only one pointer of
11140         padding; reduces object size by about 30%. We don't expect
11141         anything else to go into gstobject.
11142
11143         * gst/gstminiobject.h (struct _GstMiniObject)
11144         (struct _GstMiniObjectClass): Only one pointer of padding; the
11145         payload is only a pointer and two ints anyway. For the class there
11146         are only two methods as well.
11147         
11148         * gst/gstelement.h (struct _GstElementClass): Removed
11149         the state_changed signal callback, it is not used.
11150
11151 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11152
11153         * docs/gst/gstreamer.types:
11154           fix includes, though they are a little dinky
11155
11156 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11157
11158         * check/Makefile.am:
11159           look in the right place for elements, a lot more chance of
11160           success
11161         * gst/Makefile.am:
11162           remove indexers and elements subdirs
11163         * plugins/Makefile.am:
11164           make indexers conditional
11165
11166 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11167
11168         * Makefile.am:
11169         * configure.ac:
11170         * plugins/elements/Makefile.am:
11171         * plugins/elements/gstcapsfilter.c:
11172         * plugins/elements/gstfilesink.c:
11173         * plugins/elements/gstfilesrc.c:
11174         * plugins/elements/gstidentity.c:
11175         * plugins/indexers/Makefile.am:
11176           do CVS surgery and related build fixery to move elements
11177           and indexers in a new gstreamer/plugins directory, out of the
11178           gst/ directory
11179
11180 2005-11-29  Andy Wingo  <wingo@pobox.com>
11181
11182         * check/Makefile.am:
11183         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11184         * pkgconfig/gstreamer-net.pc.in:
11185         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11186         #322257.
11187
11188 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11189
11190         * tools/Makefile.am:
11191         * tools/gst-complete.1.in:
11192         * tools/gst-complete.c:
11193         * tools/gst-compprep.1.in:
11194         * tools/gst-compprep.c:
11195           removing -compprep and -complete
11196
11197 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11198
11199         * gst/gstevent.c: (gst_event_new_new_segment),
11200         (gst_event_parse_new_segment):
11201         * gst/gstevent.h:
11202           fix #320529 - clean up new_segment API and structure.
11203           Let's hope everyone was using the methods, and not the structure.
11204
11205 2005-11-29  Edward Hervey  <edward@fluendo.com>
11206
11207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11208         (gst_base_sink_event), (gst_base_sink_do_sync),
11209         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11210         Properly handle non GST_FORMAT_TIME segment
11211         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11212         Properly handle non GST_FORMAT_TIME segment
11213         * gst/gstsegment.c:
11214         This function is valid if the accumulator is 0 and the format
11215         is different from the requested format.
11216         
11217 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11218
11219         * docs/gst/gstreamer-sections.txt:
11220         Add gst_query_new_seeking and gst_query_parse_seeking to the
11221         docs.
11222
11223 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11224
11225         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11226           Treat a pad alloc with new caps the same as if we were not
11227           negotiated, in order to allow a changing upstream output
11228           to produce a new format of data.
11229
11230 2005-11-29  Edward Hervey  <edward@fluendo.com>
11231
11232         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11233         (gst_base_transform_event), (gst_base_transform_eventfunc):
11234         The event virtual method is now properly implemented, with a default
11235         handler
11236         Sub classes should call the parent_class event method. They should
11237         return FALSE if they had a problem handling the given event, or don't
11238         want GstBaseTransform to send that even downstream
11239         * gst/elements/gstidentity.c: (gst_identity_class_init),
11240         (gst_identity_init), (gst_identity_event),
11241         (gst_identity_transform_ip), (gst_identity_set_property),
11242         (gst_identity_get_property):
11243         * gst/elements/gstidentity.h:
11244         Added the single-segment boolean property.
11245         If set to TRUE, it will output a single segment of data, starting from
11246         0, will eat up all incoming newsegment, and modify the timestamp of the
11247         buffers accordingly
11248
11249 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
11250
11251         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11252           Don't ref NULL target pad (#322751). Improve docs.
11253
11254 2005-11-29  Michael Smith  <msmith@fluendo.com>
11255
11256         * gst/gstregistryxml.c: (load_plugin):
11257           Don't crash if we failed to load a feature from a plugin. 
11258
11259 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11260
11261         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11262         (GST_START_TEST):
11263           use more check API and less GLib API
11264
11265 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11266
11267         * Makefile.am:
11268           don't run checks if we don't have check
11269         * common/check.mak:
11270           remove the registry when running make torture
11271         * docs/gst/gstreamer-sections.txt:
11272           remove second multiply
11273         * gst/gstqueue.c: (gst_queue_loop):
11274           fix a compile warning when disabling debug
11275
11276 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11277
11278         * gst/gstinfo.h:
11279         Hey! Let's print the pad name if the pointer != NULL instead
11280         of when it == NULL :-)
11281
11282 2005-11-28  Wim Taymans  <wim@fluendo.com>
11283
11284         * check/gst/gstutils.c: (GST_START_TEST):
11285         Updated check, add some scaling accuracy checking code.
11286
11287         * gst/gstutils.c: (gst_util_div128_64),
11288         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11289         (gst_util_uint64_scale_int):
11290         Fix 6 times faster division code. Optimize for common 
11291         1/1 and less common X/1 cases.
11292
11293 2005-11-28  Wim Taymans  <wim@fluendo.com>
11294
11295         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11296         More checks.
11297
11298         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11299         (do_linear_regression), (gst_clock_add_observation):
11300         Cleanups.
11301         Release lock when the clock cannot be slaved.
11302         Catch the case where the regression returned an invalid denominator.
11303
11304         * gst/gstutils.c: (gst_util_div128_64_iterate),
11305         (gst_util_div128_64), (gst_util_uint64_scale_int64),
11306         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11307         Add protentially more performant non-iterative 128/64 divide function
11308         that unfortunatly does not work yet.
11309         Shortcut the trivial 0/X = 0 case.
11310         Remove the warnings on overflow.
11311
11312 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11313
11314         * gst/gstplugin.c: (gst_plugin_register_func):
11315           everything causing a plugin not to load should be at least a WARNING
11316
11317 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
11318
11319         * docs/random/ensonic/dparams.txt:
11320           some TODOs for the next dev cycle
11321         * libs/gst/controller/gstcontroller.c:
11322         (gst_controlled_property_set_interpolation_mode),
11323         (gst_controlled_property_new):
11324         * libs/gst/controller/gstcontroller.h:
11325           use base type to assign acccessor functions
11326
11327 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11328
11329         * check/Makefile.am:
11330         Oops, that should have been top_srcdir
11331
11332 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11333
11334         * check/Makefile.am:
11335         * check/elements/fdsrc.c: (GST_START_TEST):
11336         Use a cmdline define to specify the location of a file to use for
11337         testing, to avoid breaking distcheck.
11338
11339 2005-11-28  Andy Wingo  <wingo@pobox.com>
11340
11341         * gst/gstpad.c (fixate_value): Use array functions for arrays.
11342
11343 2005-11-28  Edward Hervey  <edward@fluendo.com>
11344
11345         * tools/gst-launch.c: (main):
11346         Clarify the output strings, makes it easier to translate.
11347         Fixes #322626
11348
11349 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11350
11351         * gst/Makefile.am:
11352           don't try and build net if we don't even have <sys/socket.h>
11353
11354 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
11355
11356         * check/Makefile.am:
11357         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11358         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11359           Add tests for fdsrc seekability
11360
11361         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11362         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11363         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11364         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11365         * gst/elements/gstfdsrc.h:
11366           fdsrc should not be a 'live' source.
11367           Implement seeking on seekable fd's.
11368
11369         * gst/gstquery.c: (gst_query_new_seeking),
11370         (gst_query_parse_seeking):
11371         * gst/gstquery.h:
11372           Implement SEEKING query functions: 
11373             *_new_seeking and *_parse_seeking
11374
11375 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
11376
11377         * gst/gstelement.c: (gst_element_dispose):
11378           don't loop forever
11379
11380         * gst/gstiterator.c:
11381         * gst/gststructure.c:
11382           doc fixes
11383
11384         * libs/gst/controller/gstcontroller.c:
11385         (gst_controlled_property_set_interpolation_mode):
11386         * libs/gst/controller/gstcontroller.h:
11387         * libs/gst/controller/gstinterpolation.c:
11388         (interpolate_none_get_enum_value_array):
11389           support controlling enums
11390
11391 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11392
11393         * gst/gstvalue.c:
11394           Improve documentation for gst_value_union().
11395
11396         * gst/gstvalue.h:
11397           Change return value for union, intersect and subtract functions
11398           from gint to gboolean.
11399
11400 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11401
11402         * gst/gstvalue.c: (gst_value_serialize_any_list),
11403         (gst_value_transform_any_list_string),
11404         (gst_value_deserialize_list), (gst_value_deserialize_array),
11405         (gst_value_set_int_range), (gst_value_deserialize_int_range),
11406         (gst_value_set_double_range), (gst_value_deserialize_double_range),
11407         (gst_value_set_fraction_range_full),
11408         (gst_value_deserialize_fraction_range),
11409         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11410         (gst_value_deserialize_boolean),
11411         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11412         (gst_value_serialize_float), (gst_value_deserialize_float),
11413         (gst_string_wrap), (gst_value_deserialize_string),
11414         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11415         (gst_value_union_int_range_int_range),
11416         (gst_value_intersect_int_range_int_range),
11417         (gst_value_intersect_double_range_double_range),
11418         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11419         (gst_value_subtract_int_range_int_range),
11420         (gst_value_subtract_double_double_range),
11421         (gst_value_subtract_double_range_double_range),
11422         (gst_value_deserialize_fraction):
11423         * gst/gstvalue.h:
11424           Use gint, gdouble and gchar in our API instead of int, double and
11425           char (and make usage in gstvalue.c more consistent).
11426
11427 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11428
11429         * check/Makefile.am:
11430         * libs/gst/controller/Makefile.am:
11431         * libs/gst/dataprotocol/Makefile.am:
11432           fix up Makefile.am and remove GST_ENABLE_NEW
11433
11434 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11435
11436         * configure.ac:
11437         * gst/Makefile.am:
11438         * gst/base/Makefile.am:
11439         * gst/check/Makefile.am:
11440         * gst/elements/Makefile.am:
11441         * gst/net/Makefile.am:
11442           update LDFLAGS use some more
11443
11444 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11445
11446         * common/m4/gst-doc.m4:
11447           Fixes #312589
11448
11449 2005-11-26  Edward Hervey  <edward@fluendo.com>
11450
11451         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11452         This shouldn't issue a g_warning since it returns NULL if it
11453         couldn't find the plugin, and all functions using this behave
11454         properly on a NULL return. Switching to a GST_WARNING.
11455
11456 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
11457
11458         * gst/gstbin.c: (gst_bin_handle_message_func):
11459         Don't leak clock messages.
11460
11461 2005-11-25  Wim Taymans  <wim@fluendo.com>
11462
11463         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11464         (gst_util_uint64_scale_int):
11465         Optimisations, remove unneeded vars.
11466
11467 2005-11-25  Wim Taymans  <wim@fluendo.com>
11468
11469         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11470         Added more checks for the high precision uint64 cases.
11471
11472         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11473         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11474         Implement high precision (guint64 * guint64) / guint64.
11475
11476 2005-11-24  Wim Taymans  <wim@fluendo.com>
11477
11478         * gst/base/gstbasesrc.c: (gst_base_src_query):
11479         Fix wrong percentage query.
11480
11481         * gst/gstutils.c: (gst_util_uint64_scale),
11482         (gst_util_uint64_scale_int):
11483         Add some more common cases that can be handled 
11484         efficiently to _scale.
11485
11486 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11487
11488         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11489         (gst_mini_object_suite):
11490           don't use check calls from threads; check probably isn't
11491           threadsafe and using a lock to make it threadsafe would
11492           defeat the purpose of this check
11493         * gst/check/gstcheck.c:
11494         * gst/check/gstcheck.h:
11495           use GST_DEBUG some more
11496
11497 2005-11-24  Wim Taymans  <wim@fluendo.com>
11498
11499         * gst/gstutils.c: (gst_util_uint64_scale),
11500         (gst_util_uint64_scale_int):
11501         Chain trivial case to _scale_int.
11502
11503 2005-11-24  Wim Taymans  <wim@fluendo.com>
11504
11505         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11506         Added test for scaling.
11507
11508         * gst/gstclock.h:
11509         Small doc fix.
11510
11511         * gst/gstutils.c: (gst_util_uint64_scale_int):
11512         Implemented high precision scaling code.
11513
11514 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11515
11516         * gst/gstinfo.h:
11517           do not crash on pad==NULL
11518
11519 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11520
11521         Patch by: Stefan Kost
11522
11523         * common/gtk-doc.mak:
11524         * docs/gst/Makefile.am:
11525         * docs/libs/Makefile.am:
11526           Fix distcheck issues for the libraries docs build
11527           Closes #319599.
11528
11529 2005-11-24  Michael Smith <msmith@fluendo.com>
11530
11531         * docs/manual/basics-helloworld.xml:
11532           Fix bug #315027: memory leak in example code in docs.
11533
11534 2005-11-24  Michael Smith <msmith@fluendo.com>
11535
11536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11537           Unlock the PREROLL_LOCK in a failure case.
11538
11539 2005-11-24  Wim Taymans  <wim@fluendo.com>
11540
11541         * docs/gst/gstreamer-sections.txt:
11542         * gst/base/gstadapter.h:
11543         * gst/base/gstbasesink.h:
11544         * gst/base/gstbasesrc.h:
11545         * gst/base/gstbasetransform.h:
11546         * gst/base/gstpushsrc.h:
11547         * gst/elements/gstfakesink.h:
11548         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11549         * gst/elements/gstfakesrc.h:
11550         * gst/elements/gstfilesink.h:
11551         * gst/elements/gstfilesrc.h:
11552         * gst/gst.c:
11553         * gst/gstbin.c:
11554         * gst/gstbuffer.c: (_gst_buffer_copy):
11555         * gst/gstbus.h:
11556         * gst/gstcaps.c:
11557         * gst/gstchildproxy.c:
11558         * gst/gstclock.c:
11559         * gst/gstelement.c:
11560         * gst/gstelementfactory.c:
11561         * gst/gstelementfactory.h:
11562         * gst/gstevent.c:
11563         * gst/gstghostpad.h:
11564         * gst/gstindex.h:
11565         * gst/gstinterface.h:
11566         * gst/gstminiobject.c:
11567         * gst/gstminiobject.h:
11568         * gst/gstpad.c:
11569         * gst/gstpad.h:
11570         * gst/gstpadtemplate.h:
11571         * gst/gstpipeline.h:
11572         * gst/gstpluginfeature.h:
11573         * gst/gstquery.h:
11574         * gst/gstqueue.h:
11575         * gst/gsttaglist.c:
11576         * gst/gsttaglist.h:
11577         * gst/gsttagsetter.c:
11578         * gst/gsttagsetter.h:
11579         * gst/gsttrace.c:
11580         * gst/gsttrace.h:
11581         * gst/gsttypefind.h:
11582         * gst/gsturi.h:
11583         * gst/gstvalue.c:
11584         * gst/net/gstnetclientclock.c:
11585         * gst/net/gstnetclientclock.h:
11586         * gst/net/gstnettimepacket.c:
11587         * gst/net/gstnettimeprovider.c:
11588         * gst/net/gstnettimeprovider.h:
11589         Doc fixes.
11590
11591 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11592
11593         * configure.ac: back to HEAD
11594
11595 === release 0.9.6 ===
11596
11597 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11598
11599         * configure.ac:
11600           releasing 0.9.6, "Always On Time"
11601
11602 2005-11-23  Wim Taymans  <wim@fluendo.com>
11603
11604         * docs/gst/gstreamer-sections.txt:
11605         * gst/glib-compat.c:
11606         * gst/gsttagsetter.c:
11607         * gst/gstvalue.c:
11608         * gst/net/gstnetclientclock.c:
11609         * gst/net/gstnettimepacket.h:
11610         Doc updates.
11611
11612 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11613
11614         * docs/faq/using.xml:
11615         * docs/libs/tmpl/gstcontrol.sgml:
11616         * docs/manual/advanced-dparams.xml:
11617         * docs/manual/appendix-checklist.xml:
11618         * docs/manual/basics-elements.xml:
11619         * docs/pwg/other-source.xml:
11620         * docs/random/moving-plugins:
11621         * gst/gstpad.c:
11622         * tools/gst-launch.1.in:
11623           remove mentions of sinesrc
11624
11625 2005-11-23  Michael Smith <msmith@fluendo.com>
11626
11627         * docs/gst/gstreamer-sections.txt:
11628           Update for new API and API changes.
11629         * gst/gstobject.h:
11630           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11631         * gst/gstvalue.c:
11632           Documentation typo fix.
11633         * gst/net/gstnettimepacket.c:
11634           Documentation fixes for arguments.
11635
11636 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11637
11638         * gst/gststructure.c: (gst_structure_get_fraction),
11639         (gst_structure_parse_value),
11640         (gst_structure_fixate_field_nearest_fraction):
11641         * gst/gststructure.h:
11642         * gst/gstutils.c: (gst_util_uint64_scale_int):
11643         * gst/gstutils.h:
11644         * scripts/update-funcnames:
11645         API Changes. 
11646         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11647         Make gst_structure_fixate_field_nearest_fraction take a numerator
11648         and denominator argument instead of a GValue
11649         add gst_structure_get_fraction helper function.
11650
11651 2005-11-23  Wim Taymans  <wim@fluendo.com>
11652
11653         * docs/design/part-TODO.txt:
11654         Update TODO.
11655
11656         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11657         * gst/net/gstnetclientclock.h:
11658         Use parent fields for timeout and window_size.
11659
11660 2005-11-23  Andy Wingo  <wingo@pobox.com>
11661
11662         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11663         rate_num/rate_denom change.
11664
11665         * gst/net/gstnetclientclock.c
11666         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11667         OBJECT_LOCK. Don't call add_observation with the lock.
11668
11669         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11670         fraction.
11671         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11672         rate fraction.
11673         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11674         deal with rate as a fraction whose numerator and denominator are
11675         GstClockTime values.
11676         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11677         master; the other fields are protected by the SLAVE_LOCK.
11678         (do_linear_regression): Note that this must be called with the
11679         SLAVE_LOCK.
11680         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11681         OBJECT_LOCK. Call set_calibration instead of touching the
11682         variables directly.
11683         (gst_clock_set_property, gst_clock_get_property): Protect
11684         master/slave parameters with the SLAVE_LOCK.
11685
11686         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11687         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11688         note that all of the instance variables that add_observation and
11689         the set_master functions use are protected by that lock and not
11690         the OBJECT_LOCK.
11691         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11692
11693         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11694         the caller to take the object lock.
11695
11696 2005-11-23  Wim Taymans  <wim@fluendo.com>
11697
11698         * gst/gsterror.c: (_gst_core_errors_init):
11699         * gst/gsterror.h:
11700         Add error for clock stuff.
11701
11702         * gst/gstpipeline.c: (gst_pipeline_change_state),
11703         (gst_pipeline_set_clock):
11704         Post clock error when clock cannot be used in a pipeline.
11705
11706 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11707
11708         * docs/gst/gstreamer-sections.txt:
11709           make two symbols from gstinfo private for the docs
11710         * gst/base/gstcollectpads.h:
11711         * gst/gstutils.c:
11712           fix doc typos, update docs
11713
11714 2005-11-22  Wim Taymans  <wim@fluendo.com>
11715
11716         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11717         (gst_base_sink_wait), (gst_base_sink_do_sync),
11718         (gst_base_sink_handle_event):
11719         * gst/base/gstbasesink.h:
11720         No need to store the clock, the parent element class already
11721         has it.
11722
11723         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11724         Updates for clock_set returning a gboolean
11725
11726         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11727         (gst_clock_id_wait_async), (gst_clock_class_init),
11728         (gst_clock_init), (gst_clock_finalize),
11729         (gst_clock_get_internal_time), (gst_clock_get_time),
11730         (gst_clock_slave_callback), (gst_clock_set_master),
11731         (gst_clock_get_master), (do_linear_regression),
11732         (gst_clock_add_observation), (gst_clock_set_property),
11733         (gst_clock_get_property):
11734         * gst/gstclock.h:
11735         Implement master/slave. When setting a clock as a slave, a
11736         periodic timeout is scheduled to sample master and slave times.
11737         Then the slave clock is recalibrated to match offset and rate
11738         of the master clock.
11739         Update logging a bit.
11740         Add flag so that a clock can state that is cannot be slaved to
11741         another clock.
11742
11743         * gst/gstelement.c: (gst_element_set_clock):
11744         * gst/gstelement.h:
11745         The set clock returns a gboolean for when an element cannot
11746         deal with the selected clock in the pipeline. 
11747
11748         * gst/gstpipeline.c: (gst_pipeline_change_state),
11749         (gst_pipeline_set_clock):
11750         * gst/gstpipeline.h:
11751         Handle the case where the selected clock cannot be set on
11752         the pipeline.
11753
11754         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11755         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11756         (gst_net_client_clock_set_property),
11757         (gst_net_client_clock_get_property),
11758         (gst_net_client_clock_observe_times):
11759         * gst/net/gstnetclientclock.h:
11760         Use regression code in GstClock parent, remove duplicated
11761         functionality.
11762
11763 2005-11-22  Michael Smith <msmith@fluendo.com>
11764
11765         * gst/gstutils.c: (gst_util_clock_time_scale):
11766         * gst/gstutils.h:
11767         * docs/gst/gstreamer-sections.txt:
11768           Rename method to have extra underscore.
11769
11770 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11771
11772         * gst/elements/Makefile.am:
11773         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11774         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11775         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11776         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11777         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11778         * gst/elements/gstfakesrc.h:
11779         * gst/gstqueue.c: (queue_leaky_get_type):
11780           correctly fix GEnumValues so that nick is the short lowercase
11781           dashed tag
11782         * tools/gst-inspect.c: (print_element_properties_info):
11783           also show the nick, since it's useful to use from parse_launch
11784           syntax
11785           Fixes #322139
11786
11787 2005-11-22  Michael Smith <msmith@fluendo.com>
11788
11789         * gst/gstutils.c: (gst_util_clocktime_scale):
11790         * gst/gstutils.h:
11791         * docs/gst/gstreamer-sections.txt:
11792           Add util method for scaling a clocktime by a fraction. Useful 
11793           implementation is left as an exercise for the reader.
11794
11795 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11796
11797         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11798         If needed, allocate storage in the destination value during
11799         collection.
11800
11801 2005-11-22  Edward Hervey  <edward@fluendo.com>
11802
11803         * docs/gst/gstreamer-sections.txt:
11804         * gst/Makefile.am:
11805         * gst/gst.h:
11806         * gst/gsturitype.c:
11807         * gst/gsturitype.h:
11808         * gst/gstutils.c: (gst_util_set_object_arg):
11809         * tools/gst-compprep.c: (main):
11810         * tools/gst-inspect.c: (print_element_properties_info):
11811         Removed GstURI, closes bug #321061
11812
11813 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11814
11815         * check/gst/gststructure.c: (GST_START_TEST):
11816         * gst/gststructure.c: (gst_structure_parse_value):
11817           Oops, broke automatic string type parsing.
11818           Add a test to catch it in future.
11819
11820 2005-11-22  Andy Wingo  <wingo@pobox.com>
11821
11822         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11823         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11824         Actually rename the function implementations. Grr.
11825
11826 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11827
11828         * check/gst/capslist.h:
11829           Comment test cases
11830         * check/gst/gststructure.c: (GST_START_TEST),
11831         (gst_structure_suite):
11832           Test automatic value type detection in gst_structure_from_string.
11833         * gst/gststructure.c: (gst_structure_parse_value):
11834           Add fraction as a type we try and guess automatically in
11835           caps/structure strings.
11836
11837 2005-11-22  Andy Wingo  <wingo@pobox.com>
11838
11839         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11840
11841         * gst/gsttagsetter.h:
11842         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11843         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11844         (gst_tag_setter_add_tag_valist)
11845         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11846         _add_values, _add_valist, and _add_valist_values. Since this is an
11847         interface the function suffixes should be more explicit so
11848         language binding don't end up with element.add_valist ->
11849         gst_tag_setter_add_valist, for example. Fixes #322069.
11850
11851 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11852
11853         * check/gst/gstcaps.c: (GST_START_TEST):
11854           Extend caps string tests to check that a caps to string
11855           conversion is reversible and produces the same caps.
11856
11857         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11858           Output "fraction" as the generic type fraction range, so caps
11859           serialisation and deserialisation works.
11860         * check/gst/capslist.h:
11861         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11862           Support 'MIN' and 'MAX' for deserialising fractions.
11863
11864 2005-11-22  Andy Wingo  <wingo@pobox.com>
11865
11866         * gst/gstevent.h (gst_event_new_new_segment)
11867         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11868         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11869         Renamed from *_newsegment, *_buffersize, *_notarget.
11870
11871         * scripts/update-funcnames: New script, performs the changes
11872         listed above.
11873
11874 2005-11-22  Wim Taymans  <wim@fluendo.com>
11875
11876         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11877         Make sure the GstFlowReturn is returned.
11878
11879         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11880         (gst_bus_add_signal_watch):
11881         * gst/gstbus.h:
11882         add gst_bus_add_signal_watch_full.
11883
11884         * gst/gstplugin.c: (gst_plugin_load_file):
11885         Small style cleanup.
11886
11887 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11888
11889         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11890           Block the fakesrc srcpad when we send an event, to avoid
11891           contention on the stream_lock causing random test failures.
11892
11893 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11894
11895         * check/gst/gstvalue.c: (GST_START_TEST):
11896         * gst/gstvalue.c: (gst_value_fraction_subtract):
11897           Fix subtraction.
11898
11899 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11900
11901         * gst/gst.h:
11902           include "gstchildproxy.h"
11903         * gst/gstchildproxy.h:
11904         * libs/gst/controller/gstcontroller.h:
11905           use G_GNUC_NULL_TERMINATED
11906
11907 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11908
11909         * check/gst/capslist.h:
11910         * check/gst/gstcaps.c: (GST_START_TEST):
11911         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11912         * gst/gststructure.c: (gst_structure_parse_range),
11913         (gst_structure_fixate_field_nearest_fraction):
11914         * gst/gststructure.h:
11915         * gst/gstvalue.c: (gst_value_init_fraction_range),
11916         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11917         (gst_value_collect_fraction_range),
11918         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11919         (gst_value_set_fraction_range_full),
11920         (gst_value_get_fraction_range_min),
11921         (gst_value_get_fraction_range_max),
11922         (gst_value_serialize_fraction_range),
11923         (gst_value_transform_fraction_range_string),
11924         (gst_value_compare_fraction_range),
11925         (gst_value_deserialize_fraction_range),
11926         (gst_value_intersect_fraction_fraction_range),
11927         (gst_value_intersect_fraction_range_fraction_range),
11928         (gst_value_subtract_fraction_fraction_range),
11929         (gst_value_subtract_fraction_range_fraction),
11930         (gst_value_subtract_fraction_range_fraction_range),
11931         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11932         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11933         (gst_value_transform_string_fraction), (_gst_value_initialize):
11934         * gst/gstvalue.h:
11935           Implement fraction ranges and extend GstFraction to support
11936           arithmetic subtraction, as well as deserialization from integer
11937           strings such as "100"
11938           Add a testsuite as for int and double range set operations
11939
11940 2005-11-21  Andy Wingo  <wingo@pobox.com>
11941
11942         * gst/gsttaglist.h: 
11943         * gst/gstcaps.h: 
11944         * gst/gststructure.h: Add glib-compat.h.
11945
11946 2005-11-21  Wim Taymans  <wim@fluendo.com>
11947
11948         * gst/gstbin.c: (gst_bin_change_state_func):
11949         Fix for #321595
11950
11951 2005-11-21  Wim Taymans  <wim@fluendo.com>
11952
11953         * gst/gstsegment.h:
11954         And add a nice define too.
11955
11956 2005-11-21  Wim Taymans  <wim@fluendo.com>
11957
11958         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11959         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11960         (gst_segment_set_duration), (gst_segment_set_last_stop),
11961         (gst_segment_set_seek), (gst_segment_set_newsegment),
11962         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11963         (gst_segment_clip):
11964         * gst/gstsegment.h:
11965         Make binding friendly.
11966
11967 2005-11-21  Andy Wingo  <wingo@pobox.com>
11968
11969         * gst/gsttagsetter.h: 
11970         * gst/gsttaglist.h: 
11971         * gst/gststructure.h: 
11972         * gst/gstcaps.h: 
11973         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11974         #319940.
11975
11976         * gst/gsterror.c (_gst_core_errors_init):
11977         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11978         category.
11979
11980         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11981         (noinst_HEADERS): noinst the -private.
11982
11983 2005-11-21  Michael Smith <msmith@fluendo.com>
11984
11985         * gst/gstplugin.h:
11986         * gst/gstregistry.h:
11987           Remove unimplemented declarations for which we can see no sensible
11988           use.
11989
11990 2005-11-21  Andy Wingo  <wingo@pobox.com>
11991
11992         * gst/gst.h: Include glib-compat.h.
11993
11994         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11995
11996         * gst/glib-compat.c: Include the public and the private header.
11997
11998         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11999
12000         * gst/gstvalue.c: 
12001         * gst/gstpad.c: 
12002         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12003
12004         * check/gst/gstevent.c (create_custom_events): Check that
12005         FLUSH_STOP is serialized.
12006
12007         * check/elements/identity.c (event_func): 
12008         * check/elements/fakesrc.c (event_func): No stream lock, the core
12009         takes it.
12010
12011         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12012         stream lock taking, yay.
12013
12014         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12015         ensure that core takes the stream lock.
12016
12017         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12018         lock name change.
12019
12020         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12021         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12022         it already. For the flush start we do take it though so we get the
12023         right preroll state change messages.
12024
12025         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12026         the stream lock here, the core does it for us.
12027
12028         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12029         GST_STREAM_GET_LOCK.
12030         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
12031         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
12032         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12033         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12034         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
12035         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12036
12037         * gst/gstpad.c: Update for stream lock name change.
12038
12039         * gst/base/gstbasesink.c: Update for preroll lock name change.
12040
12041 2005-11-21  Wim Taymans  <wim@fluendo.com>
12042
12043         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12044         (gst_clock_get_master):
12045         * gst/gstclock.h:
12046         * gst/gstsystemclock.c: (gst_system_clock_init):
12047         Convert Clock flags to object flags.
12048         Added methods to manage master/slave clocks.
12049
12050 2005-11-21  Wim Taymans  <wim@fluendo.com>
12051
12052         * check/gst/gstsegment.c: (GST_START_TEST):
12053         * docs/design/part-TODO.txt:
12054         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12055         (gst_base_sink_event), (gst_base_sink_do_sync),
12056         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12057         (gst_base_sink_query), (gst_base_sink_change_state):
12058         * gst/base/gstbasesink.h:
12059         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12060         (gst_base_src_default_newsegment),
12061         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12062         (gst_base_src_get_range), (gst_base_src_loop),
12063         (gst_base_src_change_state):
12064         * gst/base/gstbasesrc.h:
12065         * gst/base/gstbasetransform.c:
12066         (gst_base_transform_prepare_output_buf),
12067         (gst_base_transform_event), (gst_base_transform_change_state):
12068         * gst/base/gstbasetransform.h:
12069         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12070         (gst_collect_pads_event):
12071         * gst/base/gstcollectpads.h:
12072         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12073         (gst_fake_src_create):
12074         * gst/elements/gstfakesrc.h:
12075         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12076         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12077         (gst_segment_set_last_stop), (gst_segment_set_seek),
12078         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12079         (gst_segment_to_running_time), (gst_segment_clip):
12080         * gst/gstsegment.h:
12081         More segment updates, replace code in plugins with segment
12082         helper functions.
12083
12084 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12085
12086         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12087         Don't ignore sscanf results
12088
12089 2005-11-21  Andy Wingo  <wingo@pobox.com>
12090
12091         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12092
12093         * *.h:
12094         * *.c: Ran scripts/update-macros. Oh yes.
12095
12096         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12097         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12098         GST_GET_LOCK, etc.
12099
12100         * scripts/update-macros: New script. Run it on your files to
12101         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12102         well.
12103
12104 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
12105
12106         * docs/gst/Makefile.am:
12107         * docs/gst/gstreamer-docs.sgml:
12108         * docs/gst/gstreamer-sections.txt:
12109         * docs/gst/gstreamer.types:
12110         * gst/gstinfo.h:
12111           more docs fixes, add new api to the docs
12112
12113 2005-11-21  Andy Wingo  <wingo@pobox.com>
12114
12115         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12116         state_broadcast call.
12117
12118         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12119
12120 2005-11-21  Julien MOUTTE  <julien@moutte.net>
12121
12122         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12123         function calls for arrays.
12124
12125 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
12126
12127         * docs/random/ensonic/media-device-daemon.txt:
12128           wild idea, can this be done?
12129         * docs/gst/gstreamer-sections.txt:
12130         * gst/gsterror.h:
12131         * gst/gstfilter.c:
12132         * gst/gstfilter.h:
12133         * gst/gstplugin.h:
12134         * gst/gstpluginfeature.c:
12135         * gst/gsttrace.c:
12136         * gst/gstvalue.c:
12137         * gst/gstvalue.h:
12138           doc fixes and additions
12139
12140 2005-11-21  Andy Wingo  <wingo@pobox.com>
12141
12142         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
12143         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
12144         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
12145         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12146         private to the basesrc implementation.
12147
12148         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12149         behalf of event function if necessary. It should no longer be
12150         necessary to take the stream lock in pad's event functions. Fixes
12151         #320299.
12152
12153 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12154         * docs/gst/gstreamer-sections.txt:
12155         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12156         (gst_structure_fixate_field_nearest_double),
12157         (gst_structure_fixate_field_boolean):
12158         * gst/gststructure.h:
12159         * win32/common/libgstreamer.def:
12160         * win32/gstreamer.def:
12161
12162         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12163         (#322027)
12164
12165 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12166
12167         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12168         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12169         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12170         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12171         (gst_fdsrc_uri_handler_init):
12172         * gst/elements/gstfdsrc.h:
12173           Port fd:// URI handler from 0.8 to fdsrc
12174
12175 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12176
12177         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12178         (gst_value_serialize_fourcc):
12179         * gst/gstvalue.h:
12180           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12181           consistent with our other format defines (#320324).
12182
12183 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12184
12185         * gst/gstvalue.c: (gst_value_is_fixed):
12186           Revert previous commit. Value lists are by definition
12187           not fixed, as they are a list of possible values.
12188
12189 2005-11-21  Andy Wingo  <wingo@pobox.com>
12190
12191         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12192         during the stable series if we need it. Fixes #319178.
12193
12194         * gst/gstevent.c (gst_event_new_filler): Removed.
12195
12196         * check/gst/gstevent.c: Update comment about filler events.
12197
12198 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12199
12200         * gst/gstvalue.c: (gst_value_is_fixed):
12201           Should handle both value arrays and value lists.
12202
12203 2005-11-21  Andy Wingo  <wingo@pobox.com>
12204
12205         patch by: Alessandro Dessina <alessandro nnva org>
12206
12207         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12208         functions to access arrays. Fixes #321962.
12209
12210 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12211
12212         * docs/gst/gstreamer.types:
12213           gst_collectpads_get_type => gst_collect_pads_get_type.
12214           
12215         * gst/base/gstbasetransform.c:
12216           Remove unused SIGNAL_HANDOFF enum.
12217
12218 2005-11-21  Andy Wingo  <wingo@pobox.com>
12219
12220         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12221         the event type (upstream, downstream, serialized). Renamed
12222         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12223         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12224         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12225
12226         * gst/gstevent.c: Update for new CUSTOM event names.
12227
12228         * check/gst/gstevent.c: Update check for new CUSTOM event names.
12229
12230         * gst/gstevent.h:
12231         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12232         bug #319392.
12233
12234 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12235
12236         * docs/gst/gstreamer-sections.txt:
12237         * win32/common/libgstbase.def:
12238         * win32/libgstbase.def:
12239         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12240         (gst_collect_pads_class_init), (gst_collect_pads_init),
12241         (gst_collect_pads_finalize), (gst_collect_pads_new),
12242         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12243         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12244         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12245         (gst_collect_pads_start), (gst_collect_pads_stop),
12246         (gst_collect_pads_peek), (gst_collect_pads_pop),
12247         (gst_collect_pads_available), (gst_collect_pads_read),
12248         (gst_collect_pads_flush), (gst_collect_pads_event),
12249         (gst_collect_pads_chain):
12250         * gst/base/gstcollectpads.h:
12251           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12252           unimplemented functions as unimplemented. Add padding to
12253           GstCollectData. (#320766, #320423)
12254
12255 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12256
12257         * gst/gstmessage.c:
12258           Improve docs for DURATION message (usage of duration parameter)
12259           (#320113)
12260
12261 2005-11-20  Wim Taymans  <wim@fluendo.com>
12262
12263         * check/Makefile.am:
12264         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12265         (main):
12266         * gst/Makefile.am:
12267         * gst/gst.h:
12268         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12269         (gst_segment_set_seek), (gst_segment_set_newsegment),
12270         (gst_segment_to_stream_time), (gst_segment_to_running_time),
12271         (gst_segment_clip):
12272         * gst/gstsegment.h:
12273         Added segment helper structure and methods. Not fully implemented
12274         yet.
12275         Added segment check.
12276
12277 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
12278
12279         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12280           Add a deserialisation test for fractions
12281         * examples/metadata/read-metadata.c: (message_loop),
12282         (make_pipeline), (main):
12283           Fix up metadata reading sample.
12284         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12285           Debug format fix
12286         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12287           Don't try and fixate empty caps
12288         * gst/gst_private.h:
12289           Wrap in G_BEGIN_DECLS/G_END_DECLS
12290         * gst/gstvalue.c: (gst_value_collect_fraction),
12291         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12292         (gst_value_transform_string_fraction),
12293         (gst_value_compare_fraction):
12294           Add some extra guards to ensure that we don't end up 
12295           with an invalid denominator of 0 in a gstfraction and
12296           that fractions always get reduced.
12297
12298 2005-11-20  Wim Taymans  <wim@fluendo.com>
12299
12300         * docs/gst/gstreamer-sections.txt:
12301         * gst/gstbuffer.h:
12302         * gst/gstelement.c:
12303         * gst/gstformat.c:
12304         * gst/gstformat.h:
12305         * gst/gstindex.h:
12306         * gst/gstquery.c:
12307         * gst/gstquery.h:
12308         * gst/gstvalue.c:
12309         Doc fixes.
12310
12311 2005-11-20  Wim Taymans  <wim@fluendo.com>
12312
12313         * docs/design/part-TODO.txt:
12314         * gst/gstcaps.h:
12315         Make a proper enum of the flag.
12316
12317 2005-11-19  Wim Taymans  <wim@fluendo.com>
12318
12319         * docs/design/part-TODO.txt:
12320         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12321         (gst_format_to_quark), (gst_format_register):
12322         * gst/gstformat.h:
12323         * gst/gstquery.c: (_gst_query_initialize),
12324         (gst_query_type_get_name), (gst_query_type_to_quark),
12325         (gst_query_type_register):
12326         * gst/gstquery.h:
12327         Add type to quark and type to string conversions.
12328
12329 2005-11-19  Andy Wingo  <wingo@pobox.com>
12330
12331         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12332         #320097.
12333
12334 2005-11-19  Wim Taymans  <wim@fluendo.com>
12335
12336         * docs/design/part-TODO.txt:
12337         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12338         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12339         (gst_bin_handle_message_func):
12340         * gst/gstbin.h:
12341         Make message handling overridable.
12342
12343 2005-11-19  Andy Wingo  <wingo@pobox.com>
12344
12345         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12346
12347         * gst/gstclock.h:
12348         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12349         be a GstClockTime.
12350         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12351         is a GstClockTime. Fixes #321710.
12352
12353         * gst/gstclock.h (GstClock): Remove offset property. Add
12354         internal_calibration and external_calibration. Fix padding. Pad
12355         also by GstClockTime so we don't run into problems.
12356
12357         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12358         (gst_clock_get_rate_offset): Remove.
12359         (gst_clock_set_time_adjust): Remove. Fixes #321712.
12360
12361         * gst/gstutils.h:
12362         * gst/gstutils.c (g_static_rec_cond_wait)
12363         (g_static_rec_cond_timed_wait): Removed, no longer needed.
12364
12365         * gst/gstbin.c: Remove terrible continue_state prototype.
12366
12367         * gst/gstelement.h (gst_element_continue_state): Make public.
12368
12369         * gst/gstelement.h:
12370         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12371         by continue_state. Fixes #319389.
12372
12373         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12374         Really fixes #168438. However I don't see anywhere where the
12375         filter function is called... stupid GStreamer...
12376         
12377         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12378         don't have a dispose function, so it won't get called when the
12379         object is unreffed, but oh well!
12380
12381         * gst/gstindex.c (gst_index_set_filter_full): New API function,
12382         allows a destroy function to be set so user_data can be freed.
12383         Fixes #168438.
12384         (gst_index_set_filter): Call gst_index_set_filter_full.
12385
12386         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12387
12388         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12389         string should produce an error, given the lack of a way to
12390         represent NULL strings. Fixes #165650.
12391         
12392         * gst/gstvalue.h: 
12393         * gst/gstvalue.c (gst_value_array_append_value) 
12394         (gst_value_array_prepend_value, gst_value_array_get_size) 
12395         (gst_value_array_get_value): New API, copied from
12396         gst_value_list_*, only operates on arrays.
12397         (gst_value_list_append_value, gst_value_list_prepend_value) 
12398         (gst_value_list_concat, gst_value_list_get_size) 
12399         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12400
12401         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12402         init_list, because it works on both.
12403         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12404         (gst_value_copy_list_or_array): Renamed from copy_list.
12405         (gst_value_free_list_or_array): Renamed from free_list.
12406         (gst_value_collect_list_or_array): Renamed from collect_list.
12407         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12408         (gst_value_list_or_array_peek_pointer): Renamed from
12409         list_peek_pointer.
12410         (_gst_value_array_value_table, _gst_value_list_value_table):
12411         Update value table functions.
12412         (gst_value_compare_list_or_array): Renamed from compare_list.
12413
12414         * gsttaglist.h: Whoops, foreach function returns void. Also fix
12415         some constness.
12416
12417         * gst/gsttaglist.c:
12418         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12419         GstTagList*. Fixes #143472.
12420
12421         * gst/gststructure.h: Clarify what the foreach/map functions can
12422         or can't do to their arguments.
12423
12424 2005-11-18  Wim Taymans  <wim@fluendo.com>
12425
12426         * gst/gstclock.c: (gst_clock_set_calibration),
12427         (gst_clock_get_calibration):
12428         Doc and API fixes.
12429         Calibration can be set with internal time equal to current
12430         internal time too.
12431
12432 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12433
12434         * gst/gsterror.c:
12435         * gst/gsterror.h:
12436           document
12437
12438 2005-11-18  Andy Wingo  <wingo@pobox.com>
12439
12440         * configure.ac: 
12441         * pkgconfig/gstreamer-net.pc.in:
12442         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12443         * pkgconfig/Makefile.am: Add net pkgconfig files.
12444
12445 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
12446
12447         * gst/gstcaps.c:
12448         * gst/gstghostpad.c:
12449         * gst/gsttrace.c:
12450         * gst/gstvalue.c:
12451         * gst/gstvalue.h:
12452           docs fixes
12453
12454 2005-11-18  Andy Wingo  <wingo@pobox.com>
12455
12456         * gst/net/gstnetclientclock.c: Turn off debugging.
12457
12458         * check/net/gstnetclientclock.c (test_functioning): Assert that the
12459         times connverge somewhat. Can't make a real test.
12460
12461         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12462         integer arithmetic. Return the minimum of the domain, which can be
12463         set as "internal" for gst_clock_set_calibration.
12464         (gst_net_client_clock_observe_times): Call _set_calibration.
12465         (gst_net_client_clock_new): Call _set_calibration instead of
12466         rate_offset.
12467
12468         * check/net/gstnetclientclock.c (test_functioning): Use the right
12469         adjustment api.
12470
12471         * gst/gstclock.h:
12472         * gst/gstclock.c (gst_clock_get_calibration) 
12473         (gst_clock_set_calibration): New functions, obsolete the ones I
12474         added yesterday. Doh. Precision issues mean we have to extrapolate
12475         from a point in the more recent past than 1970.
12476         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12477         obsolete.
12478         (gst_clock_adjust_unlocked): Use the right calibration data.
12479
12480 2005-11-18  Edward Hervey  <edward@fluendo.com>
12481
12482         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
12483         Also reset the ->current_* values in READY->PAUSED
12484
12485 2005-11-18  Andy Wingo  <wingo@pobox.com>
12486
12487         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12488         Whoops, check the right fd. Also add some debugging.
12489         (gst_net_client_clock_observe_times): Adjust for int64 offset.
12490         (do_linear_regression): Add a crapload of debugging. Subtract off
12491         the minimum values from the input series to discard unneeded bits.
12492         Use only int arithmetic. There is still double arithmetic when
12493         calculating the intercept that needs fixing. Return boolean to
12494         indicate success; FALSE would mean the domain or range is too
12495         great. Still needs fixes.
12496
12497 2005-11-18  Wim Taymans  <wim@fluendo.com>
12498
12499         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12500         For the current position in stream time, we need to subtract
12501         accumulated time.
12502         
12503         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12504         Release lock before calling the callback function of async
12505         entries.
12506
12507 2005-11-18  Andy Wingo  <wingo@pobox.com>
12508
12509         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12510         Port goes all the way to MAXUINT16.
12511
12512         * gst/net/gstnettimeprovider.c: Make the port range the same as
12513         for the kernel: 0 assigns, otherwise ports are less than
12514         MAXUINT16.
12515
12516         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12517         port change.
12518
12519         * check/net/gstnetclientclock.c (test_functioning): Add the start
12520         of another test. 
12521
12522 2005-11-18  Wim Taymans  <wim@fluendo.com>
12523
12524         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12525         (gst_bin_remove_func), (bin_bus_handler):
12526         * gst/gstbin.h:
12527         Removing a clock provider from a bin, triggers a clock lost message
12528         so that a new clock will be selected.
12529         Adding a clock to a bin triggers a clock provider message.
12530         Make sure we reselect a clock when we received a clock lost message.
12531         Keep a reference to the element that provided the clock.
12532
12533 2005-11-18  Andy Wingo  <wingo@pobox.com>
12534
12535         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12536         the clock initially so it produces values around the base time.
12537         (gst_net_client_clock_class_init): Typo fix.
12538         (gst_net_client_clock_thread): Add note on when the socket gets
12539         closed.
12540
12541 2005-11-17  Wim Taymans  <wim@fluendo.com>
12542
12543         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12544         Free remote and local time arrays.
12545
12546 2005-11-17  Wim Taymans  <wim@fluendo.com>
12547
12548         * gst/net/gstnetclientclock.c: (do_linear_regression),
12549         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12550         Fix compilation, uninitialized vars and a forgotten continue.
12551
12552 2005-11-17  Andy Wingo  <wingo@pobox.com>
12553
12554         * check/Makefile.am (check_PROGRAMS): 
12555         * check/net/gstnetclientclock.c: Add a most minimal test for the
12556         net client clock. More to come later.
12557
12558         * gst/net/gstnet.h: 
12559         * gst/net/Makefile.am: Add netclientclock.
12560
12561         * gst/net/gstnetclientclock.h:
12562         * gst/net/gstnetclientclock.c: New files, implement an untested
12563         GstClock that takes its time from a network time provider.
12564         Implements the algorithm in network-clock.scm.
12565
12566         * tests/network-clock.scm (*window-size*): Rename from
12567         *queue-length*.
12568         * tests/network-clock.scm (network-time): 
12569         * tests/network-clock-utils.scm (q-push): Update callers.
12570
12571 2005-11-17  Wim Taymans  <wim@fluendo.com>
12572
12573         * gst/gstbin.c: (gst_bin_provide_clock_func),
12574         (gst_bin_sort_iterator_new):
12575         And unref the child too..
12576
12577 2005-11-17  Wim Taymans  <wim@fluendo.com>
12578
12579         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12580         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12581         Refactor the sort iterator so it can be used while holding the
12582         LOCK too.
12583         Make clock selection select a clock closest to the source.
12584
12585 2005-11-17  Michael Smith <msmith@fluendo.com>
12586
12587         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12588         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12589         * gst/gstclock.h:
12590           Anonymous structs are a gcc (and some other compilers) extension, so
12591           don't use them. Since this is only for ABI-compatibility, and our
12592           API/ABI freeze is over in a few days, this whole thing will only
12593           last a few days, so don't bother trying to think up a meaningful
12594           name for the struct.
12595
12596 2005-11-17  Andy Wingo  <wingo@pobox.com>
12597
12598         * gst/gstclock.h (GstClock): Add rate and offset properties,
12599         preserving ABI stability. Add rate/offset accessors. Will file bug
12600         for the freeze break.
12601
12602         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12603         and offset, trying to keep precision and avoiding
12604         underflow/overflow.
12605         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12606         functions. Make gst_clock_set_time_adjust obsolete.
12607         (gst_clock_set_time_adjust): Note that this function is obsolete.
12608         Will file bug soon.
12609
12610         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12611         greppable by using GST_PADDING-1+1.
12612
12613 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12614
12615         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12616
12617         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12618           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12619
12620         * gst/gstpadtemplate.h:
12621         * gst/gstpluginfeature.h:
12622           Don't use c++ style comments in headers (#321638).
12623
12624 2005-11-16  Andy Wingo  <wingo@pobox.com>
12625
12626         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12627         buffer.
12628
12629         * check/net/gstnettimeprovider.c: Check to see that the time
12630         provider actually provides times. Works, yo!
12631
12632 2005-11-16  Wim Taymans  <wim@fluendo.com>
12633
12634         * check/Makefile.am:
12635         Enable more tests.
12636
12637         * check/elements/fakesrc.c: (GST_START_TEST):
12638         Set element to NULL before disposing it.
12639
12640 2005-11-16  Andy Wingo  <wingo@pobox.com>
12641
12642         * gst/net/Makefile.am:
12643         * gst/net/gstnet.h:
12644         * gst/net/gstnettimeprovider.c: 
12645         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12646         provider, include it from gstnet.h, and add it to the build.
12647
12648         * gst/net/gstnettimepacket.h: 
12649         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12650         sending and receiving.
12651
12652 2005-11-16  Wim Taymans  <wim@fluendo.com>
12653
12654         * check/Makefile.am:
12655         Enable valgrind check.
12656
12657         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12658         (gst_fake_src_alloc_buffer):
12659         Fix memleak.
12660
12661 2005-11-16  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12664         Call parent finalize too.
12665
12666 2005-11-16  Wim Taymans  <wim@fluendo.com>
12667
12668         * check/Makefile.am:
12669         Enable valgrind check that should work fine now.
12670
12671         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12672         * gst/gstqueue.c: (gst_queue_init):
12673         Fix memleaks in pad allocation.
12674
12675 2005-11-16  Andy Wingo  <wingo@pobox.com>
12676
12677         * gst/net/Makefile.am:
12678         * gst/net/gstnet.h: New part of core to hold network elements and
12679         objects. Put in core because it exposes API that applications want
12680         to use. The library is named libgstnet-tempname right now because
12681         of the existing libgstnet in gst-plugins-base. Solution is
12682         probably to rename the one in plugins-base; will file a bug for
12683         the freeze break.
12684
12685         * gst/net/gstnettimeprovider.c: 
12686         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12687         get_time call over the network.
12688
12689         * configure.ac: 
12690         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12691
12692         * check/Makefile.am:
12693         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12694         get additions shortly.
12695
12696 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12697
12698         * gst/gstpad.c: (gst_pad_new_from_static_template):
12699         * gst/gstpad.h:
12700           add gst_pad_new_from_static_template functions
12701         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12702         (gst_check_setup_sink_pad):
12703         * gst/elements/gsttee.c: (gst_tee_init):
12704           and use them
12705
12706 2005-11-16  Wim Taymans  <wim@fluendo.com>
12707
12708         * gst/gstpad.c: (gst_pad_pause_task):
12709         Removed warning, it's not really an error either.
12710
12711 2005-11-16  Wim Taymans  <wim@fluendo.com>
12712
12713         * gst/base/gstbasetransform.c:
12714         (gst_base_transform_prepare_output_buf),
12715         (gst_base_transform_event):
12716         Check if the caps are NULL, this can happen if the element
12717         is shutting down and the pad caps are set to NULL.
12718
12719 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12720
12721         * gst/elements/gsttee.c: (gst_tee_init):
12722           fix pad template leak in tee
12723
12724 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12725
12726         * gst/glib-compat.c: (g_value_dup_gst_object):
12727         * gst/glib-compat.h:
12728         * gst/gstpad.c: (gst_pad_set_property):
12729           use gst_object_ref when setting the pad template; this will
12730           trigger the pad template leaks on GLib 2.6 and the slaves
12731
12732 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12733
12734         * gst/glib-compat.c: (gst_flags_get_first_value):
12735         * gst/glib-compat.h:
12736         * gst/gstregistryxml.c:
12737           remove functions copied from GLib 2.6
12738
12739 2005-11-16  Michael Smith <msmith@fluendo.com>
12740
12741         * gst/Makefile.am:
12742           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12743           do, but only breaks with newer valgrind versions. We're not a
12744           valgrind tool, we have no link-time dependencies on libcoregrind.
12745
12746 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12747
12748         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12749           some debug changes
12750         * gst/gstmessage.h:
12751           typo fixes
12752
12753 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12754
12755         * gst/base/gstbasesrc.c: (gst_base_src_init):
12756         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12757         * gst/gstqueue.c: (gst_queue_init):
12758         * gst/gstregistryxml.c: (load_feature):
12759           Revert all these unrefs, they don't even pass make check !
12760
12761 2005-11-15  Johan Dahlin  <johan@gnome.org>
12762
12763         * gst/base/gstbasesrc.c: (gst_base_src_init):
12764         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12765         * gst/gstqueue.c: (gst_queue_init): 
12766         Free pad templates, fixes a couple of leaks.
12767
12768 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12769
12770         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12771
12772         * gst/gstpad.c: (gst_pad_get_property):
12773           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12774           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12775           (#321452)
12776
12777 2005-11-15  Wim Taymans  <wim@fluendo.com>
12778
12779         * gst/gstevent.c:
12780         Small doc update.
12781
12782 2005-11-15  Andy Wingo  <wingo@pobox.com>
12783
12784         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12785
12786         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12787         using GST_CLOCK_TIME_NONE to disable base time management.
12788         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12789         time if it was NONE before.
12790         (gst_pipeline_change_state): Only munge the base time if
12791         stream_time != GST_CLOCK_TIME_NONE.
12792
12793         * check/gst/gstpipeline.c (test_base_time): Punt around the
12794         problem of the probe not being called, because that's not the
12795         issue I'm looking at. Add a check that setting stream_time to NONE
12796         disables base time management.
12797         
12798 2005-11-15  Wim Taymans  <wim@fluendo.com>
12799
12800         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12801         segment_stop == -1 at startup.
12802
12803         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12804         (gst_base_transform_change_state):
12805         Init segment values at start.
12806
12807 2005-11-15  Wim Taymans  <wim@fluendo.com>
12808
12809         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12810         0 segment values are 0 in any format.
12811
12812         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12813         * gst/base/gstbasetransform.h:
12814         Parse newsegment correctly in basetransform
12815
12816         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12817         Sync to clock using updated segment values.
12818
12819 2005-11-15  Andy Wingo  <wingo@pobox.com>
12820
12821         * check/gst/gstpipeline.c (test_base_time): Add check that the
12822         base time and stream time are reset correctly.
12823
12824 2005-11-15  Wim Taymans  <wim@fluendo.com>
12825
12826         * docs/design/part-TODO.txt:
12827         Some more TODO items.
12828
12829 2005-11-15  Andy Wingo  <wingo@pobox.com>
12830
12831         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12832         error if the user selected "no clock" as the clocking method.
12833
12834         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12835         timestamps with live capture.
12836
12837         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12838         is 0 but we are a live source, timestamp the buffers using the
12839         element's clock.
12840
12841 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12842
12843         * docs/gst/gstreamer-sections.txt:
12844         * gst/gsterror.c:
12845         * gst/gstghostpad.c:
12846         * gst/gstobject.h:
12847         * gst/gstxml.c:
12848           more section docs
12849
12850 2005-11-14  Wim Taymans  <wim@fluendo.com>
12851
12852         * common/gst.supp:
12853           add suppressions from Wim's Debian machine
12854
12855 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12856
12857         * common/gst.supp:
12858           add suppressions from Andy's AMD64 Ubuntu machine
12859
12860 2005-11-14  Andy Wingo  <wingo@pobox.com>
12861
12862         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12863         STATE_LOCK not necessary. Fixes #311489.
12864
12865         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12866         #305291.
12867
12868         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12869         this function is not implemented.
12870
12871 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12872
12873         * gst/base/gstbasetransform.c:
12874         (gst_base_transform_prepare_output_buf):
12875         Ref the source pad caps while we need them.
12876         Fixes (#321386)
12877
12878 2005-11-11  Wim Taymans  <wim@fluendo.com>
12879
12880         * docs/gst/gstreamer-sections.txt:
12881         Added some docs for GstCollectData.
12882
12883         * gst/base/gstadapter.c:
12884         Some small code example fix.
12885
12886         * gst/base/gstcollectpads.c:
12887         * gst/base/gstcollectpads.h:
12888         Document some more.
12889
12890 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12891
12892         * configure.ac: back to HEAD
12893
12894 === release 0.9.5 ===
12895
12896 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12897
12898         * configure.ac:
12899           releasing 0.9.5, "Bike Lunch Day"
12900
12901 2005-11-11  Wim Taymans  <wim@fluendo.com>
12902
12903         * gst/gstbuffer.c: (_gst_buffer_copy):
12904         Copy more flags.
12905
12906         * gst/gstcaps.c: (gst_caps_is_equal):
12907         Fix some docs.
12908         Make _is_equal fast in the trivial cases.
12909
12910         * gst/gstminiobject.c:
12911         * gst/gstminiobject.h:
12912         More docs. Spifify .h file.
12913
12914         * gst/gstutils.c:
12915         Small doc update.
12916
12917 2005-11-11  Wim Taymans  <wim@fluendo.com>
12918
12919         * gst/base/gstbasetransform.c:
12920         (gst_base_transform_prepare_output_buf),
12921         (gst_base_transform_handle_buffer):
12922         Small cleanups.
12923         If we're processing a buffer and need to allocate an output
12924         buffer, we cannot accept a format change. If we did get a 
12925         format change, we have to alloc a buffer ourselves of the 
12926         right size.
12927
12928 2005-11-11  Wim Taymans  <wim@fluendo.com>
12929
12930         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12931         While checking the flag for reentrancy in the gstcaps function
12932         is nice to detect recursive invocations, it also makes it 
12933         impossible to call getcaps from multiple threads, which must be
12934         possible. So, checking for recursive calls has to go.
12935
12936 2005-11-11  Michael Smith <msmith@fluendo.com>
12937
12938         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12939           Don't sync on buffers that fall partially outside our current
12940           segment. Prevents an assertion failure/abort playing some files.
12941
12942 2005-11-10  Andy Wingo  <wingo@pobox.com>
12943
12944         * check/gst/gstbin.c (test_message_state_changed_children): Style
12945         fix..
12946
12947         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12948         gst_bus_poll with the signal watch. Ensures that poll and a signal
12949         watch see the same messages.
12950
12951         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12952         a poll and a watch at the same time get the same messages.
12953
12954 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12955
12956         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12957         * gst/gstcaps.c: (gst_caps_intersect):
12958           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12959           and it's not needed.
12960
12961 2005-11-10  Wim Taymans  <wim@fluendo.com>
12962
12963         * docs/design/part-TODO.txt:
12964         Updated todo.
12965
12966 2005-11-10  Wim Taymans  <wim@fluendo.com>
12967
12968         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12969         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12970         (gst_base_src_do_sync), (gst_base_src_get_range):
12971         Implement clock sync in base class.
12972
12973 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12974
12975         patch by: Tim-Philipp Müller <tim at centricular dot net>
12976
12977         * gst/gststructure.c: (gst_structure_parse_field),
12978         (gst_structure_from_string):
12979           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12980           so that gst_parse_launch() can deal with spaces in filtered link
12981           caps (fixes #164479)
12982         * check/gst/capslist.h:
12983         * check/gst/gststructure.c: (GST_START_TEST):
12984           add unit tests for this change
12985
12986 2005-11-10  Wim Taymans  <wim@fluendo.com>
12987
12988         * docs/gst/gstreamer-sections.txt:
12989         * gst/gstelement.c:
12990         * gst/gstelement.h:
12991         Fix docs, move some STATE macros to private.
12992
12993 2005-11-10  Wim Taymans  <wim@fluendo.com>
12994
12995         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12996         Added check for bug #317341
12997
12998         * gst/gstbuffer.c:
12999         * gst/gstbuffer.h:
13000         Some more spiffifying.
13001
13002         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13003         Call peer linkfunction if we are a source pad. Totally fixes
13004         #317341
13005
13006         * gst/gstpad.c:
13007         Update docs, source pads should call the peer linkfunction
13008         so they can atomically perform the pad link.
13009
13010 2005-11-09  Wim Taymans  <wim@fluendo.com>
13011
13012         * gst/gstbuffer.c:
13013         * gst/gstbuffer.h:
13014         Uber-spiffy-spiffify some more.
13015
13016 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
13017
13018         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13019         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13020         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13021         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13022         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13023         * gst/gstpad.c: (gst_pad_init):
13024           Use GST_DEBUG_FUNCPTR() more extensively.
13025
13026 2005-11-09  Wim Taymans  <wim@fluendo.com>
13027
13028         * gst/gstobject.c: (gst_object_class_init):
13029         * gst/gstobject.h:
13030         Documentation fixes.
13031
13032 2005-11-09  Edward Hervey  <edward@fluendo.com>
13033
13034         * gst/gsttypefindfactory.c:
13035         Fix docs.
13036         
13037 2005-11-09  Edward Hervey  <edward@fluendo.com>
13038
13039         * gst/base/gsttypefindhelper.c:
13040         * gst/gsttypefind.c:
13041         * gst/gsttypefind.h:
13042         Fix docs.
13043
13044 2005-11-09  Wim Taymans  <wim@fluendo.com>
13045
13046         * gst/gstiterator.c:
13047         Fix revision data.
13048
13049         * gst/gsttask.c:
13050         * gst/gsttask.h:
13051         Fix docs.
13052
13053 2005-11-09  Wim Taymans  <wim@fluendo.com>
13054
13055         * gst/gstevent.h:
13056         * gst/gsturi.h:
13057         Fix docs.
13058
13059 2005-11-09  Wim Taymans  <wim@fluendo.com>
13060
13061         * docs/gst/gstreamer-sections.txt:
13062         Moved the message async delivery private lock and cond
13063         to the private section.
13064
13065         * gst/gstmessage.c:
13066         * gst/gstmessage.h:
13067         Fixed docs.
13068
13069 2005-11-09  Edward Hervey  <edward@fluendo.com>
13070
13071         * docs/gst/gstreamer-sections.txt:
13072         * gst/gsturi.c:
13073         * gst/gsturi.h:
13074         Document GstURIHandler
13075
13076 2005-11-09  Wim Taymans  <wim@fluendo.com>
13077
13078         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13079         (gst_iterator_find_custom):
13080         * gst/gstiterator.h:
13081         Fix iterator docs.
13082
13083 2005-11-09  Wim Taymans  <wim@fluendo.com>
13084
13085         * gst/gstbin.h:
13086         Document another field.
13087
13088         * gst/gststructure.c:
13089         * gst/gststructure.h:
13090         Document.
13091
13092 2005-11-09  Wim Taymans  <wim@fluendo.com>
13093
13094         * gst/gstbin.h:
13095         Documented structs.
13096
13097 2005-11-09  Wim Taymans  <wim@fluendo.com>
13098
13099         * docs/gst/gstreamer-sections.txt:
13100         Added some new macros.
13101
13102         * gst/gstclock.c:
13103         * gst/gstclock.h:
13104         * gst/gstobject.h:
13105         Docs updates.
13106
13107 2005-11-09  Wim Taymans  <wim@fluendo.com>
13108
13109         * docs/design/part-TODO.txt:
13110         Some more items for the TODO
13111
13112         * gst/gstcaps.c:
13113         * gst/gstcaps.h:
13114         Document GstCaps.
13115
13116 2005-11-09  Andy Wingo  <wingo@pobox.com>
13117
13118         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13119         to work on something else now tho...
13120
13121         * gst/base/gstadapter.c: More adapter docs.
13122
13123         * gst/elements/gstfilesink.c (gst_file_sink_start) 
13124         (gst_file_sink_stop): New functions, replace the state change
13125         handler.
13126         (gst_file_sink_class_init): Hook up the start and stop functions.
13127         (gst_file_sink_base_init): Don't set the state change handler any
13128         more. It was a bit ugly too, being set from here...
13129         (gst_file_sink_get_property, gst_file_sink_set_property):
13130         Cleanups...
13131         (gst_file_sink_set_location): More robust check that doesn't call
13132         GST_STATE. Ugggggg.
13133
13134 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
13135
13136         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13137           Hold STREAM_LOCK while pushing newsegment or tag events as well.
13138
13139 2005-11-08  Wim Taymans  <wim@fluendo.com>
13140
13141         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13142         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13143         (gst_base_sink_chain), (gst_base_sink_change_state):
13144         * gst/base/gstbasesink.h:
13145         * gst/base/gstbasesrc.h:
13146         * gst/gstelement.h:
13147         * gst/gstevent.h:
13148         Avoid excessive typechecking in macros.
13149
13150         * gst/gstminiobject.c: (gst_mini_object_get_type),
13151         (gst_mini_object_init), (gst_mini_object_new),
13152         (gst_mini_object_free):
13153         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13154         (gst_object_finalize):
13155         Remove cruft code, optimize alloc_trace.
13156
13157 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13158
13159         * docs/faq/gst-uninstalled:
13160           fix up PS1 for systems that try to reset it
13161
13162 2005-11-07  Wim Taymans  <wim@fluendo.com>
13163
13164         * gst/base/gstbasesrc.c: (gst_base_src_init),
13165         (gst_base_src_get_range):
13166         Set the segment_end to -1 initially. Fixed typefind.
13167
13168 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
13169
13170         * gst/base/gstadapter.c:
13171           Debug category should be 'adapter', not 'GstAdapter'.
13172           
13173         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13174         (gst_collectpads_class_init), (gst_collectpads_init),
13175         (gst_collectpads_peek), (gst_collectpads_pop),
13176         (gst_collectpads_event), (gst_collectpads_chain):
13177           Add debug category and some debugging output. Use boilerplate
13178           macros. Remove some extraneous words from docs.
13179
13180 2005-11-05  Andy Wingo  <wingo@pobox.com>
13181
13182         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13183         macro.
13184
13185 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
13186
13187         * docs/gst/gstreamer-sections.txt:
13188         * gst/gstcaps.h:
13189         * gst/gstinfo.c:
13190         * gst/gstminiobject.h:
13191         * gst/gstobject.h:
13192         * gst/gstutils.h:
13193           more docs added
13194
13195 2005-11-04  Wim Taymans  <wim@fluendo.com>
13196
13197         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13198         Small update to stop at the configured segment_end
13199         position.
13200
13201 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
13202
13203         * gst/gstregistry.c:
13204         * gst/gstregistry.h:
13205           added missing docs
13206
13207 2005-11-04  Edward Hervey  <edward@fluendo.com>
13208
13209         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13210         Check if we are doing a segment seek and have arrived at the
13211         end of that segment.
13212
13213 2005-11-04  Wim Taymans  <wim@fluendo.com>
13214
13215         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13216         Don't leak a mutex unlock in case of an error.
13217
13218         * gst/gstbus.h:
13219         Doc fixes.
13220
13221 2005-11-04  Wim Taymans  <wim@fluendo.com>
13222
13223         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13224         (gst_bus_post):
13225         Get the context to wake up only once.
13226
13227 2005-11-03  Wim Taymans  <wim@fluendo.com>
13228
13229         * check/states/sinks.c: (GST_START_TEST):
13230         Uncomment fixed check.
13231
13232         * docs/design/part-TODO.txt:
13233         Updated TODO.
13234
13235         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13236         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13237         (gst_base_sink_get_position):
13238         If we are going to PLAYING, post the right pending state
13239         when we post the intermediate paused message.
13240
13241         * gst/gstelement.c: (gst_element_continue_state),
13242         (gst_element_set_state_func), (gst_element_change_state):
13243         Don't post state changes that were between the same state
13244         and were not ASYNC.
13245
13246 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
13247
13248         * docs/gst/gstreamer-sections.txt:
13249         * gst/gstcaps.h:
13250         * gst/gstinfo.c:
13251         * gst/gstminiobject.h:
13252         * gst/gstobject.h:
13253         * gst/gstutils.h:
13254           more docs and doc style fixes
13255
13256 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
13257
13258         * docs/gst/gstreamer-sections.txt:
13259         * gst/gstelement.c:
13260         * gst/gstminiobject.c:
13261         doc fixes
13262
13263 2005-11-03  Andy Wingo  <wingo@pobox.com>
13264
13265         * check/states/sinks.c (test_livesrc_sink): Add checks that the
13266         state-changed messages actually have the right order and the right
13267         values.
13268
13269 2005-11-03  Wim Taymans  <wim@fluendo.com>
13270
13271         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13272         Added some more checks. Specifically the case where NO_PREROLL
13273         elements are in the pipeline.
13274
13275         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13276         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13277         (gst_base_sink_get_position):
13278         Post READY->PAUSED state change messages too.
13279         Fix bug where VOID was posted as pending state...
13280
13281         * gst/gstbin.c: (gst_bin_recalc_state):
13282         use _element_continue_state() to continue the state change.
13283
13284         * gst/gstelement.c: (gst_element_continue_state),
13285         (gst_element_commit_state), (gst_element_set_state_func),
13286         (gst_element_change_state), (gst_element_change_state_func):
13287         Lots of state change cleanups, assign the STATE_RETURN in
13288         a new continue_state() function that also propagates the
13289         last return value from a state change to the app.
13290         Update some debug statements with proper category.
13291
13292 2005-11-03  Wim Taymans  <wim@fluendo.com>
13293
13294         * docs/design/part-events.txt:
13295         * docs/design/part-gstpipeline.txt:
13296         * docs/design/part-messages.txt:
13297         * docs/design/part-overview.txt:
13298         * docs/design/part-seeking.txt:
13299         * docs/design/part-states.txt:
13300         * docs/design/part-trickmodes.txt:
13301         * docs/manual/advanced-position.xml:
13302         Small docs updates.
13303
13304         * gst/gstobject.h:
13305         People think !! is ugly, this looks better.
13306
13307         * gst/gstpad.c: (gst_pad_set_blocked_async):
13308         Remove !! since it's fixed elsewhere now.
13309
13310 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13311
13312         * gst/gstminiobject.h:
13313         * gst/gstobject.h:
13314           Add !! to _FLAG_IS_SET macros to make the result boolean.
13315
13316 2005-11-03  Edward Hervey  <edward@fluendo.com>
13317
13318         * gst/gstpad.c: (gst_pad_set_blocked_async):
13319         comparing a flag and a gboolean rarely returns coherent results...
13320         Added two characters (!!) to make that work correctly.
13321         
13322 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13323
13324         * gst/gstbus.c: (gst_bus_class_init):
13325           Fix some typos.
13326           
13327         * gst/gstqueue.c: (gst_queue_loop):
13328           Don't assume a miniobject that isn't a buffer is an
13329           event (it could be that there is a refcounting
13330           problem somewhere and the pointer is stale and
13331           refers to an already destroyed miniobject).
13332
13333 2005-11-03  Julien MOUTTE  <julien@moutte.net>
13334
13335         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13336
13337 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13338
13339         * docs/manual/advanced-position.xml:
13340           Update seek example and explanations to current 0.9 API.
13341
13342         * gst/elements/gsttypefindelement.c:
13343         (gst_type_find_element_activate):
13344           Remove FIXME comment now that the found caps
13345           are unreffed.
13346
13347 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13348
13349         * gst/gstregistryxml.c: (load_feature):
13350           Add another GST_STR_NULL instance
13351
13352 2005-11-02  Edward Hervey  <edward@fluendo.com>
13353
13354         * gst/gstpad.c: (handle_pad_block):
13355         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13356         
13357 2005-11-02  Wim Taymans  <wim@fluendo.com>
13358
13359         * gst/gstbin.c:
13360         Fix typo in docs.
13361
13362         * gst/gstelement.c: (gst_element_commit_state):
13363         Remove unused value.
13364
13365         * gst/gstiterator.c:
13366         Mention that the returned element is reffed in the docs.
13367
13368 2005-11-02  Wim Taymans  <wim@fluendo.com>
13369
13370         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13371         (gst_pad_push), (gst_pad_push_event):
13372         Unlock blocked pads when they are flushed.
13373
13374 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13375
13376         * docs/README:
13377         * docs/gst/gstreamer-sections.txt:
13378         * gst/gstbin.c:
13379           doc updates
13380         * gst/gstregistry.c: (gst_registry_scan_path_level):
13381           fix for a nasty little missed situation where an installed plug-in
13382           which was in the cache did not get overridden by an uninstalled one
13383           which was earlier in the plugin path because the newly created plugin
13384           for the uninstalled one (not in the registry) didn't get its
13385           ->registered set to TRUE
13386
13387 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13388
13389         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13390         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13391         (gst_collectpads_is_active), (gst_collectpads_collect),
13392         (gst_collectpads_collect_range), (gst_collectpads_start),
13393         (gst_collectpads_stop), (gst_collectpads_peek),
13394         (gst_collectpads_pop), (gst_collectpads_available),
13395         (gst_collectpads_read), (gst_collectpads_flush):
13396           Guard public API with assertions.
13397         
13398         * gst/gstpad.c:
13399           Fix docs for gst_pad_set_link_function().
13400
13401 2005-11-02  Johan Dahlin  <johan@gnome.org>
13402
13403         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
13404         Unref found_caps after we used it.
13405
13406 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13407
13408         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13409           Don't try to ref NULL.
13410
13411 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13412
13413         * win32/common/config.h.in:
13414           provide a GST_FUNCTION that just gives a string for now
13415
13416 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13417
13418         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13419         (gst_object_flags_get_type), (register_gst_bin_flags),
13420         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13421         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13422         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13423         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13424         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13425         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13426         (gst_clock_flags_get_type), (register_gst_state),
13427         (gst_state_get_type), (register_gst_state_change_return),
13428         (gst_state_change_return_get_type), (register_gst_state_change),
13429         (gst_state_change_get_type), (register_gst_element_flags),
13430         (gst_element_flags_get_type), (register_gst_core_error),
13431         (gst_core_error_get_type), (register_gst_library_error),
13432         (gst_library_error_get_type), (register_gst_resource_error),
13433         (gst_resource_error_get_type), (register_gst_stream_error),
13434         (gst_stream_error_get_type), (register_gst_event_type),
13435         (gst_event_type_get_type), (register_gst_seek_type),
13436         (gst_seek_type_get_type), (register_gst_seek_flags),
13437         (gst_seek_flags_get_type), (register_gst_format),
13438         (gst_format_get_type), (register_gst_index_certainty),
13439         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13440         (gst_index_entry_type_get_type),
13441         (register_gst_index_lookup_method),
13442         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13443         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13444         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13445         (gst_index_flags_get_type), (register_gst_debug_level),
13446         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13447         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13448         (gst_iterator_result_get_type), (register_gst_iterator_item),
13449         (gst_iterator_item_get_type), (register_gst_message_type),
13450         (gst_message_type_get_type), (register_gst_mini_object_flags),
13451         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13452         (gst_pad_link_return_get_type), (register_gst_flow_return),
13453         (gst_flow_return_get_type), (register_gst_activate_mode),
13454         (gst_activate_mode_get_type), (register_gst_pad_direction),
13455         (gst_pad_direction_get_type), (register_gst_pad_flags),
13456         (gst_pad_flags_get_type), (register_gst_pad_presence),
13457         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13458         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13459         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13460         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13461         (gst_plugin_flags_get_type), (register_gst_rank),
13462         (gst_rank_get_type), (register_gst_query_type),
13463         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13464         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13465         (gst_tag_flag_get_type), (register_gst_task_state),
13466         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13467         (gst_alloc_trace_flags_get_type),
13468         (register_gst_type_find_probability),
13469         (gst_type_find_probability_get_type), (register_gst_uri_type),
13470         (gst_uri_type_get_type), (register_gst_parse_error),
13471         (gst_parse_error_get_type):
13472         * win32/common/gstversion.h:
13473           update win32 copies
13474
13475 2005-11-01  Luca Ognibene  <luogni@tin.it>
13476
13477         * gst/gst.c:
13478           fix docs. popt is dead, long live GOption.
13479
13480 2005-10-31  Wim Taymans  <wim@fluendo.com>
13481
13482         * gst/gstbuffer.h:
13483         Small doc fix.
13484
13485 2005-10-31  Andy Wingo  <wingo@pobox.com>
13486
13487         * Boo!
13488
13489         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13490
13491         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13492         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13493         the possibility of deadlocks here if code calling notify() or
13494         set() has a lock that can be taken in another notify handler (ABBA
13495         with class lock and e.g. python GIL state lock).
13496
13497 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13498
13499         * gst/gstbus.c: Doc updates.
13500
13501 2005-10-28  Wim Taymans  <wim@fluendo.com>
13502
13503         * docs/design/part-TODO.txt:
13504         * gst/gstiterator.c:
13505         * gst/gstsystemclock.c:
13506         * gst/gstsystemclock.h:
13507         Doc updates.
13508
13509 2005-10-28  Edward Hervey  <edward@fluendo.com>
13510
13511         * docs/gst/gstreamer-docs.sgml:
13512         * docs/gst/gstreamer-sections.txt:
13513         the GstURIType documentation page is private, it only defines GstURIType
13514         which should be defined in the GstURIHandler page
13515         
13516 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13517
13518         * gst/gstbin.c: (gst_bin_class_init):
13519         * gst/gstbin.h:
13520         * gst/gstutils.c:
13521         Documentation updates.
13522
13523 2005-10-28  Wim Taymans  <wim@fluendo.com>
13524
13525         * docs/gst/gstreamer-sections.txt:
13526         * gst/gstclock.c:
13527         * gst/gstclock.h:
13528         Documented the clocks.
13529
13530 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13531
13532         * docs/gst/gstreamer-sections.txt:
13533           move some macros to private sections
13534         * gst/gstminiobject.c:
13535         * gst/gstminiobject.h:
13536           add descriptions provided by ds and some more
13537         * gst/gstpad.h:
13538           mark macro as to be removed
13539
13540 2005-10-28  Wim Taymans  <wim@fluendo.com>
13541
13542         * docs/design/part-TODO.txt:
13543         Add an item to TODO.
13544
13545         * gst/gstiterator.c: (gst_iterator_fold),
13546         (gst_iterator_find_custom):
13547         * gst/gstiterator.h:
13548         Add iterator docs.
13549
13550 2005-10-28  Wim Taymans  <wim@fluendo.com>
13551
13552         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13553         (gst_base_transform_init):
13554         Don't leak class.
13555
13556         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13557         An EOS event marks the queue as completely filled.
13558
13559 2005-10-27  Wim Taymans  <wim@fluendo.com>
13560
13561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13562         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13563         Some more debugging.
13564
13565         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13566         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13567         (gst_base_transform_event), (gst_base_transform_getrange),
13568         (gst_base_transform_chain):
13569         * gst/base/gstbasetransform.h:
13570         Fix debugging,
13571         Protect transform and concurrent buffer alloc with a new lock.
13572         Try not to break ABI/API.
13573
13574 2005-10-27  Wim Taymans  <wim@fluendo.com>
13575
13576         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13577         (gst_base_src_init), (gst_base_src_query),
13578         (gst_base_src_default_newsegment),
13579         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13580         (gst_base_src_send_event), (gst_base_src_event_handler),
13581         (gst_base_src_pad_get_range), (gst_base_src_loop),
13582         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13583         (gst_base_src_start), (gst_base_src_deactivate),
13584         (gst_base_src_activate_push), (gst_base_src_change_state):
13585         Move some stuff around and cleanup things.
13586
13587 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13588
13589         * gst/base/gstbasesrc.c: (gst_base_src_query):
13590           Add missing break statements.
13591
13592 2005-10-27  Wim Taymans  <wim@fluendo.com>
13593
13594         * check/gst/gstbin.c: (GST_START_TEST):
13595         An extra refcount is taken in basesrc.
13596
13597         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13598         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13599         (gst_base_src_loop):
13600         Small cleanups, check for flushing after being unlocked from the 
13601         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13602         Don't send out EOS when going to READY.
13603
13604 2005-10-27  Wim Taymans  <wim@fluendo.com>
13605
13606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13607         (gst_base_sink_get_position):
13608         Some more debug.
13609
13610         * gst/gstbin.c: (message_check), (bin_replace_message),
13611         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13612         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13613         (bin_query_duration_init), (bin_query_duration_fold),
13614         (bin_query_duration_done), (bin_query_generic_fold),
13615         (gst_bin_query):
13616         * tools/gst-launch.c: (main):
13617         Remove old option.
13618
13619 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13620
13621         * examples/controller/audio-example.c: (main):
13622         * examples/queue/queue.c: (event_loop):
13623         * gst/base/gstbasetransform.h:
13624         * gst/gstelement.c: (gst_element_send_event):
13625         * gst/gstevent.h:
13626         * gst/gstpad.c: (gst_pad_send_event):
13627           fixing examples
13628           fixing docs typos
13629           changing log priority in error situations
13630
13631 2005-10-25  Wim Taymans  <wim@fluendo.com>
13632
13633         * gst/gstbin.c: (message_check), (bin_replace_message),
13634         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13635         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13636         (bin_query_duration_init), (bin_query_duration_fold),
13637         (bin_query_duration_done), (bin_query_generic_fold),
13638         (gst_bin_query):
13639         Some doc and debug updates.
13640         Cache previously requested query DURATION for speed. invalidate
13641         cached duration if element posts a DURATION message.
13642
13643 2005-10-25  Wim Taymans  <wim@fluendo.com>
13644
13645         * docs/design/part-TODO.txt:
13646         Update TODO.
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         Handle SEGMENT_START/DONE messages correctly.
13655         More evolved query algorithm that handles duration queries
13656         correctly.
13657
13658         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13659         (gst_element_get_state_func), (gst_element_abort_state),
13660         (gst_element_commit_state), (gst_element_lost_state):
13661         Some more debugging.
13662
13663         * gst/gstmessage.h:
13664         Added doc.
13665
13666 2005-10-25  Wim Taymans  <wim@fluendo.com>
13667
13668         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13669         Don't use invalid stream_time.
13670
13671         * gst/gstevent.c: (gst_event_new_newsegment):
13672         stream_time in newsegment cannot be undefined.
13673
13674 2005-10-24  Wim Taymans  <wim@fluendo.com>
13675
13676         * gst/gstbus.c:
13677         Doc fix.
13678
13679         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13680         (gst_queue_loop):
13681         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13682
13683 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13684
13685         * docs/libs/tmpl/gstdparam.sgml:
13686         * docs/libs/tmpl/gstdplinint.sgml:
13687         * docs/libs/tmpl/gstdpman.sgml:
13688         * docs/libs/tmpl/gstdpsmooth.sgml:
13689         * docs/libs/tmpl/gstunitconvert.sgml:
13690           these are obsolete
13691
13692 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13693
13694         * configure.ac:
13695           back to HEAD
13696
13697 === release 0.9.4 ===
13698
13699 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13700
13701         * configure.ac:
13702           releasing 0.9.4, "Tyrannosaurus Rex"
13703
13704 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13705
13706         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13707         (gst_file_sink_get_current_offset):
13708           Use fseeko() and ftello() if available. When falling back on
13709           lseek() to get the current offset, fflush() first to make sure
13710           everything is up-to-date and we get the right offset.
13711
13712 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13713
13714         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13715         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13716         * gst/gsterror.c: (_gst_stream_errors_init):
13717         * gst/gsterror.h:
13718         * gst/gstqueue.c: (gst_queue_loop):
13719         * po/POTFILES.in:
13720           remove prematurely added error category and clean up the instances
13721
13722 2005-10-21  Wim Taymans  <wim@fluendo.com>
13723
13724         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13725         (gst_base_sink_get_position), (gst_base_sink_query),
13726         (gst_base_sink_change_state):
13727         Simply set the right flag when going to playing, that's all
13728         we need to do instead of calling a function inside the object
13729         lock (that could take the lock as well and deadlock)
13730
13731 2005-10-21  Wim Taymans  <wim@fluendo.com>
13732
13733         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13734         (gst_base_src_loop):
13735         Don't warn, the peer element knows what to do best when
13736         the seek failed, it might try something else.
13737
13738 2005-10-21  Wim Taymans  <wim@fluendo.com>
13739
13740         * gst/base/gstbasesrc.c: (gst_base_src_init),
13741         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13742         Fix seeking.
13743
13744 2005-10-21  Wim Taymans  <wim@fluendo.com>
13745
13746         * docs/design/part-segments.txt:
13747         More docs.
13748
13749         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13750         Correctly set caps, even on the subbufer.
13751
13752 2005-10-21  Wim Taymans  <wim@fluendo.com>
13753
13754         * docs/gst/gstreamer-docs.sgml:
13755         * docs/gst/gstreamer-sections.txt:
13756         * gst/gstelement.h:
13757         * gst/gstevent.c:
13758         * gst/gstevent.h:
13759         * gst/gstmessage.h:
13760         * gst/gstpad.h:
13761         * gst/gstparse.h:
13762         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13763         * gst/gsttask.h:
13764         * gst/gstutils.c:
13765         * gst/gstutils.h:
13766         And 2% more doc coverage.
13767
13768 2005-10-21  Andy Wingo  <wingo@pobox.com>
13769
13770         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13771         position reporting.
13772
13773 2005-10-20  Wim Taymans  <wim@fluendo.com>
13774
13775         * gst/gsterror.c: (gst_error_get_message):
13776         * gst/gstparse.h:
13777         * gst/gstquery.h:
13778         * gst/gststructure.c:
13779         * gst/gsttrace.c:
13780         * gst/gstutils.c:
13781         More docs.
13782
13783 2005-10-20  Wim Taymans  <wim@fluendo.com>
13784
13785         * gst/gstbuffer.h:
13786         * gst/gstpad.c:
13787         * gst/gstparse.c:
13788         Another 1% more coverage.
13789
13790 2005-10-20  Wim Taymans  <wim@fluendo.com>
13791
13792         * docs/gst/gstreamer-sections.txt:
13793         * gst/gstelement.c: (gst_element_get_state_func),
13794         (gst_element_abort_state), (gst_element_commit_state),
13795         (gst_element_lost_state):
13796         * gst/gstevent.h:
13797         * gst/gstquery.c: (gst_query_set_position),
13798         (gst_query_parse_position), (gst_query_set_duration),
13799         (gst_query_parse_duration), (gst_query_new_convert):
13800         * gst/gstutils.c:
13801         Yay! 1% more docs coverage.
13802
13803 2005-10-20  Wim Taymans  <wim@fluendo.com>
13804
13805         * gst/gstpad.h:
13806         * gst/gstquery.c: (gst_query_set_position),
13807         (gst_query_parse_position), (gst_query_set_duration),
13808         (gst_query_parse_duration), (gst_query_new_convert):
13809         * gst/gstquery.h:
13810         * gst/gstutils.c: (gst_element_query_convert):
13811         * gst/gstutils.h:
13812         Docs and consistency fixes.
13813
13814 2005-10-20  Wim Taymans  <wim@fluendo.com>
13815
13816         * gst/gsttask.c:
13817         * gst/gsttask.h:
13818         More docs.
13819
13820 2005-10-20  Wim Taymans  <wim@fluendo.com>
13821
13822         * gst/gstbin.c: (message_check), (bin_replace_message),
13823         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13824         (update_degree), (gst_bin_sort_iterator_next),
13825         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13826         Reworked the message handling a bit, cache the messages instead of
13827         only the senders. alows us to do more in the future.
13828
13829 2005-10-20  Wim Taymans  <wim@fluendo.com>
13830
13831         * docs/design/part-TODO.txt:
13832         Update TODO
13833
13834         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13835         (gst_base_sink_query):
13836         Don't use clock time to report position when in EOS.
13837
13838 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13839
13840         * tools/gst-inspect.c: (print_interfaces),
13841         (print_element_properties_info), (print_element_info):
13842           Fix interface output with gst-inspect -a; don't print
13843           newlines after double/float properties.
13844
13845 2005-10-20  Wim Taymans  <wim@fluendo.com>
13846
13847         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13848         (gst_base_sink_query):
13849         Speed up current position calculation.
13850
13851         * gst/base/gstbasesrc.c: (gst_base_src_query),
13852         (gst_base_src_default_newsegment):
13853         Correctly set stream position in newsegment.
13854
13855         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13856         (update_degree), (gst_bin_sort_iterator_next),
13857         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13858         * gst/gstmessage.c: (gst_message_new_custom):
13859         Clean up debugging info
13860
13861         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13862         (gst_queue_loop), (gst_queue_handle_src_query):
13863         Pause task faster.
13864
13865 2005-10-19  Wim Taymans  <wim@fluendo.com>
13866
13867         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13868         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13869         Fix query handling again.
13870
13871 2005-10-19  Wim Taymans  <wim@fluendo.com>
13872
13873         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13874         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13875         * gst/base/gstbasesrc.c: (gst_base_src_query):
13876         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13877         * gst/elements/gsttypefindelement.c:
13878         (gst_type_find_handle_src_query), (find_element_get_length),
13879         (gst_type_find_element_activate):
13880         API change fix.
13881
13882         * gst/gstquery.c: (gst_query_new_position),
13883         (gst_query_set_position), (gst_query_parse_position),
13884         (gst_query_new_duration), (gst_query_set_duration),
13885         (gst_query_parse_duration), (gst_query_set_segment),
13886         (gst_query_parse_segment):
13887         * gst/gstquery.h:
13888         Bundling query position/duration is not a good idea since duration
13889         does not change much and we don't want to recalculate it for every
13890         position query, so they are separated again..
13891         Base value in segment query is not needed.
13892
13893         * gst/gstqueue.c: (gst_queue_handle_src_query):
13894         * gst/gstutils.c: (gst_element_query_position),
13895         (gst_element_query_duration), (gst_pad_query_position),
13896         (gst_pad_query_duration):
13897         * gst/gstutils.h:
13898         Updates for query API change.
13899         Added some docs here and there.
13900
13901 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13902
13903         * check/gst/gstbin.c: (GST_START_TEST):
13904         * check/gst/gstghostpad.c: (GST_START_TEST):
13905         * check/pipelines/cleanup.c: (GST_START_TEST):
13906           wait on thread to die so we can check refcount correctly
13907
13908 2005-10-18  Wim Taymans  <wim@fluendo.com>
13909
13910         * check/pipelines/stress.c: (GST_START_TEST):
13911         Make check a little more time consuming.
13912
13913 2005-10-18  Wim Taymans  <wim@fluendo.com>
13914
13915         * check/Makefile.am:
13916         * check/pipelines/stress.c: (GST_START_TEST),
13917         (simple_launch_lines_suite), (main):
13918         Small state change torture test.
13919
13920         * docs/design/part-states.txt:
13921         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13922         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13923         (gst_base_sink_change_state):
13924         Never take state lock from streaming thread, clean up ugly
13925         hacks. Unfortunatly core does not yet support nice ways to
13926         async commit state.
13927         
13928         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13929         (bin_bus_handler):
13930         Start state recalc if a STATE_DIRTY message is posted, but only
13931         on the toplevel bin.
13932
13933         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13934         (gst_element_get_state_func), (gst_element_abort_state),
13935         (gst_element_commit_state), (gst_element_lost_state),
13936         (gst_element_set_state_func), (gst_element_change_state):
13937         * gst/gstelement.h:
13938         State variables are now protected with the LOCK, the state
13939         lock is only used to serialize _set_state().
13940
13941 2005-10-18  Wim Taymans  <wim@fluendo.com>
13942
13943         * check/gst/gstbin.c: (GST_START_TEST):
13944         * check/gst/gstmessage.c: (GST_START_TEST):
13945         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13946         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13947         (bin_bus_handler):
13948         * gst/gstelement.c: (gst_element_abort_state),
13949         (gst_element_commit_state), (gst_element_lost_state):
13950         * gst/gstmessage.c: (gst_message_new_state_changed),
13951         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13952         (gst_message_new_segment_done), (gst_message_new_duration),
13953         (gst_message_parse_state_changed),
13954         (gst_message_parse_segment_start),
13955         (gst_message_parse_segment_done), (gst_message_parse_duration):
13956         * gst/gstmessage.h:
13957         * tools/gst-launch.c: (event_loop):
13958         Seriously, this is better than a previous commit as we only need
13959         to notify the fact that an element changed state in a streaming
13960         thread, marking the state of the parents dirty, hence the 
13961         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13962         message.
13963
13964 2005-10-18  Wim Taymans  <wim@fluendo.com>
13965
13966         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13967         (gst_bin_recalc_func):
13968         * gst/gstelement.c: (gst_element_set_clock),
13969         (gst_element_abort_state), (gst_element_lost_state):
13970         Cleanups, prepare for state change fixes.
13971
13972 2005-10-18  Wim Taymans  <wim@fluendo.com>
13973
13974         * gst/gstbin.h:
13975         * gst/gstelement.c: (gst_element_class_init),
13976         (gst_element_set_state), (gst_element_set_state_func):
13977         * gst/gstelement.h:
13978         Pending ABI changes.
13979         GThreadPool in GstBinClass to monitor async state changes.
13980         state_cookie in GstElement to detect concurrent gst/set state.
13981         set_state is now virtual too in case a very complicated element
13982         has to be constructed.
13983
13984 2005-10-18  Wim Taymans  <wim@fluendo.com>
13985
13986         * check/gst/gstbin.c: (GST_START_TEST):
13987         * check/gst/gstmessage.c: (GST_START_TEST):
13988         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13989         * gst/gstbin.c: (bin_bus_handler):
13990         * gst/gstelement.c: (gst_element_commit_state),
13991         (gst_element_lost_state):
13992         * gst/gstmessage.c: (gst_message_new_state_changed),
13993         (gst_message_new_segment_start), (gst_message_new_segment_done),
13994         (gst_message_new_duration), (gst_message_parse_state_changed),
13995         (gst_message_parse_segment_start),
13996         (gst_message_parse_segment_done), (gst_message_parse_duration):
13997         * gst/gstmessage.h:
13998         * tools/gst-launch.c: (event_loop):
13999         Make messages future proof.
14000         state-change gets a flag if it was a message comming from the
14001         streaming thread.
14002         segment-start/stop can also be specified in other formats.
14003         A message to notify an app that a pipeline changed playback 
14004         duration.
14005         Also fix a GstMessage leak in -launch
14006
14007 2005-10-18  Andy Wingo  <wingo@pobox.com>
14008
14009         * gst/gstelement.c (gst_element_dispose): More helpful message.
14010
14011 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14012
14013         reviewed by: <delete if not using a buddy>
14014
14015         * common/gtk-doc.mak:
14016
14017 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14018
14019         * gst/gstregistry.c: (gst_registry_scan_path_level):
14020           unref a plug-in we get that was already initialized
14021
14022 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
14023
14024         * docs/gst/gstreamer-sections.txt:
14025         * docs/libs/gstreamer-libs-sections.txt:
14026         * gst/gstelement.h:
14027           add new api entries
14028           hide internal macro
14029
14030 2005-10-17  Andy Wingo  <wingo@pobox.com>
14031
14032         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14033         cleanup.
14034
14035         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14036
14037         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14038
14039         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14040         (gst_element_get_state_func): Better debug message.
14041         (gst_element_commit_state): s/INFO/DEBUG/.
14042         (gst_element_lost_state, gst_element_change_state): 
14043
14044         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14045         (gst_message_new_custom): s/INFO/LOG/.
14046
14047 2005-10-17  Michael Smith <msmith@fluendo.com>
14048
14049         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14050           Check if end time is valid using end time, not start time.
14051
14052 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
14053
14054         * check/gst-libs/controller.c: (GST_START_TEST),
14055         (gst_controller_suite):
14056         * libs/gst/controller/gstcontroller.c:
14057         (gst_controlled_property_set_interpolation_mode):
14058         * libs/gst/controller/gstcontroller.h:
14059         * libs/gst/controller/gstinterpolation.c:
14060         * testsuite/controller/.cvsignore:
14061         * testsuite/controller/Makefile.am:
14062         * testsuite/controller/interpolator.c:
14063           merge controller testsuites
14064           fix broken tests
14065           remove mem-chunk from docs
14066
14067 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
14068
14069         * gst/gstmemchunk.c:
14070         * gst/gstmemchunk.h:
14071         * gst/gsttrashstack.c:
14072         * gst/gsttrashstack.h:
14073           out.  get out.  you're fired.  to the Attic !
14074
14075 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
14076
14077         * gst/gstcaps.c: (gst_caps_intersect):
14078           fix signedness issues in a (hopefully) correct way
14079         * gst/gstelement.c: (gst_element_pads_activate):
14080           some debugging
14081         * gst/gstobject.c: (gst_object_set_parent):
14082           some debugging
14083
14084 2005-10-17  Julien MOUTTE  <julien@moutte.net>
14085
14086         * gst/gstvalue.h: Fix prototypes.
14087
14088 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14089
14090         * docs/gst/gstreamer-sections.txt:
14091         * gst/gst.c: (gst_version_string):
14092         * gst/gst.h:
14093         * gst/gstversion.h.in:
14094         * win32/common/libgstreamer.def:
14095           add gst_version_string ()
14096
14097 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14098
14099         * configure.ac:
14100           clean up further
14101         * gst/gst.c: (init_post):
14102         * win32/common/config.h.in:
14103           it's PLUGINDIR now
14104         * gst/gstcaps.c: (gst_caps_intersect):
14105           use gint64, the range could be bigger than a guint
14106
14107 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * gst/gstclock.h:
14110           document potential problem in 2038
14111
14112 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14113
14114         * gst/gstcaps.c: (gst_caps_intersect):
14115           Fix guint j diving under 0
14116
14117 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14118
14119         * configure.ac:
14120         * win32/common/config.h:
14121         * win32/common/config.h.in:
14122           check for process.h, declares getpid() on Windows
14123         * gst/gstinfo.c:
14124           include process.h if we have it
14125         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14126         * gst/gstmemchunk.h:
14127           fix signedness issues
14128         * win32/common/libgstreamer.def:
14129           fix get_type's
14130
14131 2005-10-16  Julien MOUTTE  <julien@moutte.net>
14132
14133         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14134         fix. Because of unsigned ints, caps intersection was going nuts and
14135         trying to access structures with G_MAXUINT index. That fixes
14136         videotestsrc ! ffmpegcolorspace ! fakesink
14137         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14138         consistency.
14139
14140 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14141
14142         * configure.ac:
14143           use the gettext macro
14144         * gst/elements/gstelements.c:
14145         * gst/gst.c:
14146         * gst/indexers/gstindexers.c:
14147           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14148         * win32/common/config.h:
14149           updated config.h
14150         * win32/common/config.h.in:
14151           add the template to generate config.h
14152         * win32/common/gstenumtypes.c:
14153         * win32/common/gstversion.h:
14154           updated copies
14155
14156 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14157
14158         * gst/gst.c: (gst_version):
14159         * gst/gstversion.h.in:
14160           add the nano
14161
14162 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
14163
14164         * gst/gstevent.h:
14165           Oops, add missing closing bracket.
14166
14167 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14168
14169         * configure.ac:
14170           use common m4's for argument checking
14171
14172 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
14173
14174         * docs/gst/gstreamer-sections.txt:
14175         * gst/gstevent.h:
14176           Add GST_EVENT_TYPE_NAME() macro.
14177
14178 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14179
14180         * gst/gstinfo.c:
14181         * gst/gstpluginfeature.c:
14182         * gst/gsttask.c:
14183           privatize more symbols
14184
14185 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14186
14187         * configure.ac:
14188           add srcdir, builddir includes to GST_ALL_CFLAGS, since
14189           everything that uses GStreamer API should have the includes
14190
14191 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14192
14193         * docs/gst/gstreamer-sections.txt:
14194         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14195         * gst/gstvalue.h:
14196           give each value a _get_type, removes the DATA exports
14197
14198 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14199
14200         * gst/gst.c:
14201         * gst/gst.h:
14202           remove _gst_registry_auto_load, not used anymore
14203         * gst/gstbin.c: (gst_bin_get_type):
14204         * gst/gstbin.h:
14205         * gst/gstelement.c: (gst_element_get_type):
14206         * gst/gstelement.h:
14207         * gst/gstobject.c: (gst_object_get_type):
14208         * gst/gstobject.h:
14209         * gst/gstpad.c: (gst_pad_get_type):
14210         * gst/gstpad.h:
14211           make _get_type functions similar, fixes data export from library
14212
14213 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14214
14215         * configure.ac:
14216           correctly make conditionals
14217         * gst/elements/Makefile.am:
14218         * gst/elements/gstelements.c:
14219           fix typo causing fdsrc not to build
14220
14221 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14222
14223         * testsuite/Makefile.am:
14224         * testsuite/bytestream/.cvsignore:
14225         * testsuite/bytestream/Makefile.am:
14226         * testsuite/bytestream/filepadsink.c:
14227         * testsuite/bytestream/gstbstest.c:
14228         * testsuite/bytestream/test1.c:
14229         * testsuite/bytestream/testfile1:
14230         * testsuite/caps/normalisation.c:
14231         * testsuite/caps/random.c: (main):
14232         * testsuite/cleanup/.cvsignore:
14233         * testsuite/cleanup/Makefile.am:
14234         * testsuite/cleanup/cleanup1.c:
14235         * testsuite/cleanup/cleanup2.c:
14236         * testsuite/cleanup/cleanup3.c:
14237         * testsuite/cleanup/cleanup4.c:
14238         * testsuite/cleanup/cleanup5.c:
14239         * testsuite/controller/interpolator.c:
14240         * testsuite/debug/printf_extension.c: (main):
14241         * testsuite/elements/tee.c:
14242         * testsuite/negotiation/.cvsignore:
14243         * testsuite/negotiation/Makefile.am:
14244         * testsuite/negotiation/pad_link.c:
14245         * testsuite/pad/Makefile.am:
14246         * testsuite/pad/chainnopull.c:
14247         * testsuite/pad/getnopush.c:
14248         * testsuite/pad/link.c:
14249         * testsuite/refcounting/sched.c: (create_pipeline):
14250         * testsuite/registry/Makefile.am:
14251         * testsuite/registry/gst-print-formats.c:
14252         * testsuite/schedulers/.cvsignore:
14253         * testsuite/schedulers/142183-2.c:
14254         * testsuite/schedulers/142183.c:
14255         * testsuite/schedulers/143777-2.c:
14256         * testsuite/schedulers/143777.c:
14257         * testsuite/schedulers/147713.c:
14258         * testsuite/schedulers/147819.c:
14259         * testsuite/schedulers/147894-2.c:
14260         * testsuite/schedulers/147894.c:
14261         * testsuite/schedulers/Makefile.am:
14262         * testsuite/schedulers/group_link.c:
14263         * testsuite/schedulers/queue_link.c:
14264         * testsuite/schedulers/relink.c:
14265         * testsuite/schedulers/unlink.c:
14266         * testsuite/schedulers/unref.c:
14267         * testsuite/schedulers/useless_iteration.c:
14268         * testsuite/states/bin.c:
14269           clean out/remove some stuff from the testsuite directories
14270
14271 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14272
14273         * configure.ac:
14274           check for some headers
14275         * gst/elements/Makefile.am:
14276         * gst/elements/gstelements.c:
14277           don't compile fdsrc without sys/socket.h
14278         * gst/indexers/Makefile.am:
14279         * gst/indexers/gstindexers.c: (plugin_init):
14280           don't compile fileindex without mmap
14281
14282 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14283
14284         * configure.ac:
14285           reorganize
14286           clean up
14287           document more
14288           remove cruft
14289         * check/Makefile.am:
14290         * docs/gst/Makefile.am:
14291         * examples/helloworld/Makefile.am:
14292         * gst/Makefile.am:
14293         * gst/base/Makefile.am:
14294         * gst/check/Makefile.am:
14295         * gst/elements/Makefile.am:
14296         * gst/indexers/Makefile.am:
14297         * gst/parse/Makefile.am:
14298         * libs/gst/controller/Makefile.am:
14299         * libs/gst/dataprotocol/Makefile.am:
14300         * examples/helloworld/helloworld.c: (event_loop):
14301           compile fixes, though it's not being compiled currently
14302
14303 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14304
14305         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14306           Add some simple tests for the new taglist date API.
14307
14308 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14309
14310         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14311         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14312           Beautify 'last-message' output: print 'none' for buffer timestamps
14313           and durations if none is set; improve alignment with next messages.
14314
14315 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14316
14317         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14318         * gst/gstpluginfeature.h:
14319         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14320         * gst/gstregistry.h:
14321         * docs/gst/gstreamer-sections.txt:
14322           Add new API to check plugin feature version requirements.
14323
14324         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14325           Some basic tests for the above.         
14326
14327 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * gst/gststructure.c: (gst_structure_to_string):
14330           guard against NULL printf - happens when for example
14331           a message structure with GstClock gets serialized
14332
14333 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14334
14335         * gst/base/gstcollectpads.c: (gst_collectpads_event):
14336           Fix presumable copy'n'pasto.
14337
14338 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14339
14340         * gst/elements/gstfakesrc.h:
14341         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14342         * gst/elements/gsttypefindelement.c:
14343           fix some signedness
14344         * gst/elements/gstfilesink.c: (gst_file_sink_render):
14345           I wonder if this could actually write +2GB files before
14346
14347 2005-10-13  Andy Wingo  <wingo@pobox.com>
14348
14349         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14350         Fix Timmeke Waymans bug.
14351         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14352         string of the proper length to gst_caps_from_string. There's a
14353         potential for, before this fix, that this could cause someone
14354         connecting over the network to cause a segfault if the payload is
14355         not NUL-terminated.
14356
14357 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14358
14359         * docs/design/draft-push-pull.txt:
14360         * docs/design/part-overview.txt:
14361         * docs/random/TODO-pre-0.9:
14362         * docs/random/old/ChangeLog.gstreamer:
14363         * gst/base/gstpushsrc.c:
14364         * gst/gstclock.c:
14365           fixed typos
14366
14367 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14368
14369         * gst/glib-compat.c: (gst_flags_get_first_value):
14370         * gst/glib-compat.h:
14371         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14372         (gst_value_compare_double), (gst_value_serialize_flags):
14373           GLib 2.6 g_flags_get_first_value has a bug that triggers an
14374           infinite loop
14375
14376 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14377
14378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14379         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14380           fix up debugging
14381         * tools/gst-launch.c: (event_loop):
14382           print out clock nicely
14383
14384 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14385
14386         * docs/gst/gstreamer-sections.txt:
14387         * gst/gsttaglist.h:
14388         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14389         (gst_tag_list_get_date_index):
14390           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14391           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14392
14393 2005-10-13  Julien MOUTTE  <julien@moutte.net>
14394
14395         * gst/base/gstcollectpads.c: (gst_collectpads_event),
14396         (gst_collectpads_chain):
14397         * gst/base/gstcollectpads.h: Handle newsegment and store informations
14398         in CollectData.
14399
14400 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14401
14402         * docs/gst/gstreamer-sections.txt:
14403         * gst/gst.c:
14404         * gst/gsterror.h:
14405         * tools/gst-inspect.c: (main):
14406         * tools/gst-launch.c: (main):
14407         * tools/gst-run.c: (main):
14408         * tools/gst-xmlinspect.c: (main):
14409           fix GOption context leaks
14410           doc fixes
14411
14412 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14413
14414         * gst/gstbus.c:
14415           use HAVE_UNISTD_H
14416         * win32/common/config.h:
14417           update config
14418         * win32/vs6/grammar.dsp:
14419         * win32/vs6/libgstelements.dsp:
14420         * win32/vs6/libgstreamer.dsp:
14421           update vs6 files
14422
14423 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14424
14425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14426         * gst/base/gstbasesrc.c: (gst_base_src_query):
14427           fix more guint64<->gdouble conversions
14428
14429 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14430
14431         * Makefile.am:
14432           add win32-update target
14433         * win32/common/gstconfig.h:
14434         * win32/common/gstenumtypes.c:
14435         * win32/common/gstenumtypes.h:
14436         * win32/common/gstversion.h:
14437           add files that visual studio can't generate
14438
14439 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14440
14441         * Makefile.am:
14442           add a win32-update target
14443         * configure.ac:
14444
14445 2005-10-12  Wim Taymans  <wim@fluendo.com>
14446
14447         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14448         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14449         * gst/gstelement.c: (gst_element_commit_state),
14450         (gst_element_set_state):
14451         Protect flags with proper lock.
14452         unref provided cached clock in dispose.
14453
14454 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14455
14456         * gst/gst.c:
14457         * gst/gstminiobject.h:
14458         * gst/gstpad.h:
14459         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14460           removed unused flags from miniobject
14461           doc fixes
14462
14463 2005-10-12  Wim Taymans  <wim@fluendo.com>
14464
14465         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14466         (gst_file_sink_event), (gst_file_sink_render):
14467         Flush before seeking.
14468
14469 2005-10-12  Andy Wingo  <wingo@pobox.com>
14470
14471         * gst/gst.c (gst_init_check): Ignore unknown options, as has
14472         always been the case.
14473
14474 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14475
14476         * check/gst/gstbin.c: (GST_START_TEST):
14477         * docs/gst/gstreamer-sections.txt:
14478         * gst/base/gstbasesink.c: (gst_base_sink_init):
14479         * gst/base/gstbasesrc.c: (gst_base_src_init),
14480         (gst_base_src_get_range), (gst_base_src_check_get_range),
14481         (gst_base_src_start), (gst_base_src_stop):
14482         * gst/base/gstbasesrc.h:
14483         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14484         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14485         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14486         (bin_bus_handler):
14487         * gst/gstbin.h:
14488         * gst/gstbuffer.h:
14489         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14490         * gst/gstbus.h:
14491         * gst/gstelement.c: (gst_element_is_locked_state),
14492         (gst_element_set_locked_state), (gst_element_commit_state),
14493         (gst_element_set_state):
14494         * gst/gstelement.h:
14495         * gst/gstindex.c: (gst_index_init):
14496         * gst/gstindex.h:
14497         * gst/gstminiobject.h:
14498         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14499         (gst_object_set_parent):
14500         * gst/gstobject.h:
14501         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14502         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14503         * gst/gstpad.h:
14504         * gst/gstpadtemplate.h:
14505         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14506         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14507         * gst/gstpipeline.h:
14508         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14509         (gst_file_index_commit):
14510         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14511         * testsuite/pad/link.c: (gst_test_src_init),
14512         (gst_test_filter_init), (gst_test_sink_init):
14513         * testsuite/states/locked.c: (main):
14514           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14515           moved bitshift from macro to enum definition
14516
14517 2005-10-12  Wim Taymans  <wim@fluendo.com>
14518
14519         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14520         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14521         (gst_file_sink_render):
14522         Some more debugging info.
14523
14524 2005-10-12  Wim Taymans  <wim@fluendo.com>
14525
14526         * docs/design/part-states.txt:
14527         * tools/gst-launch.c: (main):
14528         Some doc updates.
14529         Revert non-intentional change.
14530
14531 2005-10-12  Wim Taymans  <wim@fluendo.com>
14532
14533         * check/gst/gstbin.c: (GST_START_TEST):
14534         * check/gst/gstelement.c: (GST_START_TEST):
14535         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14536         * check/gst/gstghostpad.c: (GST_START_TEST):
14537         * check/gst/gstpipeline.c: (GST_START_TEST):
14538         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14539         * check/states/sinks.c: (GST_START_TEST):
14540         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14541         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14542         (gst_bin_remove_func), (gst_bin_get_state_func),
14543         (gst_bin_recalc_state), (gst_bin_change_state_func),
14544         (bin_bus_handler):
14545         * gst/gstelement.c: (gst_element_get_state_func),
14546         (gst_element_get_state), (gst_element_abort_state),
14547         (gst_element_commit_state), (gst_element_set_state),
14548         (gst_element_change_state), (gst_element_change_state_func):
14549         * gst/gstelement.h:
14550         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14551         (gst_pipeline_provide_clock_func):
14552         * gst/gstutils.c: (gst_element_link_pads_filtered):
14553         * tools/gst-launch.c: (main):
14554         * tools/gst-typefind.c: (main):
14555         Use GstClockTime in _get_state() instead of GTimeVal.
14556         Remove old code in gstutils.c
14557
14558 2005-10-12  Andy Wingo  <wingo@pobox.com>
14559
14560         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14561         removed.
14562
14563         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14564         there is no task. Shouldn't affect any code, as nothing in our
14565         plugins checks this return value.
14566         (gst_pad_stop_task): Also take the stream lock if the pad has no
14567         task. Docs updated.
14568
14569 2005-10-12  Wim Taymans  <wim@fluendo.com>
14570
14571         * gst/gstpad.c: (pre_activate), (post_activate),
14572         (gst_pad_activate_pull), (gst_pad_activate_push):
14573         Cleanup activation code. Reset old state if
14574         activation failed.
14575
14576 2005-10-12  Wim Taymans  <wim@fluendo.com>
14577
14578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14579         (gst_base_sink_change_state):
14580         No need to prerol after receiving EOS.
14581
14582         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14583         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14584         * gst/elements/gstidentity.c: (gst_identity_event):
14585         Print events more verbosely.
14586
14587 2005-10-12  Wim Taymans  <wim@fluendo.com>
14588
14589         * check/Makefile.am:
14590         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14591         * check/states/sinks2.c:
14592         Moved sinks2 testcode in sinks check.
14593
14594         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14595         (gst_bin_remove_func), (gst_bin_recalc_state),
14596         (gst_bin_change_state_func), (bin_bus_handler):
14597         Fix potential race condition when _get_state() iterated over an
14598         ASYNC element right before it posted a state completion.
14599
14600         * gst/gstclock.h:
14601         Do proper cast here.
14602
14603         * gst/gstevent.c: (gst_event_new_newsegment),
14604         (gst_event_parse_newsegment):
14605         A playback rate of 0.0 is not allowed.
14606
14607 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14608
14609         * win32/common/config.h:
14610         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14611         (_trewinddir), (_ttelldir), (_tseekdir):
14612         * win32/common/dirent.h:
14613         * win32/common/gtchar.h:
14614         * win32/common/libgstbase.def:
14615         * win32/common/libgstreamer.def:
14616         * win32/vs6/grammar.dsp:
14617         * win32/vs6/gst_inspect.dsp:
14618         * win32/vs6/gst_launch.dsp:
14619         * win32/vs6/gstreamer.dsw:
14620         * win32/vs6/libgstbase.dsp:
14621         * win32/vs6/libgstelements.dsp:
14622         * win32/vs6/libgstreamer.dsp:
14623           Visual Studio 6 project files, and a new common directory.
14624           Phear.
14625
14626 2005-10-11  Wim Taymans  <wim@fluendo.com>
14627
14628         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14629         (gst_base_sink_do_sync), (gst_base_sink_query),
14630         (gst_base_sink_change_state):
14631         * gst/base/gstbasesink.h:
14632         Correctly parse newsegment info.
14633
14634 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14635
14636         * gst/gst.c: (init_post):
14637           split plugin paths correctly
14638
14639 2005-10-11  Wim Taymans  <wim@fluendo.com>
14640
14641         * check/gst/gstevent.c: (GST_START_TEST):
14642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14643         (gst_base_sink_change_state):
14644         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14645         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14646         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14647         * gst/gstevent.c: (gst_event_new_newsegment),
14648         (gst_event_parse_newsegment):
14649         * gst/gstevent.h:
14650         Added extra flag to newsegment for future API freeze.
14651         Updated check and base elements.
14652
14653 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14654
14655         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14656         (gst_collectpads_add_pad), (gst_collectpads_pop),
14657         (gst_collectpads_event), (gst_collectpads_chain):
14658         * gst/base/gstcollectpads.h: Handle EOS correctly.
14659
14660 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14661
14662         * tools/gst-launch.c: (main):
14663           more null protecting
14664
14665 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14666
14667         * gst/gst-i18n-lib.h:
14668           check for ENABLE_NLS, not GETTEXT_PACKAGE
14669         * gst/gstregistry.c: (gst_registry_add_plugin),
14670         (gst_registry_scan_path_level),
14671         (_gst_registry_remove_cache_plugins):
14672           protect possibly NULL strings
14673         * gst/parse/types.h:
14674           config.h already included before
14675         * tools/gst-inspect.c: (main):
14676           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14677           check for ENABLE_NLS, not GETTEXT_PACKAGE
14678         * tools/gst-launch.c: (main):
14679           check for ENABLE_NLS, not GETTEXT_PACKAGE
14680
14681 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14682
14683         * configure.ac:
14684           if we don't have glib, fail before testing 2.8
14685         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14686           fix a leak, should fix plugins-base testsuite
14687
14688 2005-10-11  Andy Wingo  <wingo@pobox.com>
14689
14690         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14691         take the mode we're going to as an arg. Go head and set the mode
14692         and flushing flags now, so that if the activate function starts a
14693         thread all the flags will be in the right state.
14694         (post_activate): Renamed also. Just handle making sure streaming
14695         finishes for the deactivation case, and setting the deactivated
14696         mode.
14697         (gst_pad_set_active): Complain loudly if deactivation fails.
14698         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14699         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14700         remove the terrible hack.
14701
14702 2005-10-11  Wim Taymans  <wim@fluendo.com>
14703
14704         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14705         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14706         (gst_bin_recalc_state), (gst_bin_change_state_func),
14707         (gst_bin_dispose), (bin_bus_handler):
14708         * gst/gstbin.h:
14709         Prepare to make current EOS message queue more generic.
14710         Fix some typos.
14711
14712         * gst/gstevent.c: (gst_event_new_newsegment),
14713         (gst_event_parse_newsegment):
14714         * gst/gstevent.h:
14715         Rename base to stream_time.
14716
14717         * gst/gstmessage.h:
14718         Fix typo in docs.
14719
14720 2005-10-11  Wim Taymans  <wim@fluendo.com>
14721
14722         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14723         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14724         (gst_bin_change_state_func), (bin_bus_handler):
14725         * gst/gstbin.h:
14726         Work on proper clock selection.
14727
14728 2005-10-11  Edward Hervey  <edward@fluendo.com>
14729
14730         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14731         * libs/gst/controller/gstcontroller.h:
14732         Added GList* version of _remove_properties() in order to be able to wrap
14733         it in bindings.
14734
14735 2005-10-11  Wim Taymans  <wim@fluendo.com>
14736
14737         * docs/design/part-states.txt:
14738         Some more docs.
14739
14740         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14741         (gst_bin_change_state_func), (bin_bus_handler):
14742         Doc updates. Don't distribute the same clock over and over again.
14743
14744         * gst/gstclock.c:
14745         * gst/gstclock.h:
14746         Doc updates.
14747
14748         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14749         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14750         (gst_pad_send_event):
14751         * gst/gstpad.h:
14752         Make probe emission threadsafe again.
14753         Register quarks and move _get_name() from utils.
14754         Doc updates.
14755
14756         * gst/gstpipeline.c: (gst_pipeline_class_init),
14757         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14758         Only redistribute the clock of it changed.
14759
14760         * gst/gstsystemclock.h:
14761         Doc updates. 
14762
14763         * gst/gstutils.c:
14764         * gst/gstutils.h:
14765         Moved the _flow_get_name() to GstPad.
14766
14767 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14768
14769         * check/gst-libs/gdp.c: (GST_START_TEST):
14770         * check/gst/gstcaps.c: (GST_START_TEST):
14771         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14772         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14773         (gst_dp_packet_from_caps):
14774           fix more valgrind warnings before turning up the heat
14775
14776 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14777
14778         * gst/parse/grammar.y:
14779           some cleanup before the hacking
14780
14781 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14782
14783         * gst/base/gstbasesrc.c: (gst_base_src_query):
14784           use conversions
14785         * gst/gstutils.c: (gst_guint64_to_gdouble),
14786         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14787         * gst/gstutils.h:
14788           externalize, basesrc uses it
14789           obviously the implementation needs testing
14790
14791 2005-10-10  Wim Taymans  <wim@fluendo.com>
14792
14793         * tests/sched/Makefile.am:
14794         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14795         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14796
14797 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14798
14799         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14800           apparently converting from guint64 to double is not implemented
14801           on MSVC
14802
14803 2005-10-10  Wim Taymans  <wim@fluendo.com>
14804
14805         * check/Makefile.am:
14806         * check/generic/states.c: (GST_START_TEST):
14807         * check/gst/gstbin.c: (GST_START_TEST):
14808         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14809         * check/states/sinks.c: (GST_START_TEST):
14810         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14811         (main):
14812         Check fixes, use API as stated in design docs, remove hacks.
14813
14814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14815         (gst_base_sink_change_state):
14816         Catch stopping our task while we're shutting down.
14817
14818         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14819         (gst_bin_remove_func), (gst_bin_get_state_func),
14820         (gst_bin_recalc_state), (gst_bin_change_state_func),
14821         (bin_bus_handler):
14822         * gst/gstbin.h:
14823         * gst/gstelement.c: (gst_element_init),
14824         (gst_element_get_state_func), (gst_element_abort_state),
14825         (gst_element_commit_state), (gst_element_lost_state),
14826         (gst_element_set_state), (gst_element_change_state),
14827         (gst_element_change_state_func):
14828         * gst/gstelement.h:
14829         New state change algorithm (see #318116)
14830
14831         * gst/gstpipeline.c: (gst_pipeline_class_init),
14832         (gst_pipeline_init), (gst_pipeline_set_property),
14833         (gst_pipeline_get_property), (do_pipeline_seek),
14834         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14835         * gst/gstpipeline.h:
14836         Remove crude state change hacks.
14837
14838         * gst/gstutils.h:
14839         Remove crude hacks.
14840
14841         * tools/gst-launch.c: (main):
14842         Fixes for state change. Needs some more work to fully use the
14843         new stuff.
14844
14845 2005-10-10  Andy Wingo  <wingo@pobox.com>
14846
14847         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14848
14849         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14850         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14851         issue.
14852
14853 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14854
14855         * gst/gstiterator.c: (gst_iterator_new):
14856           Fix my previous commit: GTypes passed to gst_iterator_new()
14857           can be fundamental types.
14858
14859 2005-10-10  Wim Taymans  <wim@fluendo.com>
14860
14861         * gst/gstelement.c: (gst_element_iterate_pad_list),
14862         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14863         (gst_element_iterate_sink_pads):
14864         Use src/sink pads lists for the respective iterators instead
14865         of filtering.
14866
14867 2005-10-10  Andy Wingo  <wingo@pobox.com>
14868
14869         Merged in popt removal + GOption addition patch from Ronald, bug
14870         #169772.
14871
14872         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14873         GstElement macros around, remove popt-related symbols, add goption
14874         stuff.
14875
14876         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14877         
14878         * docs/gst/Makefile.am:
14879         * docs/libs/Makefile.am: No POPT_CFLAGS.
14880         
14881         * examples/manual/Makefile.am:
14882         * docs/manual/basics-init.xml: Doc updates with an example.
14883         
14884         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14885         (gst_init), (parse_one_option), (parse_goption_arg):
14886         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14887         bit of hand merging and debugging to get the GOption stuff working
14888         tho.
14889         
14890         * tests/Makefile.am:
14891         * tools/Makefile.am:
14892         * tools/gst-inspect.c: (main):
14893         * tools/gst-launch.c: (main):
14894         * tools/gst-run.c: (main):
14895         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14896
14897 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14898
14899         * gst/gstiterator.c: (gst_iterator_new):
14900           Add assertions to make sure passed GType is likely to really
14901           be a GType (as the compiler won't catch it if the size and
14902           GType arguments get mixed up, see #318447).
14903
14904 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14905
14906         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14907
14908         * gst/gstbin.c: (gst_bin_iterate_sorted):
14909           Pass GType and size arguments to gst_iterator_new() in the right
14910           order (maybe we should make _new() take the GType as first argument
14911           just like _new_list()?) (#318447).
14912           
14913
14914 2005-10-10  Wim Taymans  <wim@fluendo.com>
14915
14916         * gst/gstelement.c: (gst_element_finalize):
14917         And free the GStaticRecMutex too
14918
14919 2005-10-10  Andy Wingo  <wingo@pobox.com>
14920
14921         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14922         Allocate and free the mutex properly.
14923
14924         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14925         New macros.
14926         (GstElement): The state_lock is now recursive. Rebuild your
14927         plugins, suckers. Old macros adapted.
14928
14929         * docs/gst/gstreamer-sections.txt: Doc updates.
14930
14931         * gst/gstutils.h:
14932         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14933         (g_static_rec_cond_wait): Ported from state changes patch, while
14934         we wait on bug #317802 to be solved in a well-distributed GLib.
14935
14936         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14937         gst_element_change_state, variable name changes.
14938         (gst_element_change_state): Split out of gst_element_set_state in
14939         preparation for the state change merge. Doesn't pay attention to
14940         the 'transition' argument.
14941         (gst_element_set_state): Updates, hopefully purely cosmetic.
14942         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14943         state change patch.
14944         (gst_element_get_state_func): Renamed from get_state, cosmetic
14945         changes.
14946
14947 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14948
14949         * gst/elements/gstelements.c:
14950         * win32/GStreamer.vcproj:
14951         * win32/config.h:
14952         * win32/dirent.c: (_tseekdir):
14953         * win32/gst-inspect.vcproj:
14954         * win32/gst-launch.vcproj:
14955         * win32/gstconfig.h:
14956         * win32/gstelements.vcproj:
14957         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14958         * win32/gstreamer.def:
14959         * win32/msvc71.sln:
14960           updates for the win32 build (patch from Sebastien Moutte)
14961
14962 2005-10-10  Andy Wingo  <wingo@pobox.com>
14963
14964         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14965         gst_bin_get_state, cleaned up (but no logic changes).
14966         (bin_element_is_sink): Comment updates.
14967         (sink_iterator_filter): Remove needless cast.
14968         (gst_bin_iterate_sinks): Doc update.
14969         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14970         cleaned up (but no logic changes).
14971
14972         * check/states/sinks.c (test_src_sink): Cleanups from the state
14973         change patch.
14974         (test_livesrc_sink): Sync on the state.
14975
14976         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14977         the state change patch.
14978
14979         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14980         change patch.
14981
14982         * check/gst/gstbin.c: Merge in some style fixes and additional
14983         checks from Wim's state change patch.
14984
14985 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14986
14987         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14988         (gst_type_find_helper):
14989           Check whether we have the requested data already in our list of
14990           cached buffers before pulling a new buffer; also make the buffer
14991           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14992
14993 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14994
14995         * gst/gstcaps.c:
14996         * gst/gstevent.c:
14997           doc updates
14998         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14999           don't use long long, it's not portable.  Replacing with
15000           gint64 seems to work; let's hope no skeletons fall out of the closet.
15001
15002 2005-10-10  Andy Wingo  <wingo@pobox.com>
15003
15004         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15005
15006 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
15007
15008         * docs/gst/gstreamer-sections.txt:
15009         * gst/gstevent.c:
15010         * gst/gstevent.h:
15011         * gst/gstinfo.c:
15012         * gst/gstinfo.h:
15013         * gst/gstmessage.c: (gst_message_parse_state_changed):
15014         * gst/gstpad.c:
15015         * gst/gstpad.h:
15016           more docs, fix compilation
15017
15018 2005-10-09  Philippe Khalaf <burger@speedy.org>
15019         * gst/gstmessage.c:
15020           Fixed a few forgotten variables on previous commit
15021
15022 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
15023
15024         * gst/base/gsttypefindhelper.c: (helper_find_peek):
15025           Fix evil typefind crasher: getrange() might return a short
15026           buffer at the end of a file, but gst_type_find_peek() must
15027           either return the full data as requested or NULL, but
15028           never a short buffer.
15029
15030 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15031
15032         * gst/gstmessage.c: (gst_message_new_state_changed),
15033         (gst_message_parse_state_changed):
15034         * gst/gstmessage.h:
15035           don't use "new", it's a C++ keyword
15036
15037 2005-10-08  Wim Taymans  <wim@fluendo.com>
15038
15039         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15040         * gst/gstelement.c: (gst_element_post_message):
15041         * gst/gstpipeline.c: (gst_pipeline_change_state):
15042         Small docs and debug updates.
15043
15044 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
15045
15046         * docs/gst/gstreamer-sections.txt:
15047         * gst/gstelementfactory.c:
15048         * gst/gstevent.c:
15049         * gst/gsttaglist.c:
15050           more docs
15051
15052 2005-10-08  Wim Taymans  <wim@fluendo.com>
15053
15054         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15055         (gst_bin_dispose), (bin_bus_handler):
15056         Fix typos, add comments.
15057         Clear EOS list when going to PAUSED from any direction and do it
15058         in a threadsafe way.
15059         Get base time in a threadsafe way too.
15060         Fix confusing debug in the change_state function.
15061         Various other small cleanups.
15062         
15063         * gst/gstelement.c: (gst_element_post_message):
15064         Fix very verbose bus posting code.
15065
15066         * gst/gstpipeline.c: (gst_pipeline_class_init),
15067         (gst_pipeline_set_property), (gst_pipeline_get_property),
15068         (gst_pipeline_change_state):
15069         Small ARG_ -> PROP_ cleanup
15070
15071 2005-10-08  Wim Taymans  <wim@fluendo.com>
15072
15073         * gst/gstbin.c: (is_eos), (bin_bus_handler):
15074         Do a less CPU demanding EOS check because we can.
15075
15076 2005-10-08  Wim Taymans  <wim@fluendo.com>
15077
15078         * libs/gst/dataprotocol/dataprotocol.c:
15079         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15080         (gst_dp_packet_from_event):
15081         * libs/gst/dataprotocol/dataprotocol.h:
15082         * libs/gst/dataprotocol/dp-private.h:
15083         It's about time we bump the version number.
15084         Since event types don't fit in the guint8 anymore describing
15085         the payload type, make payload type 16 bits wide.
15086
15087 2005-10-08  Wim Taymans  <wim@fluendo.com>
15088
15089         * docs/design/part-TODO.txt:
15090         * docs/design/part-clocks.txt:
15091         * docs/design/part-events.txt:
15092         * docs/design/part-gstbin.txt:
15093         * docs/design/part-gstelement.txt:
15094         * docs/design/part-gstpipeline.txt:
15095         * docs/design/part-live-source.txt:
15096         * docs/design/part-messages.txt:
15097         * docs/design/part-overview.txt:
15098         * docs/design/part-states.txt:
15099         Many doc updates.
15100
15101 2005-10-08  Wim Taymans  <wim@fluendo.com>
15102
15103         * gst/gstevent.c:
15104         * gst/gstevent.h:
15105         Fix event quark registration.
15106         Add some space between events so we can insert them in the
15107         right groups.
15108
15109 2005-10-08  Wim Taymans  <wim@fluendo.com>
15110
15111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15112         (gst_base_sink_handle_buffer):
15113         Better log message.
15114
15115         * gst/gstbus.h:
15116         * gst/gstelement.h:
15117         More docs.
15118
15119         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15120         (gst_queue_set_property), (gst_queue_get_property):
15121         * gst/gstqueue.h:
15122         Remove old unused properties.
15123
15124 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
15125         * docs/gst/gstreamer-sections.txt:
15126         * gst/gstmessage.c:
15127         * gst/gstmessage.h:
15128         * gst/gstminiobject.c:
15129         * gst/gstminiobject.h:
15130         * gst/gstobject.h:
15131         * gst/gstpad.h:
15132         * gst/gstutils.h:
15133           lots of new docs and doc fixes
15134
15135 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15136
15137         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15138         * gst/gstplugin.h:
15139         * gst/gstregistry.c: (gst_registry_lookup_locked),
15140         (gst_registry_scan_path_level):
15141         * gst/gstregistryxml.c: (load_plugin):
15142           Only ever load one plugin for a given plugin basename.
15143           This ensures correct overriding of GST_PLUGIN_PATH over
15144           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15145           system installed plugins.
15146
15147 2005-10-08  Wim Taymans  <wim@fluendo.com>
15148
15149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15150         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15151         Prepare for doing QOS.
15152
15153 2005-10-08  Wim Taymans  <wim@fluendo.com>
15154
15155         * check/gst/gstbin.c: (GST_START_TEST):
15156         * check/pipelines/cleanup.c: (GST_START_TEST):
15157         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15158         Allow new clock message too.
15159
15160 2005-10-08  Wim Taymans  <wim@fluendo.com>
15161
15162         * gst/gstmessage.c: (gst_message_new_error),
15163         (gst_message_new_warning), (gst_message_new_tag),
15164         (gst_message_new_state_changed), (gst_message_new_clock_provide),
15165         (gst_message_new_clock_lost), (gst_message_new_new_clock),
15166         (gst_message_new_segment_start), (gst_message_new_segment_done),
15167         (gst_message_parse_state_changed),
15168         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15169         (gst_message_parse_new_clock):
15170         * gst/gstmessage.h:
15171         Also carry the clock in question.
15172
15173 2005-10-08  Wim Taymans  <wim@fluendo.com>
15174
15175         * gst/gstmessage.c: (gst_message_new_custom),
15176         (gst_message_new_eos), (gst_message_new_error),
15177         (gst_message_new_warning), (gst_message_new_tag),
15178         (gst_message_new_state_changed), (gst_message_new_clock_provide),
15179         (gst_message_new_new_clock), (gst_message_new_segment_start),
15180         (gst_message_new_segment_done), (gst_message_parse_state_changed),
15181         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15182         * gst/gstmessage.h:
15183         Clean up.
15184         Added clock related messages.
15185
15186         * gst/gstpipeline.c: (gst_pipeline_change_state):
15187         Post message when the clock changed.
15188
15189         * tools/gst-launch.c: (event_loop):
15190         Print new clock.
15191
15192 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
15193
15194         * tools/gst-inspect.c: (print_element_properties_info):
15195           Can't pass NULL strings to g_print() on windows.
15196
15197 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15198
15199         * docs/Makefile.am:
15200         * docs/gst/Makefile.am:
15201         * docs/gst/gstreamer-docs.sgml:
15202         * docs/gst/running.xml:
15203         * docs/version.entities.in:
15204           add a chapter on running GStreamer.
15205           document GST_DEBUG and GST_PLUGIN* env vars
15206
15207 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15208
15209         * Makefile.am:
15210           remove include dir
15211         * configure.ac:
15212           remove PLUGINS_BUILDDIR stuff
15213         * gst/gst.c: (init_post):
15214           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15215         * idiottest.mak:
15216           remove, it was condescending and not needed
15217
15218 2005-10-08  Wim Taymans  <wim@fluendo.com>
15219
15220         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15221         (gst_base_sink_handle_object), (gst_base_sink_event),
15222         (gst_base_sink_wait), (gst_base_sink_handle_event),
15223         (gst_base_sink_change_state):
15224         * gst/base/gstbasesink.h:
15225         Repost EOS message while going to PLAYING if still EOS.
15226         Make sure that when receiving a FLUSH_START we don't attempt
15227         to sync on the clock anymore.
15228
15229 2005-10-08  Wim Taymans  <wim@fluendo.com>
15230
15231         * tools/gst-launch.c: (event_loop):
15232         Better message printout.
15233
15234 2005-10-08  Wim Taymans  <wim@fluendo.com>
15235
15236         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15237         (gst_bin_child_proxy_get_children_count):
15238         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15239         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15240         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15241         (gst_child_proxy_set_valist):
15242         * gst/parse/grammar.y:
15243         Make ChildProxy threadsafe and fix mem leaks.
15244
15245 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15246
15247         * gst/gst.c: (init_post):
15248           debug the GST_PLUGIN_ env vars
15249
15250 2005-10-08  Wim Taymans  <wim@fluendo.com>
15251
15252         * check/gst/gstbin.c: (GST_START_TEST):
15253         * check/gst/gstmessage.c: (GST_START_TEST):
15254         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15255         * gst/gstelement.c: (gst_element_commit_state),
15256         (gst_element_lost_state):
15257         * gst/gstmessage.c: (gst_message_new_state_changed),
15258         (gst_message_parse_state_changed):
15259         * gst/gstmessage.h:
15260         * tools/gst-launch.c: (event_loop):
15261         Added extra field to STATE_CHANGE message with the pending
15262         state, which will be different from the new state soon.
15263
15264 2005-10-08  Wim Taymans  <wim@fluendo.com>
15265
15266         * gst/gstbus.c: (gst_bus_pop):
15267         * gst/gstclock.c:
15268         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15269         Small cleanups and doc updates.
15270
15271 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15272
15273         * gst/gst.c: (init_pre):
15274         * gst/gstbin.c: (gst_bin_add_func):
15275           log distributing clocks and base time
15276         * gst/gstregistry.c: (gst_registry_add_plugin),
15277         (gst_registry_scan_path_level), (gst_registry_scan_path):
15278           clean up the debugging output a little
15279         * gst/gstutils.c: (gst_element_state_get_name):
15280           warn about a memleak (I've actually seen this be used, though
15281           it was probably a bug)
15282
15283 2005-10-07  Wim Taymans  <wim@fluendo.com>
15284
15285         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15286         (gst_base_src_init), (gst_base_src_default_newsegment),
15287         (gst_base_src_newsegment), (gst_base_src_do_seek),
15288         (gst_base_src_loop), (gst_base_src_start):
15289         * gst/base/gstbasesrc.h:
15290         Make the newsegment event customizable by subclasses.
15291
15292 2005-10-07  Wim Taymans  <wim@fluendo.com>
15293
15294         * gst/gstevent.c: (gst_event_new_buffersize),
15295         (gst_event_parse_buffersize):
15296         * gst/gstevent.h:
15297         New event for future idea.
15298
15299 2005-10-07  Andy Wingo  <wingo@pobox.com>
15300
15301         * gst/gstelement.c (gst_element_post_message): Doc update.
15302
15303         * docs/gst/gstreamer-sections.txt: Update.
15304
15305         * gst/gstmessage.c (gst_message_new_application): Made into a
15306         function like honest API calls.
15307         (gst_message_new_element): New message type.
15308
15309         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15310
15311         * check/elements/fakesrc.c (test_no_preroll): New check, checks
15312         that setting a live fakesrc to PAUSED returns NO_PREROLL both
15313         times.
15314
15315         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15316         NO_PREROLL from gst_element_change_state to fall through.
15317
15318 2005-10-07  Wim Taymans  <wim@fluendo.com>
15319
15320         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15321         (gst_ghost_pad_do_activate_push):
15322         Activating a ghostpad with no internal pad in push mode
15323         is ok.
15324
15325 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15326
15327         * gst/gstobject.h:
15328           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15329           Fixes compilation on Windows.
15330
15331 2005-10-07  Michael Smith <msmith@fluendo.com>
15332
15333         * tools/gst-inspect.c:
15334           Print out feature and plugin count at the end when printing out
15335           all features.
15336
15337 2005-10-04  Michael Smith <msmith@fluendo.com>
15338
15339         * gst/gsterror.c: (_gst_stream_errors_init):
15340           Add another error string used in a few existing plugins.
15341
15342         * gst/gstplugin.c:
15343         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15344         * tools/gst-inspect.c: (print_element_info):
15345           When a feature disappears from a plugin (and the feature exists in
15346           the cached registry file), things went horribly wrong. This isn't a
15347           complete fix, we should actually be removing the 'missing' features
15348           from the features list when we load the actual plugin. That's not
15349           yet implemented. 
15350
15351 2005-10-04  Johan Dahlin  <johan@gnome.org>
15352
15353         * check/gst/gstiterator.c: (GST_START_TEST):
15354         * gst/gstbin.c: (gst_bin_iterate_elements),
15355         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15356         * gst/gstelement.c: (gst_element_iterate_pads):
15357         * gst/gstformat.c: (gst_format_iterate_definitions):
15358         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15359         (gst_iterator_new_list), (gst_iterator_filter):
15360         * gst/gstiterator.h:
15361         * gst/gstquery.c: (gst_query_type_iterate_definitions):
15362         Add a GType to GstIterator, update callsites and tests.
15363
15364 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15365
15366         * gst/gstpad.c: (gst_pad_event_default_dispatch):
15367           give events a chance to be handled by event probes when the pad
15368           is not linked
15369
15370 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15371
15372         * gst/gstevent.c: (gst_event_type_get_name),
15373         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15374         * gst/gstevent.h:
15375           add string representations for event types
15376
15377 2005-10-06  Wim Taymans  <wim@fluendo.com>
15378
15379         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15380         Don't use NULL pointers.
15381
15382 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15383
15384         * gst/gst_private.h:
15385         * gst/gstbus.c:
15386         * gst/gstelement.c:
15387         * gst/gstinfo.c:
15388         * gst/gstpluginfeature.c:
15389           widen the debug category in output to fit the biggest one we have
15390           add a bus category and use it
15391           play with the colors
15392           fix up some categories
15393
15394 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15395
15396         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15397           add push activation of sink ghost pads.
15398           Andye, please verify
15399
15400 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15401
15402         * gst/gstutils.c: (gst_element_link_pads):
15403           fix a bug in the case where neither element has a pad
15404         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15405           add a test for that case
15406
15407 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15408
15409         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15410           emit have-data before checking for peers.  This allows
15411           for probe handlers to connect elements.  This helps autopluggers.
15412         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15413         (gst_pad_suite):
15414           add six checks, linked/unlinked with no/true/false probe
15415
15416 2005-10-04  Wim Taymans  <wim@fluendo.com>
15417
15418         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15419         (gst_fake_sink_event), (gst_fake_sink_preroll),
15420         (gst_fake_sink_render), (gst_fake_sink_change_state):
15421         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15422         (gst_fake_src_get_property), (gst_fake_src_create),
15423         (gst_fake_src_stop):
15424         * gst/elements/gstidentity.c: (gst_identity_stop):
15425         Protect last_message with lock.
15426
15427 2005-10-04  Edward Hervey  <edward@fluendo.com>
15428
15429         * gst/gstformat.h: 
15430         Added precision in the comments for GST_FORMAT_DEFAULT
15431
15432 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
15433
15434         * tools/gst-launch.c: (main):
15435           Don't try to run erroneous pipelines.
15436
15437 2005-10-04  Julien MOUTTE  <julien@moutte.net>
15438
15439         * gst/gstbus.c: We don't need this header.
15440
15441 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15442
15443         * configure.ac:
15444           back to development
15445
15446 === release 0.9.3 ===
15447
15448 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15449
15450         * README:
15451         * configure.ac:
15452           Releasing 0.9.3, "Unregistered"
15453
15454 2005-10-03  Andy Wingo  <wingo@pobox.com>
15455
15456         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15457         whereby calling a pad's activatepush() function can start a thread
15458         that starts to push or pull before the pad gets the FLUSHING flag
15459         unset. Hack around it by holding the stream lock until the flag is
15460         set. Need to replace this with a proper solution. Together with
15461         the ghost pad fixes, this fixes mp3 playing/tagreading.
15462
15463         * docs/design/part-gstghostpad.txt: Add a note about activation of
15464         proxy pads outside of ghost pads.
15465
15466         * gst/gstghostpad.c: Implement the ghost pad activation design.
15467
15468 2005-10-02  Andy Wingo  <wingo@pobox.com>
15469
15470         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15471         It is volatile, after all.
15472
15473         * docs/design/part-gstghostpad.txt: Flesh out activation with
15474         ghost pads.
15475
15476         * gst/base/gstbasesrc.c (gst_base_src_init): Use
15477         GST_DEBUG_FUNCPTR.
15478
15479 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
15480
15481         * configure.ac:
15482           Fix (unused) AM_CONDITIONAL tests.
15483
15484 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
15485
15486         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15487
15488         * gst/gstutils.c: (gst_pad_query_convert):
15489           Add assertion that makes sure src_val is >=0, just like
15490           gst_query_new_convert() has. (#315895)
15491
15492 2005-09-30  Edward Hervey  <edward@fluendo.com>
15493
15494         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15495         Let's not iterate pads we're not interested in, it avoids getting 
15496         sky-high refcounts on sinkpad.
15497
15498 2005-09-30  Wim Taymans  <wim@fluendo.com>
15499
15500         * gst/gstelement.c: (gst_element_set_state),
15501         (gst_element_change_state):
15502         Small tweak, element in ASYNC remains ASYNC.
15503
15504 2005-09-30  Wim Taymans  <wim@fluendo.com>
15505
15506         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15507         Only error is an error.
15508
15509         * gst/gstbin.c: (gst_bin_change_state):
15510         Better debugging.
15511
15512         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15513         Also call pad_block in pad alloc.
15514
15515         * gst/gstutils.c: (gst_flow_get_name):
15516         Better debugging.
15517
15518 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15519
15520         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15521         (gst_base_src_get_range):
15522           Fix documentation typos. Add some more debug info.
15523
15524 2005-09-29  David Schleef  <ds@schleef.org>
15525
15526         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15527           more end-user friendly.
15528         * tools/gst-inspect.c: (main): Check if command-line argument is
15529           a file and attempt to load that file as a plugin.
15530
15531 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15532
15533         * check/gst/gstbin.c:
15534         * check/states/sinks.c:
15535           fix tests for the new warning
15536         * check/gst/gstpipeline.c:
15537           add a test for pipeline and bus interaction
15538         * gst/gstelement.c:
15539           elements should be NULL if they get disposed; add a warning if not
15540
15541 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15542
15543         * gst/gstobject.c:
15544           for 2.6 refcounting, make debug log more correct by printing
15545           the actual refcounts at the time of swap (Wim)
15546
15547 2005-09-29  Andy Wingo  <wingo@pobox.com>
15548
15549         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15550         removes signal watches previously added via
15551         gst_bus_add_signal_watch.
15552         (gst_bus_add_signal_watch): Don't return the source id, just store
15553         it on the bus if there wasn't an id already.
15554
15555         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15556         add_signal_watch and remove_signal_watch.
15557
15558 2005-09-29  Edward Hervey  <edward@fluendo.com>
15559
15560         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15561         Better if we actually iterate the list :)
15562
15563 2005-09-29  Wim Taymans  <wim@fluendo.com>
15564
15565         * check/gst/gstbin.c: (GST_START_TEST):
15566         Change for new bus API.
15567
15568         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15569         (send_messages), (GST_START_TEST), (gstbus_suite):
15570         Change for new bus signal API.
15571
15572         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15573         (gst_bus_source_prepare), (gst_bus_source_check),
15574         (gst_bus_create_watch), (gst_bus_add_watch_full),
15575         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15576         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15577         * gst/gstbus.h:
15578         Remove support for multiple GSources operating on different
15579         message types as it is too complex and unneeded when using
15580         signals.
15581         Added support for receiving signals from the bus.
15582
15583 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15584
15585         * docs/libs/tmpl/gstdataprotocol.sgml:
15586         * docs/manual/advanced-dataaccess.xml:
15587         * gst/elements/gstcapsfilter.c:
15588         * gst/gstutils.c:
15589           rename filter-caps to caps property
15590
15591 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15594           More robust fraction string parsing.
15595
15596         * docs/pwg/appendix-porting.xml:
15597           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15598
15599 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15600
15601         * gst/gstcaps.c: (gst_caps_do_simplify):
15602           Thou shalt not free a structure and then continue using it
15603           in the next loop iteration.
15604
15605         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15606         (gst_caps_suite):
15607           Add test case for caps simplification.
15608
15609 2005-09-29  Wim Taymans  <wim@fluendo.com>
15610
15611         * check/gst/gstbin.c: (GST_START_TEST):
15612         Oops.
15613
15614 2005-09-29  Wim Taymans  <wim@fluendo.com>
15615
15616         * check/gst/gstbin.c: (GST_START_TEST):
15617         Add bus to bin.
15618
15619         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15620         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15621         (find_element), (gst_bin_sort_iterator_next),
15622         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15623         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15624         (gst_bin_change_state), (gst_bin_dispose):
15625         A bin does not have a bus, it gets the bus from the parent.
15626
15627         * gst/gstelement.c: (gst_element_requires_clock),
15628         (gst_element_provides_clock), (gst_element_is_indexable),
15629         (gst_element_is_locked_state), (gst_element_change_state),
15630         (gst_element_set_bus_func):
15631         Small cleanups.
15632
15633         * gst/gstpipeline.c: (gst_pipeline_class_init),
15634         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15635         The pipeline provides a bus.
15636
15637 2005-09-28  Johan Dahlin  <johan@gnome.org>
15638
15639         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15640         gst_structure_get_enum instead of gst_structure_get_int
15641
15642         * gst/gststructure.c (gst_structure_get_enum): Impl.
15643
15644         * gst/gststructure.h (gst_structure_get_enum): Add
15645
15646         * docs/gst/gstreamer-sections.txt: Ditto
15647
15648         * gst/gstmessage.c (gst_message_new_state_changed): Use
15649         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15650         which does introspection.
15651         Reviewed by Christian Schaller
15652
15653 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15654
15655         * gst/gstinfo.c: (gst_debug_log_default):
15656           don't do dummy g_strdup()s
15657         * libs/gst/controller/gstcontroller.c:
15658         (on_object_controlled_property_changed),
15659         (gst_controlled_property_new), (gst_controller_new_valist),
15660         (gst_controller_new_list),
15661         (gst_controller_remove_properties_valist), (gst_controller_set),
15662         (gst_controller_get), (gst_controller_sync_values),
15663         (gst_controller_get_value_array), (_gst_controller_class_init),
15664         (gst_controller_get_type):
15665         * libs/gst/controller/gstcontroller.h:
15666         * libs/gst/controller/gstinterpolation.c:
15667         (gst_controlled_property_find_timed_value_node):
15668           convert // to /**/ comments
15669
15670 2005-09-28  Wim Taymans  <wim@fluendo.com>
15671
15672         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15673         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15674         (gst_bus_sync_signal_handler):
15675         * gst/gstbus.h:
15676         Added async-message and sync-message signals to the bus.
15677         Added helper BusFunc to emit signals for all posted messages.
15678
15679         * gst/gstmessage.c: (gst_message_type_get_name),
15680         (gst_message_type_to_quark), (gst_message_get_type):
15681         * gst/gstmessage.h:
15682         Register quarks for message names.
15683
15684 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15685
15686         * docs/libs/gstreamer-libs-sections.txt:
15687         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15688         (gst_controller_new_list):
15689         * libs/gst/controller/gstcontroller.h:
15690           added another constructor for language bindings
15691
15692 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15693
15694         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15695           add another check
15696         * gst/gstbus.c:
15697           add some doc
15698         * gst/gstinfo.c: (_gst_debug_init):
15699           slightly more readable color for refcount debugging
15700
15701 2005-09-28  Wim Taymans  <wim@fluendo.com>
15702
15703         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15704         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15705         (find_element), (gst_bin_sort_iterator_next),
15706         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15707         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15708         (gst_bin_change_state), (gst_bin_dispose):
15709         Small doc fixes. get_clock -> provide_clock.
15710
15711         * gst/gstelement.c: (gst_element_class_init),
15712         (gst_element_provides_clock), (gst_element_provide_clock),
15713         (gst_element_get_clock), (gst_element_commit_state),
15714         (gst_element_lost_state):
15715         * gst/gstelement.h:
15716         Make get/set_clock() symetric. Add provide_clock vmethod since
15717         that is actually what this function does.
15718
15719         * gst/gstpipeline.c: (gst_pipeline_class_init),
15720         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15721         (gst_pipeline_get_clock):
15722         get_clock -> provide_clock.
15723
15724 2005-09-28  Andy Wingo  <wingo@pobox.com>
15725
15726         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15727         lieu of real docs...
15728
15729         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15730
15731 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15732
15733         * gst/elements/gstcapsfilter.c:
15734         * gst/elements/gstfakesink.c:
15735         * gst/elements/gstfakesrc.c:
15736         * gst/elements/gstfdsink.c:
15737         * gst/elements/gstfdsrc.c:
15738         * gst/elements/gstfilesink.c:
15739         * gst/elements/gstfilesrc.c:
15740         * gst/elements/gstidentity.c:
15741         * gst/elements/gsttee.c:
15742         * gst/elements/gsttypefindelement.c:
15743           Make element details static.
15744
15745 2005-09-28  Wim Taymans  <wim@fluendo.com>
15746
15747         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15748         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15749         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15750         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15751         (gst_bin_change_state), (gst_bin_dispose):
15752         Some documentation updates.
15753         Clean up dispose handlers.
15754
15755         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15756         * gst/gstpad.c: (gst_pad_dispose):
15757         Clean up dispose handler.
15758
15759         * gst/gstpipeline.c: (gst_pipeline_change_state):
15760         Removed spurious UNLOCK.
15761
15762 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15763
15764         * docs/gst/gstreamer-sections.txt:
15765         * gst/base/gstbasesrc.h:
15766         * gst/gstelement.h:
15767         * gst/gstevent.h:
15768         * gst/gstobject.h:
15769         * gst/gstpad.h:
15770         * gst/gstpipeline.c:
15771         * gst/gstpipeline.h:
15772         * gst/gstutils.h:
15773         * gst/gstxml.h:
15774           added two new functions to the docs
15775                 documents all undocumented GstXXXFlags
15776                 completed some incomplete docs 
15777
15778 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15779
15780         * gst/gstbin.c: (gst_bin_dispose):
15781         * gst/gstelement.c: (gst_element_dispose):
15782           remove now useless and leaky resurrection code in dispose
15783         * gst/base/gstbasesrc.c: (gst_base_src_init):
15784         * gst/gstelementfactory.c: (gst_element_factory_create):
15785         * gst/gstobject.c: (gst_object_set_parent):
15786           add some debugging
15787
15788 2005-09-27  Wim Taymans  <wim@fluendo.com>
15789
15790         * docs/design/part-TODO.txt:
15791         Update TODO.
15792
15793         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15794         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15795         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15796         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15797         (gst_bin_change_state):
15798         * gst/gstelement.h:
15799         Remove element variable, we keep element info in the iterator now.
15800
15801 2005-09-27  Andy Wingo  <wingo@pobox.com>
15802
15803         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15804         values.
15805
15806 2005-09-27  Wim Taymans  <wim@fluendo.com>
15807
15808         * check/gst/gstbin.c: (GST_START_TEST):
15809         Enable check that works now.
15810
15811         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15812         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15813         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15814         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15815         (gst_bin_change_state):
15816         * gst/gstbin.h:
15817         Redid the state change algorithm using a topological sort algo.
15818         Handles all cases correctly.
15819         Exposed iterator for state change order.
15820
15821         * gst/gstelement.h:
15822         Temp storage for state changes. Need to get rid of this soon.
15823
15824 2005-09-27  Wim Taymans  <wim@fluendo.com>
15825
15826         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15827         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15828         (link_fold_func), (gst_pad_proxy_setcaps):
15829         Leak fixes, the fold functions need to unref the passed object and
15830         _get_parent_*() returns ref to parent.
15831
15832 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15833
15834         * check/gst/gstbuffer.c: (test_make_writable):
15835           Plug leak in test case and fix 'make check-valgrind'
15836
15837 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15838
15839         * gst/gstbuffer.c: (gst_subbuffer_init):
15840           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15841           works correctly in all circumstances (we could have just copied
15842           the parent buffer's readonly flag, but conceptually it seems
15843           cleaner to mark all subbuffers as read-only). (based on patch
15844           by Alessandro Decina, #314710).
15845         
15846         * check/gst/gstbuffer.c: (create_read_only_buffer),
15847         (test_make_writable), (test_subbuffer_make_writable),
15848         (gst_test_suite):
15849           Add some tests for gst_buffer_make_writable().
15850
15851 2005-09-27  Wim Taymans  <wim@fluendo.com>
15852
15853         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15854         use gst_object_has_ancestor().
15855
15856         * gst/gstobject.c: (gst_object_has_ancestor):
15857         * gst/gstobject.h:
15858         gst_object_has_ancestor() copied from gstbin.c as it is a
15859         useful function.
15860
15861         * tests/instantiate/create.c: (create_all_elements):
15862         * tests/lat.c: (handoff_src), (handoff_sink):
15863         * tests/sched/runxml.c: (main):
15864         * tests/seeking/seeking1.c: (main):
15865         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15866         (main):
15867         Fix compilation of some tests.
15868
15869 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15870
15871         * gst/gsterror.h:
15872           Remove comment. GST_TYPE_G_ERROR is here to stay,
15873           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15874           (#316961, #300610).
15875
15876 2005-09-26  Wim Taymans  <wim@fluendo.com>
15877
15878         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15879         Added check that shows error in state change order.
15880
15881 2005-09-26  Wim Taymans  <wim@fluendo.com>
15882
15883         * gst/gstbin.c: (gst_bin_change_state):
15884         Make state change function use 3 queues again, we were
15885         adding elements in the wrong order.
15886
15887         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15888         Some debug info,
15889
15890         * gst/gstpad.c: (gst_pad_dispose):
15891         Added some debug info first.
15892
15893 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15894
15895         * docs/design/draft-push-pull.txt:
15896         * docs/design/part-events.txt:
15897         * docs/design/part-overview.txt:
15898         * docs/design/part-scheduling.txt:
15899           Replace all _pull_region() with _pull_range()
15900           
15901 2005-09-26  Andy Wingo  <wingo@pobox.com>
15902
15903         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15904
15905         * check/gst-libs/controller.c: Update for controller api change.
15906
15907         * configure.ac: 
15908         * tests/Makefile.am:
15909         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15910         over by GLib bug 118439.
15911         
15912         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15913         routines to a function.
15914
15915         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15916
15917         * libs/gst/controller/gsthelper.c:
15918         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15919         (gst_object_sync_values): Renamed from sink_values. Ugh.
15920
15921         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15922
15923         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15924         Renamed from controller_key, as it is exported.
15925
15926         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15927
15928 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15929
15930         * gst/Makefile.am:
15931         * gst/gst.h:
15932         * gst/gstpad.h:
15933         * gst/gstpadtemplate.h:
15934         * gst/gstquery.c:
15935         * gst/gstquery.h:
15936         * gst/gstqueryutils.c:
15937         * gst/gstqueryutils.h:
15938           remove queryutils headers after moving the two used functions
15939           to gstquery.  also fixes build problem for gstsiddec
15940
15941 2005-09-26  Michael Smith <msmith@fluendo.com>
15942
15943         * tools/gst-launch.1.in:
15944         Correct documentation in manpage of debug syntax
15945
15946 2005-09-26  Wim Taymans  <wim@fluendo.com>
15947
15948         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15949         (gst_base_src_is_seekable), (gst_base_src_change_state):
15950         Some more debugging info.
15951
15952 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15953
15954         * docs/gst/gstreamer-sections.txt:
15955         * gst/base/gstbasetransform.h:
15956         * gst/gstindex.h:
15957           added more docs
15958
15959 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15960
15961         * docs/gst/.cvsignore:
15962         * docs/gst/tmpl/.cvsignore:
15963         * docs/gst/tmpl/gstpipeline.sgml:
15964         * docs/gst/tmpl/gstplugin.sgml:
15965         * gst/gstpipeline.c:
15966         * gst/gstplugin.c:
15967         * gst/gstplugin.h:
15968           inlined the last two docs files
15969           removed the tmpl directory from cvs (no more conflicts here!)
15970
15971 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15972
15973         * docs/gst/gstreamer-sections.txt:
15974         * docs/gst/tmpl/.cvsignore:
15975         * docs/gst/tmpl/gstpad.sgml:
15976         * docs/gst/tmpl/gstpadtemplate.sgml:
15977         * gst/Makefile.am:
15978         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15979         (gst_pad_finalize), (gst_pad_set_pad_template):
15980         * gst/gstpad.h:
15981         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15982         (gst_pad_template_class_init), (gst_pad_template_init),
15983         (gst_pad_template_dispose), (name_is_valid),
15984         (gst_static_pad_template_get), (gst_pad_template_new),
15985         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15986         (gst_pad_template_pad_created):
15987         * gst/gstpadtemplate.h:
15988           inlined two more docs
15989           factored gstpadtemplate out of gstpad
15990
15991 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15992
15993         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15994         (test_children_state_change_order_semi_sink):
15995           Fix test case: we can't rely on a fixed state change order when
15996           going from READY => PAUSED because the sink might commit its 
15997           new state first when the first buffer created by the source 
15998           reaches the sink before the source has finished its change state.
15999           (Test case still fails at times, see #316856, comment 5 onwards)
16000
16001 2005-09-24  Wim Taymans  <wim@fluendo.com>
16002
16003         * docs/design/part-events.txt:
16004         * docs/design/part-gstbus.txt:
16005         * docs/design/part-gstpipeline.txt:
16006         * docs/design/part-messages.txt:
16007         * docs/design/part-overview.txt:
16008         * docs/design/part-segments.txt:
16009         * gst/gstbin.c:
16010         * gst/gstbuffer.c:
16011         * gst/gstclock.c:
16012         * gst/gstelement.c:
16013         * gst/gstevent.c:
16014         * gst/gstfilter.c:
16015         * gst/gstiterator.c:
16016         Various documentation updates.
16017
16018 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16019
16020         * gst/gstclock.h:
16021           Well, that's embarassing.  Luckily we weren't using
16022           GST_CLOCK_DIFF anywhere.
16023
16024 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16025
16026         * common/gtk-doc.mak:
16027           don't fail on building XML, FC4 slave shows a bunch of doc
16028           missing bits that I don't get
16029         * gst/gstpad.c:
16030         * gst/gstpipeline.c:
16031         * gst/gststructure.c:
16032           some doc updates
16033
16034 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
16035
16036         * docs/design/part-gstbin.txt:
16037         * docs/design/part-gstbus.txt:
16038         * gst/gstbus.c:
16039           Add blurb about how the bus goes into flushing mode and
16040           drops all messages when its bin goes from READY into NULL 
16041           state.
16042
16043 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16044
16045         * docs/gst/gstreamer-sections.txt:
16046         * gst/gststructure.c: (gst_structure_get_clock_time):
16047         * gst/gststructure.h:
16048           add a method to get a GstClockTime out of a structure
16049
16050 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
16051
16052         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16053         (test_children_state_change_order_semi_sink), (gst_bin_suite):
16054           Added test to check state change order in bins (can still be made
16055           to fail here under heavy disk load; bails out with 'Push on pad
16056           fakesink:sink0, but it was not activated in push mode').
16057
16058         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16059           Fix state change order when there is only a semi sink (#316856)
16060
16061         * gst/gstbus.c: (gst_bus_class_init):
16062           Use _class_peek_parent(), not _class_ref(); fix docs to say
16063           'default main context' instead of 'mainloop' where that is
16064           what's meant.
16065
16066         * gst/gstelement.c: (gst_element_commit_state),
16067         (gst_element_set_state):
16068           Fix typos in debug messages
16069
16070 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16071
16072         * docs/README:
16073         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16074         * gst/gstpluginfeature.c:
16075         * gst/gstutils.c:
16076           various doc updates
16077         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16078           change an assert into an error until it gets fixed properly
16079
16080 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
16081
16082         * docs/gst/gstreamer-sections.txt:
16083         * docs/gst/tmpl/.cvsignore:
16084         * docs/gst/tmpl/gstelement.sgml:
16085         * docs/gst/tmpl/gstinfo.sgml:
16086         * docs/gst/tmpl/gstobject.sgml:
16087         * gst/gstelement.c:
16088         * gst/gstelement.h:
16089         * gst/gstinfo.c:
16090         * gst/gstinfo.h:
16091         * gst/gstobject.c: (gst_object_class_init):
16092         * gst/gstobject.h:
16093           inlined 3 more biiiig doc files and added some missing docs on the fly
16094
16095 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16096
16097         * check/gst/.cvsignore:
16098         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16099         * gst/gstregistryxml.c: (load_plugin),
16100         (gst_registry_xml_save_plugin):
16101           put back source in registry.  add checks for find_plugin.
16102         * testsuite/states/bin.c: (assert_state), (empty_bin),
16103         (test_adding_one_element), (main):
16104         * testsuite/states/locked.c: (main):
16105           some compile/run fixes
16106
16107 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16108
16109         * check/gst/gstvalue.c: (GST_START_TEST):
16110           fix leaks in the test itself
16111
16112 2005-09-22  Wim Taymans  <wim@fluendo.com>
16113
16114         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16115         (gst_base_sink_send_event), (gst_base_sink_peer_query),
16116         (gst_base_sink_query):
16117         Prepare for more accurate position reporting and query
16118         handling.
16119
16120         * gst/gstelement.c: (gst_element_send_event),
16121         (gst_element_set_state):
16122         Add some comment.
16123
16124 2005-09-22  Wim Taymans  <wim@fluendo.com>
16125
16126         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16127         (gst_query_parse_segment):
16128         * gst/gstquery.h:
16129         More documentation.
16130         Add segment query for future use.
16131
16132 2005-09-22  Wim Taymans  <wim@fluendo.com>
16133
16134         * gst/gstbin.c: (gst_bin_add_func):
16135         Some more debug info.
16136
16137         * gst/gstelement.c: (gst_element_send_event):
16138         Simplify send_event
16139
16140         * gst/gstelement.h:
16141         Don't know how flags got broken.
16142
16143         * gst/gstquery.h:
16144         Added new query.
16145
16146 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
16147
16148         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16149           Add simplistic test suite for GST_TYPE_DATE serialisation and
16150           deserialisation.
16151
16152 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
16153
16154         * docs/gst/gstreamer-sections.txt:
16155         * gst/gststructure.c: (gst_structure_set_valist),
16156         (gst_structure_get_date):
16157         * gst/gststructure.h:
16158         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16159         (gst_date_copy), (gst_value_compare_date),
16160         (gst_value_serialize_date), (gst_value_deserialize_date),
16161         (gst_value_transform_date_string),
16162         (gst_value_transform_string_date), (_gst_value_initialize):
16163         * gst/gstvalue.h:
16164           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16165           bunch of utility functions along with a hack that checks that
16166           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16167           is required. Part of the grand scheme in #170777.
16168
16169 2005-09-22  Andy Wingo  <wingo@pobox.com>
16170
16171         * gst/gstconfig.h.in: Psych out gtk-doc.
16172
16173         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16174
16175         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16176
16177         * tools/gst-inspect.c (print_element_list): Plug some
16178         inconsequential leaks.
16179
16180         * gst/gstregistry.c (gst_registry_get_default): Doc.
16181
16182         * check/gst/gstplugin.c: 
16183         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16184         * gst/gstelementfactory.c (gst_element_factory_create): 
16185         * gst/gstindexfactory.c (gst_index_factory_create): Update for
16186         refcount changes.
16187
16188         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16189         (gst_plugin_feature_load): Doc, don't eat refs.
16190
16191         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16192         (gst_plugin_list_free): Doc.
16193         (gst_plugin_load_file): Doc updates.
16194
16195         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16196         accessors returning refcounted objects, return a ref.
16197
16198         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16199         accessor for caps. IDEMPOTENCE. Oh yes.
16200
16201 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
16202
16203         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16204
16205         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16206         (_gst_debug_register_funcptr):
16207           Add mutex to serialise access to the hash table with
16208           the function pointer => function name string mapping;
16209           make that hash table static scope (#316809).
16210
16211         * gst/registries/.cvsignore:
16212           Remove left-over file.
16213
16214 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
16215
16216         * docs/pwg/appendix-porting.xml:
16217           And something about newsegment events and caps-on-buffers to
16218           the porting guide (feel free to improve).
16219
16220 2005-09-21  Andy Wingo  <wingo@pobox.com>
16221
16222         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16223         data and event probes on the same pad.
16224         (test_buffer_probe_once): Test that removing probes from within
16225         the probe functions works.
16226
16227 2005-09-21  Andy Wingo  <wingo@pobox.com>
16228
16229         * check/gst/gstutils.c: New file.
16230         (test_buffer_probe_n_times): A simple buffer probe test. More to
16231         come, foolios.
16232
16233         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16234         have-data::buffer, not have-data.
16235         (gst_pad_add_event_probe): Likewise for have-data::event.
16236         (gst_pad_add_data_probe): More docs. The part about 'resolving the
16237         peer' isn't quite right yet though.
16238         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
16239         (gst_pad_remove_data_probe): Change to take the guint handler_id
16240         as their arg, not the function+data, which is more glib-like.
16241
16242         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16243         the signal emission to indicate if the data is a buffer or an
16244         event.
16245         (gst_pad_get_type): Initialize buffer and event quarks.
16246         (gst_pad_class_init): have-data is now a detailed signal, yes it
16247         is.
16248
16249 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
16250
16251         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16252         * gst/gstutils.c: (gst_util_set_value_from_string),
16253         (gst_util_set_object_arg):
16254           Don't put functional code in g_return_if_fail() or
16255           g_return_val_if_fail() statements, otherwise things will 
16256           break when G_DISABLE_CHECKS is defined during compilation.
16257
16258 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16259
16260         * docs/gst/tmpl/.cvsignore:
16261         * docs/gst/tmpl/gstvalue.sgml:
16262         * gst/gstvalue.c:
16263         * gst/gstvalue.h:
16264           inlied another one and added  some obvious docs
16265
16266 2005-09-21  Wim Taymans  <wim@fluendo.com>
16267
16268         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16269         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16270         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16271         (gst_fdsrc_get_property), (gst_fdsrc_create):
16272         * gst/elements/gstfdsrc.h:
16273         Properly implement fdsrc. Removed signal and timeout,
16274         better implemented somewhere else.
16275
16276 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16277
16278         * docs/gst/tmpl/.cvsignore:
16279         * docs/gst/tmpl/gstimplementsinterface.sgml:
16280         * gst/gstinterface.c:
16281           inlined more docs
16282
16283 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16284
16285         * docs/gst/gstreamer-sections.txt:
16286         * docs/gst/tmpl/.cvsignore:
16287         * docs/gst/tmpl/gstenumtypes.sgml:
16288           remove obsolete doc file
16289
16290 2005-09-21  David Schleef  <ds@schleef.org>
16291
16292         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16293         little beer, fix a little leak.
16294
16295 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16296
16297         * docs/gst/gstreamer-docs.sgml:
16298         * docs/gst/gstreamer-sections.txt:
16299         * docs/gst/tmpl/.cvsignore:
16300         * gst/Makefile.am:
16301         * gst/gst.h:
16302         * gst/gstbin.c:
16303         * gst/gstelement.h:
16304         * gst/gstindex.c: (gst_index_class_init):
16305         * gst/gstindex.h:
16306         * gst/gstindexfactory.c: (gst_index_factory_get_type),
16307         (gst_index_factory_class_init), (gst_index_factory_init),
16308         (gst_index_factory_finalize), (gst_index_factory_new),
16309         (gst_index_factory_destroy), (gst_index_factory_find),
16310         (gst_index_factory_create), (gst_index_factory_make):
16311         * gst/gstindexfactory.h:
16312         * gst/gstpluginfeature.c:
16313         * gst/gstpluginfeature.h:
16314         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16315           more docs inlined, splitted gstindex.{c,h}
16316
16317 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16318
16319         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16320           fix a leak
16321
16322 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
16323
16324         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16325           Set sync to FALSE by default.
16326
16327 2005-09-20  Wim Taymans  <wim@fluendo.com>
16328
16329         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16330         (gst_base_sink_init):
16331         Make sync property settable from subclass.
16332
16333         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16334         (gst_fake_sink_change_state):
16335         Set sync to FALSE by default.
16336
16337 2005-09-20  Wim Taymans  <wim@fluendo.com>
16338
16339         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16340         * tools/gst-launch.c: (main):
16341         The timeout handler should have lower priority than the source
16342         so we don't timeout before popping a message with 0 timeout.
16343         Dump error messages after failed state change.
16344
16345 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
16346
16347         * tools/gst-inspect.c: (print_element_properties_info):
16348           Fix two typos.
16349
16350 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16351
16352         * check/gst/gstevent.c:
16353         * gst/elements/gstfakesink.c:
16354         * gst/elements/gstfakesink.h:
16355           remove the sync property from fakesink.
16356           has the side effect of setting sync TRUE
16357           for fakesink, which is a change.  Anyone who knows how
16358           to fix this nicely in a GObject-y way, feel free.
16359
16360 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16361
16362         * docs/gst/gstreamer-docs.sgml:
16363           remove probe refsection
16364
16365 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16366
16367         * check/Makefile.am:
16368           disable valgrinding the controller test again
16369         * docs/gst/gstreamer-sections.txt:
16370           update for api-changes
16371
16372 2005-09-20  Wim Taymans  <wim@fluendo.com>
16373
16374         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16375         (gst_base_sink_set_property), (gst_base_sink_get_property),
16376         (gst_base_sink_do_sync):
16377         * gst/base/gstbasesink.h:
16378         Added sync property to basesink to disable clock sync.
16379
16380 2005-09-20  Andy Wingo  <wingo@pobox.com>
16381
16382         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16383         eating the caller's refcount.
16384
16385         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
16386         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16387         refcount.
16388
16389         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16390         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16391         of GLib 2.8 public, so we can know which refcount to check in
16392         tests.
16393
16394         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16395         (gst_object_init): Only set the gst refcount if we're going ahead
16396         with the refcount hack.
16397
16398 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16399
16400         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16401         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16402           more leaks plumbed, added more debug-logging
16403         * gst/gstmacros.h:
16404           whitespace fix
16405
16406 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16407
16408         * gst/gstmessage.c:
16409           remove include of gstmemchunk.h
16410
16411 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16412
16413         * gst/gstclock.c: (_gst_clock_id_free):
16414           Commit from the Political Party For More Atomic CVS Commits,
16415           so that people don't waste too much of their day fishing
16416           out obvious leaks out of massive commits.
16417           Oh, and fix a pretty damn obvious leak in the memchunk
16418           removal code.
16419
16420 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16421
16422         * check/Makefile.am:
16423         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16424           plug mem-leak, re-add to valgrindable tests
16425
16426 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16427
16428         * gst/gstplugin.h:
16429           unbreak the build for those who have chronic arthritis
16430           and typing "make check" is just too taxing on the hands
16431
16432 2005-09-20  Andy Wingo  <wingo@pobox.com>
16433
16434         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16435         really want it out, you should fix plugins at the same time.
16436
16437 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
16438
16439         * configure.ac:
16440         * docs/gst/gstreamer-sections.txt:
16441         * gst/gstobject.c:
16442           added missing symbols to api docs
16443           disable ref-count hack if we have glib >= 2.8
16444
16445 2005-09-19  David Schleef  <ds@schleef.org>
16446
16447         * docs/gst/Makefile.am: Ignore a few more internal headers
16448         * docs/gst/gstreamer-docs.sgml: Remove old sections
16449         * docs/gst/gstreamer-sections.txt: Remove old sections
16450         * docs/gst/tmpl/gstobject.sgml: update
16451         * docs/gst/tmpl/gstplugin.sgml: update
16452         * docs/gst/tmpl/gstpluginfeature.sgml: update
16453         * docs/random/ds/0.9-suggested-changes: update.
16454         * gst/Makefile.am: remove memchunk and trashstack, since they're
16455           not used.
16456         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16457         * gst/gst.h: don't include some headers
16458         * gst/gstchildproxy.c: add gstmarshal.h
16459         * gst/gstclock.c: Don't use memchunks
16460         * gst/gstminiobject.c: Add some docs
16461         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16462         * gst/gstobject.h: same
16463         * gst/gstplugin.c: include gstmacros.h
16464         * gst/gstplugin.h: don't include gstmacros.h, since it's private
16465         * gst/gstquery.c: don't use memchunks
16466         * gst/gstregistry.c: rename gst_registry_deinit()
16467         * gst/gstregistry.h: same
16468
16469 2005-09-19  David Schleef  <ds@schleef.org>
16470
16471         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16472         * docs/libs/gstreamer-libs-sections.txt:
16473         * docs/libs/tmpl/gstgetbits.sgml:
16474         * docs/libs/tmpl/gstputbits.sgml:
16475
16476 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
16477
16478         * win32/gstenumtypes.c:
16479         * win32/gstenumtypes.h:
16480           Update.
16481
16482 2005-09-19  Wim Taymans  <wim@fluendo.com>
16483
16484         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16485         Automatically PAUSE and RESUME a pipeline when a flushing seek
16486         is performed.
16487
16488 2005-09-19  Andy Wingo  <wingo@pobox.com>
16489
16490         * gst/gstregistry.h: Spacing fixen.
16491
16492 2005-09-19  Wim Taymans  <wim@fluendo.com>
16493
16494         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16495         Handle state change failure more correctly.
16496
16497 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16498
16499         * check/Makefile.am:
16500         * check/pipelines/cleanup.c: (run_pipeline):
16501         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16502         (GST_START_TEST):
16503           enable cleanup again after fixing the leak
16504         * docs/README:
16505           some more info on docs
16506
16507 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16508
16509         * check/Makefile.am:
16510           re-enable tests now that leaks are plugged
16511         * check/gst/gst.c:
16512         * check/gst/gstbin.c:
16513         * check/gst/gstpipeline.c:
16514           add some more tests while fixing leaks
16515         * common/check.mak:
16516           make sure binaries are uptodate when valgrinding/gdbing
16517         * gst/gst.c:
16518         * gst/gstelementfactory.c:
16519           remove a ref too many, and add a FIXME for when we get
16520           round to disposing of classes
16521         * gst/gstplugin.c:
16522           fix the refcounting when loading a plugin from a file and
16523           the code pretends that the pointer is the same even though
16524           of course it can change
16525         * gst/gstpluginfeature.c:
16526           unref plugins marked cached (a bit confusing as a name)
16527           as the docs state should be done
16528           various doc additions to explain refcounting
16529         * gst/gstregistry.c:
16530         * gst/gstregistryxml.c:
16531           debugging
16532
16533 2005-09-19  Wim Taymans  <wim@fluendo.com>
16534
16535         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16536         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16537         (send_messages), (GST_START_TEST), (gstbus_suite):
16538         * check/gst/gstpipeline.c: (GST_START_TEST):
16539         * check/pipelines/cleanup.c: (run_pipeline):
16540         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16541         (GST_START_TEST):
16542         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16543         (gst_bus_source_check), (gst_bus_source_dispatch),
16544         (gst_bus_create_watch), (gst_bus_add_watch_full),
16545         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16546         * gst/gstbus.h:
16547         * tools/gst-launch.c: (event_loop):
16548         * tools/gst-md5sum.c: (event_loop):
16549         GstBusHandler -> GstBusFunc, return value has the same meaning as
16550         any other GSource (FALSE == remove source).
16551         _add_watch() and _add_watch_full() now take a MessageType mask to
16552         only handle specific types of messages.
16553         _poll() returns the GstMessage instead of the message type to avoid
16554         race conditions.
16555         _have_pending() takes a MessageType mask now too.
16556         Added testsuite for multiple bus watches.
16557         Fix testsuites and applications for new bus API.
16558
16559 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16560
16561         * check/Makefile.am:
16562           mark a bunch of the tests as to fix until we fix them
16563
16564 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16565
16566         * common/check.mak:
16567           use GST_PLUGIN settings for valgrind tests as well, so we're
16568           valgrinding the correct thing
16569         * gst/gst.c: (init_post):
16570           plug another leak
16571
16572 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16573
16574         * gst/gst.c: (init_post), (gst_deinit):
16575         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16576         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16577         * gst/gstindex.c: (gst_index_factory_class_init),
16578         (gst_index_factory_finalize):
16579         * gst/gstobject.c: (gst_object_dispose):
16580         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16581         (gst_plugin_load_file), (gst_plugin_desc_free):
16582         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16583         (gst_plugin_feature_finalize):
16584         * gst/gstregistry.c: (gst_registry_class_init),
16585         (gst_registry_init), (gst_registry_finalize),
16586         (gst_registry_get_default), (gst_registry_deinit):
16587         * gst/gstregistry.h:
16588         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16589           various cleanups and memleak plugging.  make valgrind is happy now.
16590
16591 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16592
16593         * common/check.mak:
16594           add a check-valgrind target
16595
16596 2005-09-18  David Schleef  <ds@schleef.org>
16597
16598         * tools/gst-inspect.c: Revert the GOption code.
16599
16600 2005-09-17  David Schleef  <ds@schleef.org>
16601
16602         * check/Makefile.am: Fix environment variables.
16603         * check/gst/gstplugin.c: Fix for API changes.
16604         * tools/gst-inspect.c: Fix for API changes.
16605         * tools/gst-xmlinspect.c: Fix for API changes.
16606         * gst/gstelementfactory.c:
16607         * gst/gstplugin.c:
16608         * gst/gstplugin.h:
16609         * gst/gstpluginfeature.c:
16610         * gst/gstpluginfeature.h:
16611         * gst/gstregistry.c:
16612         * gst/gstregistry.h:
16613         * gst/gstregistryxml.c:
16614         * gst/gsttypefind.c:
16615         * gst/gsttypefindfactory.c:
16616         * gst/indexers/gstfileindex.c:
16617         * gst/indexers/gstmemindex.c:
16618         * gst/schedulers/Makefile.am:
16619           Change registry to keep track of both plugins and features,
16620           removing the feature tracking from plugins themselves.
16621
16622 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16623
16624         * check/Makefile.am:
16625         * tools/gst-register.1.in:
16626           remove gst-register
16627
16628 2005-09-15  David Schleef  <ds@schleef.org>
16629
16630         * check/gst/gstplugin.c:
16631         * gst/gstelementfactory.c:
16632         * gst/gstplugin.c:
16633         * gst/gstpluginfeature.c:
16634         * gst/gstregistry.c:
16635           Getting tired of debugging.  Disabled all the unreffing of
16636           plugins and features, which fixes the segfaults, but of
16637           course leaks like crazy.  At least playbin works.
16638
16639 2005-09-15  David Schleef  <ds@schleef.org>
16640
16641         * check/gst/gstplugin.c: (register_check_elements),
16642         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16643         More testing
16644         * gst/elements/gsttypefindelement.c: Fix refcounting.
16645         * gst/gsttypefind.c:
16646         * gst/gsttypefindfactory.c:
16647         * gst/gsttypefindfactory.h:
16648
16649 2005-09-15  David Schleef  <ds@schleef.org>
16650
16651         * gst/gstindex.c: get refcounting correct.
16652         * gst/gstregistry.c: Handle the case where a feature/plugin is
16653           not found.
16654
16655 2005-09-15  David Schleef  <ds@schleef.org>
16656
16657         * check/Makefile.am:
16658         * check/gst/gstplugin.c: Add test
16659         * gst/gstplugin.c: Fix problems noticed by testsuite
16660         * gst/gstplugin.h:
16661         * gst/gstregistry.c: 
16662         * gst/gstregistry.h:
16663
16664 2005-09-15  David Schleef  <ds@schleef.org>
16665
16666         * gst/gstplugin.c: Implement semi-decent recounting and locking
16667           in plugins and plugin features.
16668         * gst/gstplugin.h:
16669         * gst/gstpluginfeature.c:
16670         * gst/gstpluginfeature.h:
16671         * gst/gstregistry.c:
16672
16673 2005-09-15  Michael Smith <msmith@fluendo.com>
16674
16675         * gst/gstregistry.c: (gst_registry_get_feature_list):
16676           Implement this. Makes oggdemux work; decodebin still broken.
16677
16678 2005-09-14  David Schleef  <ds@schleef.org>
16679
16680         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16681           #316076)
16682         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16683         * gst/check/Makefile.am:
16684         * libs/gst/controller/Makefile.am:
16685         * libs/gst/dataprotocol/Makefile.am:
16686
16687 2005-09-14  David Schleef  <ds@schleef.org>
16688
16689         * configure.ac: Remove getbits library.  Nothing uses it, and
16690           it should be in something like liboil if someone did want
16691           to use it.
16692         * libs/gst/Makefile.am:
16693         * libs/gst/getbits/Makefile.am:
16694         * libs/gst/getbits/gbtest.c:
16695         * libs/gst/getbits/getbits.c:
16696         * libs/gst/getbits/getbits.h:
16697         * libs/gst/getbits/gstgetbits_generic.c:
16698         * libs/gst/getbits/gstgetbits_i386.s:
16699         * libs/gst/getbits/gstgetbits_inl.h:
16700
16701 2005-09-14  David Schleef  <ds@schleef.org>
16702
16703         * gst/Makefile.am: Dist glib-compat.h
16704
16705 2005-09-14  David Schleef  <ds@schleef.org>
16706
16707         * configure.ac: Remove gst/registries, since it's no longer used.
16708         * gst/registries/Makefile.am:
16709         * gst/registries/gstlibxmlregistry.c:
16710         * gst/registries/gstlibxmlregistry.h:
16711         * gst/registries/gstxmlregistry.c:
16712         * gst/registries/gstxmlregistry.h:
16713         * gst/registries/registrytest.c:
16714
16715 2005-09-14  David Schleef  <ds@schleef.org>
16716
16717         * gst/glib-compat.h:
16718         * gst/gstregistryxml.c:
16719           Convergence is near.  Seriously.
16720
16721 2005-09-14  David Schleef  <ds@schleef.org>
16722
16723         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16724         * gst/glib-compat.h:
16725           Attempt #4 to appease the buildbots.
16726
16727 2005-09-14  David Schleef  <ds@schleef.org>
16728
16729         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16730           Attempt #3.
16731
16732 2005-09-14  David Schleef  <ds@schleef.org>
16733
16734         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16735         Attempt #2.
16736
16737 2005-09-14  David Schleef  <ds@schleef.org>
16738
16739         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16740           the new functions.
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         * gst/glib-compat.h: Add some functions that are in newer versions
16746           of glib than we care to require.
16747         * gst/gstregistryxml.c: Use them.
16748
16749 2005-09-14  David Schleef  <ds@schleef.org>
16750
16751         * po/POTFILES.in: remove gst-register.c
16752
16753 2005-09-14  David Schleef  <ds@schleef.org>
16754
16755         * docs/gst/gstreamer-docs.sgml:
16756         * docs/gst/gstreamer-sections.txt:
16757         * docs/gst/gstreamer.types:
16758         * docs/gst/tmpl/gstelement.sgml:
16759         * docs/gst/tmpl/gstplugin.sgml:
16760         * docs/gst/tmpl/gstpluginfeature.sgml:
16761           Documentation updates for registry changes.
16762
16763 2005-09-14  David Schleef  <ds@schleef.org>
16764
16765         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16766           because we don't require glib-2.8.
16767
16768 2005-09-14  David Schleef  <ds@schleef.org>
16769
16770         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16771           registries directory.
16772
16773 2005-09-14  David Schleef  <ds@schleef.org>
16774
16775         * check/Makefile.am:
16776         * check/generic/states.c:
16777         * gst/Makefile.am:
16778         * gst/gst.c:
16779         * gst/gst.h:
16780         * gst/gst_private.h:
16781         * gst/gstelementfactory.c:
16782         * gst/gstindex.c:
16783         * gst/gstinfo.c:
16784         * gst/gstplugin.c:
16785         * gst/gstplugin.h:
16786         * gst/gstpluginfeature.c:
16787         * gst/gstpluginfeature.h:
16788         * gst/gstregistry.c:
16789         * gst/gstregistry.h:
16790         * gst/gstregistrypool.c: remove
16791         * gst/gstregistrypool.h: remove
16792         * gst/gsttypefind.c:
16793         * gst/gsttypefindfactory.c:
16794         * gst/gsturi.c:
16795         * tools/Makefile.am:
16796         * tools/gst-compprep.c:
16797         * tools/gst-inspect.c:
16798         * tools/gst-register.c: remove
16799         * tools/gst-xmlinspect.c:
16800           Registry rewrite.  Changes registry from being a file created
16801           by a tool into a simple cache file created automatically by 
16802           libgstreamer.  Removed gst-register (because it's no longer
16803           needed).  Remove registry pools, because we only have one
16804           registry implementation (XML).  Fix up other subsystems as
16805           necessary.
16806
16807 2005-09-13  Michael Smith <msmith@fluendo.com>
16808
16809         * gst/gstconfig.h.in:
16810           Don't Use windows linking attributes for MinGW. Fixes #316157
16811
16812 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16813
16814         * gst/gstutils.c: (set_state_async_thread_func),
16815         (gst_element_set_state_async):
16816           Apparently people think it's better if this function doesn't
16817           try to set the state to whatever state was asked for on the first
16818           call to this function for any object.  Seriously.
16819
16820 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16821
16822         * check/gst/gstpipeline.c: (GST_START_TEST):
16823         * docs/gst/gstreamer-sections.txt:
16824         * gst/gstutils.c: (set_state_async_thread_func),
16825         (gst_element_set_state_async):
16826         * gst/gstutils.h:
16827           add a "gst_element_set_state_async" method that
16828           sets the state and starts a thread to make sure the state
16829           change completes as best as it can
16830
16831 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16832
16833         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16834           codify design+behaviour in testsuite after discussion
16835
16836 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16837
16838         * docs/gst/tmpl/gstelement.sgml:
16839         * docs/manual/appendix-quotes.xml:
16840           add a quote
16841         * gst/gstelement.c: (gst_element_set_state):
16842           add some debug
16843
16844 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16845
16846         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16847         (gst_base_transform_prepare_output_buf),
16848         (gst_base_transform_handle_buffer):
16849         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16850         (gst_capsfilter_prepare_buf):
16851           Remove the requirement for sub-classes to call the parent
16852           implementation of prepare_output_buffer with a wrapper function.
16853           
16854         * gst/gsttaglist.h:
16855         * gst/gsttagsetter.h:
16856           Fix #define wrapper
16857
16858 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16859
16860         * docs/gst/gstreamer-sections.txt:
16861           more doc cleanups
16862
16863 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16864
16865         * docs/gst/gstreamer-sections.txt:
16866         * docs/gst/tmpl/gstelement.sgml:
16867         * docs/gst/tmpl/gstplugin.sgml:
16868         * gst/gstminiobject.c:
16869         * gst/gstvalue.h:
16870           docs now stop throwing warnings
16871
16872 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16873
16874         * docs/gst/gstreamer-sections.txt:
16875         * docs/gst/gstreamer.types:
16876         * docs/gst/tmpl/gstpad.sgml:
16877         * docs/gst/tmpl/gsttypes.sgml:
16878         * gst/base/gstadapter.h:
16879         * gst/base/gstbasesink.h:
16880         * gst/base/gstbasesrc.h:
16881         * gst/gstbin.h:
16882         * gst/gstbuffer.h:
16883         * gst/gstbus.h:
16884         * gst/gstcaps.h:
16885         * gst/gstclock.h:
16886         * gst/gstelement.h:
16887         * gst/gstevent.h:
16888         * gst/gstmessage.h:
16889         * gst/gstpad.h:
16890         * gst/gststructure.c:
16891         * gst/registries/gstlibxmlregistry.h:
16892           various documentation fixes
16893
16894 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16895
16896         * docs/gst/gstreamer-sections.txt:
16897         * docs/gst/tmpl/gstvalue.sgml:
16898           rearrange gstvalue section
16899         * gst/gstutils.c: (gst_element_state_get_name):
16900           NONE -> VOID
16901         * gst/gstvalue.c: (_gst_value_initialize):
16902         * gst/gstvalue.h:
16903           doc updates
16904
16905 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16906
16907         * check/gst-libs/controller.c:
16908           Header include fix.
16909         * gst/base/gstbasetransform.c:
16910         (gst_base_transform_default_prepare_buf),
16911         (gst_base_transform_handle_buffer):
16912         * gst/base/gstbasetransform.h:
16913           Some more basetransform changes and fixes to enable sub-classes
16914           that modify buffer metadata only.
16915         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16916         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16917         (gst_capsfilter_prepare_buf):
16918           If the output pad has fixed allowed caps and input buffers 
16919           don't have any, set the fixed caps on outgoing buffers.
16920
16921 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16922         * check/elements/identity.c: (GST_START_TEST):
16923           Make the error a little clearer when the test fails because
16924           identity made a copy of the buffer.
16925         * docs/gst/gstreamer-sections.txt:
16926           New symbols in gstbasetransform.h
16927         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16928         (gst_base_transform_init), (gst_base_transform_transform_size),
16929         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16930         (gst_base_transform_default_prepare_buf),
16931         (gst_base_transform_get_unit_size),
16932         (gst_base_transform_buffer_alloc),
16933         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16934         (gst_base_transform_change_state),
16935         (gst_base_transform_set_passthrough),
16936         (gst_base_transform_set_in_place),
16937         (gst_base_transform_is_in_place):
16938         * gst/base/gstbasetransform.h:
16939           Change BaseTransform to separate in_place operate from same_caps
16940           output. in_place implies that the element can perform the transform
16941           on incoming buffers in-place, even if the caps on the output are
16942           different.
16943           Sub-class elements can now implement special buffer allocation
16944           methods for outgoing buffers if they wish to.
16945           Big documentation addition.
16946         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16947         * gst/elements/gstelements.c:
16948           Changes for basetransform modifications.
16949         * gst/elements/Makefile.am:
16950         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16951           Compile fix. Extra debug output.
16952
16953 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16954
16955         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16956         (gst_pad_suite):
16957           add tests for valid pad naming
16958         * gst/check/gstcheck.c: (gst_check_log_message_func),
16959         (gst_check_log_critical_func):
16960           add ASSERT_WARNING
16961           remove printing of code, it is fragile when the code contains
16962           % and the line number is enough info
16963         * gst/check/gstcheck.h:
16964         * gst/gstpad.c: (gst_pad_template_new):
16965           fix memleaks
16966
16967 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16968
16969         * configure.ac:
16970           say what CHECK flags we use
16971         * docs/libs/gstreamer-libs.types:
16972         * libs/gst/controller/Makefile.am:
16973         * libs/gst/controller/gst-controller.c:
16974         * libs/gst/controller/gst-controller.h:
16975         * libs/gst/controller/gst-helper.c:
16976         * libs/gst/controller/gst-interpolation.c:
16977         * libs/gst/controller/gstcontroller.c:
16978         * libs/gst/controller/gsthelper.c:
16979         * libs/gst/controller/gstinterpolation.c:
16980         * tools/gst-inspect.c: (print_plugin_info):
16981           we don't use dashes in header names
16982
16983 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16984
16985         * check/Makefile.am:
16986         * check/gst/.cvsignore:
16987         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16988         (gst_pipeline_suite), (main):
16989           adding a test for pipelines and state changes
16990         * gst/gstutils.c: (get_state_func):
16991           add some debugging
16992         * gstreamer.spec.in:
16993           fix up spec file
16994
16995 2005-09-08  Michael Smith <msmith@fluendo.com>
16996
16997         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16998         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16999         (gst_file_src_is_seekable), (gst_file_src_get_size),
17000         (gst_file_src_start):
17001         * gst/elements/gstfilesrc.h:
17002           Various fixes for unseekable, unmmapable, and non-normal files, so
17003           that fallback to read() rather than mmap() works.
17004         * gst/gstevent.c: (gst_event_new_newsegment):
17005           Allow newsegment events with segment_start == segment_end, as will
17006           correctly happen if you use filesrc on a zero-size file, for
17007           example.
17008
17009 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
17010
17011         * gst/gstplugin.c: (gst_plugin_load_file):
17012           Call g_module_close when we don't load the module
17013
17014         * gst/registries/gstlibxmlregistry.c:
17015         (gst_xml_registry_get_property):
17016           Port leak fix from 0.8
17017
17018 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
17019
17020         * docs/gst/gstreamer-docs.sgml:
17021         * docs/gst/tmpl/.cvsignore:
17022         * docs/gst/tmpl/gsttrace.sgml:
17023         * docs/gst/tmpl/gsttrashstack.sgml:
17024         * gst/Makefile.am:
17025         * gst/gst.h:
17026         * gst/gstelement.h:
17027         * gst/gstevent.h:
17028         * gst/gstmessage.c:
17029         * gst/gstmessage.h:
17030         * gst/gsttag.c:
17031         * gst/gsttag.h:
17032         * gst/gsttaginterface.c:
17033         * gst/gsttaginterface.h:
17034         * gst/gsttaglist.c:
17035         * gst/gsttaglist.h:
17036         * gst/gsttagsetter.c:
17037         * gst/gsttagsetter.h:
17038         * gst/gsttrace.c:
17039         * gst/gsttrace.h:
17040         * gst/gsttrashstack.c:
17041           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17042           inlined docs for gsttrace, gsttrashstack
17043
17044 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
17045
17046         * gst/Makefile.am:
17047         * gst/elements/gstbufferstore.h:
17048         * gst/elements/gsttypefindelement.c:
17049         * gst/elements/gsttypefindelement.h:
17050         * gst/gst.h:
17051         * gst/gsttypefind.c:
17052         * gst/gsttypefind.h:
17053         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17054         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17055         (gst_type_find_factory_dispose),
17056         (gst_type_find_factory_unload_thyself),
17057         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17058         (gst_type_find_factory_get_caps),
17059         (gst_type_find_factory_get_extensions),
17060         (gst_type_find_factory_call_function):
17061         * gst/gsttypefindfactory.h:
17062         * gst/registries/gstlibxmlregistry.c:
17063         * gst/registries/gstxmlregistry.c:
17064           splitted gsttypefind into gsttypefind, gsttypefindfactory
17065
17066 2005-09-07  Andy Wingo  <wingo@pobox.com>
17067
17068         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17069         condition whereby the pad's task function is entered before the
17070         pad_mode variable was set.
17071
17072 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
17073
17074         * gst/gstpad.c: (gst_pad_alloc_buffer):
17075           Catch misbehaving pad_alloc functions that don't
17076           set up caps and do it for them.
17077
17078 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
17079
17080         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17081           test for pipe!=NULL
17082         * docs/gst/tmpl/.cvsignore:
17083         * docs/gst/tmpl/gstmemchunk.sgml:
17084         * docs/gst/tmpl/gstparse.sgml:
17085         * docs/gst/tmpl/gsttaglist.sgml:
17086         * docs/gst/tmpl/gsttagsetter.sgml:
17087         * docs/gst/tmpl/gsttypefind.sgml:
17088         * docs/gst/tmpl/gsttypefindfactory.sgml:
17089         * gst/gstmemchunk.c:
17090         * gst/gstparse.c:
17091         * gst/gsttag.c:
17092         * gst/gsttaginterface.c:
17093         * gst/gsttypefind.c:
17094         * gst/gsttypefind.h:
17095           inlined more docs
17096
17097 === release 0.9.2 ===
17098
17099 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17100
17101         * NEWS:
17102         * RELEASE:
17103         * configure.ac:
17104           releasing 0.9.2, "South"
17105
17106 2005-09-05  Andy Wingo  <wingo@pobox.com>
17107
17108         * gst/registries/gstxmlregistry.h:
17109         * gst/registries/gstxmlregistry.c: Um... resurrect...
17110         
17111         * gst/registries/gstxmlregistry.h:
17112         * gst/registries/gstxmlregistry.c: and update to newer API.
17113         Incidentally they should be a bit faster now that they don't have
17114         to parse the caps.
17115         
17116 2005-09-05  Andy Wingo  <wingo@pobox.com>
17117
17118         * gst/registries/gstxmlregistry.h:
17119         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17120         replaced by the libxml registry a while back
17121
17122 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17123
17124         * docs/gst/tmpl/gstplugin.sgml:
17125         * gst/elements/gstelements.c:
17126         * gst/gst.c:
17127         * gst/gstplugin.c: (gst_plugin_register_func),
17128         (gst_plugin_desc_copy), (gst_plugin_desc_free),
17129         (gst_plugin_get_source):
17130         * gst/gstplugin.h:
17131         * gst/registries/gstlibxmlregistry.c: (load_plugin),
17132         (gst_xml_registry_save_plugin):
17133         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17134         (gst_xml_registry_save_plugin):
17135         * tools/gst-inspect.c: (print_plugin_info):
17136           add a "source" plugin description field, to represent the source
17137           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
17138           will set it to PACKAGE, which is automake's idea of the name of
17139           the source project.
17140
17141 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17142
17143         * Makefile.am:
17144         * autogen.sh:
17145         * configure.ac:
17146         * docs/Makefile.am:
17147         * docs/faq/Makefile.am:
17148         * docs/gst/tmpl/gstelement.sgml:
17149         * docs/gst/tmpl/gsttypes.sgml:
17150         * docs/htmlinstall.mak:
17151         * docs/manual/Makefile.am:
17152         * docs/pwg/Makefile.am:
17153           reorganize doc build a little
17154           split out docbook and gtk-doc stuff
17155           have two separate --enable's and enable them through autogen
17156           but disable by default in configure (to be similar to other
17157           projects)
17158         * gstreamer.spec.in:
17159           clean up docs install
17160         * po/af.po:
17161         * po/az.po:
17162         * po/ca.po:
17163         * po/cs.po:
17164         * po/de.po:
17165         * po/en_GB.po:
17166         * po/fr.po:
17167         * po/it.po:
17168         * po/nb.po:
17169         * po/nl.po:
17170         * po/ru.po:
17171         * po/sq.po:
17172         * po/sr.po:
17173         * po/sv.po:
17174         * po/tr.po:
17175         * po/uk.po:
17176         * po/vi.po:
17177           translation updates
17178
17179 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
17180
17181         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17182           Add comment.
17183           
17184         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17185         (gst_fake_sink_change_state):
17186           Make state change function thread-safe.
17187           
17188         * gst/gstpad.c: (gst_pad_alloc_buffer):
17189           Set offset on generic buffer allocated by fallback.
17190
17191 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
17192
17193         * docs/gst/gstreamer-sections.txt:
17194         * docs/gst/tmpl/gstelement.sgml:
17195         * gst/gstpad.c:
17196         * libs/gst/controller/gst-controller.c:
17197         (gst_controlled_property_set_interpolation_mode),
17198         (gst_controlled_property_new),
17199         (gst_controller_find_controlled_property):
17200          run the wingo-magic script against the docs
17201
17202 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
17203
17204         * docs/gst/gstreamer-docs.sgml:
17205         * docs/gst/gstreamer-sections.txt:
17206         * docs/gst/tmpl/.cvsignore:
17207         * docs/gst/tmpl/gstelementdetails.sgml:
17208         * docs/gst/tmpl/gstelementfactory.sgml:
17209         * gst/gst.c:
17210         * gst/gstbus.c:
17211         * gst/gstelementfactory.c:
17212         * gst/gstelementfactory.h:
17213           merged elementdetails docs into elementfactory docs
17214           inlined both
17215
17216 2005-09-02  Andy Wingo  <wingo@pobox.com>
17217
17218         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17219         consider this enum an enum and not a flags.
17220
17221 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
17222
17223         * docs/gst/gstreamer-docs.sgml:
17224         * docs/gst/tmpl/.cvsignore:
17225         * docs/gst/tmpl/gstghostpad.sgml:
17226         * docs/gst/tmpl/gstiterator.sgml:
17227         * docs/gst/tmpl/gstmacros.sgml:
17228         * docs/gst/tmpl/gstrealpad.sgml:
17229         * docs/gst/tmpl/gstregistry.sgml:
17230         * docs/gst/tmpl/gstregistrypool.sgml:
17231         * docs/gst/tmpl/gststructure.sgml:
17232         * docs/gst/tmpl/gstsystemclock.sgml:
17233         * docs/gst/tmpl/gsttrace.sgml:
17234         * gst/gstghostpad.c:
17235         * gst/gstmacros.h:
17236         * gst/gstmemchunk.c:
17237         * gst/gstmemchunk.h:
17238         * gst/gstqueue.c:
17239         * gst/gstregistry.c:
17240         * gst/gstregistrypool.c:
17241         * gst/gststructure.c:
17242         * gst/gstsystemclock.c:
17243           more docs inlined
17244
17245 2005-09-02  Andy Wingo  <wingo@pobox.com>
17246
17247         * gst/gstelement.h (GstState): Renamed from GstElementState,
17248         changed to be a normal enum instead of flags.
17249         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17250         munged to be GST_STATE_CHANGE_*.
17251         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17252         work with the new state representation.
17253         (GstStateChange): New enumeration of possible state transitions.
17254         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17255         (GstElementClass::change_state): Pass the GstStateChange along as
17256         an argument. Helps language bindings, so they don't have to use
17257         tricky lock-needing macros like GST_STATE_CHANGE ().
17258
17259         * scripts/update-states (file): New script. Run it on a file to
17260         update it for state naming and API changes. Updates files in
17261         place.
17262
17263         * All files updated for the new API.
17264
17265 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17266
17267         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17268         * gst/gstutils.c: (gst_util_set_value_from_string),
17269         (gst_util_set_object_arg):
17270           fix a bunch of unchecked return values
17271         * tools/gst-complete.c: (main):
17272         * gstreamer.spec.in:
17273           clean up a little
17274
17275 2005-09-01  Wim Taymans  <wim@fluendo.com>
17276
17277         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17278         (gst_base_sink_event), (gst_base_sink_do_sync),
17279         (gst_base_sink_handle_event):
17280         * gst/base/gstbasesink.h:
17281         Handle newsegments more correctly.
17282
17283         * gst/gstbus.c:
17284         Fix docs.
17285
17286         * gst/gstevent.c: (gst_event_new_newsegment):
17287         A newsegment cannot have a start_time of -1
17288
17289 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
17290
17291         * win32/gstenumtypes.c:
17292         * win32/gstenumtypes.h:
17293           Update
17294
17295 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17296
17297         * libs/gst/controller/gst-controller.c:
17298         (gst_controlled_property_set_interpolation_mode),
17299         (gst_controlled_property_new):
17300          fixed boolean again
17301
17302 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17303
17304         * docs/faq/gst-uninstalled:
17305           add -good
17306         * gst/gstevent.c:
17307         * gst/gstevent.h:
17308           remove wrong docs
17309         * gst/gstutils.c: (gst_element_link_filtered):
17310         * gst/gstutils.h:
17311           add gst_element_link_filtered
17312
17313 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17314
17315         * docs/gst/gstreamer-docs.sgml:
17316         * docs/gst/gstreamer-sections.txt:
17317         * docs/gst/tmpl/.cvsignore:
17318         * docs/gst/tmpl/gsterror.sgml:
17319         * docs/gst/tmpl/gstfilter.sgml:
17320         * docs/gst/tmpl/gsturihandler.sgml:
17321         * docs/gst/tmpl/gsturitype.sgml:
17322         * docs/gst/tmpl/gstutils.sgml:
17323         * docs/gst/tmpl/gstxml.sgml:
17324         * gst/gsterror.c:
17325         * gst/gsterror.h:
17326         * gst/gstfilter.c:
17327         * gst/gsturi.c:
17328         * gst/gsturitype.c:
17329         * gst/gstutils.c:
17330         * gst/gstxml.c:
17331           inlined more docs, fixed double id-ref
17332
17333 2005-08-31  Wim Taymans  <wim@fluendo.com>
17334
17335         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17336         (gst_base_transform_handle_buffer):
17337         Passthrough elements don't need the caps as they don't care.
17338
17339 2005-08-31  Wim Taymans  <wim@fluendo.com>
17340
17341         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17342         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17343         Don't leak refcounts on buffers.
17344
17345 2005-08-31  Wim Taymans  <wim@fluendo.com>
17346
17347         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17348         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17349         (gst_base_transform_chain), (gst_base_transform_change_state):
17350         * gst/base/gstbasetransform.h:
17351         Handle the case where we are not negotiated more gracefully.
17352
17353 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
17354
17355         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17356         (gst_file_src_map_region):
17357           Set READONLY flag on mmap'ed buffers, otherwise
17358           gst_buffer_make_writable() won't work properly (#314708).
17359
17360 2005-08-31  Wim Taymans  <wim@fluendo.com>
17361
17362         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17363         passthrough elements can even do inplace on non writable
17364         buffers (as they don't touch them).
17365
17366 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17367
17368         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17369         (gst_test_mono_source_set_property),
17370         (gst_test_mono_source_class_init), (GST_START_TEST),
17371         (gst_controller_suite):
17372           more tests (hehe I have the most)
17373         * gst/gstbus.c:
17374           describe popping messages whenusing mulltiple sources
17375         * libs/gst/controller/gst-controller.c:
17376         (gst_controlled_property_set_interpolation_mode),
17377         (gst_controlled_property_new):
17378         * libs/gst/controller/gst-controller.h:
17379         * libs/gst/controller/gst-interpolation.c:
17380           implement boolean properties
17381
17382 2005-08-31  Wim Taymans  <wim@fluendo.com>
17383
17384         * gst/gstminiobject.c: (gst_mini_object_ref):
17385         Cannot assert that the refcount has to be positive
17386         since a disposed object can be resurrected.
17387
17388 2005-08-31  Wim Taymans  <wim@fluendo.com>
17389
17390         * gst/gstpad.c: (gst_pad_init):
17391         Revert change, need to first fix badly behaving 
17392         apps.
17393
17394 2005-08-30  Wim Taymans  <wim@fluendo.com>
17395
17396         * check/elements/fakesrc.c: (setup_fakesrc):
17397         * check/elements/identity.c: (setup_identity):
17398         Activate pads before using them.
17399
17400 2005-08-30  Wim Taymans  <wim@fluendo.com>
17401
17402         * gst/base/gstadapter.c: (gst_adapter_flush):
17403         Flushing out 0 bytes is ok for this function.
17404
17405         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17406         no newsegment gives a warning and sets the start/stop to 
17407         invalid.
17408
17409         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17410         (gst_base_transform_set_passthrough):
17411         Some debug info.
17412
17413         * gst/gstminiobject.c: (gst_mini_object_ref):
17414         Check refcount here too.
17415
17416         * gst/gstpad.c: (gst_pad_init):
17417         Pads are initially flushing and refusing data.
17418
17419         * gst/gstutils.c: (gst_element_link_pads_filtered):
17420         When adding a capsfilter element make sure it has the
17421         same state as the parent bin.
17422
17423 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17424
17425         * docs/gst/tmpl/.cvsignore:
17426         * docs/gst/tmpl/gstformat.sgml:
17427         * docs/gst/tmpl/gstversion.sgml:
17428         * gst/gstbus.h:
17429         * gst/gstformat.c:
17430         * gst/gstformat.h:
17431         * gst/gstversion.h.in:
17432           more docs and two more inlined
17433
17434 2005-08-30  Wim Taymans  <wim@fluendo.com>
17435
17436         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17437         Don't sync to clock.
17438
17439 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17440
17441         * docs/gst/gstreamer-sections.txt:
17442           ultral33t func10ns deserve to appear in the docs actually
17443         * docs/gst/tmpl/.cvsignore:
17444         * docs/gst/tmpl/gstcompat.sgml:
17445         * docs/gst/tmpl/gstconfig.sgml:
17446         * gst/check/gstcheck.c:
17447         * gst/gstcompat.h:
17448         * gst/gstconfig.h.in:
17449           inlined more docs
17450
17451 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17452
17453         * docs/gst/tmpl/.cvsignore:
17454         * docs/gst/tmpl/gstquery.sgml:
17455         * docs/gst/tmpl/gstutils.sgml:
17456         * gst/gstquery.c:
17457         * gst/gstquery.h:
17458           inlined and extended docs
17459
17460 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17461
17462         * check/gst-libs/controller.c: (GST_START_TEST),
17463         (gst_controller_suite):
17464           more tests
17465         * docs/gst/tmpl/gstutils.sgml:
17466         * docs/libs/gstreamer-libs-sections.txt:
17467         * docs/libs/tmpl/gstdataprotocol.sgml:
17468           include path fixes
17469         * examples/controller/audio-example.c: (main):
17470           controller example works now
17471         * gst/gstclock.h:
17472           doc fixes
17473         * tools/gst-inspect.c: (print_element_properties_info):
17474           show param spec flags
17475
17476 2005-08-29  Andy Wingo  <wingo@pobox.com>
17477
17478         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17479
17480 2005-08-28  Andy Wingo  <wingo@pobox.com>
17481
17482         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17483         as having two arguments instead of just one. Allows superclasses
17484         to access information on subclasses -- see the terrible for() loop
17485         in gtype.c:g_type_create_instance for the reason why. All callers
17486         changed.
17487
17488 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17489
17490         * docs/design/part-messages.txt:
17491           update info
17492         * docs/gst/tmpl/.cvsignore:
17493         * docs/gst/tmpl/gstcaps.sgml:
17494         * docs/gst/tmpl/gstclock.sgml:
17495         * gst/gstbus.c:
17496         * gst/gstcaps.c:
17497         * gst/gstcaps.h:
17498         * gst/gstclock.c:
17499         * gst/gstclock.h:
17500         * gst/gstmessage.c:
17501           added descriptions for bus and message
17502           inline caps and clock docs
17503
17504 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17505
17506         * gst/gstmessage.c:
17507         * gst/gstmessage.h:
17508           doc fixes
17509
17510 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17511
17512         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17513           fix div-by-zero
17514
17515 2005-08-26  Andy Wingo  <wingo@pobox.com>
17516
17517         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17518         element_set_state's return val.
17519         (test_2_elements): Add test that's been disabled for months.
17520
17521         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17522         can-activate-pull properties.
17523
17524         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17525         can-activate-pull properties. Implement is_seekable so fakesrc can
17526         operate in pull mode.
17527
17528         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17529         properties.
17530         (gst_base_sink_activate, gst_base_sink_activate_pull)
17531         (gst_base_sink_activate_push): Make activation mode choosing work.
17532         Cleanups.
17533         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17534         is right. Make pull mode work. Post an eos before pausing in pull
17535         mode.
17536         (gst_base_sink_change_state): Pay attention to the core's
17537         change_state() return val.
17538         
17539         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17540         has-getrange properties. Cleanups.
17541         
17542         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17543         has_getrange and replace with can_activate_pull and
17544         can_activate_push.
17545
17546         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17547         locking comments. Remove has_loop, has_chain and replace with
17548         can_activate_pull and can_activate_push.
17549
17550 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17551
17552         * configure.ac:
17553         * examples/Makefile.am:
17554         * examples/metadata/Makefile.am:
17555         * examples/metadata/read-metadata.c: (message_loop),
17556         (have_pad_handler), (make_pipeline), (print_tag), (main):
17557           Add metadata reading example that loops over a list of filenames,
17558           dumping any tags found.
17559
17560         * gst/gstbus.c: (gst_bus_dispose):
17561         * gst/gstelement.c: (gst_element_dispose):
17562           Release a few potentially-held references in dispose.
17563
17564 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17565
17566         * docs/gst/tmpl/gstminiobject.sgml:
17567           do *not* add tmpl/*.sgml files to CVS!
17568
17569 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17570
17571         * libs/gst/bytestream/.cvsignore:
17572         * libs/gst/bytestream/Makefile.am:
17573         * libs/gst/bytestream/adapter.c:
17574         * libs/gst/bytestream/adapter.h:
17575         * libs/gst/bytestream/bytestream.c:
17576         * libs/gst/bytestream/bytestream.h:
17577         * libs/gst/bytestream/filepad.c:
17578         * libs/gst/bytestream/filepad.h:
17579           removing obsolete files
17580
17581 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17582
17583         * docs/gst/gstreamer-docs.sgml:
17584         * docs/libs/gstreamer-libs-docs.sgml:
17585           disabed additional index entries again, as this makes docs-gen just
17586           slow and they aren't useful yet
17587         * docs/libs/gstreamer-libs-sections.txt:
17588           little -section.txt cleanup for libs
17589
17590 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17591
17592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17593         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17594           fix up some debugging
17595         (gst_base_transform_get_unit_size),
17596         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17597         (gst_base_transform_handle_buffer):
17598         * gst/base/gstbasetransform.h:
17599           handle and store timed NEWSEGMENT events so that subclasses that
17600           calculate time by counting samples have a segment_start time they
17601           need to add to their timestamps - see audioresample
17602
17603 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17604
17605         * gst/gstbin.h:
17606           removed ';' from the end of macro defs
17607         * docs/gst/gstreamer-docs.sgml:
17608         * docs/gst/gstreamer-sections.txt:
17609         * docs/gst/tmpl/.cvsignore:
17610         * gst/gstbus.h:
17611         * gst/gstelement.c: (gst_element_class_init),
17612         (gst_element_set_state), (activate_pads),
17613         (gst_element_save_thyself):
17614         * gst/gstevent.c: (gst_event_new_newsegment):
17615         * gst/gstevent.h:
17616         * gst/gstiterator.c:
17617         * gst/gstiterator.h:
17618         * gst/gstpad.c:
17619         * gst/gstprobe.h:
17620         * gst/gstutils.c: (gst_pad_query_convert):
17621         * gst/gstutils.h:
17622           fixed parameter name mismatches between source, header and docs
17623           added some more docs, resolved the last batch of unused elements in
17624           docs (now someone needs to doc them)
17625
17626 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17627
17628         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17629         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17630           don't walk through the plugins backwards.  Where is all this
17631           reversed logic coming from ?
17632
17633 2005-08-25  Wim Taymans  <wim@fluendo.com>
17634
17635         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17636         (gst_base_transform_transform_size),
17637         (gst_base_transform_configure_caps),
17638         (gst_base_transform_get_unit_size),
17639         (gst_base_transform_buffer_alloc),
17640         (gst_base_transform_change_state):
17641         * gst/base/gstbasetransform.h:
17642         Cache caps unit_size.
17643         Make sure we cannot negotiate up and downstream at the
17644         same time.
17645
17646 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17647
17648         * gst/gst.c: (init_pre), (init_post):
17649           register the installed plugin path after the env var
17650         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17651         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17652           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17653           directories, so the tests can prefer uninstalled over installed
17654
17655 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17656
17657         * gst/base/gstbasetransform.h:
17658           comment
17659         * gst/gstpad.c:
17660           add to docs
17661
17662 2005-08-25  Wim Taymans  <wim@fluendo.com>
17663
17664         * gst/gstbin.c: (bin_bus_handler):
17665         Be a bit more conservative about the posted message.
17666         
17667         * gst/gstbus.c: (gst_bus_post):
17668         Some cleanups, warn wrong return values.
17669
17670 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17671
17672         * check/gst/gstbin.c: (GST_START_TEST):
17673         * gst/gstbin.c: (bin_bus_handler):
17674         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17675         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17676         (gst_message_new_warning), (gst_message_new_tag),
17677         (gst_message_new_state_changed), (gst_message_new_segment_start),
17678         (gst_message_new_segment_done), (gst_message_new_custom):
17679         * gst/gstmessage.h:
17680         * tools/gst-launch.c: (event_loop):
17681         * tools/gst-md5sum.c: (event_loop):
17682           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17683
17684 2005-08-25  Wim Taymans  <wim@fluendo.com>
17685
17686         * check/generic/states.c: (GST_START_TEST):
17687         Cleanup can be done at the end.
17688
17689         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17690         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17691         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17692         Oh boy.. Thanks for finding this, Thomas. 
17693
17694 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17695
17696         * docs/gst/gstreamer.types:
17697           added missing types
17698
17699 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17700
17701         * docs/gst/gstreamer-docs.sgml:
17702         * docs/gst/gstreamer-sections.txt:
17703         * docs/gst/tmpl/.cvsignore:
17704         * gst/gstbin.c:
17705         * gst/gstiterator.c:
17706         * gst/gstutils.c:
17707         * gst/registries/gstxmlregistry.h:
17708           added missing classes and symbols (123 more to go)
17709           removed removed symbols from section file
17710           fixed many doc-comments
17711
17712 2005-08-24  Wim Taymans  <wim@fluendo.com>
17713
17714         * check/generic/states.c: (GST_START_TEST):
17715         Make sure all tasks are stopped.
17716
17717         * check/gst/gstbin.c: (GST_START_TEST):
17718         Unref after usage for proper valgrinding.
17719
17720         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17721         Really wait for the task to stop before destroying the
17722         mutex.
17723
17724         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17725         (gst_queue_src_activate_push):
17726         Small cleanups. Don't stop the task when we did not start
17727         it.
17728
17729         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17730         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17731         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17732         (gst_task_join):
17733         * gst/gsttask.h:
17734         Protect the stream lock with the object lock.
17735         Disallow setting the stream lock when running.
17736         Add cleanup_all to wait for the threadpool to finish.
17737         Remove code to autoallocate a mutex if none was provided.
17738         Add _join() to wait for a task to stop.
17739         Protect the thread pool with a global lock.
17740
17741 2005-08-24  Wim Taymans  <wim@fluendo.com>
17742
17743         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17744         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17745         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17746         * gst/base/gstbasesink.h:
17747         Handle newsegment events correctly.
17748         Drop buffers out of the segment range.
17749
17750 2005-08-22  Andy Wingo  <wingo@pobox.com>
17751
17752         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17753         macro, implements an interface and gstimplementsinterface for a
17754         new type.
17755
17756 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17757
17758         * check/Makefile.am:
17759         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17760           add a test that does a bunch of state changes on elements
17761           needs some fixing for valgrind
17762         * check/states/sinks.c: (gst_object_suite):
17763           whitespace
17764         * gst/gstcaps.h:
17765           add prototype for gst_caps_is_equal_fixed
17766         * gst/gstplugin.c:
17767         * gst/gstregistrypool.c:
17768           doc fixes
17769
17770 2005-08-24  Andy Wingo  <wingo@pobox.com>
17771
17772         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17773         convert a negative value. Doesn't make much sense. Mostly this is
17774         here to force callers to ensure -1 maps to -1.
17775
17776 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17777
17778         * docs/pwg/advanced-types.xml:
17779           Well done to Michael for catching my deliberate introduction
17780           of this spelling mistake. 
17781         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17782         * gst/gstelement.h:
17783           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17784           unlink pads before removing the element from the bin.
17785
17786 2005-08-24  Andy Wingo  <wingo@pobox.com>
17787
17788         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17789         the same thing as GST_DEBUG=*:4.
17790         (parse_debug_level, parse_debug_category): New helper parsers.
17791
17792 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17793
17794         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17795         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17796         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17797         (gst_base_transform_buffer_alloc),
17798         (gst_base_transform_handle_buffer):
17799           use gboolean return values and pointers to size so we can use the
17800           full GST_BUFFER_SIZE range (guint) for buffer sizes
17801           use GstPadDirection for transform_caps
17802         * gst/base/gstbasetransform.h:
17803           rename get_size to get_unit_size since that's what it is
17804         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17805           use GstPadDirection for transform_caps
17806         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17807         * gst/gstutils.h:
17808           cleanup and debugging
17809
17810 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17811
17812         * gst/gstelement.c: (gst_element_class_init),
17813         (gst_element_set_state), (activate_pads),
17814         (gst_element_save_thyself):
17815         * tools/gst-compprep.c: (main):
17816         * tools/gst-inspect.c: (print_element_properties_info):
17817         * tools/gst-xmlinspect.c: (print_element_properties):
17818           Fixed long standing mem-leak
17819
17820 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17821
17822         * check/gst/gstbin.c: (GST_START_TEST):
17823         * gst/gstbin.c: (bin_bus_handler):
17824         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17825         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17826         (gst_message_new_warning), (gst_message_new_tag),
17827         (gst_message_new_state_changed), (gst_message_new_segment_start),
17828         (gst_message_new_segment_done), (gst_message_new_custom):
17829         * gst/gstmessage.h:
17830         * tools/gst-launch.c: (event_loop):
17831         * tools/gst-md5sum.c: (event_loop):
17832           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17833           that applications can sensibly post custom messages with references
17834           to their own objects.
17835
17836 2005-08-24  Andy Wingo  <wingo@pobox.com>
17837
17838         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17839         already.
17840
17841 2005-08-24  Wim Taymans  <wim@fluendo.com>
17842
17843         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17844         (gst_base_transform_transform_caps),
17845         (gst_base_transform_transform_size),
17846         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17847         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17848         (gst_base_transform_handle_buffer):
17849         * gst/base/gstbasetransform.h:
17850         Many fixes and new features added by Thomas. Can now also do
17851         transforms with variable sizes and a custom fixate_caps function.
17852
17853 2005-08-24  Wim Taymans  <wim@fluendo.com>
17854
17855         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17856         Some debugging.
17857
17858         * gst/gstclock.h:
17859         Cast to ClockTime before formatting to time.
17860
17861         * gst/gstutils.h:
17862         Cleanups.
17863
17864 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17865
17866         * check/gst-libs/controller.c: (GST_START_TEST),
17867         (gst_controller_suite):
17868         * docs/gst/tmpl/gstcaps.sgml:
17869         * docs/gst/tmpl/gstghostpad.sgml:
17870         * docs/gst/tmpl/gstquery.sgml:
17871         * docs/gst/tmpl/gstutils.sgml:
17872         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17873         (gst_object_sink_values), (gst_object_get_value_arrays),
17874         (gst_object_get_value_array):
17875           gracefully handle helper method calls to objects that are not beeing
17876           controlled, added test case for that          
17877
17878 2005-08-23  Wim Taymans  <wim@fluendo.com>
17879
17880         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17881         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17882         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17883         (gst_event_parse_qos), (gst_event_new_seek),
17884         (gst_event_parse_seek):
17885         * gst/gstevent.h:
17886         Some more debugging output and doc cleanups.
17887
17888         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17889         Fix possible deadlock.
17890
17891 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17892
17893         * docs/gst/gstreamer-docs.sgml:
17894         * docs/gst/gstreamer-sections.txt:
17895         * docs/gst/gstreamer.types:
17896         * docs/gst/tmpl/.cvsignore:
17897         * gst/gstbin.h:
17898         * gst/gstbus.c:
17899         * gst/gstelement.c:
17900         * gst/gstevent.h:
17901           added 100 symbols from gstreamer-unused.txt to the right sections
17902           fixed more broken comments
17903           added GstBus to docs
17904
17905 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17906
17907         * docs/gst/gstreamer-sections.txt:
17908         * docs/gst/tmpl/.cvsignore:
17909         * docs/gst/tmpl/gstbin.sgml:
17910         * docs/gst/tmpl/gstbuffer.sgml:
17911         * gst/base/gstbasesrc.c:
17912         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17913         * gst/gstbuffer.c:
17914         * gst/gstbuffer.h:
17915         * tools/gst-launch.1.in:
17916           inlined more doc comments, added missing comments and fixed comments
17917           fixed typos
17918
17919 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17920
17921         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17922           some debugging
17923         * gst/gstcaps.h:
17924           whitespace fixes
17925         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17926           more debugging
17927         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17928         * gst/gststructure.h:
17929           add a fixate function for booleans; add a FIXME that these func
17930           names should probably be gst_structure_fixate_*
17931
17932 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17933
17934         * docs/gst/gstreamer-docs.sgml:
17935         * docs/gst/gstreamer-sections.txt:
17936         * gst/Makefile.am:
17937         * gst/gstbin.c: (gst_bin_get_type),
17938         (gst_bin_child_proxy_get_child_by_index),
17939         (gst_bin_child_proxy_get_children_count),
17940         (gst_bin_child_proxy_init):
17941         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17942         (gst_child_proxy_get_child_by_index),
17943         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17944         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17945         (gst_child_proxy_get), (gst_child_proxy_set_property),
17946         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17947         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17948         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17949         * gst/gstchildproxy.h:
17950         * gst/parse/grammar.y:
17951         * tools/gst-inspect.c: (print_interfaces),
17952         (print_element_properties_info), (print_element_info):
17953           ported gstchildproxy over from 0.8
17954           ported gst-inspect fixes and enhancements over from 0.8
17955
17956 2005-08-22  Wim Taymans  <wim@fluendo.com>
17957
17958         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17959         (gst_base_transform_handle_buffer):
17960         Also call the transform function if we have ANY caps.
17961
17962         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17963         Fix debug info.
17964
17965 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17966
17967         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17968           Don't pretend to handle seek events if the source is not seekable
17969
17970 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17971
17972         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17973           Remove extra parameter to debug output
17974
17975         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17976         (gst_base_src_do_seek), (gst_base_src_activate_push):
17977           Fix seek event handling.
17978
17979         * gst/gstpipeline.c: (gst_pipeline_change_state):
17980         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17981         (gst_queue_src_activate_push):
17982           Don't start the src pad task on FLUSH_STOP if the pad
17983           isn't linked.
17984           Debug changes.
17985
17986 2005-08-22  Wim Taymans  <wim@fluendo.com>
17987
17988         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17989         Added check for gst_static_caps_get() refcounting.
17990
17991 2005-08-22  Wim Taymans  <wim@fluendo.com>
17992
17993         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17994         Make _static_caps_get() refcounting sane.
17995         
17996         * gst/gstelement.c: (gst_element_set_state):
17997         Add g_return_val_if_fail() to protect against segfaults.
17998
17999 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
18000
18001         * docs/gst/tmpl/gstevent.sgml:
18002         * gst/gstevent.c:
18003         * gst/gstevent.h:
18004           inlined remaining docs, added missing doc comments
18005
18006 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18007
18008         * check/gst/gstbin.c: (GST_START_TEST):
18009           since we don't know when preroll is done, use refcount range
18010           check for the sink
18011         * gst/check/gstcheck.h:
18012           add macro for checking refcount range
18013
18014 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
18015
18016         * check/Makefile.am:
18017           clean up environment for when registry gets built versus
18018           when actual tests are run; valgrind seems to not report
18019           leaks if GST_PLUGIN_PATH is set to some specific values
18020         * check/gst/gstbin.c: (GST_START_TEST):
18021           add more refcounting checks; maybe this exposes a
18022           preroll lock bug ?
18023         * common/check.mak:
18024         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18025         * gst/check/gstcheck.h:
18026         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18027         (gst_bin_change_state):
18028         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18029           add/fix debugging/whitespace
18030
18031 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
18032
18033         * check/gst/gstevent.c: (event_probe), (test_event),
18034         (GST_START_TEST):
18035          Er, don't call gst_bin_watch_for_state_change you idiot.
18036
18037 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
18038
18039         * check/Makefile.am:
18040           Use CHECK_CFLAGS and CHECK_LIBS
18041         * check/gst/gstevent.c: (event_probe), (test_event),
18042         (GST_START_TEST):
18043           Don't leak events.
18044         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18045         (gst_base_src_start), (gst_base_src_stop),
18046         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18047         (gst_base_src_change_state):
18048           Sprinkle gst_base_src_stop liberally around error paths to fix
18049           problems reusing a source after failed state changes.
18050         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18051         (helper_find_suggest), (gst_type_find_helper):
18052           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18053         * gst/gstevent.h:
18054         * docs/gst/tmpl/gstevent.sgml:
18055           Migrate part of the docs from the SGML file. Wait for ensonic to
18056           tell me how I did it wrong ;)
18057         * tools/gst-typefind.c: (main):
18058           Extra robustness to state changes between files.
18059
18060 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
18061
18062         * check/Makefile.am:
18063           don't valgrind the controller test - it's leaking - Stefan, HELP
18064         * gst/check/gstcheck.c: (gst_check_message_error),
18065         (gst_check_chain_func), (gst_check_setup_element),
18066         (gst_check_teardown_element), (gst_check_setup_src_pad),
18067         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18068         (gst_check_teardown_sink_pad):
18069         * gst/check/gstcheck.h:
18070           add a bunch of methods to set up elements, and src and sink pads
18071         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18072         * check/elements/identity.c: (setup_identity), (cleanup_identity),
18073         (GST_START_TEST):
18074           use them
18075         * gst/gstmessage.c:
18076         * gst/gsttag.h:
18077           whitespace/doc fixes
18078
18079 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18080
18081         * gst/gstelement.h:
18082           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18083           be handled by the application and not always printed as well
18084
18085 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18086
18087         * check/Makefile.am:
18088           set GST_TOOLS_DIR
18089         * gst/check/gstcheck.c: (gst_check_message_error):
18090         * gst/check/gstcheck.h:
18091           add a fail_unless_equals_int
18092           add fail_unless for error messages
18093
18094 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18095
18096         * check/Makefile.am:
18097         * check/gst.supp:
18098         * common/Makefile.am:
18099         * common/check.mak:
18100         * common/gst.supp:
18101           factor out some of the common stuff so we can use it
18102
18103 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18104
18105         * check/Makefile.am:
18106         * check/gst/gstiterator.c: (GST_START_TEST):
18107         * check/gst/gstsystemclock.c: (GST_START_TEST),
18108         (gst_systemclock_suite):
18109         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18110         * gst/gstclock.c:
18111           valgrind more tests
18112
18113 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18114
18115         * check/elements/.cvsignore:
18116         * check/elements/gstfakesrc.c:
18117           rename to name of element
18118         * check/elements/identity.c: (chain_func), (event_func),
18119         (setup_identity), (cleanup_identity), (GST_START_TEST),
18120         (identity_suite), (main):
18121           add a test for identity
18122         * check/Makefile.am:
18123         * pkgconfig/Makefile.am:
18124         * pkgconfig/gstreamer-check.pc.in:
18125         * pkgconfig/gstreamer-check-uninstalled.pc.in:
18126         * gst/check:
18127         * gst/Makefile.am:
18128         * configure.ac:
18129           move the check stuff to a library that gets installed
18130         * check/gst-libs/controller.c: (GST_START_TEST):
18131         * check/gst-libs/gdp.c:
18132         * check/gst/gst.c: (GST_START_TEST):
18133         * check/gst/gstbin.c:
18134         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18135         * check/gst/gstbus.c:
18136         * check/gst/gstcaps.c: (GST_START_TEST):
18137         * check/gst/gstelement.c:
18138         * check/gst/gstghostpad.c:
18139         * check/gst/gstiterator.c:
18140         * check/gst/gstmessage.c:
18141         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18142         * check/gst/gstobject.c:
18143         * check/gst/gstpad.c: (GST_START_TEST):
18144         * check/gst/gststructure.c: (GST_START_TEST):
18145         * check/gst/gstsystemclock.c: (GST_START_TEST),
18146         (gst_systemclock_suite):
18147         * check/gst/gsttag.c: (gst_tag_suite):
18148         * check/gst/gstvalue.c:
18149         * check/pipelines/cleanup.c:
18150         * check/pipelines/simple_launch_lines.c:
18151         * check/states/sinks.c:
18152           change include statement
18153
18154         * docs/gst/gstreamer-sections.txt:
18155         * docs/gst/tmpl/gstpad.sgml:
18156           document more pad stuff
18157         * gst/gstminiobject.c: (gst_mini_object_ref),
18158         (gst_mini_object_unref):
18159           debug refcounting
18160
18161 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
18162
18163         * docs/gst/tmpl/gst.sgml:
18164         * gst/gst.c:
18165           eliminate another tmpl file, fix spelling in the long-description
18166
18167 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18168
18169         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18170         (test_event), (timediff), (gstevents_suite):
18171           Should fix build on 64-bit arch's
18172
18173 2005-08-18  Andy Wingo  <wingo@pobox.com>
18174
18175         Make sure that when a pipeline goes to PLAYING, that data has
18176         actually hit the sink.
18177
18178         * check/states/sinks.c (test_sink): A sink that doesn't get any
18179         data shouldn't return SUCCESS for going to either PLAYING or
18180         PAUSED. Test also the return values on the way back down.
18181
18182         * gst/gstelement.c (gst_element_set_state): When changing the
18183         state of an element currently changing state asynchronously, go to
18184         lost-state after commiting the pending state. Makes future calls
18185         to get_state continue to return ASYNC.
18186
18187         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18188         ASYNC when going to PLAYING if we still don't have preroll, as can
18189         happen with live sources.
18190
18191 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18192
18193         * docs/pwg/advanced-types.xml:
18194           Hack long paragraph into 2 chunks as a workaround for buggy
18195           jadetex version in sid and breezy that loops infinitely and
18196           eats all RAM.
18197
18198 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18199
18200         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18201         (test_event), (timediff), (gstevents_suite):
18202           Provide more error margin in clock measurements to allow for 
18203           g_get_current_time inaccuracies.
18204
18205 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18206
18207         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18208         (test_event), (timediff), (gstevents_suite):
18209            Fix error message output so I might be able to tell why the
18210            test works here but fails on the build farm.
18211
18212 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18213
18214         * check/Makefile.am:
18215         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18216         (test_event), (timediff), (gstevents_suite), (main):
18217           I wrote a test!
18218
18219         * docs/design/part-seeking.txt:
18220           Spelling correction
18221
18222         * docs/gst/tmpl/gstevent.sgml:
18223         * docs/gst/tmpl/gstfakesrc.sgml:
18224           Docs updates.
18225
18226         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18227           Treat a buffer-without-newsegment the same as a receiving 
18228           a newsegment not in time format, and disable syncing to the clock
18229           with a warning.
18230
18231         * gst/gstbus.c: (gst_bus_set_sync_handler):
18232           Assert if anyone tries to replace the existing sync_handler for bus, 
18233           as only the owner should be setting it.
18234
18235         * gst/gstevent.h:
18236           Have a fixed set of custom event enums with events identified by
18237           their structure name (as in 0.8), rather than a free-for-all
18238           allowing collisions between enum values from different plugins.
18239
18240         * gst/gstpad.c: (gst_pad_class_init):
18241           Docs change.
18242           
18243         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18244           Handle out-of-band downstream events from the sending thread.
18245
18246 2005-08-17  Andy Wingo  <wingo@pobox.com>
18247
18248         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18249         play-timeout==0 to mean no timeout at all. In that case, don't
18250         bother with a get_state or a warning, just return directly, even
18251         if it's ASYNC.
18252
18253         * gst/base/gstbasetransform.c: Debug changes.
18254
18255         * gst/gstutils.h:
18256         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18257         ensure bins post state change messages. A bit of a hack but I can't
18258         think of a way to avoid it.
18259
18260         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18261
18262 2005-08-16  Andy Wingo  <wingo@pobox.com>
18263
18264         * gst/base/gstadapter.h:
18265         * gst/base/gstadapter.c (gst_adapter_take): New function, like
18266         peek() but you own the data. Not terribly efficient atm.
18267
18268 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18269
18270         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18271         (gst_element_found_tags):
18272         * gst/gstutils.h:
18273           Add two utility functions for tag handling.
18274
18275 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18276
18277         * docs/manual/advanced-dataaccess.xml:
18278         * docs/manual/basics-helloworld.xml:
18279           Fix docs to use _bin_add() before _link(), which fixes the examples
18280           with recent core versions (reported by Madhan Raj M
18281           <raj_madan@rediffmail.com>, #313199).
18282
18283 2005-08-16  Wim Taymans  <wim@fluendo.com>
18284
18285         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18286         Added subtract checks.
18287
18288         * docs/design/part-events.txt:
18289         Some more docs about newsegment
18290
18291         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18292         Fix FIXME
18293
18294         * gst/gstcaps.c: (gst_caps_to_string):
18295         Add comments, cleanups.
18296         
18297         * gst/gstelement.c: (gst_element_save_thyself):
18298         cleanups
18299         
18300         * gst/gstvalue.c: (gst_value_collect_int_range),
18301         (gst_string_unwrap), (gst_value_union_int_int_range),
18302         (gst_value_union_int_range_int_range),
18303         (gst_value_intersect_int_int_range),
18304         (gst_value_intersect_int_range_int_range),
18305         (gst_value_intersect_double_double_range),
18306         (gst_value_intersect_double_range_double_range),
18307         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18308         (gst_value_subtract_int_range_int),
18309         (gst_value_subtract_double_range_double),
18310         (gst_value_subtract_double_range_double_range),
18311         (gst_value_subtract_from_list), (gst_value_subtract_list),
18312         (gst_value_can_compare), (gst_value_compare_fraction):
18313         Cleanups, add comments, remove unneeded asserts.
18314
18315 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18316
18317         * tools/gst-launch.c: (event_loop):
18318           don't convert NULL structures to strings
18319
18320 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
18321
18322         * docs/gst/gstreamer-sections.txt:
18323           made some defines private
18324         * docs/gst/tmpl/gstconfig.sgml:
18325         * docs/gst/tmpl/gstqueue.sgml:
18326         * docs/gst/tmpl/gsttaglist.sgml:
18327         * docs/gst/tmpl/gsttypes.sgml:
18328         * docs/gst/tmpl/gstutils.sgml:
18329         * docs/pwg/appendix-porting.xml:
18330         * gst/base/gstbasesink.h:
18331         * gst/base/gstbasesrc.c:
18332         * gst/base/gstbasesrc.h:
18333         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18334         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18335         * gst/gstelement.c: (gst_element_class_init):
18336         * gst/gstpad.c: (gst_pad_class_init):
18337         * gst/gstqueue.c: (gst_queue_class_init):
18338         * gst/gstxml.c: (gst_xml_class_init):
18339           documented all undocumented signal inline
18340         * libs/gst/controller/gst-controller.h:
18341           added padding
18342
18343 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18344
18345         * docs/pwg/appendix-porting.xml:
18346           Document _set_link_function -> _set_setcaps_function.
18347
18348 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18349
18350         * check/Makefile.am:
18351           add a .check target for running the check
18352         * check/gst-libs/controller.c: (GST_START_TEST):
18353           cosmetic fixups
18354         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18355           complete checks for gstbuffer; would be nice if I could get the
18356           gcov stuff to work so I can see if I actually completed gstbuffer.c
18357         * check/gstcheck.h:
18358           add ASSERT_BUFFER_REFCOUNT
18359
18360 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
18361
18362         * docs/gst/gstreamer-sections.txt:
18363         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18364         * gst/gsttag.h:
18365           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18366           spew out a warning if a tag that is already registered
18367           is re-registered, unless it is re-registered with a 
18368           different type (#308438).
18369
18370 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
18371
18372         * docs/pwg/appendix-porting.xml:
18373         * docs/pwg/building-state.xml:
18374           Add some paragraphs about state changes in 0.9 to the PWG
18375           and the porting guide, in particular about the new meaning
18376           of GST_STATE_PAUSED and how to write state change functions
18377           with concurrent access by multiple threads in mind.
18378
18379 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
18380
18381         * docs/gst/gstreamer-docs.sgml:
18382         * docs/libs/gstreamer-libs-docs.sgml:
18383           added deprecation and since indexes
18384         * libs/gst/controller/gst-controller.c:
18385         * libs/gst/controller/gst-helper.c:
18386           added since tags
18387
18388
18389 2005-08-11  Wim Taymans  <wim@fluendo.com>
18390
18391         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18392         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18393         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18394         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18395         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18396         (gst_ghost_pad_set_target):
18397         Actually implement (re)setting the target on a ghostpad
18398         as described in the docs.
18399
18400 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18401
18402         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18403           Check whether GST_DEBUG_NO_COLOR environment variable is
18404           set and disable coloured debug output if that is the case.
18405
18406 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18407
18408         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18409         (gst_type_find_helper):
18410           The memory returned by gst_type_find_peek() needs to
18411           stay valid until the end of a typefind function, and
18412           typefind functions may keep results from different 
18413           offsets around, so we can't just unref the buffer from
18414           the previous _peek(), but have to save all buffers 
18415           returned by _peek() until typefinding is done and only
18416           free them then.
18417
18418 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
18419
18420         * docs/gst/gstreamer-sections.txt:
18421         * gst/gstutils.h:
18422           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18423
18424 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18425
18426         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18427           Fix a pretty good memleak.
18428
18429 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18430
18431         * gst/gstiterator.h:
18432           Fix wrong include and 'make distcheck'.
18433
18434 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18435
18436         * gst/gstbin.c: (bin_bus_handler):
18437           Use gst_element_post_message() instead.
18438
18439 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18440
18441         * gst/base/gstadapter.h:
18442         * gst/base/gstbasesink.h:
18443         * gst/base/gstbasesrc.h:
18444         * gst/base/gstbasetransform.h:
18445         * gst/base/gstcollectpads.h:
18446         * gst/base/gstpushsrc.h:
18447         * gst/gstiterator.h:
18448           Add padding to our base elements' class and instance structs and
18449           to GstIterator (you will need to rebuild all plugins and apps!)
18450
18451 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18452
18453         * gst/gstbin.c: (bin_bus_handler):
18454           Make default message forwarding from child->bus to bin->bus
18455           threadsafe and make it not emit warnings if the parent has no bus.
18456
18457 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18458
18459         * gst/gstelement.c: (activate_pads):
18460           On paused->ready, set pad->caps to NULL, as is the documented
18461           behaviour in this state change. Fixes playback of series of
18462           media files when visualization is enabled in Totem.
18463
18464 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18465
18466         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18467           Allow NULL as filter-caps (which means "any").
18468
18469 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18470
18471         * docs/libs/gstreamer-libs-sections.txt:
18472         * libs/gst/controller/gst-controller.c:
18473         * libs/gst/controller/gst-controller.h:
18474         * libs/gst/controller/gst-helper.c:
18475           adding more entries to the docs and fix small doc-bugs
18476
18477 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18478
18479         * docs/gst/gstreamer-docs.sgml:
18480         * docs/gst/gstreamer-sections.txt:
18481         * docs/gst/gstreamer.types:
18482         * docs/gst/tmpl/gstbasesink.sgml:
18483         * docs/gst/tmpl/gstbasesrc.sgml:
18484         * docs/gst/tmpl/gstbasetransform.sgml:
18485         * docs/gst/tmpl/gstfakesrc.sgml:
18486         * gst/base/gstcollectpads.c:
18487         * gst/base/gstcollectpads.h:
18488         * libs/gst/controller/gst-controller.c:
18489         * libs/gst/controller/gst-controller.h:
18490         * libs/gst/controller/gst-helper.c:
18491         * libs/gst/controller/gst-interpolation.c:
18492         * libs/gst/controller/lib.c:
18493           added long/short desc for controller docs
18494           added collectpads base class docs
18495           added correct includes to base-class docs
18496
18497 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18498
18499         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18500         (gst_test_mono_source_set_property),
18501         (gst_test_mono_source_class_init), (GST_START_TEST),
18502         (gst_controller_suite):
18503         * docs/gst/gstreamer-docs.sgml:
18504         * docs/gst/gstreamer-sections.txt:
18505         * docs/gst/gstreamer.types:
18506         * docs/libs/gstreamer-libs-docs.sgml:
18507         * docs/libs/gstreamer-libs-sections.txt:
18508         * gst/base/gstadapter.c:
18509         * libs/gst/controller/gst-controller.c:
18510         (gst_controlled_property_new), (gst_controlled_property_free),
18511         (gst_controller_new_valist),
18512         (gst_controller_remove_properties_valist),
18513         (gst_controller_sink_values), (_gst_controller_finalize):
18514         * libs/gst/controller/gst-controller.h:
18515         * libs/gst/controller/gst-helper.c:
18516         (gst_object_control_properties), (gst_object_uncontrol_properties),
18517         (gst_object_get_controller), (gst_object_set_controller),
18518         (gst_object_sink_values), (gst_object_get_value_arrays),
18519         (gst_object_get_value_array):
18520           more tests (and fixes) for the controller
18521           more docs for the controller
18522           integrated companies docs for the adapter 
18523
18524 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18525
18526         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18527         (GST_START_TEST), (fakesrc_suite):
18528           add tests for sizetype
18529
18530 2005-08-04  Andy Wingo  <wingo@pobox.com>
18531
18532         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18533         fixes buffer_alloc proxying among other things.
18534
18535         * gst/base/gstbasetransform.c:
18536         * gst/base/gstbasetransform.h:
18537         Revert patch to gstbasetransform from 7-28 removing
18538         delay_configure.
18539
18540         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18541         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18542         Semantics changed, should return not the size of the output buffer
18543         but the byte size of a buffer with a given caps.
18544
18545         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18546         debug object.
18547         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18548         out) are not the pad caps until setcaps finishes.
18549         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18550         not-in-place case as well. Deal with changing from in-place to
18551         not-in-place within calling pad_alloc_buffer. Still a bit
18552         concerned about the overhead here...
18553
18554 2005-08-03  Andy Wingo  <wingo@pobox.com>
18555
18556         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18557         fixating is an error.
18558
18559 2005-08-04  Edward Hervey  <edward@fluendo.com>
18560
18561         * gst/base/gstadapter.h: 
18562         Added gst_adapter_get_type() to the header
18563
18564 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18565
18566         * check/Makefile.am:
18567         * check/gst-libs/controller.c:
18568         * libs/gst/controller/gst-controller.c:
18569         (gst_controller_new_valist):
18570           added check test suite for the controller
18571         * gst/base/gstpushsrc.c:
18572           fixed a doc typo
18573
18574 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18575
18576         * docs/gst/Makefile.am:
18577         * docs/gst/gstreamer-docs.sgml:
18578         * docs/gst/gstreamer-sections.txt:
18579         * docs/gst/gstreamer.types:
18580         * docs/gst/tmpl/gstfakesrc.sgml:
18581         * gst/base/README:
18582         * gst/base/gstbasesink.c:
18583         * gst/base/gstbasesink.h:
18584         * gst/base/gstbasesrc.c:
18585         * gst/base/gstbasesrc.h:
18586         * gst/base/gstbasetransform.c:
18587         * gst/base/gstpushsrc.c:
18588         * gst/base/gstpushsrc.h:
18589           add short/long description docs to base classes
18590           add pushsrc to the docs
18591           remove consolidated doc fragments
18592
18593 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18594
18595         * configure.ac:
18596         * docs/libs/Makefile.am:
18597         * docs/libs/gstreamer-libs-docs.sgml:
18598         * docs/libs/gstreamer-libs-sections.txt:
18599         * docs/libs/gstreamer-libs.types:
18600         * examples/Makefile.am:
18601         * examples/controller/.cvsignore:
18602         * examples/controller/Makefile.am:
18603         * examples/controller/audio-example.c: (main):
18604         * libs/gst/Makefile.am:
18605         * libs/gst/controller/.cvsignore:
18606         * libs/gst/controller/Makefile.am:
18607         * libs/gst/controller/gst-controller.c:
18608         (on_object_controlled_property_changed), (gst_timed_value_compare),
18609         (gst_timed_value_find),
18610         (gst_controlled_property_set_interpolation_mode),
18611         (gst_controlled_property_new), (gst_controlled_property_free),
18612         (gst_controller_find_controlled_property),
18613         (gst_controller_new_valist), (gst_controller_new),
18614         (gst_controller_remove_properties_valist),
18615         (gst_controller_remove_properties), (gst_controller_set),
18616         (gst_controller_set_from_list), (gst_controller_unset),
18617         (gst_controller_get), (gst_controller_get_all),
18618         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18619         (gst_controller_get_value_array),
18620         (gst_controller_set_interpolation_mode),
18621         (_gst_controller_finalize), (_gst_controller_init),
18622         (_gst_controller_class_init), (gst_controller_get_type):
18623         * libs/gst/controller/gst-controller.h:
18624         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18625         (g_object_uncontrol_properties), (g_object_get_controller),
18626         (g_object_set_controller), (g_object_sink_values),
18627         (g_object_get_value_arrays), (g_object_get_value_array):
18628         * libs/gst/controller/gst-interpolation.c:
18629         (gst_controlled_property_find_timed_value_node),
18630         (interpolate_none_get), (interpolate_trigger_get),
18631         (interpolate_trigger_get_value_array):
18632         * libs/gst/controller/lib.c: (gst_controller_init):
18633         * pkgconfig/Makefile.am:
18634         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18635         * pkgconfig/gstreamer-control.pc.in:
18636         * testsuite/Makefile.am:
18637         * testsuite/controller/.cvsignore:
18638         * testsuite/controller/Makefile.am:
18639         * testsuite/controller/interpolator.c: (main):
18640           added controller code
18641           removed dparam pc files
18642
18643 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18644         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18645         (gst_collectpads_stop):
18646           Broadcast the condition when shutting down, to make sure we wake all
18647           threads up. Shut down pads on finalize, for safety.
18648
18649 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18650         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18651         (gst_base_transform_handle_buffer),
18652         (gst_base_transform_change_state):
18653           Handle PAUSED->READY->PAUSED transition after negotiation
18654           occurred already.
18655         * gst/gstmessage.c: (gst_message_init):
18656           Extra piece of debug for new messages.
18657
18658 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18659
18660         * configure.ac:
18661         * docs/gst/tmpl/gstbasesrc.sgml:
18662         * docs/gst/tmpl/gstelement.sgml:
18663         * docs/gst/tmpl/gstevent.sgml:
18664         * docs/gst/tmpl/gstfakesrc.sgml:
18665         * docs/gst/tmpl/gstformat.sgml:
18666         * docs/gst/tmpl/gstghostpad.sgml:
18667         * docs/gst/tmpl/gstpad.sgml:
18668         * docs/gst/tmpl/gstquery.sgml:
18669         * docs/gst/tmpl/gststructure.sgml:
18670         * docs/gst/tmpl/gsttaglist.sgml:
18671         * docs/gst/tmpl/gstvalue.sgml:
18672         * docs/libs/gstreamer-libs-docs.sgml:
18673         * docs/libs/gstreamer-libs-sections.txt:
18674         * docs/libs/gstreamer-libs.types:
18675         * libs/gst/Makefile.am:
18676         * libs/gst/control/.cvsignore:
18677         * libs/gst/control/Makefile.am:
18678         * libs/gst/control/control.c:
18679         * libs/gst/control/control.h:
18680         * libs/gst/control/dparam.c:
18681         * libs/gst/control/dparam.h:
18682         * libs/gst/control/dparam_smooth.c:
18683         * libs/gst/control/dparam_smooth.h:
18684         * libs/gst/control/dparamcommon.h:
18685         * libs/gst/control/dparammanager.c:
18686         * libs/gst/control/dparammanager.h:
18687         * libs/gst/control/dplinearinterp.c:
18688         * libs/gst/control/dplinearinterp.h:
18689         * libs/gst/control/unitconvert.c:
18690         * libs/gst/control/unitconvert.h:
18691         * testsuite/Makefile.am:
18692         * testsuite/dynparams/.cvsignore:
18693         * testsuite/dynparams/Makefile.am:
18694         * testsuite/dynparams/dparamstest.c:
18695         * tools/Makefile.am:
18696         * tools/gst-inspect.c: (print_element_info), (main):
18697         * tools/gst-xmlinspect.c: (print_element_info), (main):
18698           deactivate and remove dparams (libgstcontrol)
18699
18700 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18701
18702         * gst/elements/gsttypefindelement.c:
18703         (gst_type_find_element_have_type), (gst_type_find_element_init),
18704         (stop_typefinding), (gst_type_find_element_handle_event),
18705         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18706         * gst/elements/gsttypefindelement.h:
18707           Set caps on all outgoing buffers, not just the first one.
18708
18709 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18710
18711         * gst/elements/gsttypefindelement.c:
18712         (gst_type_find_element_have_type),
18713         (gst_type_find_element_check_set_buffer_caps),
18714         (gst_type_find_element_init), (stop_typefinding),
18715         (gst_type_find_element_handle_event),
18716         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18717         * gst/elements/gsttypefindelement.h:
18718           Set caps on first outgoing buffer when we've found the type.
18719
18720 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18721
18722         * docs/gst/gstreamer-docs.sgml:
18723         * docs/gst/gstreamer-sections.txt:
18724         * docs/gst/tmpl/gstscheduler.sgml:
18725         * docs/gst/tmpl/gstschedulerfactory.sgml:
18726           Remove some old cruft from docs.
18727
18728 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18729
18730         * gst/gstpad.h:
18731           Fix inline docs for GstPadLinkReturn.
18732           
18733         * gst/gststructure.c: (gst_structure_has_name):
18734         * gst/gststructure.h:
18735         * docs/gst/gstreamer-sections.txt:
18736           New API: gst_structure_has_name().
18737
18738 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18739
18740         * configure.ac:
18741           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18742           and _LARGEFILE_SOURCE in config.h as required. Do not 
18743           export those flags in our .pc files any longer (#142209).
18744
18745           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18746
18747         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18748         (gst_file_sink_do_seek), (gst_file_sink_event),
18749         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18750           Redo seek/tell calls with large file support in mind; add some
18751           debugging messages; add log message that tells us when large
18752           file support is unavailable or not enabled for some reason.
18753
18754         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18755           Add log message that tells us when large file support 
18756           is unavailable or not enabled for some reason.
18757
18758 2005-07-29  Wim Taymans  <wim@fluendo.com>
18759
18760         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18761         Added test for removing an element with ghostpad from a bin.
18762         Fixed test as current implementation does the right thing.
18763
18764         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18765         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18766         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18767         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18768         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18769         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18770         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18771         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18772         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18773         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18774         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18775         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18776         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18777         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18778         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18779         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18780         * gst/gstghostpad.h:
18781         Clean up ghostpads, remove properties for internal stuff.
18782         Make threadsafe.
18783         Fix refcounting.
18784         Prepare for switching targets, not all use cases work yet.
18785
18786 2005-07-29  Wim Taymans  <wim@fluendo.com>
18787
18788         * docs/design/part-gstghostpad.txt:
18789         Small update.
18790
18791         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18792         (gst_bin_remove_func):
18793         Unlinking pads while holding the bin LOCK is not a good
18794         idea.
18795
18796         * gst/gstpad.c: (gst_pad_class_init),
18797         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18798         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18799         No prob setting template after creating the pad.
18800
18801 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18802
18803         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18804         (gst_bus_peek), (gst_bus_source_dispatch),
18805         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18806         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18807           gst_bus_poll may be called from other threads. Handle
18808           this nicely by not making poll_data disappear off the
18809           stack once gst_bus_poll returns.
18810           gst_bus_peek now increments the refcount on the returned
18811           message.
18812
18813 2005-07-29  Wim Taymans  <wim@fluendo.com>
18814
18815         * docs/design/part-gstghostpad.txt:
18816         Overview of current GhostPad datastructures and use
18817         cases for changing the target.
18818
18819 2005-07-28  Wim Taymans  <wim@fluendo.com>
18820
18821         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18822         Added checks for hierarchy consistency whan adding linked
18823         elements to bins.
18824
18825         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18826         Added check to test element scheduling without bin/pipeline.
18827
18828         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18829         First add elements to bin, then link.
18830         
18831         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18832         (gst_bin_remove_func):
18833         Unlink pads from elements added/removed from bin to maintain
18834         hierarchy consistency.
18835
18836 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18837
18838         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18839         (gst_base_transform_handle_buffer):
18840         * gst/base/gstbasetransform.h:
18841           Remove broken delay_configure (fixes renegotiation of software
18842           scaling pipelines); remove some leftover printf()s.
18843
18844 2005-07-28  Wim Taymans  <wim@fluendo.com>
18845
18846         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18847         Added some more tests for wrong hierarchy
18848
18849         * docs/design/part-overview.txt:
18850         Some updates.
18851
18852         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18853         Cleanups.
18854
18855         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18856         (gst_element_dispose):
18857         Some more cleanups.
18858
18859         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18860         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18861         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18862         (gst_pad_set_caps), (gst_pad_send_event):
18863         Check for correct hierarchy when linking pads. Moving to
18864         strict requirement for ghostpads when linking elements in
18865         different bins.
18866
18867         * gst/gstpad.h:
18868         Clean ups. Added WRONG_HIERARCHY return value.
18869
18870 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18871
18872         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18873           Better debug if no transform is possible.
18874
18875 2005-07-27  Wim Taymans  <wim@fluendo.com>
18876
18877         * docs/random/wtay/network-transp:
18878         Some old doc I had.
18879
18880 2005-07-27  Wim Taymans  <wim@fluendo.com>
18881
18882         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18883         (gst_dp_event_from_packet):
18884         Fix serialization of seek events.
18885
18886 2005-07-27  Wim Taymans  <wim@fluendo.com>
18887
18888         * check/gst-libs/gdp.c: (GST_START_TEST):
18889         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18890         Fix compilation and fix event serialization.
18891
18892 2005-07-27  Wim Taymans  <wim@fluendo.com>
18893
18894         * CHANGES-0.9:
18895         * docs/design/part-TODO.txt:
18896         * docs/design/part-events.txt:
18897         Some docs updates
18898
18899         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18900         (gst_base_sink_event), (gst_base_sink_do_sync),
18901         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18902         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18903         (gst_base_src_do_seek), (gst_base_src_event_handler),
18904         (gst_base_src_loop):
18905         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18906         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18907         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18908         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18909         (gst_base_transform_set_passthrough),
18910         (gst_base_transform_is_passthrough):
18911         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18912         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18913         Event updates.
18914
18915         * gst/gstbuffer.h:
18916         Use faster casts.
18917
18918         * gst/gstelement.c: (gst_element_seek):
18919         * gst/gstelement.h:
18920         Update gst_element_seek.
18921
18922         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18923         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18924         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18925         (gst_event_new_eos), (gst_event_new_newsegment),
18926         (gst_event_parse_newsegment), (gst_event_new_tag),
18927         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18928         (gst_event_parse_qos), (gst_event_new_seek),
18929         (gst_event_parse_seek), (gst_event_new_navigation):
18930         * gst/gstevent.h:
18931         Make GstEvent use GstStructure. Add parsing code, make sure the
18932         API is sufficiently generic.
18933         Mark possible directions of events and serialization.
18934
18935         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18936         (_gst_message_copy), (gst_message_new_segment_start),
18937         (gst_message_new_segment_done), (gst_message_new_custom),
18938         (gst_message_parse_segment_start),
18939         (gst_message_parse_segment_done):
18940         Small cleanups.
18941
18942         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18943         (gst_pad_set_caps), (gst_pad_send_event):
18944         Update for new events. 
18945         Catch events sent in wrong directions.
18946
18947         * gst/gstqueue.c: (gst_queue_link_src),
18948         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18949         (gst_queue_handle_src_query):
18950         Event updates.
18951
18952         * gst/gsttag.c:
18953         * gst/gsttag.h:
18954         Remove event code from this file.
18955
18956         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18957         (gst_dp_event_from_packet):
18958         Event updates.
18959
18960 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18961
18962         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18963         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18964         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18965           Make debugging actually useful.
18966
18967 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18968
18969         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18970         (gst_pad_fixate_caps):
18971           Implement default fixation once again, so that gst_pad_fixate()
18972           actually does anything at all. This probably needs to be some
18973           sort of a last resort, and use profile-based fixation first, but
18974           since that doesn't exist yet, this is the best we have. Fixes
18975           visualization in Totem.
18976
18977 2005-07-22  Wim Taymans  <wim@fluendo.com>
18978
18979         * docs/design/part-events.txt:
18980         Small update.
18981
18982         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18983         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18984         (gst_base_sink_activate_pull):
18985         Some more comments.
18986
18987         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18988         (gst_fake_src_create):
18989         Fix handoff marshall.
18990
18991         * gst/elements/gstidentity.c: (gst_identity_class_init),
18992         (gst_identity_transform_ip):
18993         We're a real inplace element.
18994
18995         * gst/gstbus.c: (gst_bus_post):
18996         Added some comments.
18997
18998         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18999         * tests/muxing/case1.c: (main):
19000         * tests/sched/dynamic-pipeline.c: (main):
19001         * tests/sched/interrupt1.c: (main):
19002         * tests/sched/interrupt2.c: (main):
19003         * tests/sched/interrupt3.c: (main):
19004         * tests/sched/runxml.c: (main):
19005         * tests/sched/sched-stress.c: (main):
19006         * tests/seeking/seeking1.c: (event_received), (main):
19007         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19008         (main):
19009         * tests/threadstate/threadstate3.c: (main):
19010         * tests/threadstate/threadstate4.c: (main):
19011         * tests/threadstate/threadstate5.c: (main):
19012         Fix the tests.
19013
19014 2005-07-21  Wim Taymans  <wim@fluendo.com>
19015
19016         * docs/design/part-seeking.txt:
19017         Some small additions.
19018
19019         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19020         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19021         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19022         * gst/base/gstbasesink.h:
19023         discont values are gint64, handle the math correctly.
19024
19025         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19026         Make the basesrc report error if the source pad is not linked.
19027
19028         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19029         (gst_queue_loop), (gst_queue_handle_src_query),
19030         (gst_queue_src_activate_push):
19031         Make queue collect data even if the srcpad is not linked.
19032         Start pushing out data as soon as it is linked.
19033
19034         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19035         * gst/gstutils.h:
19036         Added gst_flow_get_name() to ease error reporting.
19037
19038 2005-07-20  Wim Taymans  <wim@fluendo.com>
19039
19040         * gst/gstmessage.c: (gst_message_new_segment_start),
19041         (gst_message_new_segment_done), (gst_message_parse_segment_start),
19042         (gst_message_parse_segment_done):
19043         * gst/gstmessage.h:
19044         Added a bunch of messages for advanced seeking.
19045
19046         * gst/parse/grammar.y:
19047         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19048         (gst_dpman_state_changed):
19049         Fix some new-pad -> pad-added signals
19050
19051 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19052
19053         * docs/manual/appendix-porting.xml:
19054         * docs/pwg/appendix-porting.xml:
19055           Document new-pad/state-change signal renames and the FixedList
19056           type rename.
19057
19058 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19059
19060         * docs/manual/advanced-autoplugging.xml:
19061         * docs/manual/basics-helloworld.xml:
19062         * docs/manual/basics-pads.xml:
19063         * docs/random/ds/0.9-suggested-changes:
19064         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19065         * gst/gstelement.h:
19066         * gst/gstevent.h:
19067         * gst/gstformat.h:
19068         * gst/gstquery.h:
19069         * gst/gststructure.c: (gst_structure_value_get_generic_type),
19070         (gst_structure_parse_array), (gst_structure_parse_value):
19071         * gst/gstvalue.c: (gst_type_is_fixed),
19072         (gst_value_list_prepend_value), (gst_value_list_append_value),
19073         (gst_value_list_get_size), (gst_value_list_get_value),
19074         (gst_value_transform_array_string), (gst_value_serialize_array),
19075         (gst_value_deserialize_array), (gst_value_intersect_array),
19076         (gst_value_is_fixed), (_gst_value_initialize):
19077         * gst/gstvalue.h:
19078           GstElement::new-pad -> pad-added, GstElement::state-change ->
19079           state-changed, GstValueFixedList -> GstValueArray, add format and
19080           flags as their own arguments in gst_element_seek() (should improve
19081           "bindeability"), remove function generators since they don't work
19082           under a whole bunch of compilers (they were deprecated already
19083           anyway).
19084
19085 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19086
19087         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19088         (_gst_debug_register_funcptr):
19089         * gst/gstinfo.h:
19090           Fix illegal cast on some platforms (#309253).
19091
19092 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19093
19094         * gst/gstmessage.c: (gst_message_new_custom):
19095         * gst/gstmessage.h:
19096           Add _new_custom, make _new_application a macro to _new_custom.
19097
19098 2005-07-20  Wim Taymans  <wim@fluendo.com>
19099
19100         * gst/base/gstbasesrc.c: (gst_base_src_init),
19101         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19102         * gst/base/gstbasesrc.h:
19103         Add a gboolean to decide when to push out a discont.
19104
19105         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19106         (gst_queue_loop), (gst_queue_handle_src_query),
19107         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19108         (gst_queue_set_property), (gst_queue_get_property):
19109         Some cleanups.
19110
19111         * tests/threadstate/threadstate1.c: (main):
19112         Make a thread test compile and run... very silly..
19113
19114
19115 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19116
19117         * docs/manual/appendix-porting.xml:
19118           Mention removal of libgstgconf-0.9.la and existence of gconf
19119           elements.
19120
19121 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19122
19123         * docs/pwg/advanced-clock.xml:
19124         * docs/pwg/appendix-porting.xml:
19125         * docs/pwg/intro-preface.xml:
19126         * docs/pwg/other-base.xml:
19127         * docs/pwg/other-manager.xml:
19128         * docs/pwg/other-nton.xml:
19129         * docs/pwg/other-ntoone.xml:
19130         * docs/pwg/other-oneton.xml:
19131         * docs/pwg/pwg.xml:
19132           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19133           demuxer), remove n-to-n (was never written), fix some code examples
19134           and links and update the porting section to include all this.
19135
19136 2005-07-19  Wim Taymans  <wim@fluendo.com>
19137
19138         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19139         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19140         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19141         (gst_queue_src_activate_push), (gst_queue_change_state),
19142         (gst_queue_get_property):
19143         * gst/gstqueue.h:
19144         Propagate GstFlowReturn more intelligently upstream and output
19145         an ERROR/EOS when streaming stopped due to fatal error.
19146
19147 2005-07-19  Wim Taymans  <wim@fluendo.com>
19148
19149         * tools/gst-launch.c: (check_intr), (event_loop), (main):
19150         Don't block forever for the state change to complete, the
19151         pipeline already did with a sensible timeout.
19152
19153 2005-07-19  Wim Taymans  <wim@fluendo.com>
19154
19155         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19156         Make sure we never call the create function is we
19157         got deactivated.
19158
19159 2005-07-19  Andy Wingo  <wingo@pobox.com>
19160
19161         * gst/parse/parse.l: Attempt to solve bug #172815.
19162
19163 2005-07-19  Wim Taymans  <wim@fluendo.com>
19164
19165         * docs/design/part-clocks.txt:
19166         * docs/design/part-events.txt:
19167         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19168         Small docs updates.
19169         Only update the seeking values when we are not
19170         busy streaming.
19171
19172 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
19173
19174         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19175           Oops, ignore the result of gst_pad_push_event here.
19176
19177 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
19178
19179         * gst/base/gstbasesrc.c: (gst_base_src_loop),
19180         (gst_base_src_activate_push):
19181           Send discont event from the loop function, as pads
19182           aren't activated yet in the activate_push handler.
19183
19184         * gst/gstbin.c: (bin_bus_handler):
19185           Don't leak element name.
19186
19187 2005-07-18  Andy Wingo  <wingo@pobox.com>
19188
19189         * configure.ac: Use AS_LIBTOOL_TAGS.
19190
19191 2005-07-18  Wim Taymans  <wim@fluendo.com>
19192
19193         * docs/gst/gstreamer.types:
19194         Remove deleted types.
19195
19196 2005-07-18  Wim Taymans  <wim@fluendo.com>
19197
19198         * check/elements/gstfakesrc.c: (GST_START_TEST):
19199         * configure.ac:
19200         * gst/Makefile.am:
19201         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19202         (init_popt_callback):
19203         * gst/gst.h:
19204         * gst/gst_private.h:
19205         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19206         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19207         * gst/gstbin.h:
19208         * gst/gstbus.h:
19209         * gst/gstconfig.h.in:
19210         * gst/gstelement.c: (gst_element_class_init),
19211         (gst_element_set_base_time), (gst_element_get_base_time),
19212         (iterator_fold_with_resync), (gst_element_change_state),
19213         (gst_element_dispose), (gst_element_get_bus):
19214         * gst/gstelement.h:
19215         * gst/gstelementfactory.h:
19216         * gst/gsterror.c: (_gst_core_errors_init):
19217         * gst/gsterror.h:
19218         * gst/gstevent.h:
19219         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19220         * gst/gstindex.c:
19221         * gst/gstinfo.c: (_gst_debug_init):
19222         * gst/gstmessage.c: (_gst_message_copy):
19223         * gst/gstmessage.h:
19224         * gst/gstminiobject.h:
19225         * gst/gstobject.c:
19226         * gst/gstobject.h:
19227         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19228         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19229         * gst/gstpad.h:
19230         * gst/gstparse.h:
19231         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19232         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19233         (gst_pipeline_get_last_stream_time):
19234         * gst/gstpipeline.h:
19235         * gst/gstpluginfeature.h:
19236         * gst/gstquery.h:
19237         * gst/gstscheduler.c:
19238         * gst/gstscheduler.h:
19239         * gst/gststructure.h:
19240         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19241         (gst_task_finalize), (gst_task_func), (gst_task_create),
19242         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19243         (gst_task_stop), (gst_task_pause):
19244         * gst/gsttask.h:
19245         * gst/gsttypefind.h:
19246         * gst/gsttypes.h:
19247         * gst/registries/gstlibxmlregistry.c: (load_feature),
19248         (gst_xml_registry_load), (gst_xml_registry_save_feature):
19249         * gst/registries/gstxmlregistry.c:
19250         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19251         * gst/schedulers/threadscheduler.c:
19252         * libs/gst/control/dparammanager.h:
19253         * tools/gst-inspect.c: (print_element_list),
19254         (print_plugin_features), (print_element_features):
19255         * tools/gst-xmlinspect.c: (print_element_list),
19256         (print_plugin_info), (main):
19257         Removed plugable schedulers.
19258         Removed Scheduler/Manager from elements.
19259         Removed gsttypes.h, rearranged includes.
19260         Removed dependency pad<->element, element<>pipeline, and
19261         various others,  fix includes.
19262         implement gst_pad_get_parent() with gst_object_get_parent()
19263         Make GstTask sefcontained.
19264         Fix _get_state() on GstBin, it did not return ASYNC with a 0
19265         timeout.
19266         Fix endless loop in iterator_fold_with_resync.
19267
19268
19269 2005-07-18  Wim Taymans  <wim@fluendo.com>
19270
19271         * gst/Makefile.am:
19272         * gst/gstarch.h:
19273         Remove old file.
19274
19275 2005-07-18  Wim Taymans  <wim@fluendo.com>
19276
19277         * gst/Makefile.am:
19278         No more cothreads.h
19279
19280 2005-07-18  Wim Taymans  <wim@fluendo.com>
19281
19282         * gst/cothreads.c:
19283         * gst/cothreads.h:
19284         Let's remove these.
19285
19286 2005-07-18  Wim Taymans  <wim@fluendo.com>
19287
19288         * docs/design/part-dynamic.txt:
19289         * docs/design/part-events.txt:
19290         * docs/design/part-seeking.txt:
19291         Some more docs in the works.
19292
19293         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19294         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19295         (gst_base_transform_setcaps), (gst_base_transform_get_size),
19296         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19297         (gst_base_transform_handle_buffer),
19298         (gst_base_transform_sink_activate_push),
19299         (gst_base_transform_src_activate_pull),
19300         (gst_base_transform_set_passthrough),
19301         (gst_base_transform_is_passthrough):
19302         Refcounting fixes.
19303
19304         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19305         Cleanups.
19306
19307         * gst/gstevent.c: (gst_event_finalize):
19308         Set SRC to NULL.
19309
19310         * gst/gstutils.c: (gst_element_unlink),
19311         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19312         (gst_pad_proxy_setcaps):
19313         * gst/gstutils.h:
19314         Add _get_parent_element() to get a pads parent as an element.
19315
19316 2005-07-18  Wim Taymans  <wim@fluendo.com>
19317
19318         * check/gst/gstbin.c: (GST_START_TEST):
19319         Remove bogus test.
19320
19321 2005-07-18  Wim Taymans  <wim@fluendo.com>
19322
19323         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19324         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19325         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19326         (gst_base_sink_event), (gst_base_sink_do_sync),
19327         (gst_base_sink_chain), (gst_base_sink_loop),
19328         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19329         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19330         Refcounting fixes.
19331         Fix logic for returning ASYNC when not prerolled.
19332
19333 2005-07-18  Wim Taymans  <wim@fluendo.com>
19334
19335         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19336         Fix nasty refcount bug.
19337
19338 2005-07-16 Philippe Khalaf <burger@speedy.org>
19339
19340         * gst/elements/gstfdsrc.c:
19341         * gst/elements/gstfdsrc.h:
19342         * gst/elements/gstelements.c:
19343         * gst/elements/Makefile.am:
19344         Ported fdsrc to 0.9.
19345
19346 2005-07-16  Wim Taymans  <wim@fluendo.com>
19347
19348         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19349         (gst_base_sink_do_sync):
19350         Fix compile error.
19351
19352 2005-07-16  Wim Taymans  <wim@fluendo.com>
19353
19354         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19355         (gst_base_sink_event), (gst_base_sink_get_times),
19356         (gst_base_sink_do_sync), (gst_base_sink_change_state):
19357         * gst/base/gstbasesink.h:
19358         Store and use discont values when syncing buffers as described
19359         in design docs.
19360         
19361         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19362         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19363         (gst_base_src_activate_push):
19364         Push discont event when starting.
19365
19366         * gst/elements/gstidentity.c: (gst_identity_transform):
19367         Small cleanups.
19368
19369         * gst/gstbin.c: (gst_bin_change_state):
19370         Small cleanups in base_time  distribution.
19371
19372         * gst/gstelement.c: (gst_element_set_base_time),
19373         (gst_element_get_base_time), (gst_element_change_state):
19374         * gst/gstelement.h:
19375         Added methods for the base_time of the element.
19376         Some MT fixes.
19377
19378         * gst/gstpipeline.c: (gst_pipeline_send_event),
19379         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19380         (gst_pipeline_get_last_stream_time):
19381         * gst/gstpipeline.h:
19382         MT fixes.
19383         Handle seeking as described in design doc, remove stream_time
19384         hack.
19385         Cleanups clock and stream_time selection code. Added accessors
19386         for the stream_time.
19387         
19388
19389 2005-07-16  Andy Wingo  <wingo@pobox.com>
19390
19391         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19392         (#305291).
19393
19394 2005-07-16  Wim Taymans  <wim@fluendo.com>
19395
19396         * check/gst/gstbin.c: (GST_START_TEST):
19397         Make elements silent as the deep_notify refs the
19398         parent, which might make the test fail.
19399
19400         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19401         Don't hold the lock for too long.
19402
19403 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
19404
19405         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19406           Don't unref the caps we passed to gst_caps_make_writable() after
19407           passing them. gst_caps_make_writable() will do that for us.
19408
19409 2005-07-15  Andy Wingo  <wingo@pobox.com>
19410
19411         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19412         (#157311).
19413
19414         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19415         own marshalling function for the handoff signal. Properly type the
19416         buffer as a buffer. Fixes some warnings. Should do a more general
19417         solution.
19418         (gst_identity_class_init): Plug into the right marshaller.
19419
19420 2005-07-15  Wim Taymans  <wim@fluendo.com>
19421
19422         * docs/design/part-TODO.txt:
19423         * docs/design/part-clocks.txt:
19424         * docs/design/part-element-sink.txt:
19425         * docs/design/part-events.txt:
19426         * docs/design/part-gstpipeline.txt:
19427         Updated docs, mostly DISCONT related.
19428
19429 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
19430
19431         * docs/pwg/building-pads.xml:
19432           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19433
19434 2005-07-15  Andy Wingo  <wingo@pobox.com>
19435
19436         * tools/gst-typefind.c: Update, add copyright block.
19437
19438         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19439         Normalize and truncate caps before fixation.
19440
19441         * gst/gstcaps.h:
19442         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19443         discards all but the first structure from its argument.
19444
19445 2005-07-15  Wim Taymans  <wim@fluendo.com>
19446
19447         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19448         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19449         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19450         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19451         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19452         (gst_base_transform_chain), (gst_base_transform_change_state),
19453         (gst_base_transform_set_passthrough),
19454         (gst_base_transform_is_passthrough):
19455         * gst/base/gstbasetransform.h:
19456         Make passthrough work using the bufferpools.
19457         Changed API a bit, subclasses have to write into a buffer
19458         provided by the base class.
19459         More debug info in nego functions.
19460         
19461         * gst/elements/gstidentity.c: (gst_identity_init),
19462         (gst_identity_transform):
19463         Port to new base class.
19464
19465 2005-07-15  Wim Taymans  <wim@fluendo.com>
19466
19467         * gst/gstmessage.c: (gst_message_new_state_changed):
19468         * tools/gst-launch.c: (event_loop), (main):
19469         Totally dump messages in -launch with the -m option.
19470         Fix message name for State messages,
19471
19472 2005-07-14  Wim Taymans  <wim@fluendo.com>
19473
19474         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19475         Post error messages on errors.
19476
19477 2005-07-14  Wim Taymans  <wim@fluendo.com>
19478
19479         * gst/gstcaps.c: (gst_caps_do_simplify):
19480         Remove debug info.
19481
19482         * gst/gsterror.h:
19483         Define error for stream stopped.
19484
19485         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19486         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19487         Do proper return values.
19488
19489         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19490         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19491         (gst_pad_get_range):
19492         Better return values.
19493
19494         * gst/gstpad.h:
19495         Reorganise return values, add macro to check for fatal errors.
19496
19497         * gst/gstqueue.c: (gst_queue_chain):
19498         Return proper GstFlowReturn values,
19499
19500 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19501
19502         * docs/gst/gstreamer-sections.txt:
19503         * docs/gst/gstreamer.types:
19504         * docs/gst/tmpl/gst.sgml:
19505         * docs/gst/tmpl/gstbasesink.sgml:
19506         * docs/gst/tmpl/gstbasesrc.sgml:
19507         * docs/gst/tmpl/gstbasetransform.sgml:
19508         * docs/gst/tmpl/gstbin.sgml:
19509         * docs/gst/tmpl/gstbuffer.sgml:
19510         * docs/gst/tmpl/gstcaps.sgml:
19511         * docs/gst/tmpl/gstclock.sgml:
19512         * docs/gst/tmpl/gstcompat.sgml:
19513         * docs/gst/tmpl/gstconfig.sgml:
19514         * docs/gst/tmpl/gstelement.sgml:
19515         * docs/gst/tmpl/gstelementdetails.sgml:
19516         * docs/gst/tmpl/gstelementfactory.sgml:
19517         * docs/gst/tmpl/gstenumtypes.sgml:
19518         * docs/gst/tmpl/gsterror.sgml:
19519         * docs/gst/tmpl/gstevent.sgml:
19520         * docs/gst/tmpl/gstfakesink.sgml:
19521         * docs/gst/tmpl/gstfakesrc.sgml:
19522         * docs/gst/tmpl/gstfilesink.sgml:
19523         * docs/gst/tmpl/gstfilesrc.sgml:
19524         * docs/gst/tmpl/gstfilter.sgml:
19525         * docs/gst/tmpl/gstformat.sgml:
19526         * docs/gst/tmpl/gstghostpad.sgml:
19527         * docs/gst/tmpl/gstimplementsinterface.sgml:
19528         * docs/gst/tmpl/gstindex.sgml:
19529         * docs/gst/tmpl/gstindexfactory.sgml:
19530         * docs/gst/tmpl/gstinfo.sgml:
19531         * docs/gst/tmpl/gstiterator.sgml:
19532         * docs/gst/tmpl/gstmacros.sgml:
19533         * docs/gst/tmpl/gstmemchunk.sgml:
19534         * docs/gst/tmpl/gstminiobject.sgml:
19535         * docs/gst/tmpl/gstobject.sgml:
19536         * docs/gst/tmpl/gstpad.sgml:
19537         * docs/gst/tmpl/gstpadtemplate.sgml:
19538         * docs/gst/tmpl/gstparse.sgml:
19539         * docs/gst/tmpl/gstpipeline.sgml:
19540         * docs/gst/tmpl/gstplugin.sgml:
19541         * docs/gst/tmpl/gstpluginfeature.sgml:
19542         * docs/gst/tmpl/gstquery.sgml:
19543         * docs/gst/tmpl/gstqueue.sgml:
19544         * docs/gst/tmpl/gstregistry.sgml:
19545         * docs/gst/tmpl/gstregistrypool.sgml:
19546         * docs/gst/tmpl/gstscheduler.sgml:
19547         * docs/gst/tmpl/gstschedulerfactory.sgml:
19548         * docs/gst/tmpl/gststructure.sgml:
19549         * docs/gst/tmpl/gstsystemclock.sgml:
19550         * docs/gst/tmpl/gsttaglist.sgml:
19551         * docs/gst/tmpl/gsttagsetter.sgml:
19552         * docs/gst/tmpl/gsttrace.sgml:
19553         * docs/gst/tmpl/gsttrashstack.sgml:
19554         * docs/gst/tmpl/gsttypefind.sgml:
19555         * docs/gst/tmpl/gsttypefindfactory.sgml:
19556         * docs/gst/tmpl/gsttypes.sgml:
19557         * docs/gst/tmpl/gsturihandler.sgml:
19558         * docs/gst/tmpl/gsturitype.sgml:
19559         * docs/gst/tmpl/gstutils.sgml:
19560         * docs/gst/tmpl/gstvalue.sgml:
19561         * docs/gst/tmpl/gstversion.sgml:
19562         * docs/gst/tmpl/gstxml.sgml:
19563         * docs/libs/tmpl/gstcontrol.sgml:
19564         * docs/libs/tmpl/gstdataprotocol.sgml:
19565         * docs/libs/tmpl/gstdparam.sgml:
19566         * docs/libs/tmpl/gstdplinint.sgml:
19567         * docs/libs/tmpl/gstdpman.sgml:
19568         * docs/libs/tmpl/gstdpsmooth.sgml:
19569         * docs/libs/tmpl/gstgetbits.sgml:
19570         * docs/libs/tmpl/gstunitconvert.sgml:
19571         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19572         (gst_push_src_base_init), (gst_push_src_class_init),
19573         (gst_push_src_init), (gst_push_src_create):
19574         * gst/base/gstpushsrc.h:
19575         * gst/elements/gstelements.c:
19576         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19577         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19578         (gst_fake_sink_init), (gst_fake_sink_set_property),
19579         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19580         (gst_fake_sink_event), (gst_fake_sink_preroll),
19581         (gst_fake_sink_render), (gst_fake_sink_change_state):
19582         * gst/elements/gstfakesink.h:
19583         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19584         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19585         (gst_fake_src_base_init), (gst_fake_src_class_init),
19586         (gst_fake_src_init), (gst_fake_src_event_handler),
19587         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19588         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19589         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19590         (gst_fake_src_create_buffer), (gst_fake_src_create),
19591         (gst_fake_src_start), (gst_fake_src_stop):
19592         * gst/elements/gstfakesrc.h:
19593         * gst/elements/gstfilesink.c: (_do_init),
19594         (gst_file_sink_base_init), (gst_file_sink_class_init),
19595         (gst_file_sink_init), (gst_file_sink_dispose),
19596         (gst_file_sink_set_location), (gst_file_sink_set_property),
19597         (gst_file_sink_get_property), (gst_file_sink_open_file),
19598         (gst_file_sink_close_file), (gst_file_sink_query),
19599         (gst_file_sink_event), (gst_file_sink_render),
19600         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19601         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19602         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19603         * gst/elements/gstfilesink.h:
19604         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19605         (gst_file_src_class_init), (gst_file_src_init),
19606         (gst_file_src_finalize), (gst_file_src_set_location),
19607         (gst_file_src_set_property), (gst_file_src_get_property),
19608         (gst_file_src_map_region), (gst_file_src_map_small_region),
19609         (gst_file_src_create_mmap), (gst_file_src_create_read),
19610         (gst_file_src_create), (gst_file_src_is_seekable),
19611         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19612         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19613         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19614         (gst_file_src_uri_handler_init):
19615         * gst/elements/gstfilesrc.h:
19616           more autistic cleanliness in functions/names/defines
19617
19618 2005-07-13  Andy Wingo  <wingo@pobox.com>
19619
19620         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19621         source couldn't negotiate.
19622
19623         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19624         connections again.
19625
19626         * gst/gstutils.h:
19627         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19628         function. I am channeling Hades. Put your boots on suckers!!!
19629
19630 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19631
19632         * testsuite/caps/Makefile.am:
19633         * testsuite/caps/value_compare.c:
19634         * testsuite/caps/value_intersect.c:
19635         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19636           move two testsuite apps over to the check dir
19637
19638 2005-07-12  Wim Taymans  <wim@fluendo.com>
19639
19640         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19641         Added more debug info in the negotiate process.
19642
19643         * gst/gstmessage.h:
19644         Prepare for segment playback.
19645
19646         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19647         Better debugging.
19648
19649         * gst/gstutils.c:
19650         Some more docs.
19651
19652         * tools/gst-launch.c: (main):
19653         NULL pipeline on errors.
19654
19655 2005-07-12  Andy Wingo  <wingo@pobox.com>
19656
19657         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19658         not it comes from a malloc region. Make sure our copy gets freed.
19659
19660 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19661
19662         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19663         * check/gst/gstmessage.c: (GST_START_TEST):
19664         * check/gst/gststructure.c: (GST_START_TEST),
19665         (gst_structure_suite), (main):
19666           more testing
19667         * gst/gstelement.c: (gst_element_message_full):
19668           clean up GError and debug string now that they get copied
19669         * gst/gstmessage.c: (gst_message_new_error),
19670         (gst_message_new_warning), (gst_message_parse_error),
19671         (gst_message_parse_warning):
19672           use GST_TYPE_G_ERROR for structure_new, and take copies of
19673           arguments, so that we don't mess up refcounting
19674
19675 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * check/Makefile.am:
19678           add per-test valgrind targets
19679         * check/gst-libs/gdp.c: (GST_START_TEST),
19680         (gst_data_protocol_suite), (main):
19681           clean up
19682
19683 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19684
19685         * check/Makefile.am:
19686           instate more valgrindable tests
19687         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19688         (GST_START_TEST), (fakesrc_suite):
19689         * check/gst/gstpad.c: (GST_START_TEST):
19690         * check/gst/gststructure.c: (GST_START_TEST):
19691           fix test leaks
19692         * docs/gst/tmpl/gstminiobject.sgml:
19693         * gst/gstpad.c: (gst_pad_finalize):
19694           fix the static mutex leak
19695
19696 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19697
19698         * check/Makefile.am:
19699           add two more tests for valgrinding
19700         * check/gst/gstvalue.c: (GST_START_TEST):
19701           test refcount of deserialized buffer, found a leak
19702         * docs/gst/gstreamer-docs.sgml:
19703         * docs/gst/gstreamer-sections.txt:
19704         * docs/gst/gstreamer.types:
19705         * docs/gst/tmpl/gstminiobject.sgml:
19706           add miniobject to docs
19707         * gst/gstminiobject.c:
19708           add some docs
19709         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19710         (gst_string_unwrap):
19711           fix a hard-to-find invalid write for one of the tests
19712           fix a leak for deserialized buffers
19713
19714 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19715
19716         * docs/pwg/advanced-events.xml:
19717         * docs/pwg/advanced-request.xml:
19718         * docs/pwg/advanced-scheduling.xml:
19719         * docs/pwg/appendix-porting.xml:
19720         * docs/pwg/building-boiler.xml:
19721         * docs/pwg/intro-preface.xml:
19722         * docs/pwg/other-ntoone.xml:
19723           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19724           of example code and explanation for pad activation, loop() and
19725           getrange() functions and a bit more. Remove old comments pointing
19726           to loop-functions.
19727         * examples/pwg/Makefile.am:
19728           Add loop/getrange examples.
19729
19730 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19731
19732         * configure.ac:
19733           check for valgrind binary + some fixes
19734         * check/gst.supp:
19735           valgrind suppressions for the tests
19736         * check/Makefile.am:
19737           add a valgrind: target that valgrinds the unit tests
19738         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19739         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19740         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19741         * check/gst/gstghostpad.c:
19742           added some cleanup
19743         * check/gst/gstdata.c:
19744           removed
19745         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19746         (thread_unref), (gst_mini_object_suite), (main):
19747           added
19748         * gst/gst.c: (gst_deinit):
19749         * gst/gst.h:
19750           add a method to clean up.
19751         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19752         (gst_system_clock_obtain):
19753           allow for disposing the system clock.
19754         * tools/gst-launch.c: (main):
19755           deinit
19756
19757 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19758
19759         * docs/gst/tmpl/gstbasesrc.sgml:
19760         * docs/gst/tmpl/gstfakesrc.sgml:
19761         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19762         (gst_base_src_init), (gst_base_src_set_property),
19763         (gst_base_src_get_property), (gst_base_src_get_range),
19764         (gst_base_src_start):
19765         * gst/base/gstbasesrc.h:
19766           add num-buffers property
19767         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19768         (gst_fakesrc_init), (gst_fakesrc_set_property),
19769         (gst_fakesrc_get_property), (gst_fakesrc_create),
19770         (gst_fakesrc_start):
19771           remove num-buffers property
19772
19773 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19774
19775         * docs/gst/gstreamer-sections.txt:
19776         * docs/gst/tmpl/gstbasesink.sgml:
19777         * docs/gst/tmpl/gstbasesrc.sgml:
19778         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19779         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19780         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19781         (gst_base_sink_set_property), (gst_base_sink_get_property),
19782         (gst_base_sink_handle_object), (gst_base_sink_event),
19783         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19784         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19785         (gst_base_sink_loop), (gst_base_sink_deactivate),
19786         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19787         (gst_base_sink_change_state):
19788         * gst/base/gstbasesink.h:
19789         * gst/base/gstbasesrc.h:
19790         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19791         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19792         (gst_filesink_init):
19793           more macro splitting
19794
19795 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19796
19797         * gst/gstelement.c: (gst_element_get_bus):
19798           add debug
19799         * tools/gst-launch.c: (check_intr), (event_loop):
19800           fix bus leaks
19801
19802 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19803
19804         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19805           fix a caps leak
19806
19807 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19808
19809         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19810         (gst_base_src_finalize):
19811           add finalize method and clean up properly
19812         * gst/gstpipeline.c: (gst_pipeline_dispose):
19813           add debug
19814
19815 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19816
19817         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19818         (gst_bin_suite):
19819           add more things to check
19820         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19821         * gst/gstelement.c:
19822           more debug
19823
19824 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19825
19826         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19827         (GST_START_TEST), (fakesrc_suite):
19828         * check/gst-libs/gdp.c: (GST_START_TEST):
19829         * check/gst/gst.c: (GST_START_TEST):
19830         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19831         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19832         * check/gst/gstbus.c: (GST_START_TEST):
19833         * check/gst/gstcaps.c: (GST_START_TEST):
19834         * check/gst/gstdata.c: (GST_START_TEST):
19835         * check/gst/gstelement.c: (GST_START_TEST):
19836         * check/gst/gstghostpad.c: (GST_START_TEST):
19837         * check/gst/gstiterator.c: (GST_START_TEST):
19838         * check/gst/gstmessage.c: (GST_START_TEST):
19839         * check/gst/gstobject.c: (GST_START_TEST):
19840         * check/gst/gstpad.c: (GST_START_TEST):
19841         * check/gst/gststructure.c: (GST_START_TEST):
19842         * check/gst/gstsystemclock.c: (GST_START_TEST),
19843         (gst_systemclock_suite):
19844         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19845         * check/gst/gstvalue.c: (GST_START_TEST):
19846         * check/pipelines/cleanup.c: (GST_START_TEST):
19847         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19848         * check/states/sinks.c: (GST_START_TEST):
19849         * check/gstcheck.c: (gst_check_init):
19850         * check/gstcheck.h:
19851           add debugging category
19852           use GST_START_TEST now, so we add a debug line
19853
19854 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19855
19856         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19857           add test for state change message on a bin
19858         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19859           add another test
19860         * gst/gstbin.c: (gst_bin_init):
19861         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19862         * gst/gstelement.c: (gst_element_post_message),
19863         (gst_element_set_state):
19864         * gst/gstelementfactory.c: (gst_element_factory_create):
19865         * gst/gstmessage.c: (gst_message_new):
19866         * gst/gstscheduler.c:
19867           various debugging additions and cleanups
19868
19869 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19870
19871         * check/Makefile.am:
19872         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19873         (main):
19874           adding tests for elements
19875         * gst/gstelement.c: (gst_element_dispose):
19876
19877 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19878
19879         * gst/registries/gstlibxmlregistry.c: (load_feature):
19880           plug more leaks.  A simple gst_init() now is leakfree, yay.
19881
19882 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19883
19884         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19885         (gst_xml_registry_load):
19886           plug another memleak
19887
19888 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19889
19890         * configure.ac:
19891           use GST_SET_ERROR_CFLAGS
19892         * docs/faq/cvs.xml:
19893           change to ERROR_CFLAGS
19894
19895 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19896
19897         * configure.ac:
19898           make GST_ERROR_CFLAGS overridable and re-enable Werror
19899         * docs/faq/cvs.xml:
19900           add a note about error CFLAGS
19901         * docs/gst/tmpl/gstfakesrc.sgml:
19902         * gst/elements/gstfakesrc.c:
19903           comment out some unused code
19904         * gst/gst.c: (split_and_iterate):
19905         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19906         (load_feature):
19907           plug some memleaks
19908
19909 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19910
19911         * common/Makefile.am:
19912         * common/gtk-doc.mak:
19913         * docs/gst/Makefile.am:
19914           factor out gtk-doc.mak
19915
19916 2005-07-07  Wim Taymans  <wim@fluendo.com>
19917
19918         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19919         (gst_thread_scheduler_dispose):
19920         Unlock the STREAM_LOCK completely.
19921
19922 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19923
19924         * check/Makefile.am:
19925         * check/elements/.cvsignore:
19926         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19927         (START_TEST), (fakesrc_suite), (main):
19928         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19929         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19930         (gst_fakesrc_create), (gst_fakesrc_start):
19931         * gst/elements/gstfakesrc.h:
19932           adding a first element test
19933
19934 2005-07-07  Andy Wingo  <wingo@pobox.com>
19935
19936         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19937         debug message.
19938
19939 2005-07-07  Wim Taymans  <wim@fluendo.com>
19940
19941         * gst/gstquery.c:
19942         * gst/gstquery.h:
19943         Remove old types
19944
19945 2005-07-07  Wim Taymans  <wim@fluendo.com>
19946
19947         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19948         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19949         Allow subclasses to implement their own negotiation.
19950
19951 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19952
19953         * docs/design/part-gstbin.txt:
19954         * docs/design/part-gstpipeline.txt:
19955           Update design notes to reflect the movement of
19956           responsibility for bus handling from GstPipeline to
19957           GstBin
19958
19959 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19960
19961         * configure.ac:
19962           Remove unnecessary queue2/3/4 examples.
19963
19964 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19965
19966         * examples/Makefile.am:
19967         * examples/helloworld/helloworld.c: (event_loop), (main):
19968         * examples/queue/queue.c: (event_loop), (main):
19969         * examples/queue2/queue2.c: (main):
19970           Update a couple of the examples to work again.
19971
19972         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19973         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19974          Spelling corrections and extra debug.
19975         
19976         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19977         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19978         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19979         * gst/gstbin.h:
19980         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19981         (gst_pipeline_change_state):
19982         * gst/gstpipeline.h:
19983           Move the bus handler for children to the GstBin, and create a
19984           separate bus for receiving messages from children to the one the
19985           bus sends 'upwards' on.
19986
19987 2005-07-06  Wim Taymans  <wim@fluendo.com>
19988
19989         * gst/base/README:
19990         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19991         (gst_base_sink_handle_object), (gst_base_sink_loop),
19992         (gst_base_sink_change_state):
19993         * gst/base/gstbasesink.h:
19994         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19995         (gst_base_src_init), (gst_base_src_setcaps),
19996         (gst_base_src_getcaps), (gst_base_src_loop),
19997         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19998         (gst_base_src_start), (gst_base_src_change_state):
19999         * gst/base/gstbasesrc.h:
20000         Make basesrc negotiate.
20001         Handle the case where preroll fails in basesink.
20002         Update README.
20003
20004 2005-07-06  Wim Taymans  <wim@fluendo.com>
20005
20006         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20007         Implement the fixate function.
20008         Clean up acceptcaps.
20009
20010 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20011
20012         * docs/pwg/building-filterfactory.xml:
20013         * docs/pwg/pwg.xml:
20014           Remove never-written filter-factory chapter; I'll add the various
20015           base classes to part 4 ("other element types") later on.
20016
20017 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20018
20019         * docs/pwg/advanced-negotiation.xml:
20020         * docs/pwg/building-boiler.xml:
20021         * docs/pwg/building-pads.xml:
20022         * docs/pwg/pwg.xml:
20023         * examples/pwg/Makefile.am:
20024           Add a chapter on caps negotiation, simplify the original code
20025           samples a bit w.r.t. caps negotiation, add link to the advanced
20026           section. Add a bunch of examples showing different use cases of
20027           different types of caps negotiation. Upstream renegotiation isn't
20028           fully documented yet since nobody knows how that works.
20029
20030 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20031
20032         * check/gst/gstpad.c:
20033         * check/gstcheck.c:
20034         * gst/gstpad.c: (gst_pad_get_internal_links_default):
20035           if pad has no parent, return NULL as list of internal links
20036
20037 2005-07-05  Andy Wingo  <wingo@pobox.com>
20038
20039         * gst/elements/gstfilesrc.c:
20040         * gst/elements/gstfakesrc.c: 
20041         * gst/base/gstpushsrc.c:
20042         * gst/base/gstbasesrc.h: 
20043         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20044         
20045 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
20046
20047         * Makefile.am:
20048           better report generation target (lcov needs a patch)
20049
20050 2005-07-05  Andy Wingo  <wingo@pobox.com>
20051
20052         * gst/elements, testsuite: Null if we got it...
20053
20054 2005-07-05  Wim Taymans  <wim@fluendo.com>
20055
20056         * configure.ac:
20057         * libs/gst/dataprotocol/Makefile.am:
20058         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20059         * libs/gst/dataprotocol/dataprotocol.h:
20060         * pkgconfig/Makefile.am:
20061         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20062         * pkgconfig/gstreamer-dataprotocol.pc.in:
20063         Ported dataprotol to 0.9. 
20064         Added pkgconfig files.
20065
20066 2005-07-05  Andy Wingo  <wingo@pobox.com>
20067
20068         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20069         Default to returning TRUE for the case when tranform_caps returns
20070         a fixed caps, like for identity or volume.
20071
20072         * check/gst/gstbus.c (pound_bus_with_messages): 
20073         * check/gst/gstmessage.c (START_TEST): 
20074         * check/pipelines/simple_launch_lines.c (got_handoff): Application
20075         message API change.
20076
20077         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20078         logic weaks here: always run transform_caps, trying passthrough
20079         operation only if the original caps intersects with the transform.
20080
20081         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20082         source and sink caps.
20083
20084         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20085         Intersect the peer caps with the pad template before going into
20086         transform_caps.
20087         (gst_base_transform_transform_caps): More debugging.
20088
20089         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20090         src argument.
20091
20092 2005-07-04  Edward Hervey  <edward@fluendo.com>
20093
20094         * gst/gstutils.c:
20095         * gst/gstutils.h:
20096         (gst_pad_add_*_probe): now returns the signal id for better wrapping
20097         in bindings.
20098
20099 2005-07-04  Andy Wingo  <wingo@pobox.com>
20100
20101         * check/gst/gstpad.c: Only set explicit caps on pads.
20102
20103 2005-07-01  Andy Wingo  <wingo@pobox.com>
20104
20105         * tests/network-clock.scm: Commentary update.
20106
20107         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20108         Didn't really make sense, not implementable with basetransform,
20109         etc.
20110         (gst_identity_transform): Unref inbuf via make_writable. Feeble
20111         attempt at implementing the sync property, needs an unlock method.
20112
20113         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20114         New func, by default returns the same caps (the identity
20115         transformation).
20116         (gst_base_transform_getcaps): Uses transform_caps to return
20117         something sensible.
20118         (gst_base_transform_setcaps): Complicated logic to get caps on
20119         both pads, even if they are different, and to call set_caps once
20120         for every time both pads get their caps set.
20121         (gst_base_transform_handle_buffer): Give the ref to the transform
20122         function. Allows in-place modification of the buffer.
20123
20124         * gst/base/gstbasetransform.h (transform_caps): New class method.
20125         Given caps on one side, what can I do on the other.
20126         (set_caps): Take two caps, one for each side of the element.
20127
20128         * gst/gstpad.h:
20129         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20130         caps in place. This is safe because we can check the mutability of
20131         the caps, and a good idea because fixate functions are just called
20132         as a matter of last resort. (Not actually implemented.)
20133         (gst_pad_set_caps): If the caps we're setting is actually the same
20134         as the existing pad caps, just update the pointer without calling
20135         setcaps. Assert that caps is either NULL or fixed, as per the
20136         docs.
20137
20138         * gst/gstghostpad.c: Update for fixate changes.
20139
20140 2005-07-02  Andy Wingo  <wingo@pobox.com>
20141
20142         * gst/gstcaps.c:
20143         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20144         two refcounts makes it immutable, which is enough. Doc more.
20145
20146 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
20147
20148         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20149           Put the mini_object into GValue as a mini_object,
20150           not a gpointer, since that's how we declared
20151           the signal.
20152
20153 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20154
20155         * examples/pwg/Makefile.am:
20156           Fix buildbot again.
20157
20158 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20159
20160         * docs/pwg/building-testapp.xml:
20161           Add extra check.
20162         * examples/pwg/Makefile.am:
20163           Fix buildbot.
20164
20165 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20166
20167         * configure.ac:
20168         * examples/Makefile.am:
20169         * examples/pwg/Makefile.am:
20170         * examples/pwg/extract.pl:
20171           Enable building the PWG examples.
20172         * docs/pwg/advanced-interfaces.xml:
20173           Add URI interface stub.
20174         * docs/pwg/advanced-types.xml:
20175         * docs/pwg/other-autoplugger.xml:
20176         * docs/pwg/appendix-porting.xml:
20177         * docs/pwg/pwg.xml:
20178           Add porting guide (mostly stubs), remove autoplugging (see ADM).
20179         * docs/pwg/building-boiler.xml:
20180         * docs/pwg/building-chainfn.xml:
20181         * docs/pwg/building-pads.xml:
20182         * docs/pwg/building-props.xml:
20183         * docs/pwg/building-state.xml:
20184         * docs/pwg/building-testapp.xml:
20185           Update the building-*.xml parts for 0.9 changes. All examples
20186           code blocks compile in examples/pwg/*.
20187
20188 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20189
20190         * docs/manual/advanced-autoplugging.xml:
20191         * docs/manual/appendix-checklist.xml:
20192         * docs/manual/appendix-integration.xml:
20193         * docs/manual/highlevel-components.xml:
20194           Fix playbin/decodebin examples, update docs a bit, mention bus
20195           instead of signals in various places, mention kmplayer and
20196           kaffeine since they have a working GStreamer backend in the KDE
20197           section.
20198
20199 2005-06-30  Wim Taymans  <wim@fluendo.com>
20200
20201         * CHANGES-0.9:
20202         * docs/design/draft-ghostpads.txt:
20203         * docs/design/draft-push-pull.txt:
20204         * docs/design/draft-query.txt:
20205         * docs/design/part-TODO.txt:
20206         * docs/design/part-query.txt:
20207         Added CHANGES-0.9 doc, updated status of other docs.
20208         
20209         * gst/gstquery.h:
20210         Remove "hmm" macro
20211
20212 2005-06-30  Wim Taymans  <wim@fluendo.com>
20213
20214         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20215         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20216         (gst_base_sink_change_state):
20217         * gst/base/gstbasesink.h:
20218         Some tweaks, only EOS and a buffer complete a preroll.
20219
20220 2005-06-30  Andy Wingo  <wingo@pobox.com>
20221
20222         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20223         activate_push down to the internal pad as well.
20224
20225 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
20226
20227         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20228
20229         * gst/gsttaginterface.c:
20230           Some documentation fixes (#307394 and #307397).
20231
20232 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
20233
20234         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20235
20236         * gst/gstvalue.c: (gst_value_intersect_list):
20237           Fix memleak (#309125).
20238
20239 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20240
20241         * docs/manual/advanced-dataaccess.xml:
20242           Fix fakesrc example to compile; doesn't work, bug somewhere...?
20243         * docs/manual/basics-pads.xml:
20244           Add reference for filtered caps to above chapter.
20245
20246 2005-06-30  Wim Taymans  <wim@fluendo.com>
20247
20248         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20249         (gst_bin_change_state):
20250         Probes are gone.
20251         Lame attempt at making the state change function a bit
20252         more readable.
20253
20254 2005-06-30  Wim Taymans  <wim@fluendo.com>
20255
20256         * docs/design/part-clocks.txt:
20257         * docs/design/part-element-sink.txt:
20258         * docs/design/part-events.txt:
20259         * docs/design/part-preroll.txt:
20260         * docs/design/part-states.txt:
20261         Some more tweeks and additions to the docs.
20262
20263 2005-06-30  Wim Taymans  <wim@fluendo.com>
20264
20265         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20266         (default_have_data), (gst_pad_class_init), (gst_pad_init),
20267         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20268         (gst_pad_check_pull_range), (gst_pad_get_range),
20269         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20270         * gst/gstpad.h:
20271         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20272         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20273         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20274         (gst_pad_remove_buffer_probe):
20275         Removed atomic operations, use existing LOCK.
20276         Move exception handling out of main code path.
20277
20278 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20279
20280         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20281         (silly_return_true_function), (gst_pad_class_init),
20282         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20283         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20284         (gst_pad_send_event):
20285           Fix accumulator, add default value by using _emitv() instead
20286           of _emit() for signal emission.
20287
20288 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20289
20290         * docs/manual/advanced-dataaccess.xml:
20291         * examples/manual/Makefile.am:
20292           Add probe example.
20293         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20294           Make work (??).
20295
20296 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
20297
20298         * gst/elements/gstfilesink.c: (gst_filesink_render):
20299           Simplify code so that we don't have to handle short
20300           writes and return GST_FLOW_ERROR if an error occured.
20301
20302 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20303
20304         * docs/gst/gstreamer-docs.sgml:
20305           Remove probes more.
20306
20307 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20308
20309         * docs/gst/gstreamer-sections.txt:
20310         * docs/gst/tmpl/gstpad.sgml:
20311         * docs/gst/tmpl/gstprobe.sgml:
20312         * gst/Makefile.am:
20313         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20314         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20315         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20316         (gst_pad_push_event), (gst_pad_send_event):
20317         * gst/gstpad.h:
20318         * gst/gstutils.c: (gst_pad_add_data_probe),
20319         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20320         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20321         (gst_pad_remove_buffer_probe):
20322         * gst/gstutils.h:
20323           Remove old probes, add new g-signal-based probes and some utility
20324           functions.
20325
20326 2005-06-29  Edward Hervey  <edward@fluendo.com>
20327
20328         * gst/gstelementfactory.c:
20329         * gst/gstutils.h:
20330         * gst/gstutils.c:
20331         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20332         the definition to the header file.
20333
20334 2005-06-29  Andy Wingo  <wingo@pobox.com>
20335
20336         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20337         plugins from the source directory.
20338
20339 2005-06-29  Wim Taymans  <wim@fluendo.com>
20340
20341         * docs/gst/tmpl/gstbuffer.sgml:
20342         * docs/gst/tmpl/gstclock.sgml:
20343         Some fixings for blantently wrong text.
20344
20345 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20346
20347         * check/Makefile.am:
20348         * gst/gst.c: (add_path_func), (init_pre):
20349         * gst/gstregistry.c: (gst_registry_add_path):
20350           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20351           only scan the GST_PLUGIN_PATH locations, and not add
20352           system locations
20353
20354 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20355
20356         * docs/gst/gstreamer-sections.txt:
20357         * docs/gst/tmpl/gstbasesrc.sgml:
20358         * gst/gstelement.c:
20359         * gst/gstelement.h:
20360         * gst/gstevent.c:
20361         * gst/gstutils.c:
20362           doc fixes
20363
20364 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20365
20366         * docs/manual/advanced-autoplugging.xml:
20367           Fix autoplugging example.
20368
20369 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20370
20371         * docs/manual/advanced-autoplugging.xml:
20372         * docs/manual/mime-world.fig:
20373           Try to get autoplugging working, fix type detection. Fix text
20374           in hello-world image.
20375
20376 2005-06-29  Wim Taymans  <wim@fluendo.com>
20377
20378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20379         (gst_base_sink_change_state):
20380         Small debug line.
20381
20382         * gst/gstclock.h:
20383         map SIGNAL and BROADCAST to the right function.
20384
20385         * gst/gstobject.h:
20386         Remove redundant braces.
20387
20388         * gst/gstpad.c: (gst_pad_set_caps):
20389         Don't call setcaps function when reseting caps to NULL.
20390
20391         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20392         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20393         (gst_system_clock_id_unschedule):
20394         Use BROADCAST as this is what we do.
20395
20396 2005-06-29  Wim Taymans  <wim@fluendo.com>
20397
20398         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20399         We are actually prerolling before commiting the state
20400         change. 
20401
20402 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20403
20404         * docs/manual/advanced-clocks.xml:
20405         * docs/manual/advanced-interfaces.xml:
20406         * docs/manual/advanced-metadata.xml:
20407         * docs/manual/advanced-position.xml:
20408         * docs/manual/advanced-schedulers.xml:
20409         * docs/manual/advanced-threads.xml:
20410         * docs/manual/appendix-porting.xml:
20411         * docs/manual/basics-bins.xml:
20412         * docs/manual/basics-bus.xml:
20413         * docs/manual/basics-elements.xml:
20414         * docs/manual/basics-helloworld.xml:
20415         * docs/manual/basics-pads.xml:
20416         * docs/manual/highlevel-components.xml:
20417         * docs/manual/manual.xml:
20418         * docs/manual/thread.fig:
20419           Update (until threads/scheduling) Application Development Manual;
20420           remove GstThread, add GstBus, add simple porting checklist, add
20421           documentation for tag writing, clocks, make all examples until this
20422           part compile and run.
20423         * examples/manual/Makefile.am:
20424           Update from changes to Application Development Manual; add bus
20425           example, remove thread example.
20426
20427 2005-06-28  Wim Taymans  <wim@fluendo.com>
20428
20429         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20430         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20431         (gst_bus_source_dispatch):
20432         Add debugging messages.
20433         Make internal methods static.
20434         Handle the case where the bus is flushed in the handler.
20435         
20436         * gst/gstelement.c: (gst_element_get_bus):
20437         Fix refcount in _get_bus();
20438
20439         * gst/gstpipeline.c: (gst_pipeline_change_state),
20440         (gst_pipeline_get_clock_func):
20441         Clock refcounting fixes.
20442         Handle the case where preroll timed out more gracefully.
20443         
20444         * gst/gstsystemclock.c: (gst_system_clock_dispose):
20445         Clean up the internal thread in dispose. This is needed
20446         for subclasses that actually get disposed.
20447         
20448         * gst/schedulers/threadscheduler.c:
20449         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20450         (gst_thread_scheduler_dispose):
20451         Free thread pool in dispose.
20452
20453 2005-06-28  Andy Wingo  <wingo@pobox.com>
20454
20455         * tests/network-clock-utils.scm (debug, print-event): New utils.
20456
20457         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20458         (*packet-loss*): Unified loss probability.
20459         (network-time): Report out-of-band events.
20460
20461         * tests/plot-data: Add support for out-of-band events. Hack it
20462         into this script instead of passing it down the pipe; should fix
20463         this later.
20464
20465 2005-06-28  Wim Taymans  <wim@fluendo.com>
20466
20467         * docs/gst/gstreamer.types:
20468         * docs/gst/tmpl/gstbasesrc.sgml:
20469         * docs/gst/tmpl/gstpad.sgml:
20470         Docs fixes.
20471
20472 2005-06-28  Wim Taymans  <wim@fluendo.com>
20473
20474         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20475         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20476         (gst_proxy_pad_do_fixatecaps):
20477         Correctly proxy the check_pull_range function.
20478
20479 2005-06-28  Andy Wingo  <wingo@pobox.com>
20480
20481         * tests/network-clock.scm: Removed need for slib.
20482         
20483 2005-06-28  Wim Taymans  <wim@fluendo.com>
20484
20485         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20486         (gst_basesink_preroll_queue_flush):
20487         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20488         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20489         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20490         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20491         (gst_proxy_pad_set_property):
20492         * gst/gstpad.c:
20493         * gst/gstpad.h:
20494         * gst/gstqueue.c: (gst_queue_init):
20495         The deprecated pad loop function is removed now.
20496
20497 2005-06-28  Andy Wingo  <wingo@pobox.com>
20498
20499         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20500         New parameters, simulate network packet loss.
20501
20502         * tests/network-clock-utils.scm: Initialize the RNG.
20503
20504 2005-06-28  Wim Taymans  <wim@fluendo.com>
20505
20506         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20507         (gst_basesink_event), (gst_basesink_deactivate):
20508         Flushing the preroll queue always needs to unlock the waiters.
20509
20510 2005-06-28  Edward Hervey  <edward@fluendo.com>
20511
20512         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20513         Wheen a seek was successful on a pipeline, set the stream_time to the
20514         seek offset in order to have a synchronized stream_time.
20515
20516 2005-06-28  Wim Taymans  <wim@fluendo.com>
20517
20518         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20519         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20520         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20521         (gst_proxy_pad_do_fixatecaps):
20522         Call wrapper function instead of just calling the function
20523         pointers. This takes care of any locking and whatmore.
20524
20525 2005-06-28  Wim Taymans  <wim@fluendo.com>
20526
20527         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20528         (gst_pad_pull_range):
20529         * gst/gstpad.h:
20530         CONNECTED -> LINKED.
20531
20532 2005-06-28  Andy Wingo  <wingo@pobox.com>
20533
20534         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20535         source-munging commit!!!
20536
20537         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20538         (gst_object_sink): Take gpointer arguments, not GstObject --
20539         avoids casts. Like GLib.
20540
20541         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20542         activate.
20543
20544 2005-06-27  Andy Wingo  <wingo@pobox.com>
20545
20546         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20547         remaining buffer.
20548
20549         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20550         returns a sorted copy of the trace list.
20551         (gst_alloc_trace_print_live): New API, only prints traces with
20552         live objects. Sort the list.
20553         (gst_alloc_trace_print_all): Sort the list.
20554         (gst_alloc_trace_print): Align columns.
20555
20556         * gst/elements/gstttypefindelement.c:
20557         * gst/elements/gsttee.c:
20558         * gst/base/gstbasesrc.c:
20559         * gst/base/gstbasesink.c:
20560         * gst/base/gstbasetransform.c:
20561         * gst/gstqueue.c: Adapt for pad activation changes.
20562
20563         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20564         sched.
20565         (gst_pipeline_dispose): Drop ref on sched.
20566
20567         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20568         (gst_pad_activate_default): Push mode by default.
20569         (pre_activate_switch, post_activate_switch): New stubs, things to
20570         do before and after switching activation modes on pads.
20571         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20572         the pad's activate function to choose which mode to activate.
20573         Shortcut on deactivation and call the right function directly.
20574         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20575         mode.
20576         (gst_pad_activate_push): New API, same for push mode.
20577         (gst_pad_set_activate_function) 
20578         (gst_pad_set_activatepull_function) 
20579         (gst_pad_set_activatepush_function): Setters for new API.
20580
20581         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20582         Trace all miniobjects.
20583         (gst_mini_object_make_writable): Unref the arg if we copy, like
20584         gst_caps_make_writable.
20585
20586         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20587
20588         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20589         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20590         Adapt for new pad API.
20591
20592         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20593
20594         * gst/gstelement.h:
20595         * gst/gstelement.c (gst_element_iterate_src_pads) 
20596         (gst_element_iterate_sink_pads): New API functions.
20597         
20598         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20599         should fold into gstiterator.c in some form.
20600         (gst_element_pads_activate): Simplified via use of fold and
20601         delegation of decisions to gstpad->activate.
20602
20603         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20604         help in debugging.
20605
20606         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20607         class once in init, like gstmessage. Didn't run into this issue
20608         but it seems correct. Don't initialize a trace, gstminiobject does
20609         that.
20610
20611         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20612         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20613         to the bus.
20614         (assert_live_count): New util function, uses alloc traces to check
20615         cleanup.
20616
20617         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20618         To be modified when unlink drops the internal pad.
20619
20620 2005-06-27  Wim Taymans  <wim@fluendo.com>
20621
20622         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20623         (gst_bin_change_state):
20624         Cleanup the get_state() function a little, make sure it
20625         iterates the same set of elements.
20626         Added stub iterate_state_order().
20627
20628 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20629
20630         * docs/gst/gstreamer-docs.sgml:
20631         * docs/gst/gstreamer-sections.txt:
20632         * docs/gst/gstreamer.types:
20633         * docs/gst/tmpl/gstbasesink.sgml:
20634         * docs/gst/tmpl/gstbasesrc.sgml:
20635         * docs/gst/tmpl/gstbasetransform.sgml:
20636         * docs/gst/tmpl/gstelement.sgml:
20637         * docs/gst/tmpl/gstiterator.sgml:
20638         * gst/base/gstbasesrc.c:
20639         * gst/base/gstbasesrc.h:
20640         * gst/base/gstbasetransform.h:
20641         * gst/gstelement.c:
20642         * gst/gstiterator.h:
20643           adding basetransform and iterator docs
20644
20645 2005-06-27  Andy Wingo  <wingo@pobox.com>
20646
20647         * docs/design/part-activation.txt: Notes on how activation should
20648         work -- not quite implemented yet.
20649
20650 2005-06-25  Wim Taymans  <wim@fluendo.com>
20651
20652         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20653         At least get the chain function correct, needs more
20654         fixing.
20655
20656 2005-06-25  Wim Taymans  <wim@fluendo.com>
20657
20658         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20659         (gst_basesink_handle_object), (gst_basesink_event),
20660         (gst_basesink_do_sync), (gst_basesink_handle_event),
20661         (gst_basesink_change_state):
20662         * gst/gsttask.h:
20663         Right, two problems here: ghostpads don't take locks and
20664         glib _rec_mutex_lock_full() with depth==0 still locks.
20665         Catch illegal locking and g_warn them.
20666
20667 2005-06-25  Wim Taymans  <wim@fluendo.com>
20668
20669         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20670         Have to check for completion now...
20671
20672 2005-06-25  Wim Taymans  <wim@fluendo.com>
20673
20674         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20675         (gst_basesink_handle_object), (gst_basesink_event),
20676         (gst_basesink_do_sync), (gst_basesink_handle_event),
20677         (gst_basesink_change_state):
20678         * gst/gstpad.h:
20679         Unlock STREAM_LOCK whatever the recursion was.
20680
20681 2005-06-25  Wim Taymans  <wim@fluendo.com>
20682
20683         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20684         (gst_basesink_preroll_queue_empty),
20685         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20686         (gst_basesink_event), (gst_basesink_do_sync),
20687         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20688         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20689         (gst_basesink_change_state):
20690         Reworked the base sink, handle event and buffer serialisation
20691         correctly and removed possible deadlock.
20692         Handle EOS correctly.
20693
20694 2005-06-25  Wim Taymans  <wim@fluendo.com>
20695
20696         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20697         (gst_pipeline_change_state):
20698         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20699         Allow elements to post EOS in the state change function.
20700         Fix up -launch, make it exit the poll loop when the
20701         pipeline actually changed state.
20702         Fix up warning parsing in -launch.
20703
20704 2005-06-25  Wim Taymans  <wim@fluendo.com>
20705
20706         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20707         (gst_tee_sink_activate):
20708         Core takes STREAM_LOCK for us now.
20709
20710 2005-06-25  Wim Taymans  <wim@fluendo.com>
20711
20712         * gst/gstelement.c: (gst_element_get_state_func),
20713         (gst_element_set_state):
20714         * gst/gstelement.h:
20715         * gst/gstmessage.c: (gst_message_parse_error),
20716         (gst_message_parse_warning):
20717         Keep track of current target state while performing a state
20718         change so that subclasses can do something interesting.
20719         Fix parsing of warning/error messages when GError is NULL.
20720
20721 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20722
20723         * docs/gst/Makefile.am:
20724         * docs/gst/gstreamer-docs.sgml:
20725         * docs/gst/gstreamer-sections.txt:
20726         * docs/gst/gstreamer.types:
20727         * docs/gst/tmpl/gstbasesink.sgml:
20728         * docs/gst/tmpl/gstbasesrc.sgml:
20729         * docs/gst/tmpl/gstbin.sgml:
20730         * docs/gst/tmpl/gstcompat.sgml:
20731         * docs/gst/tmpl/gstfakesink.sgml:
20732         * docs/gst/tmpl/gstfakesrc.sgml:
20733         * docs/gst/tmpl/gstfilesink.sgml:
20734         * docs/gst/tmpl/gstfilesrc.sgml:
20735         * docs/gst/tmpl/gstindex.sgml:
20736         * docs/manual/appendix-quotes.xml:
20737         * gst/base/gstbasesrc.h:
20738         * gst/elements/gstfakesrc.h:
20739         * gst/gstmessage.h:
20740           start pulling in base classes and elements in our docs
20741
20742 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20743
20744         * docs/gst/Makefile.am:
20745         * docs/libs/Makefile.am:
20746           fixed make distcheck with gtk-doc 1.3
20747
20748 2005-06-23  Wim Taymans  <wim@fluendo.com>
20749
20750         * gst/gstelement.c: (gst_element_get_state_func),
20751         (gst_element_set_state), (gst_element_change_state):
20752         When the state did not change, also report NO_PREROLL
20753         when it matters.
20754
20755 2005-06-23  Wim Taymans  <wim@fluendo.com>
20756
20757         * gst/gstpad.c: (gst_pad_event_default):
20758         * gst/gstqueue.c: (gst_queue_loop):
20759         No unsafe task pausing please.
20760
20761 2005-06-23  Wim Taymans  <wim@fluendo.com>
20762
20763         * gst/schedulers/threadscheduler.c:
20764         (gst_thread_scheduler_task_start),
20765         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20766         Ref the task before pushing it on the threadpool. This
20767         makes sure that we have a ref when the threadfunction is
20768         actually called.
20769
20770 2005-06-23  Andy Wingo  <wingo@pobox.com>
20771
20772         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20773         offset is greater than the file's size.
20774
20775         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20776         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20777         * gst/gstobject.c (gst_object_class_init): Make the class lock
20778         recursive. Wim won't let me drop deep_notify. Decodebin works
20779         again, whoopdy doo.
20780
20781         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20782         internal pad, and hacks accordingly. Doesn't do it on the target
20783         pad because we change its caps. Probably catches all cases of
20784         interest tho.
20785         (gst_ghost_pad_set_property): Connect to notify::caps as
20786         appropritate.
20787
20788         * tests/network-clock.scm (plot-simulation): Pipe data to the
20789         elite python skript.
20790
20791         * tests/network-clock-utils.scm (define-parameter): New macro,
20792         defines a parameter that can be set via the command line.
20793         (set-parameter!, parse-parameter-arguments): Command line args
20794         parser.
20795
20796         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20797         stdin.
20798
20799 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20800
20801         * gst/elements/gsttypefindelement.c:
20802         (gst_type_find_element_handle_event):
20803           Don't restart typefinding on a discont.
20804         * gst/gstelement.c: (gst_element_set_state):
20805           Debug spelling fix.
20806         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20807           Allow changing mode of an active pad.
20808           Debug output fixes.
20809         * gst/registries/gstlibxmlregistry.c: (load_feature):
20810           Don't cast a static pad template to a normal pad template.
20811
20812 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20813
20814         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20815         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20816           remove gst_strtoll completely, since it didn't actually do
20817           anything more than what g_ascii_strtoull already does.
20818           check for range errors when deserializing
20819           do a cast for the unsigned cases; but further fixing needs
20820           a decision on what the interpretation of "(int)" and
20821           deserialization should be for values that fall outside the
20822           type's boundaries (ie, refuse, or interpret as casting)
20823
20824 2005-06-23  Wim Taymans  <wim@fluendo.com>
20825
20826         * check/Makefile.am:
20827         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20828         * docs/design/part-live-source.txt:
20829         * docs/design/part-states.txt:
20830         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20831         (gst_basesrc_set_live), (gst_basesrc_is_live),
20832         (gst_basesrc_get_range), (gst_basesrc_activate),
20833         (gst_basesrc_change_state):
20834         * gst/base/gstbasesrc.h:
20835         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20836         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20837         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20838         * gst/gstelement.c: (gst_element_get_state_func),
20839         (gst_element_set_state):
20840         * gst/gstelement.h:
20841         * gst/gsttypes.h:
20842         * tools/gst-launch.c: (event_loop), (main):
20843         Added support for live sources and other elements that
20844         cannot do preroll.
20845         Updated design docs, added live-source design doc.
20846         Implemented live source functionality in basesrc
20847         Fix error condition in _bin_get_state()
20848         Implement live source handling in -launch.
20849         Added check for live sources.
20850         Fixed case in GstBin where elements were changed state
20851         multiple times.
20852
20853
20854 2005-06-23  Andy Wingo  <wingo@pobox.com>
20855
20856         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20857         borken refcounting.
20858
20859         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20860         gst_caps_replace takes care of this for us.
20861
20862         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20863         gst_pad_set_caps on the target, not just its setcaps() function.
20864
20865         * tests/network-clock.scm: 
20866         * tests/network-clock-utils.scm: A network clock simulator.
20867         Something of an algorithmic testbed before doing something in C.
20868
20869 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20870
20871         * check/Makefile.am:
20872         * check/gst/capslist.h:
20873           copy over from 0.8, and add two with bitmasks specified with
20874           (int) 0xFF...
20875         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20876           add test to parse everything from capslist.h
20877         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20878         (main):
20879           add test for structure deserialization
20880         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20881           add tests for deserialization of strings to int types
20882         * gst/gststructure.c: (gst_structure_nth_field_name):
20883         * gst/gststructure.h:
20884           add a way to get the name of a field referenced by index
20885         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20886           instead of checking if the resulting long long lies between
20887           min and max, we check if the long long would fit into
20888           a number of bytes for the final type.
20889           This fixes cases where a string represents 2^32 - 1, which
20890           when cast to int would be the (valid) -1, but is bigger than
20891           G_MAXINT
20892
20893 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20894
20895         * gst/parse/grammar.y:
20896           add a log line for type deserialization
20897
20898 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20899
20900         * check/gst/gstvalue.c: (START_TEST):
20901         * gst/gstvalue.c: (gst_value_deserialize):
20902           return long long, not int, so gint64 deserialization actually
20903           works.  Is there any flag that makes the compiler check this ?
20904           Fixes #308559
20905
20906 2005-06-22  Wim Taymans  <wim@fluendo.com>
20907
20908         * gst/gstbuffer.h:
20909         Added convenience macros for setting buffers in GValue.
20910
20911 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20912
20913         * check/gst/.cvsignore:
20914         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20915           add a test deserializing int64, and comment part out because
20916           it fails, yay !
20917
20918 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20919
20920         * check/Makefile.am:
20921         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20922         * testsuite/Makefile.am:
20923         * testsuite/caps/Makefile.am:
20924         * testsuite/caps/value_serialize.c:
20925         * testsuite/test_gst_init.c:
20926           move a value_serialize test over
20927
20928 2005-06-20  Wim Taymans  <wim@fluendo.com>
20929
20930         * gst/gstpad.c:
20931         Small doc updates.
20932         
20933         * gst/gstvalue.c: (gst_value_compare_buffer),
20934         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20935         (gst_value_compare_flags), (gst_value_serialize_flags),
20936         (gst_value_deserialize_flags), (_gst_value_initialize):
20937         Fix serialisation of buffers, they are not boxed types anymore
20938
20939 2005-06-20  Wim Taymans  <wim@fluendo.com>
20940
20941         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20942         Testcase to show error in buffer-on-caps serialisation.
20943
20944 2005-06-20  Andy Wingo  <wingo@pobox.com>
20945
20946         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20947         will be adding to later.
20948
20949         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20950         if its socks fill with rocks.
20951         (gst_system_clock_obtain): Set the name on object construction.
20952         Avoid double-checked locking.
20953
20954 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20955
20956         * gst/gsturi.c: (gst_element_make_from_uri):
20957           Fix potential endless loop.
20958
20959 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20960
20961         * check/Makefile.am:
20962           add gsttag
20963         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20964         (main):
20965           move over from testsuite dir and clean up
20966         * configure.ac:
20967         * gst/gsttag.c:
20968         * testsuite/Makefile.am:
20969         * testsuite/tags/.cvsignore:
20970         * testsuite/tags/Makefile.am:
20971         * testsuite/tags/merge.c:
20972           remove testsuite/tags
20973
20974 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20975
20976         * docs/gst/gstreamer-sections.txt:
20977         * docs/gst/tmpl/gstenumtypes.sgml:
20978         * win32/gstenumtypes.c:
20979           clean up documentation build a little
20980
20981 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20982
20983         * check/gstcheck.h:
20984           add macros for checking refcounts on objects and caps
20985         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20986           add some more unit tests
20987         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20988         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20989           fix leaked refcounts (I hope :)) so unittest works
20990         * gst/gstpad.h:
20991           whitespace removal
20992
20993 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20994
20995         * configure.ac: back to HEAD
20996
20997 === release 0.9.1 ===
20998
20999 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21000
21001         * NEWS:
21002         * RELEASE:
21003           updated
21004
21005 2005-06-17  Andy Wingo  <wingo@pobox.com>
21006
21007         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21008         assert; it's always possible that the pad gets deactivated in
21009         between the checks in gstpad.c and the implementation. Rely on
21010         finish_preroll() to return a FLUSHING or similar instead of on the
21011         assert.
21012         
21013         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21014         clock and post an EOS message if we come out of finish_preroll in
21015         the playing state.
21016
21017 2005-06-16  David Schleef  <ds@schleef.org>
21018
21019         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21020         (gst_capsfilter_set_property): Allow NULL as possible value
21021         for filter_caps property, indicating GST_CAPS_ANY.
21022
21023 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21024
21025         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21026           fix debug output
21027         * gst/schedulers/Makefile.am:
21028           use libgst prefix
21029         * gstreamer.spec.in:
21030           fix spec for it
21031
21032 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21033
21034         * gstreamer.spec.in:
21035           clean up
21036
21037 2005-06-08  Andy Wingo  <wingo@pobox.com>
21038
21039         * gst/gstutils.c: RPAD fixes all around.
21040         (gst_element_link_pads): Refcounting fixes.
21041
21042         * tools/gst-inspect.c:
21043         * tools/gst-xmlinspect.c:
21044         * parse/grammar.y:
21045         * gst/base/gsttypefindhelper.c:
21046         * gst/base/gstbasesink.c:
21047         * gst/gstqueue.c: RPAD fixes.
21048
21049         * gst/gstghostpad.h:
21050         * gst/gstghostpad.c: New ghost pad implementation as full proxy
21051         pads. The tricky thing is they provide both source and sink
21052         interfaces, since they proxy the internal pad for the external
21053         pad, and vice versa. Implement with lower-level ProxyPad objects,
21054         with the interior proxy pad as a child of the exterior ghost pad.
21055         Should write a doc on this.
21056         
21057         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21058         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21059         gst_object API.
21060         
21061         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21062         pads are real pads. No ghost pads in this file. Not documenting
21063         the myriad s/RPAD/PAD/ and REALIZE fixes.
21064         (gst_pad_class_init): Add properties for "direction" and
21065         "template". Both are construct-only, so they can't change during
21066         the life of the pad. Fixes properly deriving from GstPad.
21067         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21068         derived objects, just set properties when creating the objects via
21069         g_object_new.
21070         (gst_pad_get_parent): Implement as a function, return NULL if the
21071         parent is not an element.
21072         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21073         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21074         
21075         * gst/gstobject.c (gst_object_class_init): Make name a construct
21076         property. Don't set it in the object init.
21077
21078         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21079         with UNKNOWN direction.
21080         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21081         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21082         (gst_element_remove_pad): Remove ghost-pad special cases.
21083         (gst_element_pads_activate): Remove rpad cruft.
21084
21085         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21086         catch the pad's-parent-not-an-element case.
21087
21088         * gst/gst.h: Include gstghostpad.h.
21089
21090         * gst/gst.c (init_post): No more real, ghost pads.
21091
21092         * gst/Makefile.am: Add gstghostpad.[ch].
21093
21094         * check/Makefile.am:
21095         * check/gst/gstbin.c:
21096         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21097         into a bin creates ghost pads, and that the refcounts are right.
21098         Partly moved from gstbin.c.
21099
21100 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21101
21102         * check/gst-libs/.cvsignore:
21103         * check/gst/.cvsignore:
21104         * check/pipelines/.cvsignore:
21105           ignore more
21106         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21107         (START_TEST), (cleanup_suite), (main):
21108           add some tests related to cleanup after running pipelines
21109
21110 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21111
21112         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21113           add a testsuite for GstBuffer
21114
21115 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21116
21117         * gst/gstminiobject.h:
21118           add defines for accessing the refcount
21119
21120 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
21121
21122         * Makefile.am: added support for html unit test coverage reports
21123
21124 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
21125
21126         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21127           Free existing caps if the capsfilter changes. Add a FIXME about
21128           setting those caps on the pads.
21129
21130         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21131           Before adding a ghost pad to a parent bin, check that there isn't
21132           already one for the element on the bin. Prevents infinite recursion
21133           when using decodebin in parse pipelines. Andy says he'll rewrite the
21134           way this works anyway, so ignore the hack.
21135
21136 2005-06-02  Andy Wingo  <wingo@pobox.com>
21137
21138         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21139         file size, pass it on to the type find helper.
21140
21141         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21142         segment_start and segment_end properly according to the seek
21143         method. Segment_end is still a bit flaky because offset can be
21144         negative for CUR and END cases, but it takes -1 as an "unset"
21145         value.
21146
21147 2005-06-02  Wim Taymans  <wim@fluendo.com>
21148
21149         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21150         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21151         (gst_basesink_activate):
21152         * gst/base/gstbasesink.h:
21153         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21154         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21155         (gst_pad_query), (gst_pad_start_task):
21156         * gst/gstpad.h:
21157         * gst/gstqueue.c: (gst_queue_bufferalloc),
21158         (gst_queue_handle_sink_event), (gst_queue_chain):
21159         Bufferalloc: return GstFlowReturn to more accuratly report
21160         why allocation failed.
21161
21162 2005-06-02  Wim Taymans  <wim@fluendo.com>
21163
21164         * gst/gstpipeline.c: (gst_pipeline_send_event):
21165         Take snapshot of state without blocking.
21166
21167 2005-06-02  Wim Taymans  <wim@fluendo.com>
21168
21169         * docs/design/part-TODO.txt:
21170         * docs/design/part-caps.txt:
21171         * docs/design/part-clocks.txt:
21172         * docs/design/part-negotiation.txt:
21173         * docs/design/part-preroll.txt:
21174         Small doc updates 
21175
21176 2005-05-30  Wim Taymans  <wim@fluendo.com>
21177
21178         * gst/elements/gstidentity.c: (gst_identity_event),
21179         (gst_identity_transform), (gst_identity_get_property):
21180         Protect last_message property as it is accessed from
21181         multiple threads.
21182
21183 2005-05-30  Wim Taymans  <wim@fluendo.com>
21184
21185         * gst/gstelement.c: (gst_element_init),
21186         (gst_element_pads_activate), (gst_element_change_state):
21187         Slicker pad activation code.
21188
21189 2005-05-30  Wim Taymans  <wim@fluendo.com>
21190
21191         * gst/Makefile.am:
21192         * gst/gstelement.h:
21193         * gst/gstelementfactory.h:
21194         * gst/gsttypes.h:
21195         Move elementfactory methods to separate .h file.
21196
21197 2005-05-30  Wim Taymans  <wim@fluendo.com>
21198
21199         * docs/design/part-overview.txt:
21200         * gst/gstsystemclock.h:
21201         Small typo fixes, doc updates.
21202
21203 2005-05-30  Wim Taymans  <wim@fluendo.com>
21204
21205         * gst/gst.c: (gst_init_get_popt_table), (init_post),
21206         (init_popt_callback):
21207         Remove cpu-opt flag.
21208
21209 2005-05-30  Wim Taymans  <wim@fluendo.com>
21210
21211         * gst/gstbuffer.c: (gst_subbuffer_finalize),
21212         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21213         * gst/gstbuffer.h:
21214         Avoid typechecking in places where not needed.
21215         Added accessor for malloc_data.
21216
21217 2005-05-30  Wim Taymans  <wim@fluendo.com>
21218
21219         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21220         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21221         (gst_pad_configure_sink), (gst_pad_configure_src),
21222         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21223         (gst_pad_start_task):
21224         Propagate errors from _set_caps() in configure_src/sink
21225         functions instead of returning TRUE.
21226         FLUSH events can travel up and downstream
21227
21228
21229 2005-05-30  Wim Taymans  <wim@fluendo.com>
21230
21231         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21232         (gst_basesink_activate):
21233         Handle EOS in preroll.
21234
21235 2005-05-30  Wim Taymans  <wim@fluendo.com>
21236
21237         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21238         (gst_queue_loop), (gst_queue_handle_src_event):
21239         Remove old pieces of code
21240         Flushing the queue in an upstream event is a very bad idea.
21241
21242 2005-05-26  Andy Wingo  <wingo@pobox.com>
21243
21244         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21245         gst_value_set_mini_object so as to add a ref on the object (which
21246         will be removed when the value is unset).
21247
21248         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21249         arg type in ::handoff.
21250
21251         * gst/gstelement.c (gst_element_change_state): Also deactivate
21252         pads in READY->NULL, just in case the element didn't make it to
21253         PAUSED. Wingo tested, Wim approved.
21254
21255 2005-05-26  Wim Taymans  <wim@fluendo.com>
21256
21257         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21258         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21259         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21260         A flushing pad cannot be used to alloc_buffer from.
21261
21262 2005-05-26  Wim Taymans  <wim@fluendo.com>
21263
21264         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21265         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21266         (gst_bus_source_dispatch), (gst_bus_source_finalize),
21267         (gst_bus_create_watch), (gst_bus_add_watch_full):
21268         * gst/gstbus.h:
21269         Implement a real GSource and use g_main_context_wakeup() to
21270         signal new messages instead of the socketpair.
21271
21272 2005-05-25  Wim Taymans  <wim@fluendo.com>
21273
21274         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21275         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21276         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21277         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21278         (gst_pad_send_event), (gst_pad_start_task):
21279         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21280         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21281         (gst_queue_sink_activate), (gst_queue_src_activate),
21282         (gst_queue_change_state):
21283         * gst/gstqueue.h:
21284         Fix state changes for non sinks. We now change sinks, then elements
21285         with unconnected srcpads, then the rest.
21286         More efficient queue unlocking in flush and state changes.
21287         Set the pad activate mode even if it does not have an activate
21288         function.
21289
21290 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21291
21292         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21293           Don't go in pull mode for non-seekable sources.
21294         * gst/elements/gsttypefindelement.h:
21295         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21296         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21297         (free_entry), (stop_typefinding),
21298         (gst_type_find_element_handle_event), (find_peek),
21299         (gst_type_find_element_chain), (do_pull_typefind),
21300         (gst_type_find_element_change_state):
21301           Allow typefinding (w/o seeking) in push-mode, simplified version
21302           of what was in 0.8.
21303         * gst/gstutils.c: (gst_buffer_join):
21304         * gst/gstutils.h:
21305           gst_buffer_join() from 0.8.
21306
21307 2005-05-25  Wim Taymans  <wim@fluendo.com>
21308
21309         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21310         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21311         (gst_pad_send_event), (gst_pad_start_task):
21312         Disable attempt at mode switching until it is figured out.
21313
21314 2005-05-25  Wim Taymans  <wim@fluendo.com>
21315
21316         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21317         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21318         (gst_basesink_finish_preroll), (gst_basesink_chain),
21319         (gst_basesink_loop), (gst_basesink_activate),
21320         (gst_basesink_change_state):
21321         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21322         (gst_basesrc_get_range), (gst_basesrc_loop),
21323         (gst_basesrc_activate):
21324         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21325         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21326         (gst_real_pad_init), (gst_real_pad_set_property),
21327         (gst_real_pad_get_property), (gst_pad_set_active),
21328         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21329         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21330         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21331         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21332         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21333         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21334         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21335         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21336         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21337         (gst_pad_stop_task):
21338         * gst/gstpad.h:
21339         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21340         (gst_queue_loop), (gst_queue_src_activate):
21341         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21342         (gst_task_get_state):
21343         * gst/gsttask.h:
21344         * gst/schedulers/threadscheduler.c:
21345         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21346         Implement gst_pad_pause/start/stop_task(), take STREAM lock
21347         in task function.
21348         Remove ACTIVE pad flag, use FLUSHING everywhere
21349         Added _pad_chain(), _pad_get_range() to call chain/getrange 
21350         functions.
21351         Add locks around IS_FLUSHING when reading.
21352         Take STREAM lock in chain(), get_range() functions so plugins
21353         don't need to take it anymore.
21354         
21355
21356
21357 2005-05-25  Wim Taymans  <wim@fluendo.com>
21358
21359         * tools/gst-launch.c: (event_loop):
21360         Unref message after using its contents instead of
21361         before.
21362
21363 2005-05-24  Wim Taymans  <wim@fluendo.com>
21364
21365         * docs/design/draft-ghostpads.txt:
21366         * docs/design/draft-push-pull.txt:
21367         * docs/design/draft-query.txt:
21368         * docs/design/part-overview.txt:
21369         Docs updates, added general overview doc.
21370
21371 2005-05-21  David Schleef  <ds@schleef.org>
21372
21373         * docs/gst/tmpl/old/GstBin.sgml:
21374         * docs/gst/tmpl/old/GstBuffer.sgml:
21375         * docs/gst/tmpl/old/GstCaps.sgml:
21376         * docs/gst/tmpl/old/GstClock.sgml:
21377         * docs/gst/tmpl/old/GstCompat.sgml:
21378         * docs/gst/tmpl/old/GstData.sgml:
21379         * docs/gst/tmpl/old/GstElement.sgml:
21380         * docs/gst/tmpl/old/GstEvent.sgml:
21381         * docs/gst/tmpl/old/GstIndex.sgml:
21382         * docs/gst/tmpl/old/GstStructure.sgml:
21383         * docs/gst/tmpl/old/GstTag.sgml:
21384         * docs/gst/tmpl/old/cothreads.sgml:
21385         * docs/gst/tmpl/old/cothreads_compat.sgml:
21386         * docs/gst/tmpl/old/gettext.sgml:
21387         * docs/gst/tmpl/old/gobject2gtk.sgml:
21388         * docs/gst/tmpl/old/grammar.tab.sgml:
21389         * docs/gst/tmpl/old/gst-i18n-app.sgml:
21390         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21391         * docs/gst/tmpl/old/gst_private.sgml:
21392         * docs/gst/tmpl/old/gstaggregator.sgml:
21393         * docs/gst/tmpl/old/gstarch.sgml:
21394         * docs/gst/tmpl/old/gstatomic_impl.sgml:
21395         * docs/gst/tmpl/old/gstbufferstore.sgml:
21396         * docs/gst/tmpl/old/gstdata_private.sgml:
21397         * docs/gst/tmpl/old/gstdisksink.sgml:
21398         * docs/gst/tmpl/old/gstdisksrc.sgml:
21399         * docs/gst/tmpl/old/gstelementfactory.sgml:
21400         * docs/gst/tmpl/old/gstextratypes.sgml:
21401         * docs/gst/tmpl/old/gstfakesink.sgml:
21402         * docs/gst/tmpl/old/gstfakesrc.sgml:
21403         * docs/gst/tmpl/old/gstfdsink.sgml:
21404         * docs/gst/tmpl/old/gstfdsrc.sgml:
21405         * docs/gst/tmpl/old/gstfilesink.sgml:
21406         * docs/gst/tmpl/old/gstfilesrc.sgml:
21407         * docs/gst/tmpl/old/gsthttpsrc.sgml:
21408         * docs/gst/tmpl/old/gstidentity.sgml:
21409         * docs/gst/tmpl/old/gstindexfactory.sgml:
21410         * docs/gst/tmpl/old/gstmarshal.sgml:
21411         * docs/gst/tmpl/old/gstmd5sink.sgml:
21412         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21413         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21414         * docs/gst/tmpl/old/gstpadtemplate.sgml:
21415         * docs/gst/tmpl/old/gstpipefilter.sgml:
21416         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21417         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21418         * docs/gst/tmpl/old/gstshaper.sgml:
21419         * docs/gst/tmpl/old/gstspider.sgml:
21420         * docs/gst/tmpl/old/gstspideridentity.sgml:
21421         * docs/gst/tmpl/old/gststatistics.sgml:
21422         * docs/gst/tmpl/old/gsttee.sgml:
21423         * docs/gst/tmpl/old/gsttimecache.sgml:
21424         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21425         * docs/gst/tmpl/old/gstxmlregistry.sgml:
21426         * docs/gst/tmpl/old/gthread-cothreads.sgml:
21427         * docs/gst/tmpl/old/types.sgml:
21428           I didn't intend to add these or check them in.
21429
21430 2005-05-19  David Schleef  <ds@schleef.org>
21431
21432         * configure.ac: Use -no-common everywhere.  In a sane world, it
21433           would be the default in libtool, because without it, you can't
21434           build DLLs on Windows.
21435         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21436         * docs/gst/gstreamer-sections.txt:
21437         * docs/gst/tmpl/gstcpu.sgml:
21438         * docs/gst/tmpl/gstdata.sgml:
21439         * docs/gst/tmpl/gstthread.sgml:
21440
21441 2005-05-19  David Schleef  <ds@schleef.org>
21442
21443         * gst/gstminiobject.c: (gst_value_set_mini_object),
21444         (gst_value_take_mini_object), (gst_value_get_mini_object):
21445         * gst/gstminiobject.h: Add GValue set/get functions.
21446
21447 2005-05-19  Wim Taymans  <wim@fluendo.com>
21448
21449         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21450         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21451         (gst_subbuffer_init), (gst_buffer_is_span_fast):
21452         * gst/gstbuffer.h:
21453         * gst/gstbus.c: (gst_bus_post):
21454         * gst/gstelement.c: (gst_element_get_random_pad):
21455         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21456         Make subbufer unref the parent in finalize.
21457         some more debugging info.
21458
21459
21460 2005-05-19  Wim Taymans  <wim@fluendo.com>
21461
21462         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21463         (gst_basesink_init), (gst_basesink_finalize),
21464         (gst_basesink_activate), (gst_basesink_change_state):
21465         Don't free preroll queue too early.
21466
21467 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21468
21469         * gst/Makefile.am:
21470         * gst/ROADMAP:
21471           Hi, I'm outdated. Please shoot me.
21472
21473 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21474
21475         * gst/gstpipeline.c: (gst_pipeline_send_event):
21476           Do not access variables after they have been deleted.
21477
21478 2005-05-19  Wim Taymans  <wim@fluendo.com>
21479
21480         * tools/gst-inspect.c: (print_plugin_features):
21481         A plugin feature does unfortunatly not use the
21482         object name yet...
21483
21484 2005-05-18  Wim Taymans  <wim@fluendo.com>
21485
21486         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21487         Port _span() functions to new subbuffers.
21488
21489 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21490
21491         * gst/gstbin.c: (gst_bin_add_func):
21492           Fix clock settery in bins when adding kids after the clock has
21493           been selected.
21494
21495 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21496
21497         * gst/elements/gstidentity.c: (gst_identity_class_init):
21498           Workaround until signals support GstMiniObject.
21499
21500 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21501
21502         * gst/gstbuffer.c:
21503         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21504
21505 2005-05-18  Wim Taymans  <wim@fluendo.com>
21506
21507         * gst/base/Makefile.am:
21508         * gst/base/gstadapter.c: (gst_adapter_base_init),
21509         (gst_adapter_class_init), (gst_adapter_init),
21510         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21511         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21512         (gst_adapter_flush), (gst_adapter_available),
21513         (gst_adapter_available_fast):
21514         * gst/base/gstadapter.h:
21515         Ported and added adapter to the base classes.
21516
21517 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21518
21519         * gst/gst.c:
21520         * gst/gstmessage.c:
21521           Make sure the class is reffed/unreffed once before threads can be
21522           used.  Fixes #304551.
21523
21524 2005-05-17  Wim Taymans  <wim@fluendo.com>
21525
21526         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21527         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21528         * gst/gstminiobject.c: (gst_mini_object_get_type),
21529         (gst_mini_object_free):
21530         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21531         (gst_pad_push), (gst_pad_push_event):
21532         * gst/gstqueue.c: (gst_queue_change_state):
21533         Don't queue buffers in basesink when we are flushing.
21534         Unref buffer when flushing in basesink.
21535         Flush queue when going to READY
21536         Unref buffer when _push() returns an error.
21537         Don't free MiniObject instance when refcount is incremented
21538         in _finalize() so that we can recover objects.
21539
21540 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21541
21542         * docs/manual/advanced-schedulers.xml:
21543         * docs/manual/appendix-checklist.xml:
21544         * docs/pwg/advanced-clock.xml:
21545         * docs/pwg/advanced-interfaces.xml:
21546         * docs/pwg/advanced-request.xml:
21547         * docs/pwg/advanced-types.xml:
21548         * docs/pwg/intro-preface.xml:
21549         * examples/plugins/example.c: (gst_example_get_type),
21550         (gst_example_class_init), (gst_example_chain),
21551         (gst_example_set_property), (gst_example_get_property),
21552         (gst_example_change_state), (plugin_init):
21553         * examples/plugins/example.h:
21554           small doc fixes
21555
21556 2005-05-17  Wim Taymans  <wim@fluendo.com>
21557
21558         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21559         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21560         * gst/gstqueue.c: (gst_queue_change_state):
21561         Clear queue when going to READY.
21562         Remove IN_SETCAPS flag too.
21563
21564 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21565
21566         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21567           Remove implicit cast from gboolean to GstElementStateReturn;
21568           make sure we still return failure in paused => ready case if
21569           the parent class fails to change state and our own stop 
21570           vfunc succeeds.
21571
21572 2005-05-17  Wim Taymans  <wim@fluendo.com>
21573
21574         * tools/gst-launch.c: (event_loop):
21575         Message was unreffed too soon.
21576
21577 2005-05-16  Andy Wingo  <wingo@pobox.com>
21578
21579         * gst/gstbin.c (sink_iterator_filter): Err... um...
21580
21581         * check/gst/gstbin.c (test_ghost_pads): New test for the
21582         ghosting-if-elements-not-in-same-bin behavior.
21583
21584 2005-05-16  David Schleef  <ds@schleef.org>
21585
21586         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21587         accessing refcount directly.
21588
21589 2005-05-15  David Schleef  <ds@schleef.org>
21590
21591         * check/Makefile.am: remove GstData checks
21592         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21593         * gst/Makefile.am: add miniobject, remove data
21594         * gst/gst.h: add miniobject, remove data
21595         * gst/gstdata.c: remove
21596         * gst/gstdata.h: remove
21597         * gst/gstdata_private.h: remove
21598         * gst/gsttypes.h: remove GstEvent and GstMessage
21599         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21600         * gst/gstmarshal.list: change BOXED -> OBJECT
21601
21602         Implement GstMiniObject.
21603         * gst/gstminiobject.c:
21604         * gst/gstminiobject.h:
21605
21606         Modify to be subclasses of GstMiniObject.
21607         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21608         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21609         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21610         (gst_subbuffer_get_type), (gst_subbuffer_init),
21611         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21612         (gst_buffer_span):
21613         * gst/gstbuffer.h:
21614         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21615         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21616         (_gst_event_copy), (gst_event_new):
21617         * gst/gstevent.h:
21618         * gst/gstmessage.c: (_gst_message_initialize),
21619         (gst_message_get_type), (gst_message_class_init),
21620         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21621         (gst_message_new), (gst_message_new_error),
21622         (gst_message_new_warning), (gst_message_new_tag),
21623         (gst_message_new_state_changed), (gst_message_new_application):
21624         * gst/gstmessage.h:
21625         * gst/gstprobe.c: (gst_probe_perform),
21626         (gst_probe_dispatcher_dispatch):
21627         * gst/gstprobe.h:
21628         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21629         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21630         (_gst_query_copy), (gst_query_new):
21631
21632         Update elements for GstData -> GstMiniObject changes
21633         * gst/gstquery.h:
21634         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21635         (gst_queue_chain), (gst_queue_loop):
21636         * gst/elements/gstbufferstore.c:
21637         (gst_buffer_store_add_buffer_func),
21638         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21639         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21640         (gst_fakesink_render):
21641         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21642         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21643         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21644         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21645         (gst_filesrc_create_read):
21646         * gst/elements/gstidentity.c: (gst_identity_class_init):
21647         * gst/elements/gsttypefindelement.c:
21648         (gst_type_find_element_src_event), (free_entry_buffers),
21649         (gst_type_find_element_handle_event):
21650         * libs/gst/dataprotocol/dataprotocol.c:
21651         (gst_dp_header_from_buffer):
21652         * libs/gst/dataprotocol/dataprotocol.h:
21653         * libs/gst/dataprotocol/dp-private.h:
21654
21655 2005-05-15  David Schleef  <ds@schleef.org>
21656
21657         * gst/elements/gstelements.c: Don't include headers that were
21658         just removed.
21659
21660 2005-05-15  David Schleef  <ds@schleef.org>
21661
21662         * gst/elements/Makefile.am: Remove some elements that don't
21663         need to be in the core (or even exist at all).
21664         * gst/elements/gstaggregator.c:
21665         * gst/elements/gstaggregator.h:
21666         * gst/elements/gstmd5sink.c:
21667         * gst/elements/gstmd5sink.h:
21668         * gst/elements/gstmultifilesrc.c:
21669         * gst/elements/gstmultifilesrc.h:
21670         * gst/elements/gstpipefilter.c:
21671         * gst/elements/gstpipefilter.h:
21672         * gst/elements/gstshaper.c:
21673         * gst/elements/gstshaper.h:
21674         * gst/elements/gststatistics.c:
21675         * gst/elements/gststatistics.h:
21676         * po/POTFILES.in: Remove above files.
21677
21678 2005-05-14  Andy Wingo  <wingo@pobox.com>
21679
21680         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21681         so as to get the refs right.
21682         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21683         unreffing objects that don't pass the filter.
21684
21685         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21686         gst_element_set_bus.
21687         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21688         normal cases, this will destroy the bus.
21689
21690         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21691         object.
21692
21693         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21694         has no sinks.
21695
21696 2005-05-13  Andy Wingo  <wingo@pobox.com>
21697
21698         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21699         gst_pad_link, call pad_link_maybe_ghosting,
21700         (pad_link_maybe_ghosting): Links pads, making sure that the
21701         elements being linked are in the same bin.
21702         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21703         Helpers for pad_link_maybe_ghosting.
21704
21705 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21706
21707         * configure.ac:
21708           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21709
21710 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21711
21712         * docs/design/part-element-source.txt:
21713           Mention GstPushSrc
21714
21715 2005-05-12  Wim Taymans  <wim@fluendo.com>
21716
21717         * gst/base/gstbasesink.c: (gst_basesink_init),
21718         (gst_basesink_activate):
21719         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21720         (gst_basesrc_is_seekable):
21721         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21722         (bin_element_is_sink), (gst_bin_change_state):
21723         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21724         * gst/gstelement.h:
21725         Identify sinks by their flag to avoid overly complicated
21726         checks (fow now).
21727         Do state changes even for elements not reachable from the
21728         sinks.
21729         BaseSink is a sink now :)
21730         Some more debugging info in the basesrc.
21731
21732
21733 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21734
21735         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21736           Implement _query on a bin, similar to _send_event.
21737
21738 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21739
21740         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21741           Discont event offset format should be GST_FORMAT_BYTES,
21742           not GST_FORMAT_TIME.
21743
21744 2005-05-12  Wim Taymans  <wim@fluendo.com>
21745
21746         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21747         Same fix as Ronald's but without the signal. 
21748
21749 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21750
21751         * gst/gstutils.c: (gst_element_query_position):
21752           No, an element is not a pad.
21753
21754 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21755
21756         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21757         (gst_bin_get_state):
21758           If a child is removed from a bin while we remove the child from
21759           the bin and while we're retrieving its state, signal this to the
21760           get_state function so we abort the wait (instead of waiting for
21761           a timeout) and can immediately re-iterate over all other elements.
21762
21763 2005-05-12  Wim Taymans  <wim@fluendo.com>
21764
21765         * gst/base/Makefile.am:
21766         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21767         (gst_basesrc_start):
21768         * gst/base/gstbasesrc.h:
21769         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21770         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21771         (gst_pushsrc_init), (gst_pushsrc_create):
21772         * gst/base/gstpushsrc.h:
21773         Added is_seekable to BaseSrc
21774         Added simple PushSrc.
21775
21776 2005-05-11  Wim Taymans  <wim@fluendo.com>
21777
21778         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21779         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21780         (gst_element_link_pads), (gst_element_query_position),
21781         (gst_element_query_convert), (intersect_caps_func),
21782         (gst_pad_query_position), (gst_pad_query_convert):
21783         Fix refcounting in utils function.
21784         No point in trying to activate a pad when it's added, it could
21785         be added from the state change function and then we deadlock, the
21786         element has to decide what to do.
21787
21788 2005-05-10  Andy Wingo  <wingo@pobox.com>
21789
21790         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21791         *all* the arguments.
21792
21793         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21794         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21795         lock (according to the docs -- if this is wrong change the docs).
21796
21797         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21798         flush messages in the NULL state.
21799
21800         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21801         message immediately and return.
21802         (gst_bus_set_flushing): New function. If a bus is flushing, it
21803         flushes out any queued messages and immediately unrefs new
21804         messages. This is so when an element goes to NULL, all of the
21805         unhandled messages coming from it can be freed, and their
21806         references to the element dropped. In other words: message source
21807         ref considered harmful :P
21808
21809         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21810         we're finished with it.
21811
21812         * gst/gstmessage.c (gst_message_new_state_changed): 
21813
21814 2005-05-10  Wim Taymans  <wim@fluendo.com>
21815
21816         * gst/gstvalue.c: (gst_value_compare_flags),
21817         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21818         (_gst_value_initialize):
21819         Added flags serialize/deserialize/compare code.
21820
21821 2005-05-09  Andy Wingo  <wingo@pobox.com>
21822
21823         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21824         Intersect the peer's caps with our caps.
21825
21826 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21827
21828         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21829         * gst/elements/gsttypefindelement.c: (find_peek):
21830           Handle negative offsets better. Fixes decodebin.
21831
21832 2005-05-09  Wim Taymans  <wim@fluendo.com>
21833
21834         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21835         (gst_base_transform_event):
21836         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21837         Implement accept_caps.
21838         Fix silly lock/unlock mismatch in base class.
21839
21840 2005-05-09  Wim Taymans  <wim@fluendo.com>
21841
21842         * docs/design/draft-push-pull.txt:
21843         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21844         * gst/elements/gstfilesink.c: (gst_filesink_init),
21845         (gst_filesink_query):
21846         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21847         (gst_type_find_handle_src_query), (find_element_get_length):
21848         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21849         * gst/gstelement.h:
21850         * gst/gstmessage.c:
21851         * gst/gstmessage.h:
21852         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21853         (gst_real_pad_get_caps_unlocked),
21854         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21855         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21856         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21857         (gst_real_pad_dispose), (gst_real_pad_finalize),
21858         (gst_pad_load_and_link), (gst_pad_save_thyself),
21859         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21860         (gst_pad_check_pull_range), (gst_pad_pull_range),
21861         (gst_pad_template_get_type), (gst_pad_template_class_init),
21862         (gst_pad_template_init), (gst_pad_template_dispose),
21863         (name_is_valid), (gst_static_pad_template_get),
21864         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21865         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21866         (gst_pad_get_element_private), (gst_pad_start_task),
21867         (gst_pad_pause_task), (gst_pad_stop_task),
21868         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21869         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21870         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21871         (gst_ghost_pad_new):
21872         * gst/gstpad.h:
21873         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21874         (gst_query_new_position), (gst_query_set_position),
21875         (gst_query_parse_position), (gst_query_new_convert),
21876         (gst_query_set_convert), (gst_query_parse_convert):
21877         * gst/gstquery.h:
21878         * gst/gstqueryutils.c:
21879         * gst/gstqueryutils.h:
21880         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21881         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21882         (gst_queue_handle_src_query):
21883         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21884         (gst_element_query_position), (gst_element_query_convert),
21885         (intersect_caps_func), (gst_pad_query_position),
21886         (gst_pad_query_convert):
21887         * gst/gstutils.h:
21888         * tools/gst-inspect.c: (print_pad_info):
21889         * tools/gst-xmlinspect.c: (print_element_info):
21890         Remove old query functions. Ported old code.
21891         Added position/convert helper functions to gstutils.
21892         Reordered gstpad.c code, grouping relevant things.
21893         Remove gst_message_new(), always need to speficy a specific
21894         message.
21895
21896
21897 2005-05-09  Andy Wingo  <wingo@pobox.com>
21898
21899         * gst/gstiterator.h: Add some includes.
21900
21901         * gst/gstqueryutils.h: Include more headers.
21902
21903         * gst/gstpad.h:
21904         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21905         some uses of gst_pad_query.
21906
21907         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21908         NULL out parameters.
21909         (gst_query_new_position): New proc, allocates a new position
21910         query.
21911
21912         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21913         gstqueryutils.c to the build.
21914
21915         * gst/gststructure.c (gst_structure_set_valist): Implement with
21916         the generic G_VALUE_COLLECT.
21917         
21918 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21919
21920         * gst/Makefile.am: (gst_headers):
21921         Added gstqueryutils.h to the list of headers to install, that was
21922         a 'nachty' move wingo :)
21923
21924 2005-05-06  Andy Wingo  <wingo@pobox.com>
21925
21926         * gst/gstquery.h
21927         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21928         GstData, init a memchunk.
21929         (standard_definitions): Add a few query types, deprecate a few.
21930         (gst_query_get_type): New proc.
21931         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21932         implementation.
21933         (gst_query_new_application, gst_query_get_structure): New public
21934         procs.
21935
21936         * docs/design/draft-query.txt: Removed LINKS from the query types,
21937         because all the rest can be dispatched to other pads -- seemed
21938         ugly to have a query that couldn't be dispatched. internal_links
21939         is fine as a pad method.
21940
21941         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21942         in gstpad.c, but maintain binary compatibility for the moment.
21943         Will fix before 0.9 is out.
21944
21945         * gst/gstqueryutils.c: 
21946         * gst/gstqueryutils.h: New files, implement 3 methods for each
21947         query type: parse_query, parse_response, and set. Probably need an
21948         allocator as well.
21949
21950         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21951
21952         * gst/elements/gstfilesink.c (gst_filesink_query2):
21953         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21954         query_types, and formats methods.
21955
21956         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21957         (gst_pad_set_query2_function): New functions.
21958         (gst_real_pad_init): Set query2_default as the default query2
21959         function. Basically just dispatches to internally linked pads.
21960
21961         Needs review!
21962         
21963         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21964         without using the atomic operations. Only one thread can possibly
21965         be accessing the data at this point. Changed so as to avoid
21966         gst_atomic operations.
21967
21968 2005-05-06  Wim Taymans  <wim@fluendo.com>
21969
21970         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21971         Also set caps if we use the fallback buffer alloc.
21972
21973 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21974
21975         * docs/gst/Makefile.am:
21976         * docs/gst/gstreamer-docs.sgml:
21977         * docs/gst/gstreamer-sections.txt:
21978         * docs/gst/tmpl/gstatomic.sgml:
21979         * docs/gst/tmpl/gstmemchunk.sgml:
21980         * testsuite/elements/struct_i386.h:
21981         * win32/GStreamer.vcproj:
21982         * win32/Makefile:
21983           Purge GstAtomic stuff from docs and win32 makefiles as well
21984
21985 2005-05-06  Wim Taymans  <wim@fluendo.com>
21986
21987         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21988         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21989         * gst/gstpad.c: (gst_pad_peer_get_caps):
21990         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21991         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21992         (gst_queue_src_activate), (gst_queue_change_state):
21993         * gst/gstqueue.h:
21994         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21995         (intersect_caps_func):
21996         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21997         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21998         Some fixes for the peer_get_caps() change.
21999
22000 2005-05-06  Wim Taymans  <wim@fluendo.com>
22001
22002         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22003         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22004         (gst_basesink_activate):
22005         Actually do something with error codes returned from the push
22006         functions.
22007
22008 2005-05-06  Wim Taymans  <wim@fluendo.com>
22009
22010         * docs/design/part-element-sink.txt:
22011         * docs/design/part-element-source.txt:
22012         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22013         (gst_basesink_event), (gst_basesink_activate):
22014         * gst/base/gstbasesink.h:
22015         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22016         (gst_basesrc_activate):
22017         * gst/base/gstbasesrc.h:
22018         * gst/gstelement.c: (gst_element_pads_activate):
22019         Some more documentation.
22020         Fixed scheduling decision in _pads_activate().
22021
22022 2005-05-05  Andy Wingo  <wingo@pobox.com>
22023
22024         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22025         the test suite.
22026
22027 2005-05-05  Wim Taymans  <wim@fluendo.com>
22028
22029         * gst/base/Makefile.am:
22030         * gst/base/gstbasesink.h:
22031         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22032         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22033         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22034         (gst_collectpads_class_init), (gst_collectpads_init),
22035         (gst_collectpads_finalize), (gst_collectpads_new),
22036         (gst_collectpads_set_function), (gst_collectpads_add_pad),
22037         (find_pad), (gst_collectpads_remove_pad),
22038         (gst_collectpads_is_active), (gst_collectpads_collect),
22039         (gst_collectpads_collect_range), (gst_collectpads_start),
22040         (gst_collectpads_stop), (gst_collectpads_peek),
22041         (gst_collectpads_pop), (gst_collectpads_available),
22042         (gst_collectpads_read), (gst_collectpads_flush),
22043         (gst_collectpads_chain):
22044         * gst/base/gstcollectpads.h:
22045         * gst/elements/Makefile.am:
22046         * gst/elements/gstelements.c:
22047         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22048         (gst_fakesink_get_times), (gst_fakesink_event),
22049         (gst_fakesink_preroll), (gst_fakesink_render):
22050         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22051         (gst_filesink_init), (gst_filesink_set_location),
22052         (gst_filesink_open_file), (gst_filesink_close_file),
22053         (gst_filesink_pad_query), (gst_filesink_event),
22054         (gst_filesink_render), (gst_filesink_change_state):
22055         * gst/elements/gstfilesink.h:
22056         Added object to help in making collect pad based elements.
22057         Ported filesink.
22058         Make event function in sink baseclass return gboolean.
22059
22060 2005-05-05  Wim Taymans  <wim@fluendo.com>
22061
22062         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22063         (gst_bin_get_by_name):
22064         * gst/gstbuffer.h:
22065         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22066         (gst_clock_finalize):
22067         * gst/gstdata.c: (gst_data_replace):
22068         * gst/gstdata.h:
22069         * gst/gstelement.c: (gst_element_request_pad),
22070         (gst_element_pads_activate):
22071         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22072         (gst_object_unref):
22073         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22074         (gst_pad_set_checkgetrange_function),
22075         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22076         (gst_pad_check_pull_range), (gst_pad_pull_range),
22077         (gst_static_pad_template_get_caps), (gst_pad_start_task),
22078         (gst_pad_pause_task), (gst_pad_stop_task):
22079         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22080         (gst_element_request_pad), (gst_pad_proxy_getcaps):
22081         Fix name lookup in GstBin.
22082         Added _data_replace() function and _buffer_replace()
22083         Use finalize method to clean up clock.
22084         Fix refcounting on request pads.
22085         Fix pad schedule mode error.
22086         Some more object refcounting debug info,
22087
22088
22089 2005-05-04  Andy Wingo <wingo@pobox.com>
22090
22091         * check/Makefile.am:
22092         * docs/gst/tmpl/gstatomic.sgml:
22093         * docs/gst/tmpl/gstplugin.sgml:
22094         * gst/base/gstbasesink.c: (gst_basesink_activate):
22095         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22096         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22097         (gst_basesrc_query), (gst_basesrc_set_property),
22098         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22099         (gst_basesrc_activate):
22100         * gst/base/gstbasesrc.h:
22101         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22102         (gst_base_transform_src_activate):
22103         * gst/elements/gstelements.c:
22104         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22105         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22106         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22107         * gst/elements/gsttypefindelement.c: (find_element_get_length),
22108         (gst_type_find_element_checkgetrange),
22109         (gst_type_find_element_activate):
22110         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22111         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22112         (gst_caps_load_thyself):
22113         * gst/gstelement.c: (gst_element_pads_activate),
22114         (gst_element_save_thyself), (gst_element_restore_thyself):
22115         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22116         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22117         * gst/gstpad.h:
22118         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22119         (gst_xml_parse_file), (gst_xml_parse_memory),
22120         (gst_xml_get_element), (gst_xml_make_element):
22121         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22122         (_file_index_id_save_xml), (gst_file_index_commit):
22123         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22124         (read_enum), (load_pad_template), (load_feature), (load_plugin),
22125         (load_paths):
22126         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22127         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22128         * tools/gst-complete.c: (main):
22129         * tools/gst-compprep.c: (main):
22130         * tools/gst-inspect.c: (print_element_properties_info):
22131         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22132         * tools/gst-xmlinspect.c: (print_element_properties):
22133         GCC 4 fixen.
22134         
22135 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22136
22137         * gst/gstplugin.c: (gst_plugin_check_module),
22138         (gst_plugin_check_file), (gst_plugin_load_file):
22139             apply patch from #172526 to make register work on MacOSX
22140
22141 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22142
22143         * docs/gst/tmpl/gstconfig.sgml:
22144         * gst/gstconfig.h.in:
22145           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
22146         * testsuite/debug/printf_extension.c: (main):
22147           Do not use GST_PTR_FORMAT on pointers to types with
22148           sizeof < sizeof(gpointer).  Fixes test on 64-bit
22149         * testsuite/elements/property.h:
22150           use correct printf format
22151
22152 2005-05-02  Wim Taymans  <wim@fluendo.com>
22153
22154         * docs/design/draft-push-pull.txt:
22155         * docs/design/draft-query.txt:
22156         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22157         (gst_basesrc_start):
22158         Added draft for new query API.
22159         Added draft for better selecting scheduling methods.
22160         Make basesrc ignore length if the subclass does not support
22161         it.
22162
22163 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22164
22165         * gst/Makefile.am:
22166           possible fixes for automake-1.5 - _LIBADD is reserved
22167
22168 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22169
22170         * docs/faq/Makefile.am:
22171         * docs/manual/Makefile.am:
22172         * docs/manuals.mak:
22173         * docs/pwg/Makefile.am:
22174         * gst/Makefile.am:
22175           possible fixes for automake-1.5
22176
22177 2005-04-28  Wim Taymans  <wim@fluendo.com>
22178
22179         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22180         (gst_basesink_pad_getcaps), (gst_basesink_init),
22181         (gst_basesink_do_sync):
22182         * gst/gstclock.c: (gst_clock_entry_new):
22183         * gst/gstevent.c: (gst_event_discont_get_value):
22184         * gst/gstpipeline.c: (pipeline_bus_handler),
22185         (gst_pipeline_change_state):
22186         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22187         Better debugging of clocking info.
22188         Allow NULL values when getting discont values.
22189
22190 2005-04-27  Wim Taymans  <wim@fluendo.com>
22191
22192         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22193         * check/gst/gstpad.c: (gst_pad_suite):
22194         Increase timeout for checks.
22195
22196 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22197
22198         * check/Makefile.am:
22199           fix the broken rule for cleanup.  Apparently this rule is
22200           only needed on FC2, so maybe this warrants further autotool
22201           inspection.
22202
22203 2005-04-26  Wim Taymans  <wim@fluendo.com>
22204
22205         * gst/gsttrashstack.h:
22206         Ooohh. a nasty one! After having a failed pop() from the stack,
22207         it's possible that the stack is empty. In that case, don't
22208         follow the NULL pointer.
22209
22210 2005-04-25  Wim Taymans  <wim@fluendo.com>
22211
22212         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22213         (gst_pad_set_checkgetrange_function),
22214         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22215         (gst_pad_check_pull_range), (gst_pad_pull_range),
22216         (gst_static_pad_template_get_caps), (gst_pad_start_task),
22217         (gst_pad_pause_task), (gst_pad_stop_task):
22218         * gst/gstplugin.c: (gst_plugin_load):
22219         * gst/gstplugin.h:
22220         Remove gst_library_load as it does more harm than good with
22221         the new g_module flags.
22222         Revert bogus caps template check in pad linking, pad caps
22223         are important when linking not the template, which is more
22224         general than the current caps.
22225
22226 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22227
22228         * gst/autoplug/.cvsignore:
22229         * gst/autoplug/Makefile.am:
22230         * gst/autoplug/gstsearchfuncs.c:
22231         * gst/autoplug/gstsearchfuncs.h:
22232         * gst/autoplug/gstspider.c:
22233         * gst/autoplug/gstspider.h:
22234         * gst/autoplug/gstspideridentity.c:
22235         * gst/autoplug/gstspideridentity.h:
22236         * gst/autoplug/spidertest.c:
22237           Die, spider, die.
22238
22239 2005-04-25  Wim Taymans  <wim@fluendo.com>
22240
22241         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22242         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22243         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22244         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22245         * gst/gstpad.h:
22246         Added stubs for unimplemented functions. 
22247
22248 2005-04-24  David Schleef  <ds@schleef.org>
22249
22250         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
22251         please fix.
22252
22253 2005-04-24  David Schleef  <ds@schleef.org>
22254
22255         Convert everything from GstAtomicInt to g_atomic_int_*, and
22256         remove gstatomic.
22257         * gst/Makefile.am:
22258         * gst/gstatomic.c:
22259         * gst/gstatomic.h:
22260         * gst/gstatomic_impl.h:
22261         * gst/gstbuffer.c:
22262         * gst/gstcaps.c:
22263         * gst/gstcaps.h:
22264         * gst/gstclock.c:
22265         * gst/gstclock.h:
22266         * gst/gstdata.c:
22267         * gst/gstdata.h:
22268         * gst/gstdata_private.h:
22269         * gst/gstevent.c:
22270         * gst/gstinfo.c:
22271         * gst/gstinfo.h:
22272         * gst/gstmessage.c:
22273         * gst/gstobject.c:
22274         * gst/gstobject.h:
22275         * gst/gststructure.c:
22276         * gst/gststructure.h:
22277         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22278         * gst/gstutils.h:
22279
22280 2005-04-24  David Schleef  <ds@schleef.org>
22281
22282         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22283         make the regressions tests work.  Remove some code that is no
22284         longer true.
22285         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22286         Disable warning for pads without templates.
22287
22288 2005-04-24  David Schleef  <ds@schleef.org>
22289
22290         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
22291         functions that handle filtered links.
22292         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22293         removed functions.
22294         * gst/gstutils.c: Fix/remove utility functions that handle
22295         filtered caps.
22296         * gst/gstutils.h:
22297         * gst/gstvalue.c: Add serialization/deserialization of caps
22298         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
22299         requires fixing so that the filter caps notation creates
22300         a capsfilter element and sets the filter_caps property.  I
22301         think everyone probably wants to keep the shorthand notation.
22302         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22303         * docs/gst/tmpl/gstpad.sgml:
22304
22305         * gst/elements/gstelements.c: Register capsfilter element.
22306         * gst/Makefile.am: fix spacing
22307         * docs/random/ds/0.9-suggested-changes: random
22308
22309 2005-04-23  David Schleef  <ds@schleef.org>
22310
22311         * gst/elements/Makefile.am:
22312         * gst/elements/gstcapsfilter.c: New element that acts like an
22313         identity, but filters caps.  Will eventually replace filtered
22314         caps in pad linking.
22315         * gst/gstutils.c: (gst_element_create_all_pads): New function
22316         to create all the ALWAYS pads that are registered with an
22317         element class.  This functionality should eventually be
22318         merged in with GstElement initialization.
22319         * gst/gstutils.h:
22320         * testsuite/trigger/README: part of trigger test code that should
22321         have been checked in a long time ago.
22322
22323 2005-04-23  David Schleef  <ds@schleef.org>
22324
22325         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
22326         needed with new versions of libtool (nobody will confirm this),
22327         and hard to carry around.
22328         * gst/autoplug/Makefile.am:
22329         * gst/base/Makefile.am:
22330         * gst/elements/Makefile.am:
22331         * gst/indexers/Makefile.am:
22332         * gst/schedulers/Makefile.am:
22333         * libs/gst/bytestream/Makefile.am:
22334         * libs/gst/control/Makefile.am:
22335         * libs/gst/dataprotocol/Makefile.am:
22336         * libs/gst/getbits/Makefile.am:
22337
22338 2005-04-21  Wim Taymans  <wim@fluendo.com>
22339
22340         * docs/design/draft-push-pull.txt:
22341         * docs/design/part-MT-refcounting.txt:
22342         * docs/design/part-TODO.txt:
22343         * docs/design/part-caps.txt:
22344         * docs/design/part-events.txt:
22345         * docs/design/part-gstbus.txt:
22346         * docs/design/part-gstpipeline.txt:
22347         * docs/design/part-messages.txt:
22348         * docs/design/part-push-pull.txt:
22349         * docs/design/part-query.txt:
22350         Some more docs.
22351
22352 2005-04-21  Wim Taymans  <wim@fluendo.com>
22353
22354         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22355         (gst_message_new), (gst_message_new_error),
22356         (gst_message_new_warning), (gst_message_new_tag),
22357         (gst_message_new_state_changed), (gst_message_new_application),
22358         (gst_message_get_structure):
22359         * gst/gstmessage.h:
22360         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22361         (gst_structure_copy_conditional):
22362         Use parent refcount in GstMessage to ensure GstStructure
22363         consistency.
22364         Cleaned up headers a bit.
22365         
22366
22367 2005-04-20  Wim Taymans  <wim@fluendo.com>
22368
22369         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22370         (gst_basesink_pad_getcaps), (gst_basesink_init),
22371         (gst_basesink_chain_unlocked):
22372         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22373         (gst_type_find_helper):
22374         * gst/elements/gsttypefindelement.c:
22375         (gst_type_find_element_have_type), (gst_type_find_element_init),
22376         (stop_typefinding), (gst_type_find_element_handle_event),
22377         (find_suggest), (gst_type_find_element_chain),
22378         (gst_type_find_element_checkgetrange),
22379         (gst_type_find_element_getrange), (do_typefind),
22380         (gst_type_find_element_activate):
22381         * gst/gstbuffer.c: (_gst_buffer_sub_free),
22382         (gst_buffer_default_free), (gst_buffer_default_copy),
22383         (gst_buffer_set_caps):
22384         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22385         (gst_caps_replace):
22386         * gst/gstmessage.c: (gst_message_new),
22387         (gst_message_new_state_changed):
22388         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22389         (gst_pad_set_checkgetrange_function),
22390         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22391         (gst_pad_set_caps), (gst_pad_check_pull_range),
22392         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22393         * gst/gstpad.h:
22394         * gst/gsttypefind.c: (gst_type_find_register):
22395         Make gst_caps_replace() work like other _replace() functions.
22396         Use _caps_replace() where possible.
22397         Make sure _message_new() initialises its field.
22398         Add gst_static_pad_template_get_caps()
22399
22400
22401 2005-04-18  Andy Wingo  <wingo@pobox.com>
22402
22403         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22404         on the peer, not the pad. I think that was a typo. Pass an extra
22405         arg to see if random access is possible. Activate the pads as
22406         PULL_RANGE if possible.
22407
22408         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22409
22410         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
22411         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22412         to PROP_....
22413
22414 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22415
22416         * docs/faq/using.xml:
22417           Add note on gstreamer-properties (#154996).
22418
22419 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22420
22421         * docs/random/bbb/optional-properties:
22422           Some analysis on optional properties.
22423
22424 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22425
22426         * docs/gst/tmpl/gstelementfactory.sgml:
22427         * gst/gstelement.h:
22428         * gst/gstelementfactory.c: (gst_element_factory_init),
22429         (gst_element_factory_cleanup), (gst_element_register),
22430         (__gst_element_factory_add_static_pad_template),
22431         (gst_element_factory_get_static_pad_templates),
22432         (gst_element_factory_can_src_caps),
22433         (gst_element_factory_can_sink_caps):
22434         * gst/registries/Makefile.am:
22435         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22436         (gst_xml_registry_class_init), (gst_xml_registry_init),
22437         (gst_xml_registry_new), (gst_xml_registry_set_property),
22438         (gst_xml_registry_get_property), (get_time), (make_dir),
22439         (gst_xml_registry_get_perms_func),
22440         (plugin_times_older_than_recurse), (plugin_times_older_than),
22441         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22442         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22443         (add_to_char_array), (read_string), (read_uint), (read_enum),
22444         (load_pad_template), (load_feature), (load_plugin), (load_paths),
22445         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22446         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22447         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22448         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22449         (gst_xml_registry_rebuild):
22450         * gst/registries/gstlibxmlregistry.h:
22451         * tools/gst-compprep.c: (main):
22452         * tools/gst-inspect.c: (print_pad_templates_info):
22453         * tools/gst-xmlinspect.c: (print_element_info):
22454           Use libxml2 for registry parsing, use staticpadtemplates in
22455           elementfactories. Makes gst_init() +/- 10x faster.
22456
22457 2005-04-12  Wim Taymans  <wim@fluendo.com>
22458
22459         * gst/base/Makefile.am:
22460         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22461         (gst_basesink_pad_getcaps), (gst_basesink_init),
22462         (gst_basesink_event), (gst_basesink_change_state):
22463         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22464         (gst_basesrc_init), (gst_basesrc_query),
22465         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22466         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22467         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22468         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22469         (gst_basesrc_stop), (gst_basesrc_activate),
22470         (gst_basesrc_change_state):
22471         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22472         (helper_find_suggest), (gst_type_find_helper):
22473         * gst/base/gsttypefindhelper.h:
22474         * gst/elements/Makefile.am:
22475         * gst/elements/gstelements.c:
22476         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22477         (gst_fakesink_get_times), (gst_fakesink_event),
22478         (gst_fakesink_preroll), (gst_fakesink_render):
22479         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22480         (gst_fakesrc_init), (gst_fakesrc_event_handler),
22481         (gst_fakesrc_get_property), (gst_fakesrc_create),
22482         (gst_fakesrc_start), (gst_fakesrc_stop):
22483         * gst/elements/gstfakesrc.h:
22484         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22485         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22486         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22487         (gst_filesrc_create_read), (gst_filesrc_create),
22488         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22489         (gst_filesrc_start):
22490         * gst/elements/gsttypefindelement.c:
22491         (gst_type_find_element_have_type), (gst_type_find_element_init),
22492         (start_typefinding), (stop_typefinding), (push_buffer_store),
22493         (gst_type_find_element_handle_event),
22494         (gst_type_find_element_chain),
22495         (gst_type_find_element_checkgetrange),
22496         (gst_type_find_element_getrange), (do_typefind),
22497         (gst_type_find_element_activate),
22498         (gst_type_find_element_change_state):
22499         * gst/elements/gsttypefindelement.h:
22500         * gst/gstpipeline.c: (pipeline_bus_handler):
22501         Added typefind helper.
22502         Small preroll fix in the base sink.
22503         Disable typefind code in basesrc.
22504         Crude port of typefindelement.
22505         Fakesrc cleanups.
22506
22507
22508 2005-04-11  Wim Taymans  <wim@fluendo.com>
22509
22510         * check/gst/gstbus.c: (gstbus_suite):
22511         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22512         * check/gstcheck.h:
22513           Fix up the timeout so that the test does not fail.
22514
22515 2005-04-06  Wim Taymans  <wim@fluendo.com>
22516
22517         * gst/base/README:
22518         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22519         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22520         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22521         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22522         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22523         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22524         (gst_basesrc_stop), (gst_basesrc_activate),
22525         (gst_basesrc_change_state), (basesrc_find_peek),
22526         (basesrc_find_suggest), (gst_basesrc_type_find):
22527         * gst/base/gstbasesrc.h:
22528         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22529         (gst_filesrc_class_init), (gst_filesrc_init),
22530         (gst_filesrc_finalize), (gst_filesrc_set_location),
22531         (gst_filesrc_set_property), (gst_filesrc_get_property),
22532         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22533         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22534         (gst_filesrc_create_read), (gst_filesrc_create),
22535         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22536         * gst/elements/gstfilesrc.h:
22537         * gst/gstelement.c: (gst_element_get_state_func),
22538         (gst_element_lost_state), (gst_element_pads_activate):
22539         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22540         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22541         (gst_pad_pull_range):
22542         * gst/gstpad.h:
22543         More work on the generic source base class, implement seeking,
22544         query.
22545         Make filesrc extend the base source class.
22546         Added gst_pad_set_checkgetrange_function to GstPad.
22547
22548 2005-04-06  Andy Wingo  <wingo@pobox.com>
22549
22550         * pkgconfig/gstreamer-base.pc.in:
22551         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22552
22553         * pkgconfig/Makefile.am:
22554         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22555
22556 2005-04-04  Wim Taymans  <wim@fluendo.com>
22557
22558         * gst/base/Makefile.am:
22559         * gst/base/README:
22560         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22561         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22562         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22563         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22564         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22565         (gst_basesrc_base_init), (gst_basesrc_class_init),
22566         (gst_basesrc_init), (gst_basesrc_get_formats),
22567         (gst_basesrc_get_query_types), (gst_basesrc_query),
22568         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22569         (gst_basesrc_set_property), (gst_basesrc_get_property),
22570         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22571         (gst_basesrc_loop), (gst_basesrc_activate),
22572         (gst_basesrc_change_state):
22573         * gst/base/gstbasesrc.h:
22574         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22575         (gst_fakesrc_class_init), (gst_fakesrc_init),
22576         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22577         (gst_fakesrc_get_property), (gst_fakesrc_create):
22578         * gst/elements/gstfakesrc.h:
22579         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22580         (gst_filesrc_open_file), (gst_filesrc_loop),
22581         (gst_filesrc_activate), (filesrc_find_peek),
22582         (gst_filesrc_type_find):
22583         Made base source class, make fakesrc extend it.
22584         Add comments to basesink class.
22585         Some filesrc cleanup.
22586
22587 2005-03-31  David Schleef  <ds@schleef.org>
22588
22589         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22590         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22591         expected to link against libgstreamer.
22592         * gst/base/Makefile.am: link against libgstreamer
22593         * gst/elements/Makefile.am: same
22594
22595 2005-03-31  Andy Wingo  <wingo@pobox.com>
22596
22597         * tests/instantiate/Makefile.am:
22598         * tests/instantiate/caps.c: Add test to test speed of caps copy
22599         and free.
22600
22601         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22602         GMemChunk to be fair.
22603
22604         * gst/gsttrashstack.h: Remove warning about using the fallback
22605         trash stack implementation, it's still faster than malloc.
22606
22607 2005-03-30  Andy Wingo  <wingo@pobox.com>
22608
22609         * tests/complexity.c: Add a copyright.
22610
22611 2005-03-31  Wim Taymans  <wim@fluendo.com>
22612
22613         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22614         (gst_base_transform_class_init), (gst_base_transform_init),
22615         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22616         (gst_base_transform_get_property),
22617         (gst_base_transform_sink_activate),
22618         (gst_base_transform_src_activate),
22619         (gst_base_transform_change_state):
22620         * gst/base/gstbasetransform.h:
22621         * gst/elements/gstidentity.c: (gst_identity_class_init),
22622         (gst_identity_event), (gst_identity_check_perfect),
22623         (gst_identity_transform), (gst_identity_start),
22624         (gst_identity_stop):
22625         Added start/stop methods to transform base class so subclasses 
22626         don't need to deal with state changes even.
22627
22628 2005-03-31  Wim Taymans  <wim@fluendo.com>
22629
22630         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22631         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22632         * gst/gstevent.h:
22633         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22634         (gst_pad_pull_range):
22635         Added rate to the discont event to prepare for variable speed
22636         and reverse playback.
22637
22638 2005-03-29  David Schleef  <ds@schleef.org>
22639
22640         * configure.ac:
22641         * testsuite/trigger/Makefile.am:
22642         * testsuite/trigger/trigger.c: A little example program to show
22643         how trigger-based elements can work.
22644
22645 2005-03-29  Wim Taymans  <wim@fluendo.com>
22646
22647         * gst/base/Makefile.am:
22648         * gst/base/README:
22649         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22650         (gst_basesink_base_init), (gst_basesink_class_init),
22651         (gst_basesink_pad_getcaps), (gst_basesink_init),
22652         (gst_basesink_activate), (gst_basesink_change_state):
22653         * gst/base/gstbasesink.h:
22654         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22655         (gst_base_transform_base_init), (gst_base_transform_finalize),
22656         (gst_base_transform_class_init), (gst_base_transform_init),
22657         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22658         (gst_base_transform_event), (gst_base_transform_getrange),
22659         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22660         (gst_base_transform_set_property),
22661         (gst_base_transform_get_property),
22662         (gst_base_transform_sink_activate),
22663         (gst_base_transform_src_activate),
22664         (gst_base_transform_change_state):
22665         * gst/base/gstbasetransform.h:
22666         * gst/elements/gstidentity.c: (gst_identity_finalize),
22667         (gst_identity_class_init), (gst_identity_init),
22668         (gst_identity_event), (gst_identity_check_perfect),
22669         (gst_identity_transform), (gst_identity_set_property),
22670         (gst_identity_get_property), (gst_identity_change_state):
22671         * gst/elements/gstidentity.h:
22672         * gst/gstelement.c: (gst_element_get_state_func),
22673         (gst_element_lost_state), (gst_element_pads_activate):
22674         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22675         (gst_pad_check_pull_range), (gst_pad_pull_range):
22676         * gst/gstpad.h:
22677         Simplify pad activation.
22678         Added function to check if pull_range can be performed.
22679         Error out when pulling inactive or flushing pads.
22680         Removed const from refcounted types as it does not make sense.
22681         Simplify pad templates in basesink
22682         Added base class for simple 1-to-1 transforms.
22683         Make identity subclass the base transform.
22684
22685 2005-03-29  Andy Wingo  <wingo@pobox.com>
22686
22687         * docs/libs/gstreamer-libs-overrides.txt: 
22688         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22689         really don't understand what's going on, but like whatever. I want
22690         green buildbot!
22691
22692         * docs/gst/Makefile.am:
22693         * docs/libs/Makefile.am: Dist the overrides files.
22694
22695         * check/Makefile.am (clean-local): Remove .libs directories.
22696
22697         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22698         elements to EXTRA_DIST, so po/ files are happy.
22699
22700         * po/POTFILES.in: Er, remove it here.
22701
22702         * po/POTFILES: Remove gstspider.c.
22703
22704         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22705
22706         * docs/libs/gstreamer-libs-docs.sgml: 
22707         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22708         bytestream.
22709
22710         * tests/complexity.c (main): Set the length of the preroll queue
22711         on the sinks to prevent a lockup.
22712
22713         * libs/gst/dataprotocol/Makefile.am: 
22714         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22715         the same as the one in check/gst-libs/gdp.c.
22716
22717         * po/, docs/gst/: Commit automatic changes to docs and po files.
22718
22719         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22720         the versioned libgstbase.
22721
22722         * check/Makefile.am: Depend on an unversioned gst-register, seems
22723         to make autoconf happier.
22724
22725         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22726
22727 2005-03-28  Wim Taymans  <wim@fluendo.com>
22728
22729         * configure.ac:
22730         * docs/design/part-gstelement.txt:
22731         * docs/design/part-negotiation.txt:
22732         * docs/design/part-preroll.txt:
22733         * docs/design/part-scheduling.txt:
22734         * docs/design/part-states.txt:
22735         * gst/Makefile.am:
22736         * gst/base/Makefile.am:
22737         * gst/base/README:
22738         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22739         (gst_basesink_base_init), (gst_basesink_class_init),
22740         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22741         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22742         (gst_basesink_set_pad_functions),
22743         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22744         (gst_basesink_set_property), (gst_basesink_get_property),
22745         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22746         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22747         (gst_basesink_preroll_queue_push),
22748         (gst_basesink_preroll_queue_empty),
22749         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22750         (gst_basesink_event), (gst_basesink_get_times),
22751         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22752         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22753         (gst_basesink_loop), (gst_basesink_activate),
22754         (gst_basesink_change_state):
22755         * gst/base/gstbasesink.h:
22756         * gst/elements/Makefile.am:
22757         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22758         (gst_fakesink_class_init), (gst_fakesink_init),
22759         (gst_fakesink_set_property), (gst_fakesink_get_property),
22760         (gst_fakesink_get_times), (gst_fakesink_event),
22761         (gst_fakesink_preroll), (gst_fakesink_render),
22762         (gst_fakesink_change_state):
22763         * gst/elements/gstfakesink.h:
22764         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22765         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22766         * gst/gstelement.c: (gst_element_add_pad),
22767         (gst_element_get_state_func), (gst_element_abort_state),
22768         (gst_element_commit_state), (gst_element_lost_state),
22769         (gst_element_set_state), (gst_element_pads_activate):
22770         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22771         * gst/gstpipeline.c: (gst_pipeline_send_event),
22772         (gst_pipeline_change_state):
22773         Added state change code.
22774         Added/updated docs.
22775         Added sink base class, make fakesink extend the base class.
22776         Small cleanups in GstPipeline.
22777
22778 2005-03-26  David Schleef  <ds@schleef.org>
22779
22780         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22781         is broken and should be implemented in a different library.
22782         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22783         * gst/gst.h: remove gstcpu.h
22784         * gst/gstcpu.c: remove
22785         * gst/gstcpu.h: remove
22786         * gst/Makefile.am.future: Remove this file.  It's ancient.
22787
22788 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22789
22790         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22791         (gst_bin_send_event):
22792           Add default event/set_manager handlers. The set_manager handler
22793           takes care that the manager is distributed over kids that were
22794           already in the bin before the manager was set. The event handler
22795           is a utility virtual function that sends the event over all sinks,
22796           so that gst_element_send_event (bin, event); has the expected
22797           behaviour.
22798         * gst/gstpad.c: (gst_pad_event_default):
22799           Re-install default event handling for discontinuities, so that
22800           seeking works without requiring hacks in applications or extra
22801           code in sinks.
22802         * gst/gstpipeline.c: (gst_pipeline_class_init),
22803         (gst_pipeline_send_event):
22804           Half hack, half utility: set a pipeline to PAUSED for seek events,
22805           since that is the only way we can guarantee a/v sync. Means that
22806           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22807           and it "just works".
22808
22809 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22810
22811         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22812           Lock/unlock mismatch.
22813
22814 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22815
22816         * docs/faq/gst-uninstalled:
22817           add gst-plugins-base
22818         * docs/gst/Makefile.am:
22819           don't error out until docs are fixed
22820         * docs/gst/gstreamer.types:
22821           remove thread
22822
22823 2005-03-22  Wim Taymans  <wim@fluendo.com>
22824
22825         * check/Makefile.am:
22826         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22827         * gst/gststructure.c: (gst_structure_set_valist),
22828         (gst_structure_copy_conditional):
22829         Activated more tests.
22830         Added message test.
22831         Added G_TYPE_POINTER to GstStructure.
22832         
22833
22834 2005-03-22  Wim Taymans  <wim@fluendo.com>
22835
22836         * docs/design/part-TODO.txt:
22837         * docs/design/part-events.txt:
22838         * docs/design/part-gstbin.txt:
22839         * docs/design/part-gstbus.txt:
22840         * docs/design/part-gstpipeline.txt:
22841         * docs/design/part-messages.txt:
22842         * gst/gstbus.c:
22843         * gst/gstmessage.c:
22844         Docs updates
22845
22846 2005-03-21  Wim Taymans  <wim@fluendo.com>
22847
22848         * gst/gstbus.c: (gst_bus_post):
22849         Fix copy-and-paste error.
22850
22851 2005-03-21  Wim Taymans  <wim@fluendo.com>
22852
22853         * check/Makefile.am:
22854         * gst/Makefile.am:
22855         * gst/elements/Makefile.am:
22856         * gst/elements/gstelements.c:
22857         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22858         (gst_fakesink_event), (gst_fakesink_chain):
22859         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22860         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22861         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22862         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22863         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22864         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22865         (gst_fakesrc_loop), (gst_fakesrc_activate),
22866         (gst_fakesrc_change_state):
22867         * gst/elements/gstfakesrc.h:
22868         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22869         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22870         (gst_filesrc_open_file), (gst_filesrc_loop),
22871         (gst_filesrc_activate), (gst_filesrc_change_state),
22872         (filesrc_find_peek), (filesrc_find_suggest),
22873         (gst_filesrc_type_find):
22874         * gst/elements/gstidentity.c: (gst_identity_finalize),
22875         (gst_identity_class_init), (gst_identity_init),
22876         (gst_identity_proxy_getcaps), (identity_queue_push),
22877         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22878         (gst_identity_getrange), (gst_identity_chain),
22879         (gst_identity_sink_loop), (gst_identity_src_loop),
22880         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22881         (gst_identity_set_property), (gst_identity_get_property),
22882         (gst_identity_change_state):
22883         * gst/elements/gstidentity.h:
22884         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22885         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22886         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22887         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22888         (gst_tee_sink_activate):
22889         * gst/elements/gsttee.h:
22890         * gst/gst.c: (gst_register_core_elements), (init_post):
22891         * gst/gst.h:
22892         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22893         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22894         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22895         (gst_bin_change_state):
22896         * gst/gstbin.h:
22897         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22898         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22899         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22900         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22901         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22902         (bus_watch_callback), (bus_watch_destroy),
22903         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22904         (poll_timeout), (gst_bus_poll):
22905         * gst/gstbus.h:
22906         * gst/gstcaps.h:
22907         * gst/gstdata.h:
22908         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22909         (gst_element_post_message), (gst_element_message_full),
22910         (gst_element_get_state_func), (gst_element_get_state),
22911         (gst_element_abort_state), (gst_element_commit_state),
22912         (gst_element_lost_state), (gst_element_set_state),
22913         (gst_element_pads_activate), (gst_element_change_state),
22914         (gst_element_dispose), (gst_element_set_manager_func),
22915         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22916         (gst_element_set_manager), (gst_element_get_manager),
22917         (gst_element_set_bus), (gst_element_get_bus),
22918         (gst_element_set_scheduler), (gst_element_get_scheduler):
22919         * gst/gstelement.h:
22920         * gst/gstevent.c: (gst_event_new_segment_seek),
22921         (gst_event_new_flush):
22922         * gst/gstevent.h:
22923         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22924         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22925         (gst_message_new_eos), (gst_message_new_error),
22926         (gst_message_new_warning), (gst_message_new_tag),
22927         (gst_message_new_state_changed), (gst_message_new_application),
22928         (gst_message_get_structure), (gst_message_parse_tag),
22929         (gst_message_parse_state_changed), (gst_message_parse_error),
22930         (gst_message_parse_warning):
22931         * gst/gstmessage.h:
22932         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22933         (gst_real_pad_set_property), (gst_pad_set_active),
22934         (gst_pad_is_active), (gst_pad_set_blocked_async),
22935         (gst_pad_set_blocked), (gst_pad_is_blocked),
22936         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22937         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22938         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22939         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22940         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22941         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22942         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22943         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22944         (gst_pad_set_caps), (gst_pad_configure_sink),
22945         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22946         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22947         (gst_real_pad_dispose), (gst_real_pad_finalize),
22948         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22949         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22950         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22951         * gst/gstpad.h:
22952         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22953         (pipeline_bus_handler), (gst_pipeline_change_state),
22954         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22955         * gst/gstpipeline.h:
22956         * gst/gstprobe.h:
22957         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22958         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22959         (gst_queue_link_src), (gst_queue_bufferalloc),
22960         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22961         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22962         (gst_queue_loop), (gst_queue_handle_src_event),
22963         (gst_queue_handle_src_query), (gst_queue_src_activate),
22964         (gst_queue_change_state):
22965         * gst/gstqueue.h:
22966         * gst/gstscheduler.c: (gst_scheduler_init),
22967         (gst_scheduler_dispose), (gst_scheduler_create_task),
22968         (gst_scheduler_factory_create):
22969         * gst/gstscheduler.h:
22970         * gst/gststructure.c: (gst_structure_get_type),
22971         (gst_structure_copy_conditional):
22972         * gst/gststructure.h:
22973         * gst/gsttaginterface.h:
22974         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22975         (gst_task_init), (gst_task_dispose), (gst_task_create),
22976         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22977         (gst_task_pause):
22978         * gst/gsttask.h:
22979         * gst/gstthread.c:
22980         * gst/gstthread.h:
22981         * gst/gsttypes.h:
22982         * gst/schedulers/Makefile.am:
22983         * gst/schedulers/cothreads_compat.h:
22984         * gst/schedulers/entryscheduler.c:
22985         * gst/schedulers/faircothreads.c:
22986         * gst/schedulers/faircothreads.h:
22987         * gst/schedulers/fairscheduler.c:
22988         * gst/schedulers/gstbasicscheduler.c:
22989         * gst/schedulers/gstoptimalscheduler.c:
22990         * gst/schedulers/gthread-cothreads.h:
22991         * gst/schedulers/threadscheduler.c:
22992         (gst_thread_scheduler_task_get_type),
22993         (gst_thread_scheduler_task_class_init),
22994         (gst_thread_scheduler_task_init),
22995         (gst_thread_scheduler_task_start),
22996         (gst_thread_scheduler_task_stop),
22997         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22998         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22999         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23000         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23001         (plugin_init):
23002         * libs/gst/Makefile.am:
23003         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23004         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23005         (gst_file_pad_parent_set):
23006         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23007         (gst_dp_event_from_packet):
23008         * tests/complexity.c: (main):
23009         * tests/mass_elements.c: (main):
23010         * testsuite/states/locked.c: (message_received), (main):
23011         * testsuite/states/parent.c: (main):
23012         * tools/gst-inspect.c: (print_element_flag_info),
23013         (print_implementation_info), (print_pad_info):
23014         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23015         (main):
23016         * tools/gst-md5sum.c: (event_loop), (main):
23017         * tools/gst-typefind.c: (main):
23018         * tools/gst-xmlinspect.c: (print_element_info):
23019         Next big merge.
23020         Added GstBus for mainloop integration.
23021         Added GstMessage for sending notifications on the bus.
23022         Added GstTask as an abstraction for pipeline entry points.
23023         Removed GstThread.
23024         Removed Schedulers.
23025         Simplified GstQueue for multithreaded core.
23026         Made _link threadsafe, removed old capsnego.
23027         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23028         Added pad blocking functions.
23029         Reworked scheduling functions in GstPad to prepare for
23030         scheduling updates soon.
23031         Moved events out of data stream.
23032         Simplified GstEvent types.
23033         Added return values to push/pull.
23034         Removed clocking from GstElement.
23035         Added prototypes for state change function for next merge.
23036         Removed iterate from bins and state change management.
23037         Fixed some elements, disabled others for now.
23038         Fixed -inspect and -launch.
23039         Added check for GstBus.
23040
23041 2005-03-10  Wim Taymans  <wim@fluendo.com>
23042
23043         * docs/design/part-MT-refcounting.txt:
23044         * docs/design/part-clocks.txt:
23045         * docs/design/part-gstelement.txt:
23046         * docs/design/part-gstobject.txt:
23047         * docs/design/part-standards.txt:
23048         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23049         (gst_bin_remove_func), (gst_bin_remove):
23050         * gst/gstbin.h:
23051         * gst/gstbuffer.c:
23052         * gst/gstcaps.h:
23053         * testsuite/clock/clock1.c: (main):
23054         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23055         (main):
23056         * testsuite/dlopen/loadgst.c: (do_test):
23057         * testsuite/refcounting/bin.c: (add_remove_test1),
23058         (add_remove_test2), (main):
23059         * testsuite/refcounting/element.c: (main):
23060         * testsuite/refcounting/element_pad.c: (main):
23061         * testsuite/refcounting/pad.c: (main):
23062         * tools/gst-launch.c: (sigint_handler_sighandler):
23063         * tools/gst-typefind.c: (main):
23064         Doc updates.
23065         Added doc about clock.
23066         removed gst_bin_iterate_recurse_up(), marked methods
23067         for removal.
23068         Fix more testsuites.
23069
23070 2005-03-09  Wim Taymans  <wim@fluendo.com>
23071
23072         * gst/gstpad.c: (gst_pad_get_direction),
23073         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23074         (gst_pad_collect_valist):
23075         * testsuite/bins/interface.c: (main):
23076         * testsuite/caps/audioscale.c: (test_caps):
23077         * testsuite/caps/caps.c: (test1), (test2), (test3):
23078         * testsuite/caps/deserialize.c: (main):
23079         * testsuite/caps/enumcaps.c: (main):
23080         * testsuite/caps/filtercaps.c: (main):
23081         * testsuite/caps/intersect2.c: (main):
23082         * testsuite/caps/random.c: (main):
23083         * testsuite/caps/renegotiate.c: (my_fixate), (main):
23084         * testsuite/caps/sets.c: (check_caps):
23085         * testsuite/caps/simplify.c: (check_caps), (main):
23086         * testsuite/caps/subtract.c: (check_caps):
23087         Fix _pad_get_direction wrt ghostpads.
23088         Fix caps testsuite.
23089
23090 2005-03-09  Wim Taymans  <wim@fluendo.com>
23091
23092         * check/Makefile.am:
23093         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23094         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23095         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23096         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23097         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23098         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23099         (gst_bin_remove), (gst_bin_iterate_recurse_up),
23100         (bin_element_is_sink), (gst_bin_iterate_sinks),
23101         (gst_bin_iterate_all_by_interface):
23102         * gst/gstbin.h:
23103         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23104         (gst_element_change_state), (gst_element_dispose),
23105         (gst_element_finalize), (gst_element_set_loop_function):
23106         * gst/gstelement.h:
23107         * gst/gstiterator.c: (find_custom_fold_func):
23108         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23109         (gst_pad_collectv), (gst_pad_collect_valist),
23110         (gst_pad_template_new):
23111         * gst/gstpipeline.c: (gst_pipeline_class_init),
23112         (gst_pipeline_dispose), (gst_pipeline_set_property),
23113         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23114         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23115         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23116         * gst/gstutils.h:
23117         * gst/schedulers/entryscheduler.c:
23118         * gst/schedulers/gstbasicscheduler.c:
23119         (gst_basic_scheduler_cothreaded_chain),
23120         (gst_basic_scheduler_chain_add_element):
23121         * testsuite/bins/interface.c: (main):
23122         Added GstBin test.
23123         Added GstSystemClock test.
23124         Implemented clock distribution code in GstBin.
23125         Implemented iterate sinks method for future use.
23126         Rearranged gstelement.h
23127         Fix GstIterator comparison bug.
23128         Moved some code to GstPipeline, mostly clocking related.
23129
23130 2005-03-09  Wim Taymans  <wim@fluendo.com>
23131
23132         * configure.ac:
23133         * gst/gst_private.h:
23134         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23135         (gst_bin_remove_func), (gst_bin_remove),
23136         (gst_bin_get_by_name_recurse_up):
23137         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23138         (gst_clock_id_compare_func), (gst_clock_id_wait),
23139         (gst_clock_id_wait_async), (gst_clock_init),
23140         (gst_clock_adjust_unlocked), (gst_clock_get_time):
23141         * gst/gstelement.h:
23142         * gst/gstinfo.c: (_gst_debug_init):
23143         * gst/gstobject.h:
23144         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23145         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23146         * gst/gstpad.h:
23147         Bump version number, we're now 0.9.0
23148         Add future debugging category.
23149         Fix NULL _unref() in _get_by_name_recurse_up
23150         Rearrange gstpad.h.
23151         Update some docs.
23152
23153 2005-03-08  Wim Taymans  <wim@fluendo.com>
23154
23155         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23156         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23157         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23158         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23159         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23160         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23161         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23162         * gst/elements/gstidentity.c: (gst_identity_class_init):
23163         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23164         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23165         * gst/elements/gstshaper.c: (gst_shaper_class_init):
23166         * gst/elements/gststatistics.c: (gst_statistics_class_init):
23167         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23168         (gst_tee_link):
23169         * gst/gstelement.c: (gst_element_class_init),
23170         (gst_element_base_class_init), (gst_element_init),
23171         (gst_element_get_random_pad), (gst_element_wait_state_change),
23172         (gst_element_change_state), (gst_element_dispose),
23173         (gst_element_finalize), (gst_element_set_loop_function):
23174         * gst/gstelement.h:
23175         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23176         * gst/gstthread.c: (gst_thread_class_init),
23177         (gst_thread_release_children_locks), (gst_thread_change_state):
23178         * gst/schedulers/gstbasicscheduler.c:
23179         (gst_basic_scheduler_loopfunc_wrapper),
23180         (gst_basic_scheduler_chain_wrapper),
23181         (gst_basic_scheduler_src_wrapper),
23182         (gst_basic_scheduler_remove_element):
23183         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23184         Remove threadsafe properties. Fix elements because GObject
23185         complains when installing a property before declaring a
23186         set/get_property handler.
23187         Rearrange gstelement.h file, use STATE macros for state locks.
23188         Free mutexes in the finalize method instead of dispose.
23189
23190 2005-03-08  Wim Taymans  <wim@fluendo.com>
23191
23192         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23193         * gst/gstthread.c: (gst_thread_release_children_locks):
23194         Added parentage check.
23195         Fix build og GstThread again.
23196
23197 2005-03-08  Wim Taymans  <wim@fluendo.com>
23198
23199         * docs/design/part-MT-refcounting.txt:
23200         * docs/design/part-conventions.txt:
23201         * docs/design/part-gstobject.txt:
23202         * docs/design/part-relations.txt:
23203         * docs/design/part-standards.txt:
23204         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23205         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23206         (gst_bin_get_by_name), (gst_bin_get_by_interface),
23207         (gst_bin_iterate_all_by_interface):
23208         * gst/gstbuffer.h:
23209         * gst/gstclock.h:
23210         * gst/gstelement.c: (gst_element_class_init),
23211         (gst_element_change_state), (gst_element_set_loop_function):
23212         * gst/gstelement.h:
23213         * gst/gstiterator.c:
23214         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23215         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23216         (gst_object_dispatch_properties_changed), (gst_object_set_name),
23217         (gst_object_set_parent), (gst_object_unparent),
23218         (gst_object_check_uniqueness):
23219         * gst/gstobject.h:
23220         Docs updates, clean up some headers.
23221
23222 2005-03-07  Wim Taymans  <wim@fluendo.com>
23223
23224         * check/.cvsignore:
23225         * check/Makefile.am:
23226         * check/gst-libs/.cvsignore:
23227         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23228         * check/gst/.cvsignore:
23229         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23230         (START_TEST), (gstbus_suite), (main):
23231         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23232         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23233         (gst_data_suite), (main):
23234         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23235         (add_fold_func), (gstiterator_suite), (main):
23236         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23237         (thread_name_object), (thread_name_object_default),
23238         (gst_object_name_compare), (gst_object_suite), (main):
23239         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23240         (gst_pad_suite), (main):
23241         * check/gstcheck.c: (gst_check_log_message_func),
23242         (gst_check_log_critical_func), (gst_check_init):
23243         * check/gstcheck.h:
23244         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23245         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23246         Added checks.
23247
23248 2005-03-07  Wim Taymans  <wim@fluendo.com>
23249
23250         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23251         (gst_list_iterator_next), (gst_list_iterator_resync),
23252         (gst_list_iterator_free), (gst_iterator_new_list),
23253         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23254         (gst_iterator_free), (gst_iterator_push), (filter_next),
23255         (filter_resync), (filter_uninit), (filter_free),
23256         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23257         (gst_iterator_foreach), (find_custom_fold_func),
23258         (gst_iterator_find_custom):
23259         * gst/gstiterator.h:
23260         Added missing files.
23261
23262 2005-03-07  Wim Taymans  <wim@fluendo.com>
23263
23264         * Makefile.am:
23265         * configure.ac:
23266         * docs/design/part-MT-refcounting.txt:
23267         * docs/design/part-conventions.txt:
23268         * docs/design/part-gstobject.txt:
23269         * docs/design/part-relations.txt:
23270         * examples/mixer/mixer.c: (main):
23271         * examples/thread/thread.c: (eos), (main):
23272         * gst/Makefile.am:
23273         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23274         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23275         (gst_spider_plug_from_srcpad):
23276         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23277         (gst_spider_identity_change_state),
23278         (gst_spider_identity_sink_loop_type_finding):
23279         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23280         * gst/elements/gstidentity.c: (gst_identity_init):
23281         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23282         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23283         * gst/elements/gsttypefindelement.c: (free_entry):
23284         * gst/gst.c:
23285         * gst/gst.h:
23286         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23287         (gst_bin_set_clock_func), (gst_bin_auto_clock),
23288         (gst_bin_set_index), (gst_bin_set_element_sched),
23289         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23290         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23291         (gst_bin_iterate_elements), (iterate_child_recurse),
23292         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23293         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23294         (compare_interface), (gst_bin_get_by_interface),
23295         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23296         * gst/gstbin.h:
23297         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23298         (gst_buffer_default_free), (gst_buffer_default_copy),
23299         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23300         (gst_buffer_create_sub):
23301         * gst/gstbuffer.h:
23302         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23303         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23304         (gst_caps_unref), (gst_static_caps_get),
23305         (gst_caps_remove_and_get_structure), (gst_caps_append),
23306         (gst_caps_append_structure), (gst_caps_remove_structure),
23307         (gst_caps_copy_nth), (gst_caps_set_simple),
23308         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23309         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23310         (gst_caps_structure_intersect_field), (gst_caps_intersect),
23311         (gst_caps_structure_subtract_field), (gst_caps_subtract),
23312         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23313         (gst_caps_structure_figure_out_union),
23314         (gst_caps_switch_structures), (gst_caps_do_simplify),
23315         (gst_caps_replace), (gst_caps_from_string),
23316         (gst_caps_copy_conditional):
23317         * gst/gstcaps.h:
23318         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23319         (_gst_clock_id_free), (gst_clock_id_unref),
23320         (gst_clock_id_compare_func), (gst_clock_id_wait),
23321         (gst_clock_id_wait_async), (gst_clock_class_init),
23322         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23323         (gst_clock_get_time), (gst_clock_set_time_adjust),
23324         (gst_clock_set_property), (gst_clock_get_property):
23325         * gst/gstclock.h:
23326         * gst/gstcompat.h:
23327         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23328         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23329         * gst/gstdata.h:
23330         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23331         (gst_element_requires_clock), (gst_element_provides_clock),
23332         (gst_element_set_clock), (gst_element_clock_wait),
23333         (gst_element_wait), (gst_element_set_time_delay),
23334         (gst_element_is_indexable), (gst_element_add_pad),
23335         (gst_element_add_ghost_pad), (gst_element_remove_pad),
23336         (pad_compare_name), (gst_element_get_static_pad),
23337         (gst_element_request_pad), (gst_element_get_request_pad),
23338         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23339         (gst_element_class_get_pad_template_list),
23340         (gst_element_class_get_pad_template), (gst_element_error_func),
23341         (gst_element_get_random_pad), (gst_element_get_event_masks),
23342         (gst_element_send_event), (gst_element_seek),
23343         (gst_element_get_query_types), (gst_element_query),
23344         (gst_element_get_formats), (gst_element_convert),
23345         (gst_element_is_locked_state), (gst_element_set_locked_state),
23346         (gst_element_sync_state_with_parent), (gst_element_change_state),
23347         (gst_element_finalize), (gst_element_yield),
23348         (gst_element_interrupt), (gst_element_set_scheduler),
23349         (gst_element_get_scheduler), (gst_element_set_loop_function):
23350         * gst/gstelement.h:
23351         * gst/gstevent.h:
23352         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23353         (gst_format_get_by_nick), (gst_format_get_details),
23354         (gst_format_iterate_definitions):
23355         * gst/gstformat.h:
23356         * gst/gstindex.c: (gst_index_gtype_resolver):
23357         * gst/gstinfo.c:
23358         * gst/gstinfo.h:
23359         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23360         (gst_mem_chunk_free):
23361         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23362         (gst_object_ref), (gst_object_unref), (gst_object_sink),
23363         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23364         (gst_object_dispatch_properties_changed),
23365         (gst_object_set_name_default), (gst_object_set_name),
23366         (gst_object_get_name), (gst_object_set_name_prefix),
23367         (gst_object_get_name_prefix), (gst_object_set_parent),
23368         (gst_object_get_parent), (gst_object_unparent),
23369         (gst_object_check_uniqueness), (gst_object_save_thyself),
23370         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23371         (gst_object_set_property), (gst_object_get_property),
23372         (gst_object_get_path_string):
23373         * gst/gstobject.h:
23374         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23375         (gst_real_pad_init), (gst_real_pad_get_property),
23376         (gst_pad_custom_new), (gst_pad_get_direction),
23377         (gst_pad_set_active), (gst_pad_is_active),
23378         (gst_pad_set_event_function), (gst_pad_is_linked),
23379         (gst_pad_link_free), (gst_pad_link_intersect),
23380         (gst_pad_link_fixate), (gst_pad_set_caps),
23381         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23382         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23383         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23384         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23385         (gst_pad_get_caps), (gst_pad_peer_get_caps),
23386         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23387         (gst_pad_realize), (gst_pad_get_allowed_caps),
23388         (gst_real_pad_dispose), (gst_real_pad_finalize),
23389         (gst_pad_collectv), (gst_pad_collect_valist),
23390         (gst_pad_template_dispose), (gst_pad_template_new),
23391         (gst_pad_get_internal_links):
23392         * gst/gstpad.h:
23393         * gst/gstpipeline.c: (gst_pipeline_dispose),
23394         (gst_pipeline_change_state):
23395         * gst/gstpipeline.h:
23396         * gst/gstplugin.c:
23397         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23398         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23399         * gst/gstpluginfeature.h:
23400         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23401         * gst/gstquery.c: (_gst_query_type_initialize),
23402         (gst_query_type_register), (gst_query_type_get_by_nick),
23403         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23404         * gst/gstquery.h:
23405         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23406         * gst/gstscheduler.c: (gst_scheduler_add_element),
23407         (gst_scheduler_factory_create):
23408         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23409         (gst_structure_free), (gst_structure_set_name),
23410         (gst_structure_id_set_value), (gst_structure_set_value),
23411         (gst_structure_set_valist), (gst_structure_remove_field),
23412         (gst_structure_remove_fields),
23413         (gst_structure_remove_fields_valist),
23414         (gst_structure_remove_all_fields), (gst_structure_foreach),
23415         (gst_structure_map_in_place),
23416         (gst_caps_structure_fixate_field_nearest_int),
23417         (gst_caps_structure_fixate_field_nearest_double):
23418         * gst/gststructure.h:
23419         * gst/gstsystemclock.c: (gst_system_clock_class_init),
23420         (gst_system_clock_init), (gst_system_clock_dispose),
23421         (gst_system_clock_async_thread),
23422         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23423         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23424         * gst/gstsystemclock.h:
23425         * gst/gsttag.c: (gst_tag_list_add_value_internal),
23426         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23427         * gst/gsttaginterface.c:
23428         * gst/gstthread.c: (gst_thread_dispose),
23429         (gst_thread_release_children_locks), (gst_thread_change_state),
23430         (gst_thread_main_loop):
23431         * gst/gsttrashstack.h:
23432         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23433         * gst/gsttypes.h:
23434         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23435         (gst_element_request_pad), (gst_element_get_pad_from_template),
23436         (gst_element_request_compatible_pad),
23437         (gst_element_get_compatible_pad_filtered),
23438         (gst_element_get_compatible_pad), (gst_element_state_get_name),
23439         (gst_element_link_pads_filtered), (gst_element_link_filtered),
23440         (gst_element_link_many), (gst_element_link),
23441         (gst_element_link_pads), (gst_element_unlink_pads),
23442         (gst_element_unlink_many), (gst_element_unlink),
23443         (gst_pad_can_link_filtered), (gst_pad_can_link),
23444         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23445         (gst_object_default_error), (gst_bin_add_many),
23446         (gst_bin_remove_many), (gst_element_populate_std_props),
23447         (gst_element_class_install_std_props), (gst_buffer_merge),
23448         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23449         (link_fold_func), (gst_pad_proxy_setcaps):
23450         * gst/gstutils.h:
23451         * gst/gstvalue.c: (gst_value_deserialize_string):
23452         * gst/parse/grammar.y:
23453         * gst/schedulers/gstbasicscheduler.c:
23454         (gst_basic_scheduler_cothreaded_chain),
23455         (gst_basic_scheduler_chain_recursive_add),
23456         (gst_basic_scheduler_pad_link):
23457         * gst/schedulers/gstoptimalscheduler.c:
23458         (get_group_schedule_function),
23459         (gst_opt_scheduler_state_transition),
23460         (gst_opt_scheduler_add_element), (element_get_reachables_func):
23461         * libs/gst/bytestream/bytestream.c:
23462         * libs/gst/dataprotocol/dataprotocol.c:
23463         (gst_dp_header_from_buffer):
23464         * po/nb.po:
23465         * po/ru.po:
23466         * tests/threadstate/threadstate2.c: (eos):
23467         * tools/gst-compprep.c: (main):
23468         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23469         (print_pad_info), (print_children_info):
23470         * tools/gst-launch.c: (idle_func), (main):
23471         * tools/gst-md5sum.c: (idle_func), (main):
23472         * tools/gst-xmlinspect.c: (print_element_info):
23473         First THREADED backport attempt, focusing on adding locks and
23474         making sure the API is threadsafe. Needs more work. More docs
23475         follow this week.
23476
23477 2005-02-24  Andy Wingo  <wingo@pobox.com>
23478
23479         * tests/bench-complexity.scm:
23480         * tests/complexity.gnuplot: New files, good for running complexity
23481         benchmarks.
23482
23483         * tests/Makefile.am:
23484         * tests/complexity.c: New test, sets up N elements, at each level
23485         teeing into M streams per element. Eeeenteresting.
23486
23487         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23488         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23489         running bench-mass_elements.scm.
23490
23491         * tests/bench-mass_elements.scm: New script, runs mass_elements
23492         for various numbers of identities, outputting the results to a
23493         file. Requires guile 1.6. Just for testing.
23494
23495 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23496
23497         * gst/schedulers/fairscheduler.c:
23498           compile with debug disabled
23499
23500 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23501
23502         * configure.ac:
23503           hunting season on 0.9 is now OPEN