gst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option parsing for...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-05-12  David Schleef  <ds@schleef.org>
2
3         * gst/gst.c:
4           Add GST_DISABLE_OPTION_PARSING, in order to disable option
5           parsing for embedded systems.
6         * gst/gstelementfactory.c:
7           Allow gst_element_register() to be called with plugin==NULL.
8           Did nobody notice that static elements were broken?
9
10 2007-05-12  Wim Taymans  <wim@fluendo.com>
11
12         * tools/gst-launch.c: (event_loop):
13         Give more interesting info when buffering starts and stops.
14         Fix case where buffering starts but we fail to update the buffering flag
15         because the target state is not PLAYING.
16
17 2007-05-12  Wim Taymans  <wim@fluendo.com>
18
19         * plugins/elements/gstqueue.c: (gst_queue_init),
20         (gst_queue_finalize), (update_time_level), (apply_segment),
21         (apply_buffer), (gst_queue_locked_flush),
22         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
23         (gst_queue_handle_sink_event), (gst_queue_chain),
24         (gst_queue_push_one), (gst_queue_loop):
25         * plugins/elements/gstqueue.h:
26         Refactor an cleanup queue a bit.
27         Do better time level calculations that also work when the srcpad is not
28         yet running.
29         Remove some unneeded debug lines.
30
31         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
32         Added testcase for time level measurement.
33         Try to make some stuff more racefree.
34
35 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
36
37         * gst/gsturi.c: (gst_element_make_from_uri):
38           Don't leak plugin feature.
39
40         * tests/check/Makefile.am:
41         * tests/check/gst/.cvsignore:
42         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
43           Add brain-dead unit test.
44
45 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
46
47         Patch by: Jeroen Wouters <woutersj at gmail com>
48
49         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
50           Treat protocol strings in a case-insensitive way (#437563).
51
52 2007-05-11  Michael Smith <msmith@fluendo.com>
53
54         * gst/gstplugin.c: (gst_plugin_load_file):
55         * gst/gstregistry.c: (gst_registry_scan_path_level):
56           Don't print a g_warning for any failure to load a shared object.
57           Instead, push this down into gstplugin.c, and warn _only_ if we
58           failed to open the module (i.e. failure to link).
59           Avoids warnings on normal, working, non-plugin .so files.
60
61 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
62
63         * gst/gstplugin.c (gst_plugin_load_file):
64         * gst/gstregistry.c (GST_CAT_DEFAULT,
65           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
66           Print a g_warning if there was an error when loading a plugins during
67           registry scan. The shuld help beginners starting with gst-plugin
68           template.
69
70 2007-05-10  Wim Taymans  <wim@fluendo.com>
71
72         * plugins/elements/gstqueue.c: (gst_queue_class_init),
73         (update_time_level), (gst_queue_locked_flush),
74         (gst_queue_handle_sink_event), (gst_queue_chain),
75         (gst_queue_push_one), (gst_queue_loop):
76         * plugins/elements/gstqueue.h:
77         Be smarter when calculating the current amount of data in the queue by
78         measuring the difference between start and end timestamps (in running
79         time) inside the queue. Fixes #432876.
80         API: GstQueue::pushing to notify elements that we are pushing data again
81         since the running signal is rather broken for this purpose.
82
83 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
84
85         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
86           gst_queue_base_init, gst_queue_init):
87           use GST_BOILERPLATE
88
89 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
90
91         * win32/common/libgstreamer.def:
92         Add new exported functions.
93         * win32/vs6/grammar.dsp:
94         Use grammar pre-generated files.
95
96 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
97
98         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
99
100         * gst/Makefile.am:
101         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
102         * gst/gstparse.h:
103         * gst/gstutils.c: (gst_parse_bin_from_description):
104         * gst/gstutils.h:
105           Maintain API and ABI when --disable-parse is used. Now that
106           we have an appropriate error code, we can just return NULL and the
107           appropriate error when gst_parse_launch() is used despite it having
108           been disabled (#342564).
109
110         * tests/check/Makefile.am:
111         * tests/check/pipelines/.cvsignore:
112         * tests/check/pipelines/parse-disabled.c:
113           Make sure these functions exist and return NULL plus a GError when
114           --disable-parse is used.
115
116 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
117
118         * tests/benchmarks/complexity.c: (main):
119         * tests/benchmarks/mass-elements.c: (main):
120           Set a good example and don't leak messages.
121
122 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
123
124         * docs/gst/Makefile.am:
125         * docs/libs/Makefile.am:
126           Correct fixxrefs options.
127
128         * docs/plugins/Makefile.am:
129         * docs/plugins/gstreamer-plugins-docs.sgml:
130         * docs/plugins/gstreamer-plugins-sections.txt:
131         * plugins/elements/Makefile.am:
132         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
133         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
134           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
135           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
136           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
137           _GstCapsFilterClass, trans_class):
138         * plugins/elements/gstelements.c (name, rank, type, _elements):
139         * plugins/elements/gstidentity.c
140           (gst_identity_check_imperfect_timestamp,
141           gst_identity_check_imperfect_offset):
142           Document capsfilter and add doc-blurb to identity.
143
144 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
145
146         * libs/gst/controller/gstcontroller.c:
147         (gst_controlled_property_set_interpolation_mode):
148         * libs/gst/controller/gstinterpolation.c:
149           Don't crash if someone tries to set an interpolation mode that
150           is invalid or that isn't supported yet. Fixes #422295.
151
152         * tests/check/libs/controller.c: (GST_START_TEST),
153         (gst_controller_suite):
154           Add a test case for the above.
155
156 2007-05-03  Edward Hervey  <edward@fluendo.com>
157
158         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
159         Properly set the last_stop position on GstSegment. This will only happen
160         if there is a buffer to push out.
161
162 2007-05-03  Wim Taymans  <wim@fluendo.com>
163
164         * libs/gst/base/gstbasetransform.c:
165         (gst_base_transform_buffer_alloc):
166         always_in_place does not mean that the sink and source caps are the
167         same! Make sure we don't blindly proxy the buffer_alloc in this case.
168
169 2007-05-03  Wim Taymans  <wim@fluendo.com>
170
171         * docs/libs/gstreamer-libs-sections.txt:
172         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
173         (gst_base_src_default_query), (gst_base_src_get_range):
174         * libs/gst/base/gstbasesrc.h:
175         API: gst_base_src_query_latency(). Added method so that subclasses can
176         easily get the latency values of the base source class.
177
178 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
179
180         * tools/gst-inspect.c (print_implementation_info):
181         Remove 0.8 cruft.
182
183 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
184
185         * tools/Makefile.am:
186         * tools/gst-launch.1.in:
187           Don't create a customised man page based on the host architecture,
188           describe the default registry path generically. That way the man
189           page is the same for all architectures and packagers have one
190           multilib issue less to deal with. Fixes #434926.
191
192 2007-05-02  Wim Taymans  <wim@fluendo.com>
193
194         * gst/gstpad.c:
195         Fix documentation as spotted by rg on IRC. 
196
197 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
198
199         * gst/gstutils.c:
200           Improve docs for gst_element_{link,unlink}.
201
202 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
203
204         * docs/design/part-events.txt:
205         * docs/design/part-overview.txt:
206         * gst/gstevent.c:
207         * gst/gsturi.c:
208         * gst/gsturi.h:
209         * libs/gst/base/gstbasesink.c:
210           Typo fixes; minor docs addition.
211
212 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
213
214         * docs/gst/gstreamer-sections.txt:
215         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
216         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
217         * gst/gsturi.h:
218         API: Add gst_uri_protocol_is_supported(), which checks if an sink
219         or src that supports a given URI protocol exists.
220
221 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
222
223         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
224         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
225         Set the location to NULL if "file://" is set as URI. Otherwise
226         some random previous URI would still be set if "file://" is
227         set on an already used filesink/filesrc.
228
229 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
230
231         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
232         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
233         Special case the "file://" URI as as this is used by some
234         applications to test with gst_element_make_from_uri if there's
235         an element that supports the URI protocol.
236         Also move the g_path_is_absolute() check for the location part
237         of the URI to also check this for "file://localhost/bla" URIs.
238
239 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
240
241         * docs/gst/gstreamer-sections.txt:
242         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
243         * gst/gstbuffer.h:
244         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
245         (gst_buffer_suite):
246           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
247
248 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
249
250         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
251         (gst_registry_binary_load_pad_template),
252         (gst_registry_binary_load_plugin),
253         (gst_registry_binary_read_cache):
254         * gst/gstregistrybinary.h:
255           Implement no-mmap alternative for registry reading. Do code cleanups.
256           Add more comments about avoiding strdups for all text data. Comments
257           welcome.
258
259 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
260
261         * gst/gstregistrybinary.h (GstBinaryPluginElement,
262           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
263           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
264           Comment structs and reformat to fix the build (that stuff should go
265           into a priv. header).
266
267 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
268
269         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
270         (gst_registry_binary_load_feature):
271         * gst/gstregistrybinary.h:
272           Refactor so that we can implement multiple features. Add support for
273           TypeFindFactory features.
274
275 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
276
277         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
278
279         * configure.ac:
280           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
281
282 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
283
284         * gst/gstbin.c: (gst_bin_element_set_state),
285         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
286         (bin_handle_async_done), (gst_bin_handle_message_func):
287           Fix build with --gst-disable-gst-debug
288
289 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
290
291         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
292           Make sure streaming has finished before calling the ::stop() vfunc,
293           since that vfunc might clear state which is being used in the
294           streaming thread. This fixes a race that caused crashes in
295           audioresample when shutting down a pipeline (#420106).
296
297 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
298
299         * docs/gst/gstreamer-sections.txt:
300           That was one byte missing.
301
302 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
303
304         * configure.ac:
305         * docs/gst/gstreamer-sections.txt:
306         * gst/Makefile.am:
307         * gst/gstconfig.h.in:
308         * gst/gstobject.c: (gst_object_class_init),
309         (gst_signal_object_class_init):
310         * gst/gstobject.h:
311           2nd attempt to have a xml-less build as a joined effort of #413123
312           and #421480.
313
314 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
315
316         * docs/design/draft-tagreading.txt:
317           Added open issues/thoughts to draft.
318
319 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
320
321         * gst/parse/grammar.tab.pre.c:
322         * gst/parse/grammar.tab.pre.h:
323         * gst/parse/lex._gst_parse_yy.pre.c:
324         Update the prebuild parser sources.
325
326 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
327
328         * gst/parse/Makefile.am:
329         And now fix the building of the flex sources. Now everything should
330         work as expected.
331
332 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
333
334         * gst/parse/Makefile.am:
335         Now hopefully fix the build failures by setting proper rule
336         dependencies and moving instead of copying.
337
338 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
339
340         * tests/benchmarks/complexity.gnuplot:
341         * tests/benchmarks/complexity.scm:
342         * tests/benchmarks/mass-elements.gnuplot:
343         * tests/benchmarks/mass-elements.scm:
344           Total licensification.
345
346 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
347
348         * gst/parse/Makefile.am:
349           Fix the build by correcting the rule that gave wrong files to flex.
350
351 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
352
353         * tests/benchmarks/complexity.c:
354         * tests/benchmarks/mass-elements.c:
355           Change licence to LGPL as granted by Benjamin and Andy.
356
357 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
358
359         * gst/parse/Makefile.am:
360         Add correct grammar.tab.h dependency if compiling without new enough
361         flex. Fixes #431150.
362
363 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
364
365         * gst/parse/Makefile.am:
366         Fix typo and use outdated sources if the flex/bison sources are newer
367         than the pregenerated ones but flex is too old. Print a warning in
368         that case. This should fix the build on the build bot.
369
370 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
371
372         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
373         * gst/parse/Makefile.am:
374         * gst/parse/grammar.y:
375         * gst/parse/parse.l:
376         Make the parser reentrant and recursively callable. This requires flex
377         >= 2.5.31, for older versions pregenerated sources are used as we
378         can't bump the build dependency. Finally fixes #349180.
379
380         * gst/gstparse.c: (gst_parse_launch):
381         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
382         now anyway.
383
384         * docs/gst/Makefile.am:
385         * docs/gst/Makefile.am:
386         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
387         (__gst_parse_strfree), (__gst_parse_link_new),
388         (__gst_parse_link_free), (__gst_parse_chain_new),
389         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
390         (gst_parse_element_set), (gst_parse_free_link),
391         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
392         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
393         (_gst_parse_launch):
394         * gst/parse/grammar.tab.pre.h:
395         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
396         (yy_get_previous_state), (yy_try_NUL_trans), (input),
397         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
398         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
399         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
400         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
401         (_gst_parse_yypop_buffer_state),
402         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
403         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
404         (yy_fatal_error), (_gst_parse_yyget_extra),
405         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
406         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
407         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
408         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
409         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
410         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
411         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
412         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
413         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
414         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
415         (_gst_parse_yyfree):
416         If the installed flex version is too old use pre-generated parser
417         sources. These pre-generated parser sources are always updated when
418         the actual flex/bison sources change but require everybody who wants
419         to change something in the parser to have flex >= 2.5.31 installed.
420
421 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
422
423         * common/m4/gst-gettext.m4:
424         * gst/gst-i18n-lib.h:
425           Make --disable-nls to work
426
427 2007-04-17  Wim Taymans  <wim@fluendo.com>
428
429         * gst/gstconfig.h.in:
430         Revert previous change that broke the build.
431
432 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
433
434         * configure.ac:
435         * gst/Makefile.am:
436         * gst/gstconfig.h.in:
437           Drop libxml2 dependency when building with 
438           --enable-binary-registry --disable-loadsave
439
440 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
441
442         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
443         (gst_registry_binary_read_cache):
444         * gst/gstregistrybinary.h:
445           Remove unnecessary <sys/mman.h> include which broke the win32 build
446           with MingW; move includes from header file to .c file, even if the
447           header file isn't installed; use g_strerror() where UTF-8 strings
448           are expected, such as in GST_DEBUG messages.
449
450 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
451
452         * docs/libs/gstreamer-libs-sections.txt:
453         Remove bogus addition for API I didn't end up keeping.
454
455         * libs/gst/base/gstbasesrc.h:
456         Mention Since: 0.10.13 in the documentation.
457
458         Add the API keyword to the previous ChangeLog entry.
459
460 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
461
462         * docs/libs/gstreamer-libs-sections.txt:
463         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
464         (gst_base_src_default_prepare_seek_segment),
465         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
466         * libs/gst/base/gstbasesrc.h:
467         Allow basesrc derived classes to execute seeks in other formats
468         by providing a prepare_seek_segment vmethod. Sub-classes can choose
469         to prepare the GstSegment in any format that their perform_seek method
470         will be able to understand. The default implementation provides the
471         old behaviour of attempting to convert the seek offsets to the 
472         configured native format.
473
474         API: basesrc::prepare_seek_segment vmethod.
475
476 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
477
478         * gst/gstelement.c: (gst_element_get_state_func):
479         Don't output the same debug statement twice.
480
481         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
482         (gst_adapter_peek), (gst_adapter_take_buffer):
483         Optimise the case where we have buffers at the head of the queue that
484         can be joined quickly (because they're contiguous sub-buffers) by
485         merging them together rather than copying data out into new memory.
486
487         * gst/parse/grammar.y:
488         * tests/check/pipelines/parse-launch.c:
489         Fix a leak in an error path for parse_launch, and add a check 
490         for it to the testsuite.
491
492 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
493
494         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
495           Don't deadlock when releasing a pad - gst_pad_set_active may try
496           and take the multiqueue lock too.
497
498 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
499
500         * gst/gsterror.c: (_gst_core_errors_init):
501         * gst/gsterror.h:
502           API: add GST_CORE_ERROR_DISABLED (#392804).
503
504 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
505
506         * docs/faq/gst-uninstalled:
507           don't get empty paths on the PATH variables
508         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
509           Don't format for the uncommon terminal width of 84 characters.
510
511 2007-04-06  Wim Taymans  <wim@fluendo.com>
512
513         * gst/gstpipeline.c: (reset_stream_time),
514         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
515         Only try to select a different pipeline clock when we went back to
516         PAUSED and not when we merely got flushed.
517
518 2007-04-05  Michael Smith  <msmith@fluendo.com>
519
520         * tools/gst-launch.1.in:
521           fractions are better supported in gstreamer than ractions, so
522           suggest using those.
523
524 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
525
526         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
527
528         * po/LINGUAS:
529         * po/da.po:
530           Added Danish translation.
531
532 2007-04-05  Wim Taymans  <wim@fluendo.com>
533
534         * libs/gst/base/gstbasesink.c:
535         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
536         Fix leak caused when refusing newsegment after EOS.
537
538         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
539         (gst_fake_sink_init), (gst_fake_sink_set_property),
540         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
541         (gst_fake_sink_render), (gst_fake_sink_change_state):
542         * plugins/elements/gstfakesink.h:
543         Add num-buffers property to make the element generate EOS after a
544         configurable amount of buffers.
545         API: fakesink::num-buffers property.
546
547         * tests/check/elements/fakesink.c: (GST_START_TEST),
548         (fakesink_suite):
549         Fix GstBus leak in test.
550         Test for fakesink num-buffers.
551
552 2007-04-05  Wim Taymans  <wim@fluendo.com>
553
554         * libs/gst/base/gstbasesink.c:
555         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
556         (gst_base_sink_change_state):
557         Don't accept anything after an EOS, return UNEXPECTED instead.
558
559         * tests/check/elements/fakesink.c: (GST_START_TEST),
560         (fakesink_suite):
561         Unit test for new EOS behaviour.
562
563 2007-04-05  Wim Taymans  <wim@fluendo.com>
564
565         * gst/gstelement.c: (gst_element_get_request_pad):
566         Make padtemplates also work when they don't contain %s or %d.
567
568 2007-04-05  Wim Taymans  <wim@fluendo.com>
569
570         * docs/gst/gstreamer-sections.txt:
571         * gst/gstclock.c: (gst_clock_adjust_unlocked),
572         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
573         * gst/gstclock.h:
574         Improve _adjust_unlocked() so that it overflows less.
575         Add gst_clock_unadjust_unlocked to convert from external time to
576         internal time based on calibration.
577         Add some more debug.
578         API: GstClock::gst_clock_unadjust_unlocked()
579
580 2007-04-03  Wim Taymans  <wim@fluendo.com>
581
582         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
583
584         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
585         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
586         when releasing sink pad. Fixes #425400.
587
588 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
589
590         * docs/random/ensonic/dynlink.txt:
591           More work on proposal for new core api.
592
593         * docs/libs/gstreamer-libs-sections.txt:
594         * libs/gst/base/gstbasetransform.h:
595           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
596           
597         * libs/gst/controller/gstcontroller.c:
598         (on_object_controlled_property_changed),
599         (gst_controller_sync_values),
600         (gst_controller_set_interpolation_mode):
601         * libs/gst/controller/gstcontroller.h:
602           Less verbose logging add docs for unimplemented parts and correctly
603           return when using unavailable parts.
604
605 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
606
607         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
608         Move all the debug to the CLOCK category, and associate it with
609         the clock object.
610
611 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
612
613         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
614         Make take_buffer a bit quicker by removing redundant checks
615         caused by calling gst_adapter_take.
616
617 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
618
619         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
620           Don't leak GCond.
621
622         * tests/check/Makefile.am:
623         * tests/check/elements/.cvsignore:
624         * tests/check/elements/multiqueue.c: (setup_multiqueue),
625         (GST_START_TEST), (multiqueue_suite):
626           Add some dead simple unit tests for the 'multiqueue' element
627           (some bits don't work yet and are disabled for now).
628
629 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
630
631         * gst/gstelement.c: (gst_element_get_request_pad),
632         (gst_element_class_get_request_pad_template):
633           Make gst_element_get_request_pad() create request pads only for
634           request pad templates and not for, say, sometimes pad templates.
635
636 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
637
638         * docs/design/draft-klass.txt:
639           Add example that needs more thinking.
640         
641         * docs/design/draft-missing-plugins.txt:
642           More thoughts about wrapper plugins.
643         
644         * docs/random/ensonic/embedded.txt:
645         * docs/random/ensonic/profiling.txt:
646           More design work.
647
648 2007-03-25  Wim Taymans  <wim@fluendo.com>
649
650         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
651         (gst_base_src_loop):
652         Only push the segment events in the PLAYING state for live sources.
653
654 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
655
656         * gst/gstpipeline.c: (gst_pipeline_change_state):
657         Modify the clock distribution path in PAUSED->PLAYING so that we 
658         never attempt to choose a new clock unless we're actually leaving
659         the PAUSED state for the first time. This prevents choosing a
660         different clock when the state_change gets called for a 2nd time due
661         to some element doing an async state change.
662
663 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
664
665         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
666         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
667         (gst_pad_chain_unchecked), (gst_pad_push):
668         Revert last commit. This needs some more thoughts.
669
670 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
671
672         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
673         (gst_pad_chain_unchecked), (gst_pad_push):
674         Check in set_caps if the caps are compatible with the pad and remove
675         two functions that are redundant now. Fixes #421543.
676
677 2007-03-22  Wim Taymans  <wim@fluendo.com>
678
679         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
680         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
681         Unref some more to make valgrind happy.
682
683 2007-03-22  Wim Taymans  <wim@fluendo.com>
684
685         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
686         (gst_system_clock_id_wait_jitter),
687         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
688         Fix anoying regression that survived a few releases. When adding an
689         async entry while blocking on a sync entry, the sync entry will unblock
690         but still be busy, so it should continue to wait instead of returning
691         _BUSY to the app.
692         Add some comments here and there.
693
694         * tests/check/gst/gstsystemclock.c: (mixed_thread),
695         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
696         Add testcase for this.
697
698 2007-03-22  Wim Taymans  <wim@fluendo.com>
699
700         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
701         Handle errors from the clock sync better, only UNSCHEDULED indicates a
702         WRONG_STATE and can silently pause the task. All other cases should
703         error out.
704
705 2007-03-22  Wim Taymans  <wim@fluendo.com>
706
707         Patch by: <syrjala at sci dot fi>
708
709         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
710         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
711         Improve debugging.
712
713 2007-03-21  Michael Smith  <msmith@fluendo.com>
714
715         * docs/pwg/advanced-types.xml:
716           Fix some errors in the typefinding docs pointed out on irc.
717
718 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
719
720         * libs/gst/base/gstbasesrc.c:
721         Clarify FIXME comment in the face of having added unlock_stop()
722
723 2007-03-21  Wim Taymans  <wim@fluendo.com>
724
725         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
726         Prepare for release where we warn against possible app breakage in the
727         case of live pipelines along with an env var to enable/disable live
728         preroll mode (GST_COMPAT=[no-]live-preroll).
729
730 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
731
732         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
733         So we should use correct constants for checking for None offset.
734
735 2007-03-20  Wim Taymans  <wim@fluendo.com>
736
737         * docs/design/part-block.txt:
738         Mention the fact that the newly switched element should be set to at
739         least PAUSED.
740
741 2007-03-20  Wim Taymans  <wim@fluendo.com>
742
743         * gst/gst.c:
744         Fix compilation with registry disabled as spotted by Saur.
745
746 2007-03-20  Wim Taymans  <wim@fluendo.com>
747
748         Patch by: Olivier Crete <tester at tester dot ca>
749
750         * gst/gstelement.c: (gst_element_sync_state_with_parent):
751         Look at the pending state too when syncing the element state to the
752         parent. Fixes #420133.
753
754 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
755
756         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
757         (gst_base_sink_change_state):
758         * libs/gst/base/gstbasesink.h:
759         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
760         (gst_base_src_default_event), (gst_base_src_unlock_stop),
761         (gst_base_src_deactivate):
762         * libs/gst/base/gstbasesrc.h:
763         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
764         for sub-classes to correctly clear any state they set trying to
765         unlock, such as clearing out unlock commands from a command fd.
766
767         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
768         (gst_fd_sink_render), (gst_fd_sink_unlock),
769         (gst_fd_sink_unlock_stop):
770         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
771         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
772         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
773
774         Implement unlock_stop in fdsrc and fdsink.
775         Implement seeking in fdsrc when a seekable fd is passed, as in
776         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
777
778 2007-03-19  Wim Taymans  <wim@fluendo.com>
779
780         Patch by: Evan Nemerson <evan at coeus dash group dot com>
781
782         * gst/gstelement.c: (gst_element_class_init):
783         Fix pad-added and pad-removed signal signatures so that the pad type is
784         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
785
786 2007-03-19  Wim Taymans  <wim@fluendo.com>
787
788         * docs/gst/gstreamer-sections.txt:
789         Add new element field and method.
790
791         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
792         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
793         (gst_bin_recalc_state), (gst_bin_get_state_func),
794         (gst_bin_element_set_state), (gst_bin_change_state_func),
795         (gst_bin_continue_func), (bin_bus_handler),
796         (bin_push_state_continue), (bin_handle_async_start),
797         (bin_handle_async_done), (gst_bin_handle_message_func):
798         Make async state changes a bit smarter by using new ASYNC_START and
799         ASYNC_DONE messages. This reduces the number of times we run the state
800         recalculation thread.
801         Don't change state of element with a pending ASYNC_START message.
802         Deprecate STATE_DIRTY messages.
803         
804         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
805         (gst_element_get_state_func), (gst_element_continue_state),
806         (gst_element_lost_state), (gst_element_set_state_func),
807         (gst_element_change_state):
808         * gst/gstelement.h:
809         Keep the state that was last set by the app in a new element field.
810         Don't allow state changes when handling an element event.
811         Post ASYNC_START and ASYNC_DONE messages.
812         Change lost_state so that we go to PAUSED and wait for the parent to set
813         us to PLAYING again (so latency calculation can be performed)
814         Export gst_element_change_state() method so that subclasses can use it.
815         API: gst_element_change_state()
816         API: GST_STATE_TARGET
817
818         * gst/gstpipeline.c: (gst_pipeline_class_init),
819         (reset_stream_time), (gst_pipeline_change_state),
820         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
821         Using the new ASYNC_START message we can reset the base_time when
822         needed. This can then be used to implement base_time redistribution in
823         flushing seeks so that we can remove the explicit seek handling.
824         Perform latency query and configuration when going to PLAYING.
825
826         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
827         (gst_base_sink_query), (gst_base_sink_change_state):
828         Post new ASYNC_START/ASYNC_DONE messages.
829
830         * tests/check/generic/sinks.c: (GST_START_TEST):
831         Fix test because the bin will not set the async element to PLAYING right
832         away.
833
834         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
835         Make the message check a little stronger.
836         Handle ASYNC messages.
837
838         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
839         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
840         Expect ASYNC_DONE messages.
841
842 2007-03-19  Wim Taymans  <wim@fluendo.com>
843
844         * docs/gst/gstreamer-sections.txt:
845         * gst/gstmessage.c: (gst_message_new_async_start),
846         (gst_message_new_async_done), (gst_message_parse_info),
847         (gst_message_parse_async_start):
848         * gst/gstmessage.h:
849         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
850         support.
851
852 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
853
854         * tools/gst-inspect.c:
855         (print_plugin_automatic_install_info_codecs):
856           Now that we don't check for the 'Codec' keyword any longer in the
857           klass, we shouldn't spew a warning if the klass isn't a decoder or
858           encoder (since it might be a Source/Network, for example).
859
860 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
861
862         * tools/gst-inspect.c:
863         (print_plugin_automatic_install_info_codecs):
864           Don't require decoder/demuxer/depayloader elements or
865           encoder/muxer/paylader elements to have 'Codec' as part of their
866           factory class string when introspecting a plugin's capabilities.
867           draft-klass.txt mentions that it might be removed in future, and
868           flump3dec doesn't have it as part of its class string, so chances
869           are others might also not have it.
870
871 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
872
873         * po/af.po:
874         * po/az.po:
875         * po/bg.po:
876         * po/ca.po:
877         * po/cs.po:
878         * po/de.po:
879         * po/en_GB.po:
880         * po/fr.po:
881         * po/it.po:
882         * po/nb.po:
883         * po/nl.po:
884         * po/ru.po:
885         * po/sq.po:
886         * po/sr.po:
887         * po/sv.po:
888         * po/tr.po:
889         * po/uk.po:
890         * po/vi.po:
891         * po/zh_CN.po:
892         * po/zh_TW.po:
893           Update translations from translation project
894
895 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
896
897         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
898         (gst_child_proxy_set_property):
899           Invert precondition check to be alike the ones in the mimiced gobject
900           api.
901
902 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
903
904         * docs/design/draft-tagreading.txt:
905         * docs/random/ensonic/audiobaseclasses.txt:
906           Do some Architect work.
907
908         * gst/gstobject.c: (gst_object_set_name):
909           Add a WARNING.
910
911         * gst/gstpad.c:
912           Add docs that point from gst_pad_get_range to gst_pad_pull_range
913
914 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
915
916         * gst/gstsystemclock.c: (gst_system_clock_init),
917         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
918         Defer starting the async system clock thread until the first async
919         wait is scheduled. Fixes #414986.
920
921 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
922
923         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
924         (gst_single_queue_free):
925           Fix small leak (free GstSingleQueue structure too, not only contents).
926
927 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
928
929         * gst/gstbin.c:(gst_bin_add):
930         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
931         * win32/common/libgstbase.def:
932         * win32/common/libgstreamer.def:
933         Add new exported functions.
934
935 2007-03-09  Wim Taymans  <wim@fluendo.com>
936
937         * docs/plugins/gstreamer-plugins-sections.txt:
938         Fix GstTee docs.
939
940 2007-03-09  Wim Taymans  <wim@fluendo.com>
941
942         * docs/gst/gstreamer-sections.txt:
943         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
944         * gst/gstbuffer.h:
945         Add metadata copy functions. Fixes #393099.
946
947         * gst/gstutils.c: (gst_buffer_stamp):
948         * libs/gst/base/gstbasetransform.c:
949         (gst_base_transform_prepare_output_buffer):
950         Use new metadata copy functions.
951
952 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
953
954         * plugins/elements/gstidentity.c: (gst_identity_class_init),
955         (gst_identity_init), (gst_identity_check_perfect),
956         (gst_identity_check_imperfect_timestamp),
957         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
958         (gst_identity_set_property), (gst_identity_get_property):
959         * plugins/elements/gstidentity.h:
960         Separate out check-imperfect-timestamp and check-imperfect-offset.
961         Put back check-perfect as it was to keep compatibility.
962
963 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
964
965         * gst/gstelement.c: (gst_element_dispose):
966         There's no need to warn if VOID_PENDING is not NONE here, as
967         long as the state is NULL it's ok, and that's checked immediately
968         above.
969
970 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
971
972         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
973         Fix check for perfect stream to ignore buffers with -1 
974         offsets/offset ends when checking data contiguity.
975
976 2007-03-08  Wim Taymans  <wim@fluendo.com>
977
978         * tools/gst-launch.c: (event_loop):
979         Print INFO messages.
980
981 2007-03-08  Wim Taymans  <wim@fluendo.com>
982
983         * libs/gst/base/gstbasetransform.c:
984         (gst_base_transform_sink_eventfunc),
985         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
986         (gst_base_transform_activate):
987         * libs/gst/base/gstbasetransform.h:
988         Add support for dropping buffers with custom GstFlowReturn.
989         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
990         buffers or dropped buffers.
991
992         * docs/libs/gstreamer-libs-sections.txt:
993         docs for new custom return code.
994
995         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
996         Use drop support in base class to implement drop-probability.
997
998 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
999
1000         * gst/gst.c: (load_plugin_func):
1001         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1002         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1003         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1004           Remove newlines at end of debug log strings.
1005
1006 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1007
1008         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1009         Only post bus message at max, once per buffer received.
1010
1011 2007-03-07  Wim Taymans  <wim@fluendo.com>
1012
1013         * docs/design/Makefile.am:
1014         * docs/design/part-synchronisation.txt:
1015         Add doc about synchronisation
1016
1017         * docs/design/draft-latency.txt:
1018         * docs/design/part-TODO.txt:
1019         * docs/design/part-clocks.txt:
1020         * docs/design/part-events.txt:
1021         * docs/design/part-gstbus.txt:
1022         * docs/design/part-gstpipeline.txt:
1023         * docs/design/part-live-source.txt:
1024         * docs/design/part-messages.txt:
1025         * docs/design/part-overview.txt:
1026         * docs/design/part-streams.txt:
1027         * docs/design/part-trickmodes.txt:
1028         Documentation updates.
1029
1030 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
1031
1032         * gstreamer.doap:
1033         Update the doap file.
1034
1035 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1036
1037         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1038         Rename non-perfect to imperfect for Mike and for the sanctity of the
1039         language.
1040         Also make sure bus message gets emitted for data-incontiguities.
1041
1042 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1043
1044         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1045         (gst_identity_start):
1046         * plugins/elements/gstidentity.h:
1047         Emit bus message if check-perfect is true and we encounter a
1048         non-perfect stream between 2 consecutive buffers.
1049         Fixes #415394.
1050
1051 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
1052
1053         * configure.ac:
1054         Back to CVS
1055
1056 === release 0.10.12 ===
1057
1058 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
1059
1060         * configure.ac:
1061           releasing 0.10.12, "Inevitable Demise"
1062
1063 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
1064
1065         * configure.ac:
1066          Version 0.10.11.2 (0.10.12 pre-release)
1067          Bump libtool versioning.
1068
1069 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
1070
1071         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1072           Log flow-names and not numbers.
1073
1074 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1075
1076         * configure.ac:
1077           Convert to new AG_GST style.
1078
1079 2007-02-28  Wim Taymans  <wim@fluendo.com>
1080
1081         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1082         Don't unref query twice.
1083
1084 2007-02-28  Wim Taymans  <wim@fluendo.com>
1085
1086         * gst/gstvalue.c: (gst_value_transform_object_string),
1087         (_gst_value_initialize):
1088         Implement GstObject -> string transform so we print object names
1089         when serializing GValues containing GstObjects.
1090
1091 2007-02-28  Wim Taymans  <wim@fluendo.com>
1092
1093         * docs/gst/gstreamer-sections.txt:
1094         Add new stuff to docs.
1095
1096 2007-02-28  Wim Taymans  <wim@fluendo.com>
1097
1098         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1099         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1100         (gst_base_sink_change_state):
1101         Improve latency query code.
1102         Don't leak latency events.
1103
1104         * tests/check/gst/gstbin.c: (GST_START_TEST):
1105         Improve debugging.
1106
1107 2007-02-28  Wim Taymans  <wim@fluendo.com>
1108
1109         * gst/gstelement.c: (gst_element_message_full),
1110         (gst_element_get_state_func):
1111         * gst/gstelement.h:
1112         Improve docs a little. Added Since: for new macro.
1113
1114         * gst/gstobject.c: (gst_object_sink):
1115         * gst/gstpipeline.c: (gst_pipeline_change_state),
1116         (gst_pipeline_set_new_stream_time):
1117         * gst/gstpipeline.h:
1118         Improve debugging and docs.
1119
1120         * gst/gstutils.c: (gst_element_state_change_return_get_name):
1121         Improve debugging.
1122
1123 2007-02-28  Wim Taymans  <wim@fluendo.com>
1124
1125         * gst/gstelement.c: (gst_element_message_full),
1126         (gst_element_set_locked_state), (gst_element_get_state_func),
1127         (gst_element_change_state):
1128         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1129         Documentation updates.
1130         Small code cleanups.
1131
1132         * gst/gstmessage.c: (gst_message_new_info),
1133         (gst_message_parse_info):
1134         * gst/gstmessage.h:
1135         API: gst_message_new_info()
1136         API: gst_message_parse_info()
1137         Add INFO message create and parse code.
1138
1139 2007-02-28  Wim Taymans  <wim@fluendo.com>
1140
1141         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1142         (bin_query_latency_done):
1143         Also report the live parameter of a latency query.
1144
1145 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1146
1147         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1148           Copy the current generic/states example from -base and adapt so
1149           we can use the exact same code everywhere.
1150           Check a STATES_IGNORE_ELEMENTS env var which can be used
1151           to ignore certain element factories for this test, which is
1152           what is being done in -base
1153         * tests/check/Makefile.am:
1154           Mention this environment variable.
1155
1156 2007-02-27  Wim Taymans  <wim@fluendo.com>
1157
1158         * docs/gst/gstreamer-sections.txt:
1159         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1160         (gst_bus_timed_pop), (gst_bus_pop):
1161         * gst/gstbus.h:
1162         API: gst_bus_timed_pop()
1163         Implement gst_bus_timed_pop() to do a blocking timed wait for a
1164         message to arrive on the bus.
1165
1166         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1167         (gst_bus_suite):
1168         Two unit tests for new _timed_pop() function.
1169
1170 2007-02-23  Wim Taymans  <wim@fluendo.com>
1171
1172         * gst/gstpipeline.c: (gst_pipeline_change_state),
1173         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1174         Don't ref a NULL clock in _provide_clock_func().
1175         Don't allow an INVALID delay.
1176         Don't try to calculate base_time with an invalid start_time.
1177         Also distribute and notify a NULL clock when it was selected.
1178
1179         * tools/gst-launch.c: (event_loop):
1180         Don't crash when a NULL clock was selected in the pipeline.
1181
1182 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         * docs/design/Makefile.am:
1185         * docs/design/draft-missing-plugins.txt:
1186         * docs/random/draft-missing-plugins.txt:
1187           Some small updates: update plugin system identifier prefix
1188           ('gstreamer.net' to 'gstreamer'), mention our new install
1189           API in libgstbaseutils rather than libgimme-codec, add
1190           reference to the online docs.
1191
1192 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1193
1194         * win32/common/config.h:
1195           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
1196           use moap cl ci to only check in what is mentioned in the ChangeLog.
1197
1198 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1199
1200         * docs/gst/gstreamer-sections.txt:
1201         * gst/gstelement.h:
1202           Fix up documentation to link to the correct GstGError section.
1203           Add GST_ELEMENT_INFO macro since someone else added a Info message.
1204
1205 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1206
1207         * tools/gst-launch.c: (event_loop):
1208           Make sure that we actually show the important message part of a
1209           warning message.
1210           No need to check if the gerror is not NULL to free; first of all
1211           g_free accepts NULL; and second the default error handler would
1212           segfault if gerror was NULL.
1213
1214 2007-02-21  Wim Taymans  <wim@fluendo.com>
1215
1216         * docs/gst/gstreamer-sections.txt:
1217         Removed docs as well.
1218
1219 2007-02-21  Wim Taymans  <wim@fluendo.com>
1220
1221         * gst/gstmessage.c: (gst_message_parse_duration):
1222         * gst/gstmessage.h:
1223         Remove new messages for release.
1224
1225 2007-02-20  Wim Taymans  <wim@fluendo.com>
1226
1227         * docs/design/part-gstghostpad.txt:
1228         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1229         (gst_ghost_pad_new_full):
1230         Make the ghostpad a parent of the internal pad again for better backward
1231         compatibility. Don't write code that relies on this however.
1232
1233         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1234         (gst_pad_link_check_hierarchy):
1235         Require that parents should be GstElements in the hierarchy check.
1236
1237 2007-02-20  Wim Taymans  <wim@fluendo.com>
1238
1239         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1240         (gst_bin_change_state_func), (bin_query_min_max_init),
1241         (bin_query_latency_fold), (bin_query_latency_done),
1242         (gst_bin_query):
1243         Improve debug info.
1244         Implement latency query.
1245
1246 2007-02-20  Wim Taymans  <wim@fluendo.com>
1247
1248         * docs/design/part-gstghostpad.txt:
1249         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1250         (gst_ghost_pad_internal_do_activate_push),
1251         (gst_ghost_pad_internal_do_activate_pull),
1252         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1253         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1254         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1255         Do not set the internal pad as a parent anymore so we can avoid
1256         hierarchy linking errors when the ghostpad has no parent yet. This also
1257         fixes failed activation because of unlinked internal pads, which in
1258         turn fixes the impossible case where you have to activate a pad before
1259         you can add it to a running element.
1260         Also fix the docs.
1261
1262         * gst/gstpad.c: (pre_activate), (post_activate),
1263         (gst_pad_set_active), (gst_pad_activate_pull),
1264         (gst_pad_activate_push), (gst_pad_check_pull_range):
1265         Add some more debug info.
1266         Mark activation mode in pre_activate so that we don't try to activate in
1267         endless loops. Fixes #385084.
1268
1269 2007-02-19  Wim Taymans  <wim@fluendo.com>
1270
1271         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1272         (gst_base_transform_check_get_range):
1273         Implement a checkgetrange function instead of relying on the default
1274         core behaviour that assumes we can operate in pull mode if we have a
1275         getrange function. First step at fixing #385084.
1276
1277 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
1278
1279         * gst/gstchildproxy.h:
1280         * libs/gst/base/gstbasesink.h:
1281         * libs/gst/base/gstbasesrc.h:
1282         * libs/gst/base/gstbasetransform.h:
1283         More docs coverage and some ChangeLog surgery (add missing names)
1284
1285 2007-02-15  Wim Taymans  <wim@fluendo.com>
1286
1287         * docs/design/part-TODO.txt:
1288         * docs/design/part-activation.txt:
1289         * docs/design/part-block.txt:
1290         * docs/design/part-buffering.txt:
1291         * docs/design/part-clocks.txt:
1292         * docs/design/part-element-source.txt:
1293         * docs/design/part-events.txt:
1294         * docs/design/part-gstbin.txt:
1295         * docs/design/part-gstbus.txt:
1296         * docs/design/part-gstpipeline.txt:
1297         * docs/design/part-live-source.txt:
1298         * docs/design/part-messages.txt:
1299         * docs/design/part-overview.txt:
1300         * docs/design/part-qos.txt:
1301         * docs/design/part-query.txt:
1302         * docs/design/part-states.txt:
1303         * docs/design/part-trickmodes.txt:
1304         Some doc updates. Start renaming from stream_time to running_time where
1305         it was used wrongly.
1306
1307 2007-02-15  Wim Taymans  <wim@fluendo.com>
1308
1309         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1310         Answer LATENCY query.
1311
1312 2007-02-15  Wim Taymans  <wim@fluendo.com>
1313
1314         * tests/check/gst/gstevent.c: (event_probe), (test_event),
1315         (GST_START_TEST):
1316         Improve debugging.
1317
1318 2007-02-15  Wim Taymans  <wim@fluendo.com>
1319
1320         * gst/gstpad.c: (gst_pad_get_internal_links_default),
1321         (gst_pad_dispatcher):
1322         Improve debugging of default pad dispatcher and query functions.
1323
1324 2007-02-15  Wim Taymans  <wim@fluendo.com>
1325
1326         * docs/gst/gstreamer-sections.txt:
1327         Remove old unused method.
1328
1329 2007-02-13  Wim Taymans  <wim@fluendo.com>
1330
1331         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1332         Fix check
1333
1334 2007-02-13  Wim Taymans  <wim@fluendo.com>
1335
1336         * docs/design/part-seeking.txt:
1337         Some small update.
1338
1339         * gst/gstsegment.c: (gst_segment_set_seek):
1340         Revert old bogus change that should make seeking work again.
1341
1342 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * docs/random/ensonic/dynlink.txt:
1345         * docs/random/ensonic/interfaces.txt:
1346         * docs/random/ensonic/receipies.txt:
1347           Possible dynamic reconnection api, plus some type fixes the other two
1348           docs.
1349
1350 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
1351
1352         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1353         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1354         Also check for an absolute path following file:// in the filesrc
1355         element. Remove redundant check and call g_path_is_absolute() on the
1356         unescaped location.
1357
1358 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
1359
1360         * docs/design/draft-klass.txt:
1361           Add existing category analysis.
1362           
1363         * gst/gstcaps.c:
1364           Fix doc example, framerate is a fraction.
1365
1366 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1367
1368         * configure.ac:
1369         * docs/gst/Makefile.am:
1370         * docs/gst/gstreamer-sections.txt:
1371         * docs/libs/Makefile.am:
1372           Erm, forgot a bunch of --extra-dir.
1373
1374 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
1375
1376         * configure.ac:
1377         * docs/gst/Makefile.am:
1378         * docs/libs/Makefile.am:
1379         * docs/plugins/Makefile.am:
1380           Add crossreferences to glib/gobject docs.
1381
1382 2007-02-12  Wim Taymans  <wim@fluendo.com>
1383
1384         * docs/design/draft-latency.txt:
1385         Small update.
1386
1387         * docs/libs/gstreamer-libs-sections.txt:
1388         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1389         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1390         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1391         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1392         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1393         (gst_base_sink_get_position), (gst_base_sink_query),
1394         (gst_base_sink_change_state):
1395         * libs/gst/base/gstbasesink.h:
1396         API: gst_base_sink_query_latency() to let subclasses query the upstream
1397         latency.
1398         API: gst_base_sink_get_latency() to let subclasses query the configured
1399         latency in the sink.
1400         Implement query and set latency.
1401         Update some docs.
1402         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1403         don't continue preroll when we are flushing. Fixes #405284.
1404
1405         * tests/check/pipelines/stress.c: (change_state_timeout),
1406         (quit_timeout), (GST_START_TEST), (stress_suite):
1407         Test for #405284.
1408
1409 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1410
1411         Patch by: René Stadler <mail at renestadler de>
1412
1413         * docs/gst/gstreamer-sections.txt:
1414         * gst/gsttaglist.c: (_gst_tag_initialize):
1415         * gst/gsttaglist.h:
1416           API: add GST_TAG_REFERENCE_LEVEL (#403597).
1417
1418 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
1419
1420         * docs/libs/Makefile.am:
1421           Fix path to core docs.
1422
1423         * gst/gstbin.c: (gst_bin_get_by_interface),
1424         (gst_bin_iterate_all_by_interface):
1425           Refix docs by also renaming 'interface' to 'iface' in implementation.
1426
1427         * docs/gst/gstreamer-sections.txt:
1428         * gst/gstcaps.c:
1429         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1430         * gst/gstchildproxy.h:
1431         * gst/gstelementfactory.c:
1432         * gst/gstpadtemplate.h:
1433         * libs/gst/controller/gstcontroller.c:
1434         (gst_controlled_property_new):
1435           Document more.
1436
1437 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1438
1439         * gst/gstbin.h:(gst_bin_get_by_interface),
1440         (gst_bin_iterate_all_by_interface):
1441         Replace interface parameter name by iface as interface is 
1442         a reserved keyword in Visual Studio for C++ projects so it removes
1443         a build error for application developpers using VS.
1444         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1445         Fix a bug on Windows in uri format check. Now the prefix checked
1446         is file:// and next we check if the path after file:// is absolute.
1447         * win32/common/libgstbase.def:
1448         * win32/common/libgstdataprotocol.def:
1449         * win32/common/libgstgstreamer.def:
1450         Add new exported functions.
1451
1452 2007-02-09  Andy Wingo  <wingo@pobox.com>
1453
1454         * tests/check/pipelines/simple-launch-lines.c
1455         (simple_launch_lines_suite, test_tee): Disable tee test until I
1456         have time to fix it :-(
1457
1458         * tests/check/Makefile.am (noinst_HEADERS): 
1459         * tests/check/libs/libsabi.c: 
1460         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1461         * tests/check/gst/gstabi.c: 
1462         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1463
1464         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1465         tests for push and pull tee behavior.
1466
1467         * plugins/elements/gsttee.h: 
1468         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1469         mark as deprecated as well as unimplemented. It was a crack idea.
1470         Add support for tee operating in pull mode, off by default.
1471
1472         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1473         normal-case logs down to LOG, raise errors to WARNING.
1474         (gst_registry_xml_read_cache): Don't log before calling a function
1475         that logs.
1476
1477         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1478         exit (registry finalize).
1479         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1480         DEBUG log when we emit signals that people don't even have the
1481         chance to connect to.
1482         (gst_registry_scan_path_level): Less logging in the normal case.
1483
1484 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1485
1486         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1487
1488         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1489         Correctly generate EOS for non-seekable files. We don't have a total
1490         length for them and would get an unexpected end of file if we only
1491         special-cased for regular files. (Fixes: #404569)
1492
1493 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1494
1495         * tests/check/elements/filesrc.c: (GST_START_TEST),
1496         (filesrc_suite):
1497         Add unit test for the GstURIHandler interface in filesrc. This also
1498         tests the newly added file://localhost/foo/bar support.
1499
1500 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1501
1502         * gst/gstelementfactory.h:
1503           The klass string is not a hierarchy. Add reference to the design doc
1504           for more information and common types.
1505
1506 2007-02-02  Wim Taymans  <wim@fluendo.com>
1507
1508         * gst/gstquery.c: (gst_query_new_latency):
1509         Remove old structure field.
1510
1511 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1512
1513         * tools/gst-launch.1.in:
1514           Give example for network streaming (#351998)
1515
1516 2007-02-02  Wim Taymans  <wim@fluendo.com>
1517
1518         * docs/gst/gstreamer-sections.txt:
1519         Add docs for new methods.
1520
1521         * gst/gstevent.c: (gst_event_new_latency),
1522         (gst_event_parse_latency):
1523         * gst/gstevent.h:
1524         Add new LATENCY event to configure latency in a pipeline.
1525         API: gst_event_new_latency
1526         API: gst_event_parse_latency
1527
1528         * gst/gstmessage.c: (gst_message_new_buffering),
1529         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1530         (gst_message_new_latency), (gst_message_parse_buffering),
1531         (gst_message_parse_lost_preroll):
1532         * gst/gstmessage.h:
1533         Added messages used in draft-latency.
1534         API: gst_message_new_lost_preroll
1535         API: gst_message_parse_lost_preroll
1536         API: gst_message_new_prerolled
1537         API: gst_message_new_latency
1538
1539         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1540         (gst_query_parse_latency):
1541         * gst/gstquery.h:
1542         Implemented new latency query as in design doc.
1543         API: gst_query_new_latency
1544         API: gst_query_set_latency
1545         API: gst_query_parse_latency
1546
1547 2007-02-02  Wim Taymans  <wim@fluendo.com>
1548
1549         * docs/design/draft-latency.txt:
1550         Slight redesign to allow for dynamic latency adjustments.
1551
1552         * docs/design/part-negotiation.txt:
1553         Fix some typos.
1554
1555 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1556
1557         reviewed by: Wim Taymans <wim@fluendo.com>
1558
1559         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1560         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1561         Allow file://localhost/foo/bar URLs and correctly fail for every other
1562         hostname that one sets. This was gnomevfssrc is linked for those if
1563         installed as it can handle it (#403172)
1564
1565 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1566
1567         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1568
1569         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1570         (unref_data), (gst_collect_pads_add_pad_full):
1571         * libs/gst/base/gstcollectpads.h:
1572         Don't put the previously added destroy notify in the GstCollectData
1573         struct as all it's padding is already used and we don't want to break
1574         ABI. Instead put in the pad's GObject data for now. This should be
1575         cleaned up for 0.11 (#402393).
1576
1577 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1578
1579         reviewed by: Wim Taymans <wim@fluendo.com>
1580
1581         * docs/libs/gstreamer-libs-sections.txt:
1582         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1583         (unref_data), (gst_collect_pads_add_pad),
1584         (gst_collect_pads_add_pad_full):
1585         * libs/gst/base/gstcollectpads.h:
1586         API: Add function to specify a destroy notification for custom
1587         GstCollectData when adding new pads in GstCollectPads (#402393).
1588
1589 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1590
1591         * po/sv.po:
1592           Update Swedish translation (#378255).
1593
1594 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1595
1596         * docs/design/draft-klass.txt:
1597           Fix the previous change, this is a list of categories and not a hierarchy.
1598
1599 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1600
1601         * docs/design/draft-klass.txt:
1602           Add info about how to get a list of used classes.
1603
1604 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1605
1606         * plugins/elements/gsttypefindelement.c:
1607         (gst_type_find_element_chain_do_typefinding),
1608         (gst_type_find_element_change_state):
1609           Don't leak found caps in chain function (no idea why that never
1610           showed up as a leak anywhere).
1611
1612 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1613
1614         * gst/gstplugin.h:
1615           Fix and expand GstPluginDesc API docs.
1616
1617 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1618
1619         * gst/gstcaps.c:
1620         * gst/gstelementfactory.c:
1621         * gst/gstpadtemplate.h:
1622           api doc fixes
1623
1624         * libs/gst/controller/gstcontroller.c:
1625         (gst_controlled_property_new):
1626         * tests/examples/controller/audio-example.c:
1627           comment fixes
1628
1629 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1630
1631         * configure.ac:
1632           comment about refining the xml deps
1633
1634         * docs/manuals.mak:
1635           comments about moving away from jade for docs
1636         
1637         * gst/gst.c:
1638           recommit the ifdefs to use the binary registry
1639         
1640         * gst/gstbin.c: (gst_bin_change_state_func):
1641           this break is obsolete
1642
1643         * gst/gstelementfactory.h:
1644           better GST_ELEMENT_DETAILS docs, add comment about translation
1645
1646         * gst/gstinfo.h:
1647           remove eol slash
1648
1649         * gst/gstobject.c: (gst_signal_object_get_type):
1650           add G_UNLIKELY as usual
1651
1652         * gst/gstpad.c: (gst_pad_event_default):
1653           add fall trhu comment
1654
1655         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1656         (gst_registry_binary_initialize_magic),
1657         (gst_registry_binary_save_string),
1658         (gst_registry_binary_save_pad_template),
1659         (gst_registry_binary_save_feature),
1660         (gst_registry_binary_save_plugin),
1661         (gst_registry_binary_write_cache),
1662         (gst_registry_binary_check_magic),
1663         (gst_registry_binary_load_pad_template),
1664         (gst_registry_binary_load_feature),
1665         (gst_registry_binary_load_plugin),
1666         (gst_registry_binary_read_cache):
1667           comment typo and formatting
1668
1669         * gst/gstutils.c: (gst_element_state_get_name),
1670         (gst_element_state_change_return_get_name):
1671           remove obsolete breaks
1672
1673         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1674           add FIXME 0.11 and remove cpp comment
1675
1676 2007-01-29  Edward Hervey  <edward@fluendo.com>
1677
1678         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1679         Fix print statement in an even more portable way.
1680
1681 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1682
1683         * docs/gst/gstreamer-sections.txt:
1684         * gst/gstutils.h:
1685           API: add GST_ROUND_DOWN_* macros (#401781).
1686
1687 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1688
1689         * docs/gst/gstreamer.types.in:
1690         * gst/gstregistry.c: (gst_registry_class_init):
1691           Document registry signals and make gtk-doc pick them up (#401381).
1692
1693 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1694
1695         * docs/pwg/building-testapp.xml:
1696           Add some audioconverts and audioresample to the pipeline, and some
1697           more comments and error handling.
1698
1699 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1700
1701         * docs/manual/manual.xml:
1702         * docs/pwg/pwg.xml:
1703           Fix typo (#400987).
1704
1705 2007-01-26  Wim Taymans  <wim@fluendo.com>
1706
1707         * gst/gstcaps.c: (gst_static_caps_get):
1708         Init caps flags too.
1709
1710 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1711
1712         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1713
1714         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1715         If not using mmap'ed files try to seek to the end instead of the
1716         start to determine whether we can seek at all. This fixes the case
1717         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1718         seeks for everything afterwards fail. Fixes #400656
1719
1720 2007-01-25  Wim Taymans  <wim@fluendo.com>
1721
1722         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1723         Add some refcount debugging.
1724         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1725         in multiple streaming threads.
1726
1727 2007-01-25  Wim Taymans  <wim@fluendo.com>
1728
1729         Patch by: David Schleef <ds at schleef dot org>
1730
1731         * docs/libs/gstreamer-libs-sections.txt:
1732         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1733         * libs/gst/base/gstadapter.h:
1734         API: gst_adapter_copy() that can reduce the amount of memcpy when
1735         getting data from the adapter. Fixes #388201.
1736
1737 2007-01-25  Edward Hervey  <edward@fluendo.com>
1738
1739         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1740         In print statements, "%x" is for guint. Fixes build on macosx.
1741
1742 2007-01-24  Edward Hervey  <edward@fluendo.com>
1743
1744         * plugins/elements/gstmultiqueue.c:
1745         (gst_multi_queue_loop):
1746         Small fix.
1747         (single_queue_overrun_cb), (single_queue_underrun_cb),
1748         (single_queue_check_full), (gst_single_queue_new):
1749         Implement single queue growth system.
1750         This uses the extra-size properties, and will grow single queues by
1751         that much if one goes full whereas there are others empty. This is
1752         called extra-mode in the code.
1753         When a single queue's levels go back below the initial max-size
1754         limits, it is no longer in extra-mode. This is to ensure we don't
1755         consume too much memory.
1756         Fixes #399875
1757
1758 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1759
1760         * gst/gst.c: (gst_init_get_option_group):
1761           Make warning about late g_thread_init() calls a bit more explicit,
1762           so that it's more obvious to application developers what they need
1763           to do if a user files a bug against their application.
1764
1765 2007-01-22  Edward Hervey  <edward@fluendo.com>
1766
1767         * plugins/elements/gstmultiqueue.c:
1768         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1769         Remove previous hack of unsetting the flushing flag for the source pad
1770         instead of activating it. Instead, fix the source pad activate function
1771         so that it no longer depends on having a parent set or not.
1772
1773 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1774
1775         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1776
1777         * docs/manual/basics-bus.xml:
1778           Fix example code, gst_element_unref() doesn't exist any longer.
1779
1780 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1781
1782         Patch by: Mark Nauwelaerts <manauw at skynet be>
1783
1784         * gst/gstpad.c:
1785           Fix two docs typoes (#399094).
1786
1787 2007-01-19  Edward Hervey  <edward@fluendo.com>
1788
1789         * docs/faq/gst-uninstalled:
1790         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1791         depending on libgstbaseutils can work in uninstalled environment.
1792
1793 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1794
1795         * gst/gsttaglist.h:
1796         * gst/gsttagsetter.c:
1797         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1798         statement for new tag.
1799
1800 2007-01-17  Edward Hervey  <edward@fluendo.com>
1801
1802         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1803         When dynamically creating single queues, activate sinkpad before adding
1804         it.
1805         We should be doing the same thing for the source pad, but we can't
1806         since it would call a method which needs the parent to be set in order
1807         to work propertly. Instead of activating the source pad, we just unset
1808         the flushing flag, which is the minimal requirement for adding a pad
1809         to an element in a state greater than READY.
1810
1811 2007-01-17  Edward Hervey  <edward@fluendo.com>
1812
1813         * docs/faq/gst-uninstalled:
1814         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1815         Mac OS X.
1816
1817 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1818
1819         * tests/check/gst/gstabi.c:
1820         * tests/check/gst/struct_hppa.h:
1821         * tests/check/libs/libsabi.c:
1822         * tests/check/libs/struct_hppa.h:
1823           Add ABI structs for HPPA (see #393796).
1824
1825 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1826
1827         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1828           Actually write ABI structs to the file specified in the GST_ABI
1829           environment variable, as the message we print claims we would.
1830
1831 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1832
1833         * tests/check/gst/gsttask.c:
1834           Fix header comment.
1835
1836 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1837
1838         * gst/gsttaglist.c: (_gst_tag_initialize):
1839           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1840           previous two entries.
1841
1842 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1843
1844         * docs/gst/gstreamer-sections.txt:
1845         * gst/gsttaglist.c: (_gst_tag_initialize):
1846         * gst/gsttaglist.h:
1847           Add tag support for beat-per-minute.
1848
1849 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1852         (gst_registry_binary_initialize_magic),
1853         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1854         (gst_registry_binary_save_pad_template),
1855         (gst_registry_binary_save_feature),
1856         (gst_registry_binary_save_plugin),
1857         (gst_registry_binary_write_cache),
1858         (gst_registry_binary_check_magic),
1859         (gst_registry_binary_load_pad_template),
1860         (gst_registry_binary_load_feature),
1861         (gst_registry_binary_load_plugin),
1862         (gst_registry_binary_read_cache):
1863         * gst/gstregistrybinary.h:
1864           Use glib types, cleanup comments, impement interfaces and uri-types.
1865
1866 2007-01-13  Andy Wingo  <wingo@pobox.com>
1867
1868         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1869         getrange() to return buffers with other caps, while we fix
1870         demuxers and typefind, or otherwise change part-negotiation.txt.
1871
1872 2007-01-12  Andy Wingo  <wingo@pobox.com>
1873
1874         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1875         Factor start/stop into this private function instead of partially
1876         in activate functions and partially in the change_state function.
1877         Fixes setup before the element has changed from READY->PAUSED, as
1878         is the case in pull-mode pipelines.
1879         (gst_base_transform_sink_activate_push)
1880         (gst_base_transform_src_activate_pull): Refactor to use
1881         gst_base_transform_activate().
1882         (gst_base_transform_change_state): Removed, not needed any more.
1883
1884         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1885         Truncate before fixating.
1886         
1887         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1888         Don't set_caps() if the result of fixating is ANY, as it's not
1889         supported, and not necessary in the case of a link with no
1890         template caps on either side. Fixes tests/check/libs/basesrc in
1891         some pull-mode tests.
1892
1893         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1894         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1895         (gst_base_transform_src_activate_pull): 
1896         Track the activation mode.
1897         (gst_base_transform_setcaps): In pull mode, when activating the
1898         src pad, after activating the sink pad, activate the sink pad's
1899         peer, as discussed in part-negotiation.txt.
1900
1901         * libs/gst/base/gstbasesrc.h: 
1902         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1903         vmethod, as in basesink.
1904
1905         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1906
1907         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1908         mode, first proxy the setcaps to the peer pad.
1909         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1910         new fixate vmethod.
1911         (gst_base_sink_default_activate_pull): Rename from
1912         gst_base_sink_activate_pull.
1913         (gst_base_sink_negotiate_pull): New function, performs negotiation
1914         in pull mode before calling ::activate_pull().
1915         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1916         vmethod instead of the default implementation. I have no idea how
1917         this worked before. Negotiate before calling activate_pull.
1918
1919         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1920         sink pads in pull mode. In addition to being correct, fixes
1921         filesrc ! decodebin ! identity ! fakesink.
1922         (gst_pad_get_range, gst_pad_pull_range): Don't call
1923         gst_pad_set_caps() if the caps changes; instead error out with
1924         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1925
1926 2007-01-12  Andy Wingo  <wingo@pobox.com>
1927
1928         * docs/design/part-negotiation.txt: Update with more policy.
1929
1930 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1931
1932         * libs/gst/check/gstbufferstraw.h:
1933         * libs/gst/check/gstcheck.h:
1934           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1935           belongs.
1936
1937 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1938
1939         * tests/check/Makefile.am:
1940         * tests/check/gst/.cvsignore:
1941         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1942         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1943         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1944         (GST_START_TEST), (gst_tag_setter_suite):
1945           Add minimal unit test for beforementioned GstTagSetter bug.
1946
1947 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1948
1949         Patch by: René Stadler <mail at renestadler dot de>
1950
1951         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1952           gst_tag_list_merge() returns a new list, so it's not the best idea
1953           to ingore its return value. Effectively meant that tags could only
1954           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1955           Also add function guard to require a non-NULL taglist as input (has
1956           always been so due to gst_tag_list_copy(), just making it explicit).
1957
1958 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1959
1960         * docs/random/draft-missing-plugins.txt:
1961           Some additions: mention new API that is supposed to be used at the
1962           various stages; short blob about new gst-inspect introspection
1963           option; mention potential future problem with plugins that have
1964           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1965
1966 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1967
1968         * tools/gst-inspect.c:
1969         (print_plugin_automatic_install_info_codecs),
1970         (print_plugin_automatic_install_info_protocols),
1971         (print_plugin_automatic_install_info), (main):
1972         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1973         introspect plugin files and get machine-parsable output that corresponds
1974         to the last bit of the missing-plugin installer string (small gotcha:
1975         doesn't take into account ranks).
1976
1977 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1978
1979         * configure.ac:
1980         * docs/gst/gstreamer-sections.txt:
1981         * gst/Makefile.am:
1982         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1983         (gst_registry_lookup_locked):
1984         * gst/gstregistry.h:
1985         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1986         (gst_registry_binary_initialize_magic),
1987         (gst_registry_binary_save_string),
1988         (gst_registry_binary_save_pad_template),
1989         (gst_registry_binary_save_feature),
1990         (gst_registry_binary_save_plugin),
1991         (gst_registry_binary_write_cache),
1992         (gst_registry_binary_check_magic),
1993         (gst_registry_binary_load_pad_template),
1994         (gst_registry_binary_load_feature),
1995         (gst_registry_binary_load_plugin),
1996         (gst_registry_binary_read_cache):
1997         * gst/gstregistrybinary.h:
1998         * gst/gstregistryxml.c: (load_feature),
1999         (gst_registry_xml_read_cache):
2000           commit binary registry (disabled by default, see #359653)
2001
2002 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
2003
2004         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2005           Fix 'make check' too.
2006
2007 2007-01-10  Andy Wingo  <wingo@pobox.com>
2008
2009         * docs/design/part-negotiation.txt: Fix a typo, add a couple
2010         notes.
2011         
2012         * docs/design/part-negotiation.txt: Update with, um, one way that
2013         pull-mode negotiation might work?
2014
2015         * gst/gstpad.h: 
2016         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2017         that the pad must be a src pad; makes sense to call it the other
2018         way in pull mode, and the logic is symmetric anyway.
2019
2020 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2021
2022         * plugins/elements/gstfilesink.c:
2023           Include <stdio.h> for fseeko().
2024
2025 2007-01-10  Wim Taymans  <wim@fluendo.com>
2026
2027         * gst/gstevent.c:
2028         * gst/gstevent.h:
2029         Reserve LATENCY event.
2030
2031 2007-01-09  Wim Taymans  <wim@fluendo.com>
2032
2033         * docs/design/draft-latency.txt:
2034         Updates.
2035
2036 2007-01-09  Wim Taymans  <wim@fluendo.com>
2037
2038         * docs/design/draft-latency.txt:
2039         Updates.
2040
2041         * gst/gstelement.h:
2042         * gst/gststructure.c:
2043         * gst/gsttrace.c:
2044         Small typo fixes.
2045
2046 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2047
2048         * tests/check/.cvsignore:
2049           Ignore test-registry.xml as well.
2050
2051 2007-01-09  Wim Taymans  <wim@fluendo.com>
2052
2053         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2054         unref data at the end when we are done with the pad.
2055
2056 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2057
2058         * docs/gst/gstreamer-sections.txt:
2059         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2060         (init_post), (gst_deinit), (gst_update_registry):
2061         * gst/gst.h:
2062           API: add gst_update_registry() (#391296).
2063
2064         * tests/check/Makefile.am:
2065         * tests/check/gst/gstregistry.c:
2066         * tests/check/gst/.cvsignore:
2067           Simple unit test for the above.
2068
2069 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2070
2071         * gst/gstregistry.c: (gst_registry_scan_path_level):
2072           Plugin extension on HP-UX is .sl, add that to the list of approved
2073           plugin extensions (see #393796).
2074
2075         * tests/check/gst/gstpad.c: (GST_START_TEST):
2076           ulong => gulong. Fixes compilation with HP-UX compiler.
2077
2078         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2079           Fix compilation if valgrind headers are not available.
2080
2081 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
2082
2083         * win32/common/libgstreamer.def: 
2084           Add new exported function.
2085         * win32/vs6/libgstbase.dsp: 
2086           Add gstdataqueue.c to the build.
2087         * win32/vs6/libgstcoreelements.dsp:
2088           Add gstmultiqueue.c to the build.
2089         
2090 2007-01-06  Andy Wingo  <wingo@pobox.com>
2091
2092         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2093         activate_pull(), providing for a way to specialize the process of
2094         spawning a thread to pull on the sink pad. There is a default
2095         implementation.
2096
2097         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2098         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2099         (gst_base_sink_init): Renamed pad activation functions (inserting
2100         "_pad" in their names). Refactor to use the new activate_pull
2101         vmethod, as appropriate.
2102         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2103         default activate_pull function to start a task pulling from the
2104         sink pad, as before.
2105
2106         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2107         on the pads if necessary, as in push()/chain(). Update docs.
2108         Shouldn't affect existing pull() usage as it is currently only
2109         being used on buffers without caps.
2110
2111 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2112
2113         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2114         (init_pre):
2115           Call g_thread_init() first thing in gst_init() / gst_check_init().
2116           When initialisation is done via gst_init_get_option_group() and
2117           GOption parsing, issue a warning if the GLib thread system has not
2118           been initialised yet by the time gst_init_get_option_group() is
2119           called, as it's quite likely other GLib functions such as
2120           g_option_context_new() have been called already then, and
2121           g_thread_init() must be called before any other GLib function. The
2122           application in question must be fixed in that case, since memory
2123           corruption might happen otherwise.
2124           We issue the warning because even if the GLib folks decide to work
2125           around the problem on their end in future, this is still an issue
2126           with all GLib versions >= 2.10.0, so we should warn until we depend
2127           on a GLib version we know to be safe.
2128           Update documentation as well.
2129           Closes bug #391278.
2130
2131 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2132
2133         * tools/gst-inspect.c: (main):
2134         * tools/gst-launch.c: (main):
2135         * tools/gst-typefind.c: (main):
2136         * tools/gst-xmlinspect.c: (main):
2137           Call g_thread_init() really really early, before any other GLib
2138           function (see #342564 and recent discussion on gtk-devel-list).
2139
2140 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2141
2142         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
2143
2144         * gst/gst_private.h:
2145         * gst/gstconfig.h.in:
2146         * gst/gstinfo.h:
2147           On win32, all the __declspec stuff for symbol exporting is
2148           apparently only needed with MSVC, but doesn't work with MingW.
2149           Fixes compilation with MingW and #391909.
2150
2151 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2152
2153         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2154           Change some GST_ERROR_OBJECT that aren't really errors to
2155           GST_WARNING_OBJECT in order to reduce terminal spam.
2156
2157 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
2158
2159         * tests/check/Makefile.am:
2160           disable test again, as there seem to be still race problems
2161
2162 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
2163
2164         * tests/check/Makefile.am:
2165         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2166         (GST_START_TEST), (queue_suite):
2167           enable queue test again, add tests for the leaky behaviour
2168
2169 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
2170
2171         * configure.ac:
2172         * tests/examples/Makefile.am:
2173           Compile adapter test/example only if the required headers are
2174           available (fixes #391915).
2175
2176 2007-01-01  David Schleef  <ds@schleef.org>
2177
2178         * gst/gstplugin.c:
2179           Restore the previous signal handler for SIGSEGV instead of
2180           setting to default, since we may have stolen it away from
2181           someone.  (i.e., Mono)
2182
2183 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
2184
2185         * docs/random/draft-missing-plugins.txt:
2186           Some small additions and clarifications.
2187
2188 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
2189
2190         * gst/gstregistryxml.c: (gst_registry_save_escaped):
2191           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2192           since that can lead to random memory corruptions and crashes
2193           (may or may not be related to #383244, #386711, and #386711).
2194
2195 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2196
2197         * tests/check/.cvsignore:
2198         * tests/check/Makefile.am:
2199           sync .cvsignome and CLEANFILES
2200
2201 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2202
2203         * tests/check/Makefile.am:
2204           fix distcheck
2205
2206 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2207
2208         * docs/design/part-states.txt:
2209           two tiny additional comments
2210         
2211         * gst/gststructure.c:
2212           doc fixing
2213
2214         * tests/check/Makefile.am:
2215         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2216         (GST_START_TEST):
2217           disable test for now, unless it gets fixed
2218
2219 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2220
2221         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2222         (GST_START_TEST):
2223           fix race in underrun test
2224
2225 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2226
2227         * tests/check/elements/.cvsignore:
2228           ignore more
2229
2230         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2231         (GST_START_TEST):
2232           try to narrow test failure
2233
2234 2006-12-21  David Schleef  <ds@schleef.org>
2235
2236         * plugins/elements/gstfakesrc.c:
2237           Use g_random_int_range(), since it produces better random
2238           numbers in a range than almost-correct floating point code.
2239
2240 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
2241
2242         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2243         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2244         (gst_check_teardown_sink_pad):
2245           do not automatically (de)activate pads
2246
2247         * tests/check/Makefile.am:
2248         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2249         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2250           add new, yet simple tests for queue
2251
2252         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2253         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2254         * tests/check/elements/filesrc.c: (cleanup_filesrc),
2255         (GST_START_TEST):
2256         * tests/check/elements/identity.c: (cleanup_identity):
2257           consistent pad (de)activation
2258
2259 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2260
2261         Patch by: Sebastian Dröge  <slomo ubuntu com>
2262
2263         * libs/gst/base/gstcollectpads.c:
2264           Fix two doc typos (#387866).
2265
2266 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * docs/manual/advanced-dparams.xml:
2269           Fix typo (g_object_control_properties() doesn't exist).
2270
2271 2006-12-19  Edward Hervey  <edward@fluendo.com>
2272
2273         * gst/gstsegment.c: (gst_segment_set_seek):
2274         Fine tune the cases where the segment start/stop values are really
2275         updated.
2276         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2277         Add tests for the return values of gst_segment_set_seek().
2278
2279 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
2280
2281         * gst/gst.c:
2282           Docs typo fix.
2283
2284         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2285         (gst_queue_init):
2286           Fix incorrect documentation and flesh it out a bit more.
2287           Set default values for the max properties on the GParamSpec as well,
2288           so it shows up correctly in gst-inspect.
2289
2290 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
2291
2292         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2293           Correct docs of queue, add more detail and crosslink it more.
2294
2295 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2296
2297         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2298           Print additional debug info when the stream isn't perfectly
2299           timestamped; don't try to use invalid durations.
2300
2301 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2302
2303         * docs/design/Makefile.am:
2304           Dist new design docs.
2305
2306 2006-12-16  Wim Taymans  <wim@fluendo.com>
2307
2308         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2309
2310         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2311         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2312         (gst_collect_pads_stop), (gst_collect_pads_event),
2313         (gst_collect_pads_chain):
2314         * libs/gst/base/gstcollectpads.h:
2315         Add refcounting to the collectpads data so we can track when it's safe
2316         to free the data. Fixes #383382.
2317
2318 2006-12-15  Wim Taymans  <wim@fluendo.com>
2319
2320         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2321         (gst_collect_pads_remove_pad):
2322         Automatically activate/deactivate pads when they are added to a
2323         started/stoped collectpads.
2324
2325 2006-12-15  Wim Taymans  <wim@fluendo.com>
2326
2327         * gst/gstelement.c: (gst_element_add_pad):
2328         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2329         * gst/gstpad.c: (gst_pad_init):
2330         Set pads to FLUSHING when they are created. Check, warn and fix when a
2331         demuxer adds an inactive pad to itself when running. Fixes #339326.
2332
2333 2006-12-15  Wim Taymans  <wim@fluendo.com>
2334
2335         * gst/gstelement.c: (gst_element_class_init),
2336         (gst_element_default_send_event), (gst_element_send_event),
2337         (gst_element_default_query), (gst_element_query):
2338         Expose default element send_event and query handling as vmethods that
2339         subclasses can chain up to.
2340
2341 2006-12-15  Wim Taymans  <wim@fluendo.com>
2342
2343         * gst/gstelement.c: (gst_element_set_state_func):
2344         Small documentation fixes.
2345
2346 2006-12-15  Wim Taymans  <wim@fluendo.com>
2347
2348         * docs/design/draft-latency.txt:
2349         Checked in draft for handling latency in pipelines.
2350
2351 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2352
2353         * Makefile.am:
2354         * gstreamer.doap:
2355         * gstreamer.spec.in:
2356           adding .doap file
2357
2358 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
2359
2360         * gst/gst.c: (init_pre), (init_post):
2361           init_pre() and init_post() might be called via our GOptionGroup or
2362           from gst_init(), and we should skip both of them if we've already
2363           been initialised, otherwise we will init some things twice or add
2364           two default log functions.
2365
2366 2006-12-13  Edward Hervey  <edward@fluendo.com>
2367
2368         * docs/manual/basics-bus.xml:
2369         No, gst_main_loop does not exist. Its g_main_loop.
2370         Discovered by somebody who abused the copy-paste technique of coding :)
2371
2372 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2373
2374         * gst/gstghostpad.c:
2375           Log ghostpad debug stuff to the GST_PADS category as well rather
2376           than just to the default category.
2377
2378 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2379
2380         * configure.ac:
2381         * gst/gst.c: (init_pre):
2382           Add some basic system details such as OS and architecture
2383           to the debug output if possible, courtesy of uname().
2384
2385 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
2386
2387         * docs/gst/running.xml:
2388           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2389           environment variables.
2390
2391 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2392
2393         * tests/check/gst/gstbin.c: (GST_START_TEST):
2394         It is acceptable to have a refcount of 2 or 3 at this point in the
2395         test, because the pipeline might be just posting its state_change
2396         message. The next line then waits for that message to appear using
2397         bus_poll, so that should be fine too.
2398
2399 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
2400
2401         * gst/gst.c: (ensure_current_registry_forking):
2402         Ignore EINTR when reading from the child registry pipe.
2403         Explicitly ignore the return value from close, since it makes no
2404         difference.
2405
2406         * gst/gstminiobject.c: (gst_mini_object_ref),
2407         (gst_mini_object_unref):
2408         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2409
2410         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2411         When removing cached plugins, remove their features too, so they're
2412         not visible after they've disappeared.
2413
2414         * gst/gstutils.c: (prepare_link_maybe_ghosting):
2415         In the unlikely case that we are linking pads with no parents, don't
2416         crash trying to get the non-existent parent bin.
2417
2418         * gst/parse/grammar.y:
2419         Output debug in the PIPELINE category
2420
2421 2005-03-08  Wim Taymans  <wim@fluendo.com>
2422
2423         Patch by: René Stadler <mail at renestadler dot de>
2424
2425         * gst/gstclock.c: (gst_clock_new_periodic_id):
2426         Reject invalid clock times for interval of periodic ids.
2427         Fixes ##383506.
2428
2429 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2430
2431         * gst/gstelementfactory.c: (gst_element_factory_create):
2432         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2433         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2434         * tools/gst-inspect.c: (print_element_info):
2435         Fix refcounting of gst_plugin_feature_load to match the docs. 
2436         Fixes: #380129
2437
2438 2006-12-07  Wim Taymans  <wim@fluendo.com>
2439
2440         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2441         (gst_base_sink_get_position):
2442         Improve debugging of events.
2443
2444 2006-12-07  Wim Taymans  <wim@fluendo.com>
2445
2446         Patch by: René Stadler <mail at renestadler dot de>
2447
2448         * gst/gstclock.c: (gst_clock_id_wait):
2449         Make period ids add the interval to the origial requested time instead
2450         of the possibly updated time which can be wrong when there are multiple
2451         waiters for the same id. Fixes #382592.
2452
2453         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2454         (gst_system_clock_id_wait_jitter_unlocked),
2455         (gst_system_clock_id_wait_jitter):
2456         Fix restart in the async notify thread when an async entry is added to
2457         the front of the list. Fixes #381492. 
2458
2459         * tests/check/gst/gstsystemclock.c: (store_callback),
2460         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2461         Added test for multiple async waits.
2462         Added test for async wait order.
2463
2464 2006-12-07  Wim Taymans  <wim@fluendo.com>
2465
2466         * gst/gstbin.c: (gst_bin_query):
2467         Add some more docs about the POSITION query.
2468
2469 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2470
2471         * configure.ac:
2472         Bump version nano - back to CVS.
2473
2474 === release 0.10.11 ===
2475
2476 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2477
2478         * configure.ac:
2479           releasing 0.10.11, "Love never runs on time"
2480
2481 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2482
2483         * win32/common/libgstbase.def:
2484         * win32/common/libgstreamer.def:
2485         * win32/vs8/libgstbase.vcproj:
2486         * win32/vs8/libgstcoreelements.vcproj:
2487         * win32/vs8/libgstreamer.vcproj:
2488         Fix compilation on win32 under VS8
2489         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2490         Partially fixes #381175
2491
2492 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2493
2494         * gst/gstvalue.c: (gst_value_compare_fraction):
2495         If someone is foolish enough to compare 2 fractions with denominator =
2496         0, return UNORDERED rather than aborting.
2497
2498 2006-11-28  Edward Hervey  <edward@fluendo.com>
2499
2500         * libs/gst/base/Makefile.am:
2501         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2502         (gst_data_queue_base_init), (gst_data_queue_class_init),
2503         (gst_data_queue_init), (gst_data_queue_new),
2504         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2505         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2506         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2507         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2508         (gst_data_queue_set_flushing), (gst_data_queue_push),
2509         (gst_data_queue_pop), (gst_data_queue_drop_head),
2510         (gst_data_queue_set_property), (gst_data_queue_get_property):
2511         * libs/gst/base/gstdataqueue.h:
2512         New GstDataQueue object for threadsafe queueing. Most useful for
2513         elements that need some queueing functionnality.
2514         * docs/libs/gstreamer-libs-docs.sgml:
2515         * docs/libs/gstreamer-libs-sections.txt:
2516         Insert documentation for GstDataQueue
2517         * plugins/elements/Makefile.am:
2518         * plugins/elements/gstelements.c:
2519         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2520         (gst_multi_queue_class_init), (gst_multi_queue_init),
2521         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2522         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2523         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2524         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2525         (gst_multi_queue_loop), (gst_multi_queue_chain),
2526         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2527         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2528         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2529         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2530         (wake_up_next_non_linked), (compute_next_non_linked),
2531         (single_queue_overrun_cb), (single_queue_underrun_cb),
2532         (single_queue_check_full), (gst_single_queue_new):
2533         * plugins/elements/gstmultiqueue.h:
2534         New multiqueue element, using GstDataQueue. Used for queuing multiple
2535         streams.
2536         Closes #344639 and #347785
2537
2538 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2539
2540         * docs/pwg/advanced-types.xml:
2541           add more missing type details
2542
2543         * tools/gst-run.c: (main):
2544           remove unused variable
2545
2546 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2547
2548         * docs/libs/Makefile.am:
2549         * docs/libs/gstreamer-libs.types:
2550           add types of base classes to enable gobject specific stuff in the docs
2551
2552         * docs/random/ensonic/embedded.txt:
2553           more ideas about isolating platform specific things
2554
2555 2006-11-20  Wim Taymans  <wim@fluendo.com>
2556
2557         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2558
2559         * libs/gst/check/gstcheck.h:
2560         Fix compilation and running against 0.9.4. Fixes #377332.
2561
2562 2006-11-20  Wim Taymans  <wim@fluendo.com>
2563
2564         * gst/gstsegment.c: (gst_segment_set_seek),
2565         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2566         (gst_segment_to_running_time):
2567         Fix boundary checking in to_running_time() and to_stream_time().
2568         Fixes #377183.
2569
2570         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2571         stream and running time can now be calculated for the complete
2572         clipped segment.
2573
2574 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2575
2576         * gst/gstpad.c: (gst_pad_push_event):
2577           Can't access event structure after giving away ownership of
2578           the event.
2579
2580 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2581
2582         * docs/random/ensonic/embedded.txt:
2583         * docs/random/ensonic/profiling.txt:
2584         * docs/random/ensonic/receipies.txt:
2585           more thinking
2586
2587 2006-11-13  Wim Taymans  <wim@fluendo.com>
2588
2589         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2590
2591         * gst/gstpad.c:
2592         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2593
2594 2006-11-13  Wim Taymans  <wim@fluendo.com>
2595
2596         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2597
2598         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2599         Store new length in segment duration so we don't keep on calling the
2600         potentially expensize get_size() call. Fixes #370865.
2601
2602 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2603
2604         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2605
2606         * win32/common/libgstreamer.def:
2607           Add two missing symbols (#366492).
2608
2609 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2610
2611         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2612         (gst_adapter_take_buffer):
2613         Fix format string to use all its arguments.
2614         Remove useless >= check on a guint
2615
2616 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2617
2618         * tests/examples/adapter/.cvsignore:
2619         Ignore build file as commanded by the build-bot
2620
2621 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2622
2623         * tests/examples/adapter/Makefile.am:
2624         * tests/examples/adapter/adapter_test.c: (run_test_take),
2625         (run_test_take_buffer), (run_tests), (main):
2626
2627         Add new files from the previous commit
2628
2629 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2630
2631         * Makefile.am:
2632         * configure.ac:
2633         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2634         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2635         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2636         * libs/gst/base/gstadapter.h:
2637         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2638         (GST_START_TEST), (gst_adapter_suite):
2639         * tests/examples/Makefile.am:
2640         Do some optimisation work in GstAdapter to avoid copies in more cases.
2641         It could still do slightly better by merging buffers when
2642         gst_buffer_is_span_fast is true, but is already faster. 
2643
2644         Also, avoid traversing a single-linked list to append each incoming 
2645         buffer inside the adapter.
2646
2647         Add simple test app that times the adapter behaviour in different
2648         situations, and extend the unit test to check that bytes enter and
2649         exit the adapter in their original order.
2650
2651 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2652
2653         * docs/random/draft-missing-plugins.txt:
2654           Update: use element message instead of adding a new message
2655           type to the core; don't provide GStreamer API to initiate the
2656           plugin download, just provide API to compose the strings needed
2657           and let an external libgimmestuff handle the rest.
2658
2659 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2660
2661         * tools/gst-inspect.c: (print_element_properties_info):
2662         Print a string instead of 'unknown type' for GValueArray properties
2663
2664 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2665
2666         * docs/random/draft-missing-plugins.txt:
2667         More small fixes.
2668
2669 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2670
2671         * tests/examples/typefind/typefind.c: (type_found), (main):
2672           Make typefind element example work again (#371894); add a
2673           license header.
2674
2675 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2676
2677         * docs/random/draft-missing-plugins.txt:
2678           Commit initial draft about how to deal with missing plugins,
2679           needs work (API too).
2680
2681 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2682
2683         * docs/pwg/advanced-types.xml:
2684           documents the new caps elements (see #363118)
2685
2686 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2687
2688         * gst/gstplugin.c: (gst_plugin_load_file):
2689         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2690         (gst_file_src_map_region), (gst_file_src_start):
2691         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2692         (gst_file_index_commit):
2693           Use g_strerror() instead of strerror() - we want UTF-8.
2694
2695 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2696
2697         Patch by: Peter Kjellerstedt <pkj at axis com>
2698
2699         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2700           Another printf fix (#371493).
2701
2702 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2703
2704         * tests/check/gst/gsttag.c:
2705           relicence (okay with author=company)
2706
2707 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2708
2709         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2710         (gst_pad_push_event):
2711           Enhance debug and improve docs
2712         
2713         * gst/gsturi.c:
2714           Fix docs
2715
2716 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2717
2718         * docs/random/ensonic/distributed.txt:
2719         * docs/random/ensonic/profiling.txt:
2720           more ideas
2721
2722 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2723
2724         * docs/gst/gstreamer-sections.txt:
2725           add new API and fix the build
2726           
2727         * gst/gstbin.c: (gst_bin_recalc_state):
2728         * gst/gstelement.c: (gst_element_message_full),
2729         (gst_element_get_state_func), (gst_element_set_state_func):
2730           use new API and improve logging
2731         
2732         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2733         * gst/gstutils.h:
2734           API: add function to get StateChangereturn names to improve logs 
2735
2736 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2737
2738         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2739           I'm considering shooting the next person to put strerror stuff
2740           in the translateable part of the message.
2741
2742 2006-11-03  Wim Taymans  <wim@fluendo.com>
2743
2744         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2745         Get the type and printf conversion specifiers right.
2746
2747 2006-11-03  Wim Taymans  <wim@fluendo.com>
2748
2749         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2750
2751         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2752         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2753         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2754         Some small cleanups. Improve debugging.
2755         * gst/gstpad.h:
2756         Signal all waiting threads with a broadcast instead of just one.
2757         Fixes #369942.
2758
2759 2006-11-03  Wim Taymans  <wim@fluendo.com>
2760
2761         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2762         (gst_fd_src_create):
2763         Add some debugging. 
2764         Only update fd when it's different from the old.
2765
2766 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2767
2768         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2769           Printf fixes for PPC/OSX, take two (#369366).
2770
2771 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2772
2773         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2774
2775         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2776         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2777         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2778           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2779           don't cast to long long for portability reasons, but use
2780           GLib's types instead.
2781
2782 2006-10-30  Michael Smith  <msmith@fluendo.com>
2783
2784         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2785           Get the arguments to lseek() the right way around.
2786           Fixes 367677.
2787
2788 2006-10-30  Wim Taymans  <wim@fluendo.com>
2789
2790         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2791
2792         * gst/gstinfo.h:
2793         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2794
2795 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2796
2797         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2798
2799         * docs/design/part-MT-refcounting.txt:
2800         * docs/random/wtay/capsnego2-docs:
2801         * gst/gstclock.c:
2802         * gst/gstxml.c:
2803           Typo fixes (#366212).
2804
2805 2006-10-28  Wim Taymans  <wim@fluendo.com>
2806
2807         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2808
2809         * gst/gst.c:
2810         * win32/common/libgstbase.def:
2811         * win32/common/libgstreamer.def:
2812         * win32/vs8/libgstbase.vcproj:
2813         * win32/vs8/libgstcontroller.vcproj:
2814         Add needed entries in .def files.
2815         Use HAVE_UNISTD_H.
2816         Rearrange def files in vs8 solutions. Fixes #366286.
2817
2818 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2819
2820         * win32/common/gstconfig.h:
2821           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2822           hand-made win32 gstconfig.h. Fixes #366321.
2823
2824 2006-10-27  Wim Taymans  <wim@fluendo.com>
2825
2826         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2827         (gst_ghost_pad_new_full):
2828         Make acceptcaps return TRUE when we don't have a target, just like
2829         setcaps does.
2830
2831 2006-10-27  Wim Taymans  <wim@fluendo.com>
2832
2833         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2834         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2835
2836 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2837
2838         * gst/gststructure.c: (gst_structure_id_set_value):
2839           If someone tries to set a non-UTF8 string field on a structure,
2840           don't just print a warning, but also ignore the request and do
2841           not change/add that field to the structure.
2842
2843         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2844           Test for the above.
2845
2846 2006-10-25  David Schleef  <ds@schleef.org>
2847
2848         * gst/gstinfo.c:
2849           g_hash_table_insert() needs a cast to a non-const pointer duh.
2850
2851 2006-10-25  David Schleef  <ds@schleef.org>
2852
2853         * gst/gstinfo.c:
2854         * gst/gstinfo.h:
2855           Change name parameter of _gst_debug_register_funcptr to const
2856           to reflect the constness of its use in the function as well
2857           as to quiet a gcc warning.
2858
2859 2006-10-25  Edward Hervey  <edward@fluendo.com>
2860
2861         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2862         Don't push the buffer if it's empty.
2863         Closes #363095
2864
2865 2006-10-24  Wim Taymans  <wim@fluendo.com>
2866
2867         * gst/gstevent.h:
2868         Add small comment.
2869
2870         * libs/gst/base/gstbasetransform.c:
2871         (gst_base_transform_sink_eventfunc):
2872         Debug segment values *after* updating them as this is more
2873         interesting.
2874
2875 2006-10-23  Wim Taymans  <wim@fluendo.com>
2876
2877         * docs/design/part-events.txt:
2878         Update some docs.
2879
2880         * docs/design/part-block.txt:
2881         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2882         (gst_pad_push_event):
2883         Revert BLOCKING patch, it tries to be smart without really having a
2884         clear idea what or how. So, now we discard all FLUSHING events again on
2885         a blocking pad. Should fix gnonlin again.
2886
2887 2006-10-23  Wim Taymans  <wim@fluendo.com>
2888
2889         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2890
2891         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2892         (gst_base_src_start), (gst_base_src_activate_push):
2893         Make sure size is always initialized. Fixes #364388.
2894
2895 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2896
2897         * docs/random/ensonic/distributed.txt:
2898           add some ideas about doing distributed processing
2899
2900         * docs/random/ensonic/profiling.txt:
2901           get_rusage look promising
2902
2903 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2904
2905         * docs/manual/basics-helloworld.xml:
2906           Add a cast in example to fix compile warning
2907
2908 2006-10-18  Wim Taymans  <wim@fluendo.com>
2909
2910         * gst/gstsegment.c: (gst_segment_set_last_stop),
2911         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2912         Relax arg checking again, -1 is allowed.
2913
2914 2006-10-18  Wim Taymans  <wim@fluendo.com>
2915
2916         * gst/gstsegment.c: (gst_segment_set_last_stop),
2917         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2918         _set_last_stop() must be with a value != -1
2919         A _TYPE_SET to -1 means seek to 0.
2920         Calc last_stop correctly for negative rates.
2921         Make sure we work with positive durations when updating a segment.
2922
2923 2006-10-18  Wim Taymans  <wim@fluendo.com>
2924
2925         * docs/design/part-live-source.txt:
2926         * gst/gstclock.h:
2927         Small docs fixes.
2928
2929 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2930
2931         * gst/gstbuffer.h:
2932           Add an explicit cast to GstBuffer** to keep old code that added an
2933           explicit cast to GstMiniObject** for gst_mini_object_replace()
2934           compiling without warning.
2935
2936 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2937
2938         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2939           check for validity of dates
2940
2941 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2942
2943         * docs/gst/gstreamer-sections.txt:
2944           Forgot this one, makes gtk-doc shut up.
2945
2946 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2947
2948         Patch by: Peter Kjellerstedt <pkj at axis com>
2949
2950         * gst/gstobject.h:
2951           Don't define xmlNodePtr to gpointer if the core was built with
2952           --disable-loadsave and --disable-registry, this will break
2953           applications that want to use libxml2 but are buildling against a
2954           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2955           instead so we don't have to mess with the libxml2 namespace
2956           (#361675).
2957
2958 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2959
2960         * gst/gstbuffer.h:
2961           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2962           type-punned pointer warnings.
2963
2964 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2965
2966         * gst/gstelement.h:
2967           Add casts to the correct return type to state <=> state transition
2968           macros.
2969
2970 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2971
2972         * docs/design/part-live-source.txt:
2973           describe howto handle latency
2974         
2975         * docs/random/ensonic/profiling.txt:
2976           more ideas
2977
2978         * tools/gst-plot-timeline.py:
2979           fix log parsing for solaris, remove unused function
2980
2981 2006-10-16  Wim Taymans  <wim@fluendo.com>
2982
2983         * docs/design/part-trickmodes.txt:
2984         * gst/gstevent.c:
2985         Update some docs regarding reverse playback.
2986
2987 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2988
2989         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2990
2991         * win32/vs8/grammar.vcproj:
2992           Error out with a warning if glib-genmarshal.exe is not in path,
2993           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2994
2995 2006-10-13  Wim Taymans  <wim@fluendo.com>
2996
2997         * gst/gstsegment.c: (gst_segment_set_seek):
2998         When seeking to stop -1, set last_stop (current position) to the
2999         duration of the segment.
3000
3001 2006-10-13  Wim Taymans  <wim@fluendo.com>
3002
3003         * gst/gstelement.h:
3004         Clarify _NO_PREROLL a bit more.
3005
3006         * gst/gstevent.c:
3007         Fix docs.
3008
3009         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3010         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3011         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3012         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3013         due to wrong locking order. Fixes #361769.
3014         Remove some redundant/misplaced checks in pad_block.
3015
3016         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3017         For negative rates, count backwards from the duration.
3018
3019 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3020
3021         * gst/gsterror.c: (_gst_library_errors_init):
3022           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3023           up with something better).
3024
3025 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
3026
3027         * win32/vs6/libgstreamer.dsp:
3028         * win32/vs7/libgstreamer.vcproj:
3029         * win32/vs8/libgstreamer.vcproj:
3030           Don't reference glib-compat.c which is currently not used and not
3031           disted; add gstquark.c which was recently added. Fixes #361730.
3032
3033 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
3034
3035         * win32/common/libgstbase.def:
3036         * win32/common/libgstcontroller.def:
3037         * win32/common/libgstreamer.def:
3038           Add gst_caps_merge() and a bunch of other recently-added functions.
3039           Fixes #361732.
3040
3041 2006-10-11  Wim Taymans  <wim@fluendo.com>
3042
3043         * docs/plugins/gstreamer-plugins.args:
3044         * docs/plugins/inspect/plugin-coreelements.xml:
3045         * docs/plugins/inspect/plugin-coreindexers.xml:
3046         Update element args.
3047
3048         * gst/gstsystemclock.c:
3049         Small comment update.
3050
3051         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3052         (gst_tee_request_new_pad), (gst_tee_release_pad),
3053         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3054         (gst_tee_sink_activate_pull):
3055         * plugins/elements/gsttee.h:
3056         Some tee loving:
3057         Add default property defines.
3058         Implement release pad function.
3059         Give properties better blubs etc.
3060         Activate pads before adding them to a running tee.
3061         Do simple buffer_alloc on the first requested pad.
3062         Post error when activation fails.
3063
3064 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
3065
3066         * gst/gst.c: (ensure_current_registry_forking):
3067           Check return value of write() to make compiler happy.
3068
3069 2006-10-11  Wim Taymans  <wim@fluendo.com>
3070
3071         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3072
3073         * plugins/elements/gstqueue.c: (gst_queue_chain):
3074         Recheck queue filledness after signalling the overrun when we're about
3075         to leak downstream because we released the lock when emitting the signal
3076         and the queue could be empty again. Fixes #352345.
3077
3078 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
3079
3080         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3081           Fix refcounting here too, just like we did for _new_valist() a few
3082           days ago (#357180) (thanks to René Stadler). Also remove all those
3083           'Since: 0.9' from the gtk-doc blobs.
3084
3085         * tests/check/libs/controller.c: (controller_refcount_new_list),
3086         (gst_controller_suite):
3087           Unit test for the above.
3088
3089 2006-10-10  Wim Taymans  <wim@fluendo.com>
3090
3091         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3092
3093         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3094         (gst_pad_save_thyself):
3095         Update some docs.
3096         Write pad direction in XML output. Fixes #345496.
3097
3098 2006-10-10  Wim Taymans  <wim@fluendo.com>
3099
3100         Patch by: René Stadler <mail at renestadler dot de>
3101
3102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3103         (gst_controller_new_list), (_gst_controller_dispose),
3104         (_gst_controller_finalize), (_gst_controller_class_init):
3105         Take ref to controlled object so that it cannot disappear. 
3106         Fixes #357432.
3107
3108 2006-10-10  Wim Taymans  <wim@fluendo.com>
3109
3110         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3111         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3112         (gst_check_teardown_sink_pad):
3113         Activate/deactivate pads in setup/teardown respectively.
3114
3115 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3116
3117         Patch by: Josep Torre Valles <josep@fluendo.com>
3118
3119         * gst/Makefile.am:
3120         Cast values when making gstenumtypes.h.  This pacifies Forte
3121         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3122         in the enumeration.
3123
3124 2006-10-09  Wim Taymans  <wim@fluendo.com>
3125
3126         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3127         Rename some more @cur to @start to fix docs. 
3128
3129         * gst/gstsegment.c: (gst_segment_set_seek):
3130         Fix typo.
3131         time and start must always stay in sync as defined in design doc.
3132
3133         * gst/gsttaglist.c: (gst_tag_list_is_empty):
3134         Rename param to fix docs.
3135
3136         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3137         Check that start and time are in sync.
3138
3139         * tests/check/pipelines/parse-launch.c:
3140         (gst_parse_test_element_change_state):
3141         Activate pad before adding to the element.
3142
3143 2006-10-09  Wim Taymans  <wim@fluendo.com>
3144
3145         * docs/design/part-qos.txt:
3146         Fix typo.
3147
3148         * gst/gstevent.c:
3149         * gst/gstevent.h:
3150         Update seek event docs regarding negative rates.
3151         Rename @cur to @start. 
3152
3153         * gst/gstsegment.c: (gst_segment_set_seek):
3154         * gst/gstsegment.h:
3155         Update set_seek docs regarding negative rates.
3156         Correctly update last_stop to @stop when dealing with negative
3157         rates.
3158         Rename @cur to @start. 
3159
3160         * tests/check/gst/gstpad.c: (GST_START_TEST):
3161         Activate pads before trying to use them.
3162
3163         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3164         (gst_segment_suite):
3165         Add simple check for segments and negative rates.
3166
3167 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3168
3169         * gst/gsttaglist.c: (gst_tag_list_is_empty):
3170         * gst/gsttaglist.h:
3171         * docs/gst/gstreamer-sections.txt:
3172           API: add gst_tag_list_is_empty() (#360467).
3173
3174         * tests/check/gst/gsttag.c: (GST_START_TEST):
3175           And a test case.
3176
3177 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3178
3179         * gst/gstmessage.h:
3180         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3181         a value that doesn't fit on enumeration.
3182
3183 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3184
3185         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3186         Remove local debugging system and use Gstreamer's instead.
3187
3188 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3189
3190         Patch by: Josep Torre Valles <josep@fluendo.com>
3191
3192         * common/m4/gst-error.m4:
3193         Disable warning of statement not reached on Forte.
3194         * gst/gstmessage.h:
3195         Fix warning on Forte (value doesn't fit on enumeration).
3196         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3197         Fix warning on Forte (value doesn't fit on enumeration).
3198         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3199         DEBUG macro says it takes minimum of 2 args and so Forte
3200         complains about the use with just 1 arg.
3201         * plugins/elements/gstfdsink.c:
3202         * plugins/elements/gstfdsrc.c:
3203         * plugins/elements/gstfilesink.c:
3204         * plugins/elements/gstfilesrc.c:
3205         Use correct return type for the uri handler implementations.
3206
3207         All these fix warnings in Forte.  Fixes bug #360860.
3208
3209 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         * gst/gstelement.h:
3212           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3213           format string, so don't use G_GNUC_PRINTF for those versions.
3214
3215 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3216
3217         * gst/gsttaglist.c: (gst_is_tag_list):
3218         * gst/gsttaglist.h:
3219           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3220
3221         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3222           Small test for the above.
3223
3224 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
3225
3226         * gst/gsttaglist.h:
3227           Less tabs, more spaces.
3228
3229 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
3230
3231         * gst/gstinfo.h:
3232           Those two function declarations do actually belong there, revert
3233           commit from yesterday that turned them intro macros.
3234
3235 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3236
3237         Patch by: Josep Torre Valles <josep@fluendo.com>
3238
3239         * gst/gst.c: (gst_init_get_option_group):
3240         Fix empty declaration and type mismatch.
3241         * gst/gstbin.c: (gst_bin_change_state_func):
3242         Fix type mismatch.
3243         * gst/gstelement.c: (gst_element_continue_state),
3244         (gst_element_set_state_func), (gst_element_change_state),
3245         (gst_element_change_state_func):
3246         Fix type mismatches.
3247         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3248         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3249         Cast as appropriate.
3250         * gst/gstobject.c: (gst_class_signal_connect):
3251         Cast as appropriate.  The function pointer parameter really
3252         has the wrong type but would break API if we change it.
3253         * gst/gstquery.c:
3254         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3255         order of including string.h.
3256         * gst/gstutils.c: (gst_element_state_get_name):
3257         Remove unreachable line.
3258         * gst/gstxml.c: (gst_xml_parse_doc):
3259         Fix type mismatch.
3260         All these caught by Forte.
3261
3262 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3263
3264         Patch by: Josep Torre Valles <josep@fluendo.com>
3265
3266         * common/m4/gst-error.m4:
3267         Fixed bug #360151.
3268         We need to disable warnings on Forte for empty declarations
3269         due to gst-indent adding ;s to lines that just use macros
3270         where the macro actually doesn't need a ; at end to end
3271         statement.
3272
3273 2006-10-06  Wim Taymans  <wim@fluendo.com>
3274
3275         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3276         (gst_file_sink_close_file), (gst_file_sink_event),
3277         (gst_file_sink_render):
3278         Add some FIXME for the NEWSEGMENT handling.
3279
3280 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3281
3282         * gst/parse/grammar.y:
3283         Remove static function gst_parse_element_lock as all it does
3284         is return.  Looks like cruft from 0.8.
3285
3286 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3287
3288         Patch by: Josep Torre Valles <josep@fluendo.com>
3289
3290         * common/m4/gst-error.m4:
3291         * configure.ac:
3292         * libs/gst/net/Makefile.am:
3293         Fix a compilation issue with Forte on Solaris.  inet_aton is in
3294         libresolv.
3295
3296 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * gst/gstpad.c: (pre_activate):
3299         * gst/gstregistry.c: (gst_registry_scan_path_level):
3300         * gst/gstregistryxml.c: (load_plugin):
3301         * libs/gst/controller/gstcontroller.c:
3302         (gst_controlled_property_set_interpolation_mode):
3303         * libs/gst/dataprotocol/dataprotocol.c:
3304         (gst_dp_packet_from_event_1_0):
3305         * libs/gst/net/gstnetclientclock.c:
3306         (gst_net_client_clock_observe_times):
3307         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3308           Printf fixes.
3309
3310 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
3311
3312         * configure.ac:
3313         * docs/gst/gstreamer-sections.txt:
3314         * gst/gstconfig.h.in:
3315         * gst/gstelement.h:
3316         * gst/gstinfo.h:
3317           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3318           whether we can use G_GNUC_PRINTF in other header files and at
3319           least check the printf format/arguments of debug messages and
3320           GST_ELEMENT_ERROR messages when the printf extension is not
3321           being used.
3322           Replace more tabs with spaces in gstinfo.h and remove two spurious
3323           function declarations in GST_DISABLE_DEBUG part with macros.
3324
3325 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3326
3327         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3328           More docs for the sync-message signal (mention that it is not
3329           emitted by default); log message structures of messages posted on
3330           the bus as well.
3331
3332 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
3333
3334         * gst/gst.c: (ensure_current_registry_forking):
3335         Use a pipe pair to receive status results from the forked child, and
3336         ignore the result from waitpid. Fixes #355499
3337
3338 2006-10-02  Wim Taymans  <wim@fluendo.com>
3339
3340         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3341         (gst_ghost_pad_suite):
3342         Fix leak in check.
3343
3344 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3345
3346         * gst/gstpad.c:
3347           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3348
3349 2006-10-02  Edward Hervey  <edward@fluendo.com>
3350
3351         * docs/design/part-block.txt:
3352         Further explain the use of flushing on blocked pads.
3353         * docs/gst/gstreamer-sections.txt:
3354         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3355         (gst_pad_push_event):
3356         * gst/gstpad.h:
3357         Added new GstPadFlag : GST_PAD_BLOCKING.
3358         Adds the notion of pads really blocking, which enables to properly
3359         handle FLUSH_START/FLUSH_STOP events on blocked pads.
3360         Fixes #358999
3361         API: gst_pad_is_blocking()
3362         API: GST_PAD_IS_BLOCKING() macro
3363         API: GST_PAD_BLOCKING GstPadFlag
3364         
3365 2006-10-02  Wim Taymans  <wim@fluendo.com>
3366
3367         Patch by: mrcgran <mrc.gran at gmail dot com>
3368
3369         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3370         Filter the proxied caps against the padtemplate if we have one.
3371
3372         * gst/gstquery.c: (gst_query_new_segment):
3373         Add include for gstinfo.h so that compilation with
3374         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3375
3376 2006-10-02  Wim Taymans  <wim@fluendo.com>
3377
3378         Patch by: Alessandro Decina  <alessandro at nnva org>
3379
3380         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3381         (gst_file_sink_set_location), (gst_file_sink_open_file),
3382         (gst_file_sink_close_file), (gst_file_sink_event),
3383         (gst_file_sink_render):
3384         Set file to NULL when closing filesink so that we can set a new filename
3385         in READY. Fixes #358613.
3386
3387 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         Patch by: Alessandro Decina  <alessandro at nnva org>
3390
3391         * gst/gstevent.c: (_gst_event_copy):
3392           Fix gst_mini_object_make_writable() and gst_event_copy() for events
3393           with event structures by setting the parent refcount address of the
3394           copied structure to the address of the refcount member of the newly
3395           copied event rather than the address of the refcount member of the
3396           original event. Fixes #358737.
3397
3398         * tests/check/gst/gstevent.c: (GST_START_TEST):
3399           Unit test for the above.
3400
3401 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
3402
3403         * docs/design/Makefile.am:
3404           Dist some more files.
3405
3406 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3407
3408         * tests/check/libs/controller.c: (GST_START_TEST),
3409         (gst_controller_suite):
3410           Add test for the previous fix; add some more tests
3411           for correct refcounting behaviour; fix a few leaks
3412           in test cases; call gst_controller_init() at start
3413           of all tests.
3414
3415 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3416
3417         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3418         (gst_controller_set_from_list):
3419           Don't g_return_val_if_fail() on timed values with invalid timestamps
3420           inside a critical section without unlocking the mutex. Spotted by
3421           René Stadler. (#357617)
3422           Also, fix up refcounting properly: when returning an existing
3423           controller, we should increase the reference only once and not
3424           once per property and when trying to control a property again
3425           we should also increase the refcount.
3426
3427 2006-09-29  Wim Taymans  <wim@fluendo.com>
3428
3429         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3430         * libs/gst/net/gstnettimeprovider.c:
3431         (gst_net_time_provider_thread):
3432         Stop reading commands when EOF as well.
3433
3434         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3435         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3436         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3437         Unify description of the dump property.
3438
3439 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3440
3441         * tests/examples/manual/.cvsignore:
3442         OK, so it's actually cvsignore that needs changing. Stop laughing.
3443
3444 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3445
3446         * tests/examples/manual/Makefile.am:
3447         Gah, declare vars *before* using them
3448
3449 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3450
3451         * gst/gst.c: (init_pre), (scan_and_update_registry),
3452         (ensure_current_registry_nonforking),
3453         (ensure_current_registry_forking), (ensure_current_registry),
3454         (init_post), (gst_debug_help), (gst_deinit):
3455         * gst/gst_private.h:
3456         * gst/gstregistry.c: (gst_registry_finalize),
3457         (gst_registry_remove_features_for_plugin_unlocked),
3458         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3459         (gst_registry_scan_path),
3460         (_priv_gst_registry_remove_cache_plugins),
3461         (_priv_gst_registry_cleanup):
3462         * gst/gstregistry.h:
3463         Re-commit the registry changes, along with an extra fix:
3464           When a cached plugin is encountered at a different file path,
3465           update the stored path in the registry cache so that the parent
3466           process knows where it actually is now when it re-reads the registry
3467           cache. Fixes the thing that broke distcheck with the previous commit.
3468
3469         * tests/check/Makefile.am:
3470         Clean up files named 'core' too when running make clean.
3471
3472         * tests/examples/manual/Makefile.am:
3473         Set up a registry path for running these tests, and clean it properly
3474         for distcheck.
3475
3476 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3477
3478         * configure.ac:
3479         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3480         want gmodule-no-export-2.0.pc instead so that we don't drag in
3481         --export-dynamic on every project that links to GStreamer.
3482
3483         Also, make our export regex only match the start of symbols, rather 
3484         than any symbol that contains '_gst' somewhere.
3485
3486         * libs/gst/check/Makefile.am:
3487         The libgstcheck we build does however need export-dynamic, as it
3488         produces some symbols that don't match our _gst... style regex.
3489         Fixes: #318031
3490
3491 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3492
3493         * gst/gst.c: (init_pre), (scan_and_update_registry),
3494         (ensure_current_registry_nonforking),
3495         (ensure_current_registry_forking), (ensure_current_registry),
3496         (init_post), (gst_debug_help), (gst_deinit):
3497         * gst/gst_private.h:
3498         * gst/gstregistry.c: (gst_registry_finalize),
3499         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3500         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3501         (_gst_registry_cleanup):
3502         * gst/gstregistry.h:
3503           Revert previous change until I figure out why it breaks distcheck.
3504
3505 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3506
3507         * gst/gst.c: (init_pre), (scan_and_update_registry),
3508         (ensure_current_registry_nonforking),
3509         (ensure_current_registry_forking), (ensure_current_registry),
3510         (init_post), (gst_debug_help), (gst_deinit):
3511
3512           Make init_pre and init_post take the full complement of GOptionFunc
3513           args so they can return useful GErrors. Make the registry updating
3514           functions do so.
3515
3516           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3517           ensure that the registry we're about to write out doesn't contain
3518           stale information about old-deleted plugin files.
3519
3520           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3521           that deletion of plugin files is considered a registry change.
3522
3523         * gst/gst_private.h:
3524         * gst/gstregistry.c: (gst_registry_finalize),
3525         (gst_registry_remove_features_for_plugin_unlocked),
3526         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3527         (gst_registry_scan_path),
3528         (_priv_gst_registry_remove_cache_plugins),
3529         (_priv_gst_registry_cleanup):
3530         * gst/gstregistry.h:
3531         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3532         by adding _priv prefix, so that they won't appear in the global
3533         symbol table. They still do atm though because of #318031. Move the
3534         prototypes to gst_private.h
3535
3536         When removing a plugin, remove all features for that plugin too. 
3537         Fixes #340878.
3538
3539 2006-09-27  Wim Taymans  <wim@fluendo.com>
3540
3541         * docs/random/moving-plugins:
3542         Make it clear that the "compiled-in descriptions" really mean
3543         the element details.
3544
3545         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3546         (gst_base_sink_wait_preroll):
3547         Update docs.
3548
3549         * docs/libs/gstreamer-libs-sections.txt:
3550         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3551         (gst_base_src_get_range), (gst_base_src_activate_push):
3552         * libs/gst/base/gstbasesrc.h:
3553         Added function to block while waiting for PLAYING, this function
3554         is used by live sources that block on the clock.
3555         API: gst_base_src_wait_playing()
3556
3557 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3558
3559         Patch by: Peter Kjellerstedt <pkj at axis com>
3560
3561         * Makefile.am:
3562           gst-element-check.m4 is generated and should therefore be
3563           copied from the build dir rather than the source dir (#357593).
3564           'make distcheck' hasn't noticed this because we were disting
3565           the file as well, so stop doing that.
3566
3567 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3570           Add some tests for gst_caps_intersect().
3571
3572         * tools/gst-launch.c: (event_loop):
3573           Print all buffering percentages we get, even the 100% one.
3574
3575 2006-09-26  Wim Taymans  <wim@fluendo.com>
3576
3577         * tools/gst-inspect.c: (print_element_properties_info),
3578         (print_signal_info):
3579         Fix printing of flags to match the look of enums.
3580
3581 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3582
3583         * gst/gstelementfactory.c:
3584           Fix typo in docs blurb.
3585
3586 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3587
3588         * gst/gsturi.c: (search_by_entry):
3589           Don't assert/crash here if a uri handler doesn't return any
3590           supported protocols. The list of protocols could be generated
3591           dynamically at runtime or at plugin registration, and an error
3592           in the underlying library shouldn't be fatal (#353301).
3593
3594 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3595
3596         * gst/gstinfo.c:
3597           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3598           (spotted by Peter Kjellerstedt).
3599
3600 2006-09-23  Wim Taymans  <wim@fluendo.com>
3601
3602         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3603
3604         * libs/gst/base/gstbasesrc.c:
3605         (gst_base_src_default_check_get_range), (gst_base_src_start),
3606         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3607         (gst_base_src_change_state):
3608         Match _start/_stop calls in the activate functions. Remove redundant
3609         _stop call from the state change function. Fixes #356910.
3610         Turn failure DEBUG into ERROR. 
3611
3612 2006-09-22  Wim Taymans  <wim@fluendo.com>
3613
3614         * docs/design/part-buffering.txt:
3615         * gst/gstmessage.c: (gst_message_new_buffering),
3616         (gst_message_parse_buffering):
3617         Update docs about buffering.
3618
3619         * docs/design/part-trickmodes.txt:
3620         Fix typo.
3621
3622 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3623
3624         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3625         (gst_controller_new_list):
3626           Ref instances when returning them again (fixes #357180)
3627
3628 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3629
3630         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3631           Don't forget to release proxy lock when there's an error.
3632
3633 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3634
3635         * gst/gstcaps.h:
3636           Add extra initialisers for Caps things, to fix some plugin warnings
3637           when using -Wextra
3638
3639 2006-09-18  Wim Taymans  <wim@fluendo.com>
3640
3641         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3642           Also set template on the internal pad so that a getcaps from the 
3643           target pad returns the template caps.
3644
3645 2006-09-18  Wim Taymans  <wim@fluendo.com>
3646
3647         * gst/gstelement.c: (gst_element_post_message),
3648         (gst_element_dispose):
3649         Use _DEBUG_OBJECT some more.
3650
3651         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3652         Avoid typechecks.
3653
3654         * tools/gst-launch.c: (main):
3655         If the toplevel element is not a GstPipeline, it must be put in a
3656         pipeline so that a bus and clock is selected.
3657
3658 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3659
3660         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3661           JITTER, RATE, and LATENCY query should be handled by the
3662           default case and not by the CONVERT query code.
3663
3664 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3665
3666         * gst/gstformat.c: (gst_format_register):
3667           Fix locking order (must take lock before using n_values).
3668
3669         * gst/gstvalue.c: (gst_value_serialize_enum),
3670         (gst_value_deserialize_enum_iter_cmp),
3671         (gst_value_deserialize_enum):
3672           Fix serialisation/deserialisation of custom registered GstFormats.
3673
3674         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3675           Unit test for custom format serialisation/deserialisation.
3676
3677 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3678
3679         * docs/pwg/building-boiler.xml:
3680         * plugins/elements/gstcapsfilter.c:
3681         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3682         section.
3683
3684 2006-09-16  Edward Hervey  <edward@fluendo.com>
3685
3686         * libs/gst/base/gstbasetransform.c:
3687         (gst_base_transform_buffer_alloc):
3688         Check if requested caps are the same as the sinks caps IF
3689         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3690         is FALSE.
3691         This fixes the renegotiation issues stated in #352827.
3692
3693 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3694
3695         * configure.ac:
3696         * docs/manual/advanced-autoplugging.xml:
3697         * tests/examples/Makefile.am:
3698         * tests/examples/manual/.cvsignore:
3699         * tests/examples/manual/Makefile.am:
3700         * tests/examples/manual/extract.pl:
3701           Extract the manual examples again like we used to do.
3702           Fix one of them.
3703
3704 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3705
3706         * win32/common/config.h:
3707           update for version
3708
3709 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3710
3711         * gst/gsterror.c:
3712           Documents how to receive errors.
3713
3714 2006-09-15  Wim Taymans  <wim@fluendo.com>
3715
3716         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3717         (event_loop), (main):
3718         Added some comments here and there.
3719         Post an application message when an interrupt is caught instead of doing
3720         an uncontrolled state change.
3721         Clean up the event loop.
3722         Handle buffering messages, pause/resume the pipeline.
3723         Make shutdown because of an interrupt more reliable.
3724
3725 2006-09-15  Wim Taymans  <wim@fluendo.com>
3726
3727         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3728         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3729         (gst_base_sink_preroll_object):
3730         Make sure that our internal state is correct when we commit our state
3731         asynchronously. This solves a race where a state change to PLAYING
3732         could cause the sink to remain blocked in preroll in some situations.
3733
3734 2006-09-15  Wim Taymans  <wim@fluendo.com>
3735
3736         * tools/gst-inspect.c: (print_element_properties_info),
3737         (print_signal_info):
3738         List flags as hex so it's easier to deal with.
3739
3740 2006-09-15  Wim Taymans  <wim@fluendo.com>
3741
3742         * docs/libs/gstreamer-libs-sections.txt:
3743         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3744         (gst_base_sink_do_sync):
3745         * libs/gst/base/gstbasesink.h:
3746         Expose logic to wait for preroll so that subclasses such as audiosink
3747         can also use this method.
3748         API: gst_base_sink_wait_preroll()
3749
3750 2006-09-15  Wim Taymans  <wim@fluendo.com>
3751
3752         * gst/gstobject.c: (gst_object_set_parent):
3753         * gst/gstpipeline.c: (do_pipeline_seek):
3754         Small cleanups in docs and code.
3755
3756         * gst/gstsegment.c: (gst_segment_clip):
3757         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3758         if stop == start and start is in the segment, no clipping should be
3759         done. Also add a test for this.
3760
3761 2006-09-15  Wim Taymans  <wim@fluendo.com>
3762
3763         * docs/design/part-buffering.txt:
3764         * docs/gst/gstreamer-sections.txt:
3765         * gst/gstmessage.c: (gst_message_new_buffering),
3766         (gst_message_parse_buffering):
3767         * gst/gstmessage.h:
3768         Added methods to create and parse BUFFERING messages.
3769         Added preliminary docs about buffering.
3770         API: gst_message_new_buffering
3771         API: gst_message_parse_buffering
3772
3773 2006-09-06  Wim Taymans  <wim@fluendo.com>
3774
3775         * gst/gstbin.c:
3776         Update documentation.
3777
3778         * gst/gstelement.c: (gst_element_class_init),
3779         (gst_element_release_request_pad), (gst_element_set_clock),
3780         (gst_element_get_index), (gst_element_add_pad),
3781         (gst_element_remove_pad), (gst_element_get_random_pad),
3782         (gst_element_send_event), (gst_element_get_query_types),
3783         (gst_element_query), (gst_element_post_message),
3784         (gst_element_message_full), (gst_element_continue_state),
3785         (gst_element_lost_state), (gst_element_save_thyself),
3786         (gst_element_restore_thyself):
3787         Documentation updates.
3788         Rename last bit of the new-pad -> pad-added signal rename.
3789         Fix the case where an element query would only work if the source
3790         pad was linked.
3791         Avoid some useless type checking in message handling.
3792
3793         * gst/gstevent.c:
3794         * gst/gstevent.h:
3795         * gst/gstutils.c:
3796         Documentation updates.
3797
3798 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3799
3800         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3801           add an INFO line for when we actually update the fd
3802
3803 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3804
3805         * configure.ac:
3806           back to TRUNK
3807
3808 === release 0.10.10 ===
3809
3810 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3811
3812         * configure.ac:
3813           releasing 0.10.10, "Pais"
3814
3815 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3816
3817         * docs/manual/advanced-position.xml:
3818           Fix typo in sample code.
3819
3820 2006-09-05  Wim Taymans  <wim@fluendo.com>
3821
3822         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3823         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3824         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3825         * libs/gst/net/gstnetclientclock.h:
3826         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3827         * libs/gst/net/gstnettimepacket.h:
3828         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3829         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3830         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3831         * libs/gst/net/gstnettimeprovider.h:
3832         Make stuff compile on windows. Fixes #345295.
3833
3834 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3835
3836         * gst/gst.c: (ensure_current_registry_forking):
3837           Print better details when child was terminated by signal.
3838
3839 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3840
3841         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3842           Print a warning rather than g_assert() if a plugin feature
3843           is a URI handler but returns no protocols (#353976).
3844
3845 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3846
3847         * docs/random/moving-plugins:
3848         Fix two typos.         
3849
3850 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3851
3852         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3853           Fix locking order, handle NULL function values properly.
3854
3855         * gst/gstinfo.h:
3856           Fix docs.
3857
3858         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3859           Initialise variable before using it and fix debug statement to
3860           print the address of the function rather than the address of the
3861           variable on the stack holding the address of the function.
3862
3863 2006-09-01  Wim Taymans  <wim@fluendo.com>
3864
3865         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3866         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3867         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3868         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3869         (gst_ghost_pad_parent_unset),
3870         (gst_ghost_pad_internal_do_activate_push),
3871         (gst_ghost_pad_internal_do_activate_pull),
3872         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3873         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3874         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3875         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3876         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3877         (gst_ghost_pad_new_no_target_from_template),
3878         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3879         More cleanups.
3880         Avoid needless typechecking in macros.
3881         Since the internal pad is always present and never changes, there is
3882         no need to locking or ref when retrieving it.
3883         Improve debugging a bit.
3884         Handle link errors when setting the target. Fixes #341029.
3885
3886 2006-09-01  Wim Taymans  <wim@fluendo.com>
3887
3888         * docs/libs/gstreamer-libs-sections.txt:
3889         * docs/plugins/gstreamer-plugins-sections.txt:
3890         Fix docs some more.
3891
3892         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3893         (gst_collect_pads_event):
3894         * libs/gst/base/gstcollectpads.h:
3895         Documentation updates.
3896         Free queued buffer when removing a pad.
3897
3898 2006-08-31  Michael Smith  <msmith@fluendo.com>
3899
3900         * gst/gstutils.c: (gst_element_link_pads),
3901         (gst_element_link_pads_filtered):
3902           Ensure that we set a capsfilter to NULL if we failed to link it
3903           when doing filtered linking, to avoid criticals.
3904
3905           No need to check for unreffing srcpad, which is explicly NULLed
3906           above (a trivial code cleanup).
3907
3908 2006-08-31  Wim Taymans  <wim@fluendo.com>
3909
3910         * docs/design/part-gstghostpad.txt:
3911         Update ascii art in documentation.
3912
3913         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3914         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3915         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3916         (gst_ghost_pad_internal_do_activate_push),
3917         (gst_ghost_pad_internal_do_activate_pull),
3918         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3919         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3920         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3921         (gst_ghost_pad_set_target):
3922         Small cleanups and leak fixes.
3923         Remove some checks now that the internal pad is never NULL.
3924         Fix the case where linking pads without a target would create nasty
3925         criticals. Fixes #341029.
3926         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3927         value of _set_target().
3928
3929         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3930         (gst_ghost_pad_suite):
3931         Some more tests for creating and linking untargeted ghostpads.
3932
3933 2006-08-31  Edward Hervey  <edward@fluendo.com>
3934
3935         * docs/gst/gstreamer-sections.txt:
3936         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3937         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3938         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3939         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3940         (gst_ghost_pad_new_from_template),
3941         (gst_ghost_pad_new_no_target_from_template):
3942         * gst/gstghostpad.h:
3943         Refactored *_new() functions.
3944         Templates are now used as a g_object_new() parameter.
3945         Use template in _do_getcaps() if we don't have a target.
3946         Small documentation cleanups.
3947         Added two new constructors:
3948         gst_ghost_pad_new_from_template()
3949         gst_ghost_pad_new_no_target_from_template()
3950         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3951         (gst_ghost_pad_suite):
3952         Added tests for new ghostpad instanciation functions.
3953
3954         API additions: gst_ghost_pad_new_from_template,
3955         gst_ghost_pad_new_no_target_from_template
3956
3957 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3958
3959         * docs/random/ensonic/profiling.txt:
3960           Ideas about qos profiling.
3961
3962 2006-08-29  Wim Taymans  <wim@fluendo.com>
3963
3964         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3965         Code cleanups.
3966         Fix memleak.
3967
3968 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * gst/gstxml.c:
3971           Improve and detypofy docs.
3972
3973         * tests/check/Makefile.am:
3974         * tests/check/gst/.cvsignore:
3975         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3976           Add a basic test suite for GstXML.
3977
3978 2006-08-29  Wim Taymans  <wim@fluendo.com>
3979
3980         * gst/gstelement.c: (activate_pads), (clear_caps),
3981         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3982         Clear the pad caps when the element shut down all of the pads and
3983         is not streaming data that could modify the caps. 
3984         Fixes #352958.
3985
3986 2006-08-28  Michael Smith  <msmith@fluendo.com>
3987
3988         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3989           Revert previous change; I misunderstood single-segment mode.
3990
3991 2006-08-28  Michael Smith  <msmith@fluendo.com>
3992
3993         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3994           Unset DISCONT on buffers when using single-segment mode.
3995
3996 2006-08-28  Wim Taymans  <wim@fluendo.com>
3997
3998         * gst/gstcaps.c: (gst_caps_merge_structure):
3999         * gst/gstcaps.h:
4000         Fix docs and indentation again.
4001
4002         * tests/check/gst/gstquery.c: (GST_START_TEST):
4003         Fix leak in tests and add some more tests.
4004
4005 2006-08-28  Edward Hervey  <edward@fluendo.com>
4006
4007         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4008         Inform GstSegment of the last stop position in order for the current
4009         segment to have a proper duration if it doesn't have a specific stop
4010         position from which a duration could be calculated.
4011         This bug was noticeable when a non-flushing, non-update new segment was
4012         followed by another segment (all buffers from the new segment were being
4013         dropped).
4014
4015 2006-08-28  Wim Taymans  <wim@fluendo.com>
4016
4017         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4018         Small comment update.
4019
4020         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4021         (gst_identity_transform_ip):
4022         Drop-probability is broken, mention this in the code with a 
4023         FIXME and also in the property description.
4024         Make silent also be silent about the drop messages.
4025
4026 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
4027
4028         * docs/manual/appendix-win32.xml:
4029           Remove mention of popt, we don't depend on that any
4030           longer (#353136). Add some comments pointing out that
4031           this section is slightly outdated.
4032
4033 2006-08-28  Wim Taymans  <wim@fluendo.com>
4034
4035         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4036
4037         * gst/gstquery.c: (gst_query_new_segment):
4038         * tests/check/gst/gstquery.c: (GST_START_TEST):
4039         Initialize variables when creating a new segment query.
4040         Fixes #353121.
4041
4042 2006-08-28  Wim Taymans  <wim@fluendo.com>
4043
4044         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4045
4046         * gst/gstelement.c: (gst_element_get_bus):
4047         * tests/check/gst/gstelement.c: (GST_START_TEST):
4048         Check for NULL before _reffing the bus. Fixes #353122.
4049
4050 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
4051
4052         * docs/manual/basics-bus.xml:
4053           Docs update: fix wrong callback return value explanation; add
4054           some lines about the implicit relationship between main loop
4055           and main context; remove duplicate main loop variable declaration.
4056
4057 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
4058
4059         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4060           Don't leak caps in unit test; add a few more simple
4061           checks. 
4062
4063 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
4064
4065         * docs/gst/gstreamer-sections.txt:
4066         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4067         (gst_caps_structure_is_subset), (gst_caps_merge),
4068         (gst_caps_merge_structure):
4069         * gst/gstcaps.h:
4070         * libs/gst/base/gstbasetransform.c:
4071         (gst_base_transform_transform_caps):
4072         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4073           implement caps merging (fixes #352580)
4074
4075 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
4076
4077         * tools/Makefile.am:
4078         * tools/gst-plot-timeline.py:
4079           add debug-log plotting developer tool (#340674)
4080
4081 2006-08-23  Wim Taymans  <wim@fluendo.com>
4082
4083         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4084         (gst_pad_stop_task):
4085         Improve debugging for task functions.
4086
4087         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4088         (gst_task_start), (gst_task_pause), (gst_task_join):
4089         Make sure that the task function started and finished after a 
4090         join(). 
4091         Don't try to push the task function on the threadpool multiple
4092         times.
4093         Improve the g_warning message with some useful suggestions
4094         about how to fix the problem. 
4095
4096 2006-08-23  Wim Taymans  <wim@fluendo.com>
4097
4098         * gst/gstutils.c: (gst_pad_proxy_getcaps):
4099         Handle RESYNC correctly in _proxy_getcaps.
4100
4101 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
4102
4103         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4104         (gst_xml_parse_memory), (gst_xml_get_element):
4105           Chain up to parent class in dispose function and also
4106           unref the elements in the toplevel_elements GList.
4107           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4108           Always return a reference in gst_xml_get_element() rather
4109           than only sometimes.
4110
4111         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4112           Don't leak GstXml object.
4113
4114 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
4115
4116         * docs/gst/gstreamer-sections.txt:
4117         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4118         (gst_caps_merge):
4119         * gst/gstcaps.h:
4120         * libs/gst/base/gstbasetransform.c:
4121         (gst_base_transform_transform_caps):
4122           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4123           in a better way
4124
4125 2006-08-21  Edward Hervey  <edward@fluendo.com>
4126
4127         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4128         Implement GObject::dispose virtual method in GstXML so we can free the
4129         top_elements GList.
4130
4131 2006-08-21  Wim Taymans  <wim@fluendo.com>
4132
4133         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4134         (gst_buffer_create_sub):
4135         Copy duration/offset_end/caps when creating a subbuffer of the
4136         complete parent.
4137         Make the subbuffer read-only when we make the metadata writable for
4138         now. Fixes #351768.
4139
4140         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4141         Added check for metadata copy when creating subbuffers.
4142
4143 2006-08-21  Edward Hervey  <edward@fluendo.com>
4144
4145         * libs/gst/base/gstbasetransform.c:
4146         (gst_base_transform_buffer_alloc):
4147         Only call downstream buffer_alloc if transform element is passthrough
4148         or always_in_place. Closes #350449.
4149
4150 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4151
4152         * ChangeLog:
4153           ChangeLog surgery to add comments to previous changes
4154
4155 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4156
4157         * gst/gst.c:
4158           Add comments
4159
4160         * gst/gstpad.c: (gst_pad_set_active):
4161           Be more verbose in the log
4162
4163         * libs/gst/base/gstbasetransform.c:
4164         (gst_base_transform_transform_caps):
4165           Simplify caps to get rid of duplicates, fixes #345444
4166
4167 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4168
4169         * gst/gstvalue.c:
4170         * gst/gstvalue.h:
4171           Use these optimizations only internally.
4172
4173 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
4174
4175         * gst/gstvalue.c: (gst_value_compare_list),
4176         (gst_value_compare_fraction_range),
4177         (gst_value_intersect_fraction_fraction_range),
4178         (gst_value_intersect_fraction_range_fraction_range),
4179         (gst_value_subtract_fraction_fraction_range),
4180         (gst_value_subtract_fraction_range_fraction_range),
4181         (gst_value_get_compare_func), (gst_value_compare),
4182         (gst_value_compare_with_func):
4183         * gst/gstvalue.h:
4184           Saves the expensive lookup of the compare function in many cases
4185          (#345444)
4186
4187 2006-08-18  Edward Hervey  <edward@fluendo.com>
4188
4189         * tests/check/gst/gstinfo.c: (gst_info_suite):
4190         Disable test that require gstdebug if it wasn't built in core.
4191
4192 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
4193
4194         * docs/random/ensonic/logging.txt:
4195           update ideas
4196           
4197         * gst/gstinfo.c: (gst_debug_log_default):
4198           reorder fields, save some columns, add optional color codes for log
4199           levels
4200
4201 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
4202
4203         * docs/random/ensonic/logging.txt:
4204           add ideas about making the logs a bit more useful
4205
4206 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4207
4208         * docs/pwg/advanced-events.xml:
4209         * docs/pwg/titlepage.xml:
4210           Update for 0.10 API (#340627). Add myself
4211           to authors list.
4212
4213 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
4214
4215         * docs/libs/gstreamer-libs-docs.sgml:
4216         * docs/libs/gstreamer-libs-sections.txt:
4217         * libs/gst/check/gstbufferstraw.c:
4218           Make gstcheck stuff show up in docs (still needs to
4219           be documented properly though).
4220
4221 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
4222
4223         * docs/gst/gstreamer-sections.txt:
4224         * gst/Makefile.am:
4225         * gst/gst.c: (init_post):
4226         * gst/gst_private.h:
4227         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4228         * gst/gstquark.h:
4229         * gst/gstquery.c: (gst_query_new_position),
4230         (gst_query_set_position), (gst_query_parse_position),
4231         (gst_query_new_duration), (gst_query_set_duration),
4232         (gst_query_parse_duration), (gst_query_new_convert),
4233         (gst_query_set_convert), (gst_query_parse_convert),
4234         (gst_query_new_segment), (gst_query_set_segment),
4235         (gst_query_parse_segment), (gst_query_new_seeking),
4236         (gst_query_set_seeking), (gst_query_parse_seeking):
4237         Add internal helpers for pre-registering quarks from static strings
4238         and using the quark values directly instead of looking them up when
4239         creating and parsing queries. Can be used for event construction too.
4240         Closes #350432.
4241
4242 2006-08-16  Wim Taymans  <wim@fluendo.com>
4243
4244         * gst/gstbin.c:
4245         Fix bogus docs.
4246
4247 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4248
4249         * gst/gstutils.c: (gst_util_set_value_from_string):
4250           Fix memleak (#351502).
4251
4252         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4253           Add unit test for most of gst_util_set_value_from_string()
4254           (not that one would want to encourage use of this function).
4255
4256 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4257
4258         * libs/gst/check/gstcheck.h:
4259           Use const gchar * variables in fail_unless_equals_string
4260           macro to avoid compiler warnings (and don't use tabs for
4261           indenting).
4262
4263 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4264
4265         * tools/gst-launch.c: (print_tag):
4266           More space on the left for the tag names, to cater
4267           for the 'extended comment' tag (not touching the
4268           string for the first line since it's translated).
4269
4270 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
4271
4272         * libs/gst/check/gstcheck.h:
4273           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4274           print something when they fail.
4275
4276 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4277
4278         * docs/gst/gstreamer-sections.txt:
4279         * gst/gsttaglist.c: (_gst_tag_initialize):
4280         * gst/gsttaglist.h:
4281           API: add GST_TAG_EXTENDED_COMMENT (#350935).
4282           Also change merge function for GST_TAG_COMMENT to
4283           use_first.
4284
4285 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4286
4287         * gst/gstinfo.c: (gst_debug_print_object):
4288           Make GST_PTR_FORMAT print messages as well.
4289
4290         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4291         (GST_START_TEST), (gst_info_suite):
4292           More tests.
4293
4294 2006-08-14  Edward Hervey  <edward@fluendo.com>
4295
4296         * gst/gstelementfactory.c: (gst_element_register):
4297         If the GstElementClass doesn't have a GstElementDetails with all fields
4298         filled up correctly (longname, description AND author), then error out
4299         nicely instead of crashing.
4300
4301 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
4302
4303         * gst/gststructure.c:
4304           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4305
4306         * gst/gstvalue.h:
4307           Expand on the difference between arrays and lists as we use them.
4308           
4309 2006-08-14  Wim Taymans  <wim@fluendo.com>
4310
4311         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4312         If the parent state change function failed, don't assume we can safely
4313         stop the source, this will be done when the pads are deactivated.
4314
4315 2006-08-14  Wim Taymans  <wim@fluendo.com>
4316
4317         * gst/gstbuffer.c:
4318         * gst/gsttask.c: (gst_task_join):
4319         Small doc updates.
4320
4321         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4322         (gst_pad_stop_task):
4323         When pad (de)activation failed for some reason, restore the old
4324         activation mode and set the pad to flushing instead of assuming the
4325         pad is deactivated.
4326         If the _task_join() failed, reinstall the task on the pad so that it can
4327         be stopped later and return an error.
4328
4329 2006-08-11  Andy Wingo  <wingo@pobox.com>
4330
4331         * configure.ac:
4332         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4333         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4334         is only for users of API that don't want to see deprecated
4335         functions in the headers; people that want to compile out
4336         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4337         CFLAGS. Fixes the build of multifdsink, or will soon..
4338
4339 2006-08-11  Wim Taymans  <wim@fluendo.com>
4340
4341         * docs/gst/gstreamer-sections.txt:
4342         Add GstClockClass vmethod docs.
4343
4344         * gst/gstcaps.h:
4345         Mark #endif with comment for associated #if
4346
4347         * gst/gstclock.c: (gst_clock_id_wait):
4348         * gst/gstclock.h:
4349         Add vmethod wait_jitter to avoid an unneeded _get_time() for
4350         most clock implementations.
4351         Document vmethods.
4352         Flesh out docs about resolution methods.
4353         API: GstClockClass::wait_jitter
4354
4355         * gst/gstsystemclock.c: (gst_system_clock_class_init),
4356         (gst_system_clock_async_thread),
4357         (gst_system_clock_id_wait_jitter_unlocked),
4358         (gst_system_clock_id_wait_jitter):
4359         Use base class wait_jitter variant for improved performance
4360         due to less clock polling.
4361
4362 2006-08-11  Edward Hervey  <edward@fluendo.com>
4363
4364         * gst/gst.c: (gst_init_check), (init_post):
4365         Set gst as being initialized before scanning/updating the registry,
4366         since there might be my python plugin loader that calls gst_init() and
4367         we don't want to loop back in.
4368         Closes #350879
4369
4370 2006-08-11  Wim Taymans  <wim@fluendo.com>
4371
4372         * docs/design/part-qos.txt:
4373         Bring docs in line with the code. Mostly the sign of the jitter was
4374         wrong in the docs. Fixes #349943.
4375
4376         * gst/gstclock.c:
4377         Fix the docs for the jitter.
4378
4379         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4380         (gst_event_parse_tag), (gst_event_new_buffer_size),
4381         (gst_event_parse_buffer_size), (gst_event_parse_qos),
4382         (gst_event_new_seek), (gst_event_parse_seek),
4383         (gst_event_new_navigation):
4384         Make sure the GstStructure has no parent when creating custom
4385         events.
4386         Add some more argument checking so that we avoid 0.0 rates.
4387         Flesh out the docs for the QoS event some more.
4388
4389 2006-08-11  Wim Taymans  <wim@fluendo.com>
4390
4391         * docs/gst/gstreamer-sections.txt:
4392         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4393         (ensure_current_registry_forking), (ensure_current_registry),
4394         (parse_one_option), (parse_goption_arg), (gst_deinit),
4395         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4396         * gst/gst.h:
4397         Doc updates.
4398         Added API and command line option to disable registry forking in
4399         addition to the environment variable.
4400         Constify some static arrays.
4401         Added some more debug.
4402         Don't deinit twice.
4403         API: gst_registry_fork_is_enabled()
4404         API: gst_registry_fork_set_enabled()
4405         API: --gst-disable-registry-fork command line option
4406         Fixes #348918.
4407
4408 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
4409
4410         * gst/gst.c: (gst_init):
4411           Fix typo in error message.
4412
4413 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4414
4415         * libs/gst/controller/gstcontroller.h:
4416           fix ABI size-correction
4417
4418         * tests/check/libs/gdp.c: (gst_dp_suite):
4419           make tests that use deprecated API conditional
4420
4421 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
4422
4423         * docs/libs/gstreamer-libs-sections.txt:
4424         * libs/gst/controller/gstcontroller.c:
4425         (_gst_controller_get_property), (_gst_controller_set_property),
4426         (_gst_controller_init), (_gst_controller_class_init):
4427         * libs/gst/controller/gstcontroller.h:
4428         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4429         (gst_object_set_control_rate):
4430           API: add gst_object_{s,g}et_control_rate(), add private data section,
4431           fix docs
4432
4433         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4434         * libs/gst/dataprotocol/dataprotocol.h:
4435           add deprecation guards to make gtk-doc happy and allow disabling cruft
4436
4437 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4438
4439         * tests/check/Makefile.am:
4440         * tests/check/gst/.cvsignore:
4441           Let's enable the new unit test as well.
4442
4443 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4444
4445         * configure.ac:
4446         * docs/gst/gstreamer-sections.txt:
4447         * gst/gstconfig.h.in:
4448         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4449         (_gst_info_printf_extension_ptr),
4450         (_gst_info_printf_extension_segment):
4451           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4452           register that lets us easily dump GstSegments into debug
4453           logs (#350419).
4454
4455         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4456         (info_segment_format_printf_extension), (gst_info_suite):
4457           Add simple unit test that logs a bunch of different segments (not
4458           valgrinded at the moment because of leaks in
4459           gst_debug_add_log_function).
4460
4461 2006-08-09  Edward Hervey  <edward@fluendo.com>
4462
4463         * libs/gst/base/gstbasetransform.c:
4464         (gst_base_transform_buffer_alloc):
4465         Even if we can't figure out the proper format to request downstream,
4466         call buffer_alloc() downstream with the input parameters without setting
4467         the caps on the srcpad. This will force negotiation in the chain
4468         function.
4469         Closes #350449
4470
4471 2006-08-08  Edward Hervey  <edward@fluendo.com>
4472
4473         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4474         Unlinking from a pad without a target is now a perfectly valid case
4475         which should NOT raise an assertion.
4476         This case would happen if a linked ghostpad its target set to NULL after
4477         it was previously linked.
4478
4479 2006-08-08  Edward Hervey  <edward@fluendo.com>
4480
4481         * tests/check/libs/gdp.c:
4482         Also comment out the test (see below).
4483
4484 2006-08-08  Edward Hervey  <edward@fluendo.com>
4485
4486         * tests/check/libs/gdp.c: (gst_dp_suite):
4487         Use the architecture information from config.h and not gcc macros
4488         in order to properly disable a test that fails on PPC64.
4489
4490 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4491
4492         * gst/gstelement.c: (gst_element_remove_pad):
4493           Don't crash printing the warning if the pad has no parent.
4494
4495 2006-08-02  Wim Taymans  <wim@fluendo.com>
4496
4497         * libs/gst/dataprotocol/dataprotocol.c:
4498         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4499         (gst_dp_crc), (gst_dp_header_payload_length),
4500         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4501         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4502         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4503         (gst_dp_event_from_packet), (gst_dp_validate_header),
4504         (gst_dp_validate_payload):
4505         Make debug category static
4506         Constify the crc table.
4507         Do some more arg checking in public functions.
4508         Fix some docs and do some small cleanups.
4509
4510         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4511         Add some more checks to see if GDP deals with bogus input.
4512
4513 2006-07-31  Wim Taymans  <wim@fluendo.com>
4514
4515         * gst/gstvalue.c: (gst_value_compare_list):
4516         Fix GstValueList comparison code. Fixes #347293.
4517
4518         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4519         Check to test GstValueList comparison.
4520
4521 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4522
4523         * gst/gstelementfactory.c: (gst_element_factory_create):
4524         Remove unnecessary ref/unref pair
4525
4526         * gst/parse/grammar.y:
4527         Make sure to free the parse buffer on all code paths.
4528         Move a g_free up to the error handler where it's easier to see.
4529
4530         * tests/check/gst/gstevent.c: (test_event):
4531         Extending timeout for downstream travelling events to 10 seconds to
4532         hopefully avoid intermittent failure on the buildbots.
4533
4534         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4535         Don't manually set the state of the src element - it will happen as a
4536         natural consequence of the pipeline changing state, and that way it
4537         will do it in the right order too.
4538
4539 2006-07-31  Wim Taymans  <wim@fluendo.com>
4540
4541         * libs/gst/base/gstbasetransform.c:
4542         (gst_base_transform_buffer_alloc):
4543         Use OBJECT_LOCK and refcounting to get the pad caps in the
4544         buffer_alloc function because the caps could change while we are
4545         busy with them. Fixes #349105
4546
4547 2006-07-31  Wim Taymans  <wim@fluendo.com>
4548
4549         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4550         Protect _PAD_CAPS with OBJECT_LOCK.
4551
4552 2006-07-31  Wim Taymans  <wim@fluendo.com>
4553
4554         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4555         (gst_pad_get_property), (gst_pad_activate_pull),
4556         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4557         (gst_pad_set_activate_function),
4558         (gst_pad_set_activatepull_function),
4559         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4560         (gst_pad_set_getrange_function),
4561         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4562         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4563         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4564         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4565         (gst_pad_set_acceptcaps_function),
4566         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4567         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4568         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4569         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4570         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4571         (gst_pad_configure_sink), (gst_pad_configure_src),
4572         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4573         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4574         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4575         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4576         (gst_pad_send_event):
4577         Use _DEBUG_OBJECT when it makes sense.
4578         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4579         Small cleanups and code reflows.
4580         Avoid caps refcounting in _accept_caps.
4581         Refactor alloc_buffer so that the code performed on the peer is in a
4582         separate function. Also if the pad does not implement a buffer alloc
4583         function, we should still check if the pad is flushing before falling
4584         back to the default allocator.
4585
4586 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4587
4588         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4589         Make all uses of identity and fakesink have silent=true to avoid
4590         serialising every passing data structure, which is breaking tests
4591         on FC4 for some unknown reason.
4592
4593 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4594
4595         * gst/parse/Makefile.am:
4596         * gst/parse/grammar.y:
4597         * gst/parse/parse.l:
4598           Reverted previous patch as it required to bump the flex dependency to
4599           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4600
4601 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4602
4603         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4604
4605         * gst/parse/Makefile.am:
4606         * gst/parse/grammar.y:
4607         * gst/parse/parse.l:
4608           push & pop the state of the lexer for reentrant use case
4609           Fixes #349180
4610
4611 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4612
4613         * libs/gst/base/gstbasesrc.h:
4614           Note in the docs that the ::newsegment vfunc is not actually used by
4615           GstBaseSrc.
4616
4617 2006-07-28  Wim Taymans  <wim@fluendo.com>
4618
4619         * libs/gst/base/gstcollectpads.c:
4620         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4621         (gst_collect_pads_clear), (gst_collect_pads_flush),
4622         (gst_collect_pads_event), (gst_collect_pads_chain):
4623         When flushing a pad, also clear the queued buffer so that we don't
4624         accidentally use it when we shouldn't.
4625         Fix leaks by inreffing incomming buffer.
4626         Flush out queued buffers in case of errors.
4627         Fixes #347452.
4628
4629 2006-07-28  Wim Taymans  <wim@fluendo.com>
4630
4631         * docs/random/phonon-gst:
4632         Random notes about a Phonon backend.
4633
4634 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4635
4636         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4637         Extra debug output
4638         * tests/check/libs/gdp.c: (gst_dp_suite):
4639         Take a whack at fixing the ppc compile using a different define to
4640         disable the broken test.
4641
4642         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4643         Remove excess g_print()
4644
4645 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4646
4647         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4648         Oops, meant to uncomment this line too to dampen the noise a bit.
4649
4650 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4651
4652         * gst/parse/grammar.y:
4653         * gst/parse/parse.l:
4654         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4655         (GST_START_TEST), (parse_suite):
4656         Fix some of the leaks exposed by extending the parse-launch testsuite,
4657         and move the 3 I can't figure out into a separate test that won't run
4658         the pipelines unless the appropriate line is uncommented.
4659
4660 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4661
4662         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4663           Requesting 0 bytes before the end of the file should result in
4664           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4665           unit test.
4666
4667 2006-07-27  Wim Taymans  <wim@fluendo.com>
4668
4669         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4670         Fix useless assert, a uint is always positive.
4671
4672         * gst/gststructure.c: (gst_structure_nth_field_name),
4673         (gst_structure_foreach), (gst_structure_map_in_place):
4674         Check input arguments for public functions to avoid obvious crashes.
4675
4676         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4677         * plugins/elements/gstfakesink.h:
4678         Do less useless typechecking.
4679
4680 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4681
4682         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4683           Do not use mmap() by default since there are a number of error
4684           conditions that we would like to handle in a non-fatal way that
4685           will result in a SIGBUS if we use mmap(). Examples: external
4686           devices (USB harddrive, portable music player) being unplugged
4687           while in use; file on mounted CD/DVD that can't be read because
4688           the medium is partly damaged. Fixes #348455 and #348475.
4689
4690 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4691
4692         * gst/gstquery.h:
4693         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4694         rates are a gdouble
4695
4696 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4697
4698         * gst/gstregistry.c:
4699           Move big documentation comment into class section header, so that it
4700           appears in the API docs.
4701
4702 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4703
4704         * docs/gst/gstreamer-sections.txt:
4705         Oops. Commit the docs additions too for new API.
4706         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4707
4708 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4709
4710         * gst/gststructure.c: (gst_structure_id_set),
4711         (gst_structure_id_set_valist):
4712         * gst/gststructure.h:
4713         Add API for setting values into structures without performing
4714         a quark lookup, if the appropriate quark is already known.
4715
4716         API: gst_structure_id_set
4717         API: gst_structure_id_set_valist
4718
4719         * gst/parse/grammar.y:
4720         * gst/parse/parse.l:
4721         Remove some dead code shown by the coverage information.
4722         Don't throw a critical g_warning when encountering a syntax error,
4723         just warn and let the normal error path handle it.
4724
4725         * plugins/elements/gstelements.c:
4726         Bump the rank of filesink up to PRIMARY so that it is preferred over
4727         gnomevfssink for file:// sink uri's
4728
4729         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4730         (GST_START_TEST), (run_delayed_test),
4731         (gst_parse_test_element_base_init),
4732         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4733         (gst_parse_test_element_change_state),
4734         (gst_register_parse_element), (parse_suite):
4735         Beef up the tests for parse syntax to check that more error cases
4736         fail as they are supposed to. Increases the test coverage a bit.
4737
4738 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4739
4740         * docs/manual/basics-elements.xml:
4741           Fix gst_element_link() example.
4742
4743         * gst/gstutils.c:
4744           Mention in API docs that one should usually gst_bin_add()
4745           elements to a bin or pipeline before doing the linking.
4746           
4747 2006-07-26  Wim Taymans  <wim@fluendo.com>
4748
4749         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4750         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4751         Avoid function call for known types by keeping the buffer and
4752         subbuffer GType global.
4753
4754         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4755         Random silly optimisations in read() path.
4756
4757 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4758
4759         * tools/gst-launch.c: (main):
4760           If the top-level of the parse is a normal bin, it doesn't do the
4761           right logic to run as a top-level element, so place it inside a
4762           pipeline.
4763
4764 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4765
4766         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4767           Remove superfluous g_object_notify() calls, GObject does
4768           that for us automatically.
4769
4770 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4771
4772         * gst/gstinfo.h:
4773           on Win32, use dllspec to export the debug category symbols
4774
4775 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4776
4777         * gst/gsttaglist.c: (_gst_tag_initialize):
4778           Allow more than one GST_TAG_IMAGE per taglist.
4779
4780 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4781
4782         * gst/gstminiobject.c:
4783           update docs
4784         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4785         (gst_fd_src_create):
4786           log recurring events at LOG level
4787           add more debug for when the fd gets set
4788
4789 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * gst/gstparse.c: (gst_parse_launch):
4792           Also remove reentrance checks if flex is MT safe (#348179)
4793          Fix my empty ChangeLog entry below
4794
4795 2006-07-21  Andy Wingo  <wingo@pobox.com>
4796
4797         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4798
4799         * libs/gst/check/Makefile.am
4800         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4801         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4802         * libs/gst/check/gstbufferstraw.h:
4803         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4804         functions, thus proving I am still a GStreamer haxor. OK I wrote
4805         them a long time ago, but anyways.
4806
4807 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4808
4809         * configure.ac:
4810         * gst/gstparse.c: (gst_parse_launch):
4811           Check for flex version and omit mutex if we have a MT save flex
4812           (fixes #348179)
4813
4814 2006-07-21  Wim Taymans  <wim@fluendo.com>
4815
4816         * gst/gstparse.c: (gst_parse_launch):
4817         Protect recursive calls to _parse with a recursive mutex
4818         and busy flag.
4819
4820 2006-07-21  Wim Taymans  <wim@fluendo.com>
4821
4822         * tests/check/gst/gstpad.c: (GST_START_TEST):
4823         Fix leak in test.
4824
4825 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4826
4827         * gst/gstparse.c: (gst_parse_launch):
4828           Do not hang on recursive usage of gst_parse_launch()
4829
4830 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4831
4832         * gst/gsttaglist.c:
4833           Add some more docs, comments and FIXME 0.11s here and there
4834           and also fix some typos.
4835
4836 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * gst/gstsegment.h:
4839           Convert tabs to spaces for better readability. 
4840
4841 2006-07-20  Edward Hervey  <edward@fluendo.com>
4842
4843         * tests/check/libs/gdp.c: (gst_dp_suite):
4844         the test_buffer test fails at line 140 on ppc64 at the following
4845         check:
4846         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4847                 GST_BUFFER_FLAG_IN_CAPS),
4848                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4849         See bug #348114 for more details.
4850
4851 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4852
4853         * docs/pwg/advanced-scheduling.xml:
4854         * gst/gstpad.c:
4855           Fix typos (#348000).
4856
4857 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4858
4859         * docs/pwg/intro-basics.xml:
4860           Fix wrong links (#347927).
4861
4862 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4863
4864         * gst/gstregistry.h:
4865         * gst/gstregistryxml.c: (load_feature),
4866         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4867         * win32/common/config.h:
4868           make --disable-index work (#342564)
4869
4870 2006-07-18  Wim Taymans  <wim@fluendo.com>
4871
4872         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4873
4874         * gst/Makefile.am:
4875         * gst/gsttrace.h:
4876         The attached patch adds two missing defines to gsttrace.h when tracing
4877         is disabled.  It also corrects one existing define.
4878         Fixes #347756.
4879
4880 2006-07-17  Wim Taymans  <wim@fluendo.com>
4881
4882         * docs/gst/gstreamer-sections.txt:
4883         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4884         * gst/gst.h:
4885         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4886         Add two functions to check and change the SIGSEGV behaviour
4887         when loading plugins.
4888         Don't mess with the SIGSEGV handler when we were told not to.
4889         Fixes #347794.
4890         API: gst_segtrap_is_enabled
4891         API: gst_segtrap_set_enabled
4892
4893 2006-07-14  Wim Taymans  <wim@fluendo.com>
4894
4895         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4896         * tests/check/elements/filesrc.c: (GST_START_TEST):
4897         Revert fix for regression in #347408 after release.
4898
4899 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4900
4901         Patch by: Antoine Tremblay <hexa00 at gmail com>
4902
4903         * gst/gstutils.c: (gst_element_unlink):
4904           Free iterator when done (#347311).
4905
4906         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4907           And add a test case for this.
4908
4909 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4910
4911         * configure.ac:
4912         Bump nano back to CVS
4913
4914 === release 0.10.9 ===
4915
4916 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4917
4918         * configure.ac:
4919           releasing 0.10.9, "On the road again"
4920
4921 2006-07-13  Wim Taymans  <wim@fluendo.com>
4922
4923         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4924         * tests/check/elements/filesrc.c: (GST_START_TEST):
4925         Revert pull-0 fix for release. Disable check. Fixes #347408.
4926
4927 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4928
4929         * libs/gst/dataprotocol/dataprotocol.c:
4930         (gst_dp_event_from_packet_1_0):
4931           Fixes #347337: failure to deserialize event packets with
4932           empty payload (only event type)
4933
4934 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4935
4936         * gst/Makefile.am:
4937           do not install a .c file in the header directory
4938
4939 2006-07-13  Edward Hervey  <edward@fluendo.com>
4940
4941         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4942         GhostPad no longer implicitely use the padtemplates of the targets.
4943         Fixes #347384
4944
4945 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4946
4947         * gst/gstvalue.c: (gst_value_compare_list),
4948         (gst_value_compare_array), (_gst_value_initialize):
4949         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4950         Make GstValueArray comparison be order dependent as designed.
4951         Add checks for value lists and value array comparisons.
4952         Fixes #347221
4953
4954 2006-07-11  Edward Hervey  <edward@fluendo.com>
4955
4956         * gst/gstbin.c: (activate_pads),
4957         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4958         (gst_bin_change_state_func):
4959         (de)activate src pads before calling state_change on the childs.
4960         This is to avoid the case where a src ghostpad is blocked (holding the
4961         stream lock), which would block the deactivation of the ghostpad's
4962         target pad.
4963         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4964         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4965         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4966         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4967         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4968         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4969         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4970         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4971         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4972         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4973         (gst_ghost_pad_class_init),
4974         (gst_ghost_pad_internal_do_activate_push),
4975         (gst_ghost_pad_internal_do_activate_pull),
4976         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4977         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4978         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4979         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4980         GhostPads now create their internal GstProxyPad at creation (and not
4981         when they're linked, as it was being done previously).
4982         The internal and target pads are linked straight away.
4983         The data will also travel through the other pad in order to make
4984         pad blocking and probes non-hackish (the probe/block now really happens
4985         on the GhostPad and not on the target).
4986         * gst/gstpad.c: (gst_pad_set_blocked_async),
4987         (gst_pad_link_prepare), (gst_pad_push_event):
4988         Remove previous ghostpad cruft.
4989         * gst/gstutils.c: (gst_pad_add_data_probe),
4990         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4991         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4992         (gst_pad_remove_buffer_probe):
4993         Remove previous ghost pad cruft.
4994         Added more detailed debug statements.
4995         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4996         Fix the testsuite for refcounting changes.
4997         The comments about who has references were correct, but the refcount
4998         being checked wasn't the same (!?!).
4999
5000         Fixes #341029
5001
5002 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
5003
5004         * docs/gst/gstreamer-sections.txt:
5005         * gst/gstconfig.h.in:
5006         More docs for configuration options, add docs to gtk-doc.
5007
5008 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
5009
5010         * gst/Makefile.am:
5011         * gst/gstconfig.h.in:
5012         * win32/common/config.h:
5013         Fix build when disabling tracing (fixes #344016). Also start to document
5014         the defines that disable the sub-systems.
5015
5016 2006-07-10  Edward Hervey  <edward@fluendo.com>
5017
5018         * gst/gst.c: (ensure_current_registry_forking):
5019         let's make valgrind happy...
5020
5021 2006-07-09  Wim Taymans  <wim@fluendo.com>
5022
5023         * gst/gstelement.c: (activate_pads),
5024         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5025         Better pad activation code: Reset the collect value too on resync.
5026         Add some comments.
5027
5028 2006-07-09  Wim Taymans  <wim@fluendo.com>
5029
5030         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5031         (gst_pad_activate_push):
5032         Use some more macros where it makes sense.
5033         Allow pad mode switching instead of asserting. When a pad
5034         is activated in one mode and we activate it in another, 
5035         deactivate it first before activating it in a different mode.
5036         Fixes #329198.
5037
5038 2006-07-08  Andy Wingo  <wingo@pobox.com>
5039
5040         * tools/gst-launch.c (main): Handle err == NULL.
5041
5042         * gst/gst.c (init_post, ensure_current_registry)
5043         (ensure_current_registry_forking)
5044         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5045         factoring out the registry scanning into separate functions. Don't
5046         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5047         Better environment var name/interface suggestions accepted.
5048
5049 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         * gst/gstobject.c: (gst_object_set_name_default),
5052         (gst_object_set_name):
5053           Random micro-optimisation: don't use a hash table
5054           with strings as keys and the usual strdup/strcmp
5055           involved, but rather just use the GQuark of the
5056           type name as key, since it needs to be looked up
5057           anyway to get the type name string.
5058
5059         * tests/check/gst/gstobject.c: (GST_START_TEST):
5060           Fix various leaks.
5061
5062 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5063
5064         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5065         (gst_bin_iterate_all_by_interface):
5066           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5067           GTypes are gulongs and thus the top 4 bytes might be cut
5068           off on some platforms when doing GPOINTER_TO_INT, leading
5069           to invalid GTypes and bad things happening (see RH bug #179654).
5070           Also add a check to make sure the type passed in is really
5071           an interface type.
5072
5073 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5074
5075         * .cvsignore:
5076           Ignore more.
5077
5078 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * Makefile.am:
5081         * configure.ac:
5082         * gst-element-check.m4:
5083         * gst-element-check.m4.in:
5084           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5085           instead of the unversioned gst-inspect (#324176, #168659).
5086
5087 2006-07-06  Wim Taymans  <wim@fluendo.com>
5088
5089         * gst/gstmessage.h:
5090         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5091         warnings.
5092
5093 2006-07-06  Wim Taymans  <wim@fluendo.com>
5094
5095         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5096         (gst_base_src_wait), (gst_base_src_update_length),
5097         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5098         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5099         (gst_base_src_loop), (gst_base_src_start),
5100         (gst_base_src_activate_pull):
5101         Update docs.
5102         blocksize == 0 now means the default blocksize when working in push
5103         based mode.
5104         Remove some pointless asserts in _wait function.
5105         Fix offset/length calculations and EOS handling. We can now pull 0
5106         bytes as well, which is allowed.
5107         use _check_get_range() to decide if we can operate in _pull based
5108         mode.
5109         Fix refcounting leak when check_get_range function was not 
5110         implemented.
5111         API GstBaseSrc::blocksize range can be 0 too now (default)
5112
5113         * tests/check/elements/filesrc.c: (GST_START_TEST),
5114         (filesrc_suite):
5115         Added check to test _get_range() behaviour.
5116
5117 2006-07-06  Wim Taymans  <wim@fluendo.com>
5118
5119         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5120         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5121         (gst_pad_pull_range):
5122         * gst/gstpad.h:
5123         Lots of comments and docs added to the pad functions.
5124         Flesh out the expected behaviour of the get_range() functions.
5125
5126 2006-07-06  Wim Taymans  <wim@fluendo.com>
5127
5128         * gst/gstbus.h:
5129         * gst/gstclock.h:
5130         * gst/gstevent.h:
5131         * gst/gstiterator.h:
5132         * gst/gstpad.h:
5133         * gst/gstplugin.h:
5134         * gst/gsttask.h:
5135         Remove comma at end of enumerator list. 
5136
5137 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
5138
5139         * win32/common/libgstbase.def:
5140         * win32/common/libgstdataprotocol.def:
5141         * win32/common/libsgtreamer.def:
5142         Add new exported functions.
5143
5144 2006-07-05  Wim Taymans  <wim@fluendo.com>
5145
5146         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5147         Add some more docs here and there.
5148
5149 2006-07-05  Wim Taymans  <wim@fluendo.com>
5150
5151         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5152         (gst_base_sink_loop), (gst_base_sink_get_position):
5153         When operating in pull mode update the offset so that we
5154         read sequentially.
5155
5156 2006-07-05  Wim Taymans  <wim@fluendo.com>
5157
5158         * gst/gstregistryxml.c: (read_string):
5159         Avoid strdup. (will happen in libxml, but hey!)
5160
5161         * gst/gsturi.c:
5162         Add some more docs.
5163
5164 2006-07-05  Wim Taymans  <wim@fluendo.com>
5165
5166         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5167         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5168         (gst_buffer_suite):
5169         No point in checking if the size of the subbuffer > 0, the
5170         code handles it correclty as demonstrated by unit test.
5171         Also add a unit test for the zero sized _new_and_alloc and
5172         _copy. Fixes #346663.
5173
5174 2006-07-05  Wim Taymans  <wim@fluendo.com>
5175
5176         * libs/gst/base/gstbasetransform.c:
5177         (gst_base_transform_prepare_output_buffer),
5178         (gst_base_transform_buffer_alloc),
5179         (gst_base_transform_handle_buffer):
5180         Make sure the buffer we pass to transform_ip has a refcount of
5181         1 and thus is writable. Fixes #343196
5182
5183 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
5184
5185         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5186         (gst_file_src_init), (gst_file_src_set_property),
5187         (gst_file_src_get_property), (gst_file_src_map_region):
5188         * plugins/elements/gstfilesrc.h:
5189         Add "sequential" property, off by default, to use madvise and hint
5190         to the kernel that sequential access is desired.
5191         Touch all retrieved pages by default to ensure they are pulled
5192         into memory. (Closes #345720)
5193
5194 2006-07-03  Wim Taymans  <wim@fluendo.com>
5195
5196         * docs/design/part-block.txt:
5197         * docs/design/part-dynamic.txt:
5198         Small docs updates.
5199
5200 2006-07-03  Wim Taymans  <wim@fluendo.com>
5201
5202         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5203         (gst_caps_unref), (gst_static_caps_get),
5204         (gst_caps_append_structure):
5205         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5206         Use GSlice when the glib we build against is >= 2.10
5207
5208 2006-07-03  Wim Taymans  <wim@fluendo.com>
5209
5210         * gst/gstelement.c: (gst_element_pads_activate):
5211         Small cleanup in pad activation code.
5212
5213 2006-07-03  Wim Taymans  <wim@fluendo.com>
5214
5215         Patch by: Peter Kjellerstedt <pkj at axis dot com>
5216
5217         * gst/gst-i18n-app.h:
5218         * gst/gst-i18n-lib.h:
5219         * tools/gst-inspect.c: (print_signal_info):
5220         The attached patch will make the inclusion of gettext.h unconditional in
5221         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5222         libintl.h in tools/gst-inspect.c.
5223         This allows use of --disable-nls again and fixes #344642.
5224
5225 2006-07-03  Edward Hervey  <edward@fluendo.com>
5226
5227         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5228         Implement pad blocking on events according to part-block.txt.
5229         More comments on behaviour.
5230         * tests/check/gst/gstevent.c: (test_event):
5231         Send event to peer pad of blocked pad (else it will block).
5232
5233 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5234
5235         * libs/gst/check/gstcheck.c: (gst_check_message_error),
5236         (gst_check_run_suite):
5237           if we get the wrong message, give us the types as string
5238         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5239           Fix a translatable
5240         * tests/check/elements/filesrc.c: (GST_START_TEST):
5241           add a test for trying to open a non-existing file
5242
5243 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5244
5245         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5246           add a test for adding self
5247
5248 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5249
5250         * libs/gst/check/gstcheck.h:
5251           add some assert_ as alias for fail_unless_*
5252         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5253           increase test coverage
5254
5255 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5256
5257         * Makefile.am:
5258           include lcov.mak for lcov coverage generation
5259         * tools/Makefile.am:
5260           add to CLEANFILES
5261
5262 2006-07-02  Edward Hervey  <edward@fluendo.com>
5263
5264         * tests/check/elements/.cvsignore:
5265         moaping
5266
5267 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5268
5269         * configure.ac:
5270           don't set CFLAGS and friends for gcov, done from GST_GCOV now
5271         * tests/check/Makefile.am:
5272           clean up gcov files
5273
5274 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5275
5276         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5277           remove gst_caps_simplify; it was not declared and not used
5278           and deprecated in 0.8
5279
5280 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5281
5282         * docs/faq/gst-uninstalled:
5283           don't put empty paths on PYTHONPATH
5284         * docs/gst/gstreamer-sections.txt:
5285           remove some symbols that are not there
5286
5287 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5288
5289         * gst/gstcaps.c: (gst_caps_compare_structures):
5290           whitespace fixes
5291         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5292         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5293           add more tests
5294
5295 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5296
5297         * libs/gst/dataprotocol/Makefile.am:
5298           build dataprotocol test by linking to the lib, instead of
5299           compiling the source, so we get coverage
5300         * tests/check/Makefile.am:
5301         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5302         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5303           add a test for filesrc
5304
5305 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5306
5307         * tests/check/gst/gststructure.c: (GST_START_TEST),
5308         (gst_structure_suite):
5309           Push coverage from 59.04% to 70.00%
5310
5311 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5312
5313         * tests/check/Makefile.am:
5314           gst-inspect every element; this makes sure that we also get
5315           coverage on element's get/set functions
5316
5317 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5318
5319         * configure.ac:
5320           set CFLAGS and friends to -O0 if gcov is being used
5321           add GCOV LIBS
5322         * gst/Makefile.am:
5323         * libs/gst/base/Makefile.am:
5324         * libs/gst/check/Makefile.am:
5325         * libs/gst/controller/Makefile.am:
5326         * libs/gst/dataprotocol/Makefile.am:
5327         * libs/gst/net/Makefile.am:
5328         * plugins/elements/Makefile.am:
5329         * plugins/indexers/Makefile.am:
5330           add makefile rules to generate gcov data and clean up
5331         * tests/check/Makefile.am:
5332           add a coverage target that generates an html overview
5333           of coverage data
5334
5335 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5336
5337         * tests/check/elements/fakesink.c:
5338         * tests/check/elements/fakesrc.c:
5339         * tests/check/elements/fdsrc.c:
5340         * tests/check/elements/identity.c:
5341         * tests/check/generic/sinks.c: (gst_sinks_suite):
5342         * tests/check/generic/states.c:
5343         * tests/check/gst/gst.c:
5344         * tests/check/gst/gstabi.c:
5345         * tests/check/gst/gstbin.c:
5346         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5347         * tests/check/gst/gstbus.c: (gst_bus_suite):
5348         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5349         * tests/check/gst/gstelement.c:
5350         * tests/check/gst/gstevent.c: (gst_event_suite):
5351         * tests/check/gst/gstghostpad.c:
5352         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5353         * tests/check/gst/gstmessage.c: (gst_message_suite):
5354         * tests/check/gst/gstminiobject.c:
5355         * tests/check/gst/gstobject.c:
5356         * tests/check/gst/gstpad.c:
5357         * tests/check/gst/gstpipeline.c:
5358         * tests/check/gst/gstplugin.c:
5359         * tests/check/gst/gstquery.c: (gst_query_suite):
5360         * tests/check/gst/gstsegment.c: (gst_segment_suite):
5361         * tests/check/gst/gststructure.c:
5362         * tests/check/gst/gstsystemclock.c:
5363         * tests/check/gst/gsttag.c:
5364         * tests/check/gst/gsttask.c: (gst_task_suite):
5365         * tests/check/gst/gstutils.c:
5366         * tests/check/gst/gstvalue.c:
5367         * tests/check/libs/adapter.c:
5368         * tests/check/libs/basesrc.c:
5369         * tests/check/libs/collectpads.c:
5370         * tests/check/libs/controller.c:
5371         * tests/check/libs/gdp.c: (gst_dp_suite):
5372         * tests/check/libs/gstnetclientclock.c:
5373         * tests/check/libs/gstnettimeprovider.c:
5374         * tests/check/libs/libsabi.c: (libsabi_suite):
5375         * tests/check/libs/typefindhelper.c:
5376         * tests/check/pipelines/cleanup.c:
5377         * tests/check/pipelines/parse-launch.c:
5378         * tests/check/pipelines/simple-launch-lines.c:
5379         * tests/check/pipelines/stress.c: (stress_suite):
5380           use the new macro
5381
5382 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5383
5384         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5385         * libs/gst/check/gstcheck.h:
5386           create a macro and function so that the simple unit test
5387           case can be just one macro to create main()
5388
5389 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
5390
5391         * gst/gstbin.c: (gst_bin_restore_thyself):
5392         * gst/gstxml.c: (gst_xml_make_element):
5393           Fix deserialisation from XML. Set parent manually
5394           instead of using gst_bin_add(), since gst_bin_add()
5395           will unlink all pads of the element being added.
5396           Fixes #341667.
5397
5398 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
5399
5400         Patch by: Peter Kjellerstedt <pkj at axis com>
5401
5402         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5403           Fix missing g_strdup() and double free when using the
5404           --gst-plugin-load command line option (#346097).
5405
5406 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5407
5408         * gst/gstinfo.c:
5409           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5410
5411         * libs/gst/net/gstnetclientclock.c:
5412         * libs/gst/net/gstnettimeprovider.c:
5413           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5414
5415 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
5416
5417         * docs/manual/advanced-dataaccess.xml:
5418           Fix buffer probe example compilation in
5419           ADM (#345708).
5420         
5421 2006-06-22  Edward Hervey  <edward@fluendo.com>
5422
5423         * gst/gstelement.c: (gst_element_pads_activate):
5424         We need to deactivate src pads first and then sink pads.
5425         The reason is the src pads might be blocking while holding the streaming
5426         lock, so we need to deactivate them first so that deactivating the sink
5427         pads doesn't block (since it will require the streaming lock).
5428
5429 2006-06-22  Wim Taymans  <wim@fluendo.com>
5430
5431         * libs/gst/base/gstbasetransform.c:
5432         (gst_base_transform_buffer_alloc):
5433         Forgot to remove two unneeded unrefs.
5434         Simplify a check _is_equal allready checks the obvious case.
5435
5436 2006-06-22  Wim Taymans  <wim@fluendo.com>
5437
5438         * docs/design/part-block.txt:
5439         Some docs about what pad_block should do.
5440
5441 2006-06-22  Wim Taymans  <wim@fluendo.com>
5442
5443         * gst/gstcaps.c: (gst_caps_replace):
5444         Fix crasher when passed NULL. Doc clarification.
5445         Optimize for the trivial case.
5446
5447         * gst/gstpipeline.c: (gst_pipeline_change_state):
5448         Small cleanups.
5449
5450         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5451         Small documentation cleanup.
5452
5453         * libs/gst/base/gstbasetransform.c:
5454         (gst_base_transform_buffer_alloc):
5455         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5456         is what we need and it avoids a whole lot of redundant 
5457         refcount operations.
5458
5459 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5460
5461         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5462
5463         * docs/manual/advanced-dataaccess.xml:
5464           Fix 'Embedding static elements' section to use
5465           GST_PLUGIN_DEFINE_STATIC (#345607).
5466
5467 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5468
5469         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5470           Attempt to 'fix' spuriously failing test case: it seems like the
5471           timeout of half a second is simply too small when the system is under
5472           load otherwise, and the timeout doesn't really seem to serve any
5473           particular purpose here. Give the pipeline a few seconds to preroll
5474           first, and then give it another half a second to go from PAUSED to
5475           PLAYING and marshal the message into the main thread.
5476
5477 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * tools/gst-feedback-m.m:
5480           Don't only use unversioned tools, try versioned tools as well
5481           (#345086).
5482
5483 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5484
5485         * gst/gstbus.c: (gst_bus_class_init):
5486           Fix some typos, make docs more explicit.
5487
5488 2006-06-20  Wim Taymans  <wim@fluendo.com>
5489
5490         * tests/check/gst/gstghostpad.c: (block_callback),
5491         (GST_START_TEST), (gst_ghost_pad_suite):
5492         Added some more ghostpad tests, mainly blocking
5493         and probes.
5494
5495 2006-06-16  Wim Taymans  <wim@fluendo.com>
5496
5497         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5498         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5499         (gst_file_sink_event), (gst_file_sink_render):
5500         * plugins/elements/gstfilesink.h:
5501         Check if we can seek in the file instead of assuming
5502         we always can. Post an error when we are asked to seek in a
5503         non-seekable file (like a fifo). Fixes #343312.
5504         Some cleanups.
5505
5506 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5507
5508         * tools/gst-launch.1.in:
5509           Un-garble (fourcc) bit in filtered caps section.
5510
5511 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5512
5513         * docs/manual/advanced-autoplugging.xml:
5514         * docs/manual/basics-helloworld.xml:
5515         * docs/manual/highlevel-components.xml:
5516           Don't leak bus reference in sample code.
5517
5518 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5519
5520         * autogen.sh:
5521           Add default for new --enable-plugin-docs switch.
5522
5523         * configure.ac:
5524           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5525           Fixes #344039.
5526
5527         * docs/Makefile.am:
5528           Use new ENABLE_PLUGIN_DOCS conditional.
5529
5530 2006-06-14  Wim Taymans  <wim@fluendo.com>
5531
5532         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5533         Make it clear with a FIXME and a real define what the #if 0
5534         previously disabled.
5535
5536 2006-06-14  Wim Taymans  <wim@fluendo.com>
5537
5538         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5539         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5540         * libs/gst/base/gstbasetransform.c:
5541         (gst_base_transform_sink_eventfunc):
5542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5543         Don't randomly and silently reset a segment when the format 
5544         changes as this is a bug somewhere upstream. Fixes #330379.
5545
5546 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5547
5548         Patch by: Wouter Paesen  <wouter at kangaroot net>
5549
5550         * libs/gst/controller/gstcontroller.c:
5551         (gst_controlled_property_new):
5552           Fix controlling of float properties (#344849).
5553
5554         * tests/check/libs/controller.c:
5555         (gst_test_mono_source_get_property),
5556         (gst_test_mono_source_set_property),
5557         (gst_test_mono_source_class_init), (GST_START_TEST):
5558           While we're at it, add some float stuff to unit test.
5559
5560 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5561
5562         * docs/README:
5563         * docs/images/gdp-header.svg:
5564           add a gdp image
5565         * docs/libs/Makefile.am:
5566         * docs/libs/gdp-header.png:
5567         * libs/gst/dataprotocol/dataprotocol.c:
5568           add it to the API docs
5569         * docs/manual/intro-motivation.xml:
5570           fix typo
5571
5572 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5573
5574         * gst/gst.c: (scan_and_update_registry), (init_post):
5575           If the fork()'ed child process can't write the updated registry cache
5576           file to disk for some reason, make it exit with a failure exit code,
5577           so that the parent can then re-scan the plugins itself and update the
5578           registry structures in memory and work with that (rather than failing
5579           when creating elements because seemingly no plugins are available).
5580           Refactor registry scanning code into separate function for this and
5581           also separate fork() and non-fork() code paths. Fixes #344748.
5582
5583 2006-06-13  Wim Taymans  <wim@fluendo.com>
5584
5585         * docs/manual/advanced-dataaccess.xml:
5586         Fix wrong PluginDesc. Fixes #344755.
5587
5588 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5589
5590         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5591           Fix silly bug that prevented us from creating
5592           ~/.gstreamer-0.10 and writing the registry in one
5593           go (the first call to g_mkstemp() would overwrite the
5594           placeholder in the template string, so the second call
5595           to g_mkstemp() after creating the missing directory
5596           would then error out with 'invalid argument').
5597
5598 2006-06-13  Edward Hervey  <edward@fluendo.com>
5599
5600         * gst/gst.c: (init_post):
5601         Free string.
5602
5603 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5604
5605         * gst/glib-compat-private.h:
5606         * gst/glib-compat.c:
5607         * gst/glib-compat.h:
5608         * gst/gstvalue.c: (gst_value_serialize_flags):
5609           remove GLib 2.6 compatibility code
5610
5611 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5612
5613         * gst/parse/Makefile.am:
5614           Fix build with 'make -j N' even more (#340016).
5615
5616 2006-06-12  Wim Taymans  <wim@fluendo.com>
5617
5618         * docs/gst/gstreamer-sections.txt:
5619         Fix docs.
5620
5621 2006-06-12  Wim Taymans  <wim@fluendo.com>
5622
5623         * gst/gstsegment.c: (gst_segment_set_duration),
5624         (gst_segment_set_last_stop), (gst_segment_set_seek),
5625         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5626         (gst_segment_to_running_time), (gst_segment_clip):
5627         Use G_UNLIKELY to help the compiler a bit.
5628
5629 2006-06-12  Wim Taymans  <wim@fluendo.com>
5630
5631         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5632
5633         * gst/gstevent.c: (gst_event_get_type):
5634         * gst/gstmessage.c:
5635         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5636         (gst_pad_push):
5637         constify quark registration strings. Fixes #344115
5638         Avoid unneeded type checking is _pad_push() by internally
5639         calling gst_pad_chain_unchecked().
5640
5641 2006-06-12  Wim Taymans  <wim@fluendo.com>
5642
5643         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5644         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5645         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5646         (gst_buffer_is_span_fast), (gst_buffer_span):
5647         Init _type for consistency.
5648         Use _FLAGS macro to avoid type check.
5649         Avoid unneeded type checks in subbufer code.
5650
5651 2006-06-12  Wim Taymans  <wim@fluendo.com>
5652
5653         * gst/gst.c: (gst_debug_help):
5654         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5655         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5656         (gst_plugin_feature_list_free):
5657         * gst/gstregistry.c: (gst_registry_add_plugin),
5658         (gst_registry_add_feature), (gst_registry_plugin_filter),
5659         (gst_registry_feature_filter), (gst_registry_find_plugin),
5660         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5661         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5662         * gst/gstregistryxml.c: (load_feature),
5663         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5664         * gst/gstminiobject.c: (gst_mini_object_unref),
5665         (gst_mini_object_replace), (gst_value_mini_object_free),
5666         (gst_value_mini_object_copy):
5667         Use _CAST macros to avoid unneeded type checking.
5668         Added some more G_UNLIKELY.
5669
5670 2006-06-12  Wim Taymans  <wim@fluendo.com>
5671
5672         * gst/gstbuffer.h:
5673         Avoid unneeded type checking.
5674         API: GST_BUFFER_IS_DISCONT
5675
5676         * gst/gstminiobject.h:
5677         Avoid type check in flag accessor.
5678
5679         * gst/gstelementfactory.h:
5680         * gst/gstplugin.h:
5681         * gst/gstpluginfeature.h:
5682         Add _CAST macros.
5683         API: GST_ELEMENT_FACTORY_CAST
5684         API: GST_PLUGIN_CAST
5685         API: GST_PLUGIN_FEATURE_CAST
5686
5687 2006-06-12  Wim Taymans  <wim@fluendo.com>
5688
5689         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5690         (gst_object_unref):
5691         Add G_UNLIKELY in type registration.
5692         Avoid type check in _ref/_unref since that is also
5693         done in glib.
5694
5695 2006-06-12  Wim Taymans  <wim@fluendo.com>
5696
5697         * gst/gsterror.c: (gst_g_error_get_type):
5698         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5699         (gst_static_pad_template_get_type):
5700         * gst/gsttaglist.c: (gst_tag_list_get_type):
5701         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5702         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5703         * gst/gsturi.c: (gst_uri_handler_get_type):
5704         * gst/gstvalue.c: (gst_date_get_type):
5705         * gst/gstxml.c: (gst_xml_get_type):
5706         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5707         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5708         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5709         Add G_UNLIKELY in type registration.
5710
5711 2006-06-12  Wim Taymans  <wim@fluendo.com>
5712
5713         * tools/gst-inspect.c: (print_signal_info):
5714         Properly print enum values.
5715
5716 2006-06-12  Wim Taymans  <wim@fluendo.com>
5717
5718         * gst/gstinfo.c: (gst_debug_set_active),
5719         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5720         * gst/gstinfo.h:
5721         Add some G_[UN]LIKELY.
5722         Maintain __gst_debug_min to avoid formatting the arguments of
5723         debug messages that will be dropped anyway to avoid a lot of 
5724         overhead from the debugging system.
5725
5726 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5727
5728         * po/POTFILES.in:
5729         * po/POTFILES.skip:
5730           add missing files containing translatable strings, tell intltool about
5731           one exception
5732
5733 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5734
5735         * tests/check/libs/.cvsignore:
5736         add test-binary to ignore list
5737
5738 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5739
5740         * docs/libs/gstreamer-libs-docs.sgml:
5741         reorder (put dp into a chapter) and indent
5742
5743 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5744
5745         * configure.ac:
5746           back to HEAD
5747
5748 === release 0.10.8 ===
5749
5750 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5751
5752         * configure.ac:
5753           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5754
5755 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5756
5757         * gst/gst.c: (init_post):
5758           move pid declaration to declaration block
5759
5760 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5761
5762         * gst/gst.c: (init_post):
5763           use _exit() instead of exit() in our forked child; this ensures
5764           that none of the registered exit handlers from whatever is using
5765           GStreamer get executed.  This fixes gnome-mixer-applet failing
5766           to load, because ORBit would shut down.
5767           Spotted by: Edward Hervey  <edward@fluendo.com>
5768           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5769           Fixes #344474
5770
5771 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5772
5773         * configure.ac:
5774           back to TRUNK
5775
5776 === release 0.10.7 ===
5777
5778 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5779
5780         * configure.ac:
5781           releasing 0.10.7, "Soepeke, ik zie ou"
5782
5783 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5784
5785         * configure.ac:
5786         * po/af.po:
5787         * po/az.po:
5788         * po/bg.po:
5789         * po/ca.po:
5790         * po/cs.po:
5791         * po/de.po:
5792         * po/en_GB.po:
5793         * po/fr.po:
5794         * po/it.po:
5795         * po/nb.po:
5796         * po/nl.po:
5797         * po/ru.po:
5798         * po/sq.po:
5799         * po/sr.po:
5800         * po/sv.po:
5801         * po/tr.po:
5802         * po/uk.po:
5803         * po/vi.po:
5804         * po/zh_CN.po:
5805         * po/zh_TW.po:
5806         * win32/common/config.h:
5807           0.10.6.2 prerelease
5808
5809 2006-06-07  Wim Taymans  <wim@fluendo.com>
5810
5811         * gst/gstindex.c: (gst_index_gtype_resolver):
5812         * tools/gst-xmlinspect.c: (print_plugin_info):
5813         Fix leak spotted by coverity checker. Fixes #343827
5814         Fix another other leak found by paolo borelli.
5815
5816 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5817
5818         * libs/gst/dataprotocol/dataprotocol.c:
5819         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5820         (gst_dp_version_get_type), (gst_dp_init),
5821         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5822         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5823         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5824         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5825         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5826         (gst_dp_packetizer_free):
5827         * libs/gst/dataprotocol/dataprotocol.h:
5828           API: add a GstDPPacketizer object, and create/free functions
5829           API: add GstDPVersion enum
5830           Add 1.0 event function that uses the string serialization
5831           Serialize more useful buffer flags
5832           Fixes #343988
5833
5834 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5835
5836         * tests/check/Makefile.am:
5837         * tests/check/gst/gstabi.c:
5838         * tests/check/gst/struct_ppc64.h:
5839         * tests/check/libs/libsabi.c:
5840         * tests/check/libs/struct_ppc64.h:
5841           add ppc64 structure sizes
5842
5843 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5844
5845         * tests/check/Makefile.am:
5846         * tests/check/gst/gstabi.c:
5847         * tests/check/gst/struct_x86_64.h:
5848         * tests/check/libs/libsabi.c:
5849         * tests/check/libs/struct_x86_64.h:
5850           generate and add structure size lists for x86_64
5851
5852 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5853
5854         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5855         * libs/gst/check/gstcheck.h:
5856           factor out the method from tests that checks size of structures,
5857           and add code to generate the header containing these sizes
5858         * tests/check/gst/gstabi.c: (GST_START_TEST):
5859         * tests/check/gst/struct_i386.h:
5860         * tests/check/libs/libsabi.c: (GST_START_TEST):
5861         * tests/check/libs/struct_i386.h:
5862           use it
5863
5864 2006-06-06  Michael Smith  <msmith@fluendo.com>
5865
5866         * gst/gstsegment.h:
5867           Don't use c++-style comments, fixes #343929
5868
5869 2006-06-05  Edward Hervey  <edward@fluendo.com>
5870
5871         * gst/gst.c:
5872         plugin_paths is not used if we build without registry support.
5873
5874         * gst/gstsegment.c: (gst_segment_copy): 
5875         _copy() was always returning NULL...
5876
5877 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5878
5879         * libs/gst/dataprotocol/dataprotocol.c:
5880         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5881         (gst_dp_packet_from_event):
5882           factor out CRC code
5883
5884 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5885
5886         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5887           make sure we unset caps
5888
5889 2006-06-02  Michael Smith  <msmith@fluendo.com>
5890
5891         * libs/gst/check/gstcheck.c: (gst_check_init),
5892         (gst_check_chain_func):
5893         * libs/gst/check/gstcheck.h:
5894           Add a cond/mutex to the check support lib, signal this whenever we
5895           add to the buffers list. This will allow tests to not busy-wait on
5896           the buffer-list.
5897
5898 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5899
5900         * libs/gst/dataprotocol/dataprotocol.c:
5901         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5902         (gst_dp_packet_from_event):
5903           factor out some common header init code
5904
5905 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5906
5907         * docs/libs/gstreamer-libs-sections.txt:
5908         * docs/libs/tmpl/gstdataprotocol.sgml:
5909         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5910         * libs/gst/dataprotocol/dataprotocol.h:
5911           API: make gst_dp_crc() public
5912
5913 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5914
5915         * plugins/indexers/gstindexers.c: (plugin_init):
5916         conditionally register fileindexer (fixes #343598)
5917
5918 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5919
5920         * gst/gsttagsetter.h:
5921         Can't cast ifaces to a class
5922
5923         * libs/gst/net/gstnetclientclock.h:
5924         * libs/gst/net/gstnettimeprovider.h:
5925         * plugins/elements/gstfakesink.h:
5926         * plugins/elements/gstfakesrc.h:
5927         * plugins/elements/gstfdsink.h:
5928         * plugins/elements/gstfdsrc.h:
5929         * plugins/elements/gstfilesink.h:
5930         * plugins/elements/gstfilesrc.h:
5931         * plugins/elements/gstidentity.h:
5932         * plugins/elements/gstqueue.h:
5933         * plugins/elements/gsttee.h:
5934         * plugins/indexers/gstfileindex.c:
5935         * plugins/indexers/gstmemindex.c:
5936         * tests/old/examples/plugins/example.h:
5937         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5938
5939 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5940
5941         * libs/gst/dataprotocol/dataprotocol.c:
5942         (gst_dp_header_from_buffer):
5943           make sure we zero the whole ABI-compatible area
5944
5945 2006-06-01  Wim Taymans  <wim@fluendo.com>
5946
5947         Patch by: Alessandro Decina <alessandro at nnva dot org>
5948
5949         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5950         Make sure the EOS flag is cleared from pads after a flush
5951         or stop. Fixes #343538.
5952
5953         * tests/check/libs/collectpads.c: (GST_START_TEST),
5954         (gst_collect_pads_suite):
5955         Added test for collectpads reusage after EOS.
5956
5957 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5958
5959         * gst/gst.c:
5960          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5961         * win32/common/libgstbase.def:
5962          export gst_collect_pads_set_flushing
5963         * win32/common/libgstreamer.def:
5964          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5965          gst_value_fraction_multiply
5966         * win32/vs6/gst_inspect.dsp:
5967          add a link to intl.lib
5968
5969 2006-05-30  Wim Taymans  <wim@fluendo.com>
5970
5971         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5972         (gst_collect_pads_chain):
5973         Handle the case where a pad is removed from the collection
5974         that could cause the other pads to become collectable.
5975
5976 2006-05-30  Wim Taymans  <wim@fluendo.com>
5977
5978         * gst/gstelement.c:
5979         Clarify the use of _release_request_pad() and
5980         _get_request_pad() a bit better.
5981
5982         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5983         (gst_adapter_take_buffer):
5984         Fix some doc and comment typos.
5985
5986 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5987
5988         * docs/gst/gstreamer-sections.txt:
5989         * docs/libs/gstreamer-libs-sections.txt:
5990           add declared symbols
5991
5992 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5993
5994         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5995         Add debug that can be enabled using a #define at the top of the file,
5996         for dumping stats about how late/early we were when waking up from
5997         waiting on the clock.
5998
5999 2006-05-30  Wim Taymans  <wim@fluendo.com>
6000
6001         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6002         When rebuilding the pad list, don't leak the previous list.
6003
6004 2006-05-30  Wim Taymans  <wim@fluendo.com>
6005
6006         Patch by: Lutz Mueller <lutz at topfrose dot de>
6007
6008         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6009         (gst_base_src_get_query_types), (gst_base_src_update_length):
6010         Publish supported query types.
6011         Update last_stop field in get_range mode so the position
6012         query works. Fixes #342321.
6013
6014 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         * docs/gst/gstreamer-sections.txt:
6017         * gst/gsttaglist.c: (_gst_tag_initialize):
6018         * gst/gsttaglist.h:
6019           API: add GST_TAG_PREVIEW_IMAGE (#343341).
6020
6021 2006-05-30  Wim Taymans  <wim@fluendo.com>
6022
6023         Patch by: Alessandro Decina <alessandro at nnva dot org>
6024
6025         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6026         Unlock mutex when removing an unknown pad.
6027         Fixes #343334.
6028
6029         * tests/check/Makefile.am:
6030         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6031         (push_event), (setup), (teardown), (GST_START_TEST),
6032         (gst_collect_pads_suite), (main):
6033         Added collecpads check, disabled for now as check crashes for
6034         some reason.
6035
6036 2006-05-29  Wim Taymans  <wim@fluendo.com>
6037
6038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6039         Don't leak pads lists.
6040
6041 2006-05-29  Wim Taymans  <wim@fluendo.com>
6042
6043         * docs/libs/gstreamer-libs-sections.txt:
6044         * libs/gst/base/gstcollectpads.c:
6045         (gst_collect_pads_set_flushing_unlocked),
6046         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6047         (gst_collect_pads_stop):
6048         * libs/gst/base/gstcollectpads.h:
6049         API: gst_collect_pads_set_flushing()
6050         Added api to set the pads to flushing, useful for seeking
6051         code in elements using collectpads.
6052         Clear segment when receiving a flush.
6053
6054 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
6055
6056         * gst/gst.c: (add_path_func), (init_post):
6057           Don't scan registry paths passed via --gst-plugin-path immediately
6058           (will crash, because absolutely nothing is set up and no types are
6059           registered etc.); do this later in init_post(). Fixes #343057.
6060
6061 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6062
6063         * gst/gst.c: (init_post):
6064           if we have fork, fork while reading/rebuilding the registry
6065           so the parent doesn't take the hit of having all plugins loaded
6066           in memory.  Fixes #342777.
6067         * configure.ac:
6068           Check if we have fork()
6069         * win32/common/config.h.in:
6070           no fork() on win32
6071
6072 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
6073
6074         * plugins/elements/gstelements.c:
6075         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6076         (gst_file_src_init), (gst_file_src_set_property),
6077         (gst_file_src_get_property), (gst_file_src_start):
6078         * plugins/elements/gstfilesrc.h:
6079           API: GstFileSrc::use-mmap
6080
6081         Add a use-mmap property to enable easier testing of all code paths.
6082         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6083         in the absence of gnomevfssrc. (Closes #340501)
6084
6085 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6086
6087         * tools/gst-inspect.c:
6088         Add missing include, removes warning of ngettext not being defined on
6089         some arches.
6090
6091 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
6092
6093         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6094         Handle NULL input and output pointers silently as a failed conversion,
6095         rather than g_warnings.
6096
6097 2006-05-25  Wim Taymans  <wim@fluendo.com>
6098
6099         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6100         Initialize variable before using. Fixes #342820.
6101
6102 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6105           Fix off-by-one bug that would only allow peeks of N-1 bytes
6106           from the start even if the buffer to typefind on contains
6107           in fact N bytes of data (makes vorbis typefinding from a
6108           vorbis identification header buffer work).
6109
6110         * tests/check/Makefile.am:
6111         * tests/check/libs/.cvsignore:
6112         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6113         (gst_typefindhelper_suite), (main), (foobar_typefind),
6114         (plugin_init):
6115           Add very basic unit test for gst_type_find_helper_for_buffer()
6116           that checks for the problem fixed above.
6117
6118 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6119
6120         * tools/gst-inspect.c: (print_interfaces),
6121         (print_element_properties_info), (print_element_list), (main):
6122           add more translatable strings
6123
6124 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
6125
6126         Patch by: Julien Moutte  <julien at moutte net>
6127
6128         * docs/gst/gstreamer-sections.txt:
6129           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6130           
6131         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6132         (gst_fake_sink_preroll):
6133         * plugins/elements/gstfakesink.h:
6134           API: Add new GstFakeSink::preroll-handoff signal (#337100).
6135
6136 2006-05-23  Wim Taymans  <wim@fluendo.com>
6137
6138         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6139         * gst/gstpad.h:
6140         Added _CUSTOM error and success GstFlowReturn that can be
6141         used be elements internally. 
6142         Added macro to check for SUCCESS flowreturns.
6143         API: GST_FLOW_CUSTOM_SUCCESS
6144         API: GST_FLOW_CUSTOM_ERROR
6145         API: GST_FLOW_IS_SUCCESS
6146
6147         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6148         Added check for GstFlowReturn sanity.
6149
6150 2006-05-23  Wim Taymans  <wim@fluendo.com>
6151
6152         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6153
6154         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6155         (gst_collect_pads_event):
6156         clear/reset segment info in FLUSH_STOP.
6157         Fixes #336929.
6158
6159 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
6160
6161         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6162         (gst_collect_pads_check_collected):
6163         Flush queued buffer on _stop(), fixes playing again (#342454)
6164
6165 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6166
6167         * tests/check/gst/gststructure.c: (GST_START_TEST),
6168         (gst_structure_suite):
6169           add a test for a complete structure
6170
6171 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6172
6173         * docs/faq/developing.xml:
6174         * docs/faq/faq.xml:
6175         * docs/faq/troubleshooting.xml:
6176         * docs/faq/using.xml:
6177           Some minor FAQ updates that won't change the fact that
6178           our FAQ is badly structured, full of information hardly
6179           anyone new to GStreamer needs to know and lacking lots
6180           of information people constantly ask for.
6181           
6182 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
6183
6184         * gst/gstpad.c: (gst_pad_set_caps):
6185           Short-circuit gst_pad_set_caps if setting the existing
6186           caps pointer again, and avoid printing debug and 
6187           reffing/unreffing the caps.
6188
6189         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6190           There's actually no need to set the caps before pushing -
6191           the acceptcaps method will handle it anyway.
6192
6193 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6194
6195         * docs/gst/gstreamer-sections.txt:
6196         * win32/common/libgstreamer.def:
6197         * gst/gstutils.c: (gst_element_seek_simple):
6198         * gst/gstutils.h:
6199           API: add gst_element_seek_simple() (#342238).
6200
6201 2006-05-18  Edward Hervey  <edward@fluendo.com>
6202
6203         * gst/gsttypefind.c: (gst_type_find_get_type):
6204         * gst/gsttypefind.h:
6205         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6206         registered for GstTypeFind pointers. This allows wrapping the structure
6207         in bindings (i.e. gst-python).
6208
6209 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6210
6211         * gst/gsttagsetter.c:
6212           Docs additions and fixes (see #339918).
6213
6214 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
6215
6216         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6217         The caps intersection algorithm can produce multiple copies of the
6218         caps. Until that is fixed, we need to simplify the result to be
6219         sure whether the allowed caps are fixed or not.
6220
6221         * plugins/elements/gstqueue.c: (gst_queue_init),
6222         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6223         (gst_queue_push_one):
6224         Proxied buffer alloc should not set the caps on the source pad.
6225         When pushing buffers, we always accept the caps change that triggers.
6226         This prevents negotiation errors caused by caps changing mid-stream 
6227         and then being refused on our source pad (because upstream is now
6228         refusing those caps).
6229
6230 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
6231
6232         * tests/examples/helloworld/helloworld.c: (main):
6233           Must plug audioconvert and audioresample between decoder
6234           and audio sink.
6235
6236 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
6237
6238         * gst/gstregistryxml.c: (read_string), (load_pad_template),
6239         (load_feature), (load_plugin):
6240         Allow empty strings for some of the plugin fields so we don't 
6241         drop valid plugin entries that were written out correctly
6242         (Fixes #341479)
6243
6244 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
6245         
6246         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6247           Use g_remove and g_rename instead of remove and rename that don't 
6248           handle utf8 characters. rename was failing for users who had specific
6249           characters in their name then the registry was built at each 
6250           gstreamer init.
6251         * win32/vs6/gst_inspect.dsp:
6252         * win32/vs6/gst_launch.dsp:
6253         * win32/vs6/libgstbase.dsp:
6254         * win32/vs6/libgstcoreelements.dsp:
6255         * win32/vs6/libgstreamer.dsp:
6256           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
6257           build of libgstreamer and clean unused libraries in projects link 
6258           settings.
6259
6260 2006-05-17  Edward Hervey  <edward@fluendo.com>
6261
6262         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6263         The queue is not responsible for pushing an EOS when receiving a fatal
6264         flow error. It's up to the real element driving the pipeline to do that.
6265
6266 2006-05-16  Edward Hervey  <edward@fluendo.com>
6267
6268         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6269         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6270         buffer returned a fatal error. It should just send an EOS and stop
6271         its task.
6272         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6273         when pushing buffers on the queue and will be able to handle the event.
6274
6275 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6276
6277         * docs/manual/basics-bins.xml:
6278         * docs/manual/basics-init.xml:
6279           Fix typos and minor errors in sample code (#341856).
6280
6281 2006-05-16  Wim Taymans  <wim@fluendo.com>
6282
6283         * docs/design/part-qos.txt:
6284         Fix indexes in formulas to make more sense.
6285
6286 2006-05-15  Wim Taymans  <wim@fluendo.com>
6287
6288         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6289         Don't report POSITION based on clock time if sync is
6290         disabled in a sink.
6291
6292 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * gst/gstobject.h:
6295           Add cast to make compiler happy - refcount variable was a gint
6296           in GstObject but is a guint in GObject and g_atomic_int_get()
6297           wants a gint *.
6298
6299 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6300
6301         * gst/parse/Makefile.am:
6302           chain commands using &&, which also makes parallel make work
6303
6304 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
6305
6306         * docs/gst/gstreamer-sections.txt:
6307         * gst/gstevent.c:
6308         * gst/gstevent.h:
6309         * gst/gstmessage.h:
6310           Minor docs fixes.
6311
6312 === release 0.10.6 ===
6313
6314 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
6315
6316         * configure.ac:
6317           releasing 0.10.6, "Take the cannoli"
6318
6319 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
6320
6321         * tools/gst-launch.c: (print_tag):
6322           Fix use of uninitialized variable in the hypothetical
6323           case that some broken plugin creates a GST_TAG_IMAGE
6324           tag containing a NULL buffer (#341667).
6325
6326 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
6327
6328         * tools/gst-launch.c: (print_tag):
6329           Print something more intelligible for image tags when
6330           using the -t switch (#341556).
6331
6332 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6333
6334         * Makefile.am:
6335           updates for win32
6336         * configure.ac:
6337           define GST_MAJORMINOR so we have it available in win32/common/config.h
6338           Possibly remove it from our Makefile.am files later
6339         * win32/common/config.h:
6340         * win32/common/config.h.in:
6341           added GST_MAJORMINOR
6342         * win32/common/gstenumtypes.c: (register_gst_resource_error):
6343         * win32/common/gstversion.h:
6344           updated
6345
6346 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
6347
6348         * win32/MANIFEST:
6349           Update win32 files listing.
6350         * win32/common/gstversion.h:
6351           Add GST_MAJORMINOR definition.
6352         * win32/common/libgstreamer.def:
6353           Add new exported functions.
6354           
6355 2006-05-12  Michael Smith  <msmith@fluendo.com>
6356
6357         * gst/gstplugin.c: (gst_plugin_load_file):
6358           If an so file has no plugin entry point, unload the module.
6359
6360 2006-05-11  Wim Taymans  <wim@fluendo.com>
6361
6362         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6363         (gst_queue_set_property):
6364         Don't forget to signal the _chain or _loop function 
6365         when the queue size or thresholds change since that might
6366         cause them to make progres again.
6367
6368 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
6369
6370         * gst/gstclock.c: (gst_clock_class_init):
6371         * gst/gstindex.c: (gst_index_class_init):
6372         * gst/gstobject.c: (gst_object_class_init):
6373         * gst/gstpad.c: (gst_pad_class_init):
6374         * gst/gstpipeline.c: (gst_pipeline_class_init):
6375         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6376         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6377         * libs/gst/base/gstbasetransform.c:
6378         (gst_base_transform_class_init):
6379         * libs/gst/net/gstnetclientclock.c:
6380         (gst_net_client_clock_class_init):
6381         * libs/gst/net/gstnettimeprovider.c:
6382         (gst_net_time_provider_class_init):
6383         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6384         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6385         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6386         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6387         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6388         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6389         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6390         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6391         * plugins/elements/gsttee.c: (gst_tee_class_init):
6392         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6393         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6394           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6395
6396 2006-05-11  Wim Taymans  <wim@fluendo.com>
6397
6398         * gst/gstbuffer.c: (_gst_buffer_initialize):
6399         Register subbufer along with the buffer type so that
6400         it does not accidentally gets registered from N
6401         different streaming threads in a non threadsafe way.
6402
6403 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6404
6405         * gst/gstbuffer.h:
6406         * gst/gstevent.h:
6407         * gst/gstmessage.h:
6408           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6409           gst_event_ref() and gst_message_ref() functions again
6410           (ugly hack, please do fix if there's a better way besides
6411           overrides.txt, which doesn't seem to work).
6412
6413 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6414
6415         * libs/gst/check/gstcheck.h:
6416           add an assert for setting state to avoid lots of repetitive code
6417           in the future
6418
6419 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6420
6421         * gst/gstvalue.c: (gst_value_serialize_flags):
6422           fix a leak if no flags are set
6423         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6424           fix leak in tests
6425
6426 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
6427
6428         * docs/manual/basics-pads.xml:
6429           Expand a bit on caps and filtered links and update
6430           examples that were still using the no longer existing
6431           gst_pad_link_filtered() (#338206).
6432
6433 2006-05-10  Wim Taymans  <wim@fluendo.com>
6434
6435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6436         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6437         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6438         (gst_collect_pads_stop):
6439         * libs/gst/base/gstcollectpads.h:
6440         No need to call _stop in _finalize.
6441         Iterate the main pad list in _finalize.
6442         Added some more debug.
6443         Free lists and data in the right order.
6444         Also free data whem doing _remove_pad when stopped for
6445         backward compatibility protect ::started with PAD_LOCK as
6446         well.
6447
6448 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6449
6450         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6451         (gst_structure_parse_value):
6452           add some comments
6453           rename a method so that it actually says what it does better
6454
6455 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6456
6457         * gst/gstevent.c: (_gst_event_initialize):
6458         * gst/gstformat.c: (_gst_format_initialize):
6459           make sure some essential types used by events are registered
6460           as part of gst_init()
6461         * gst/gstvalue.c: (gst_value_serialize_flags):
6462           if no flags are set, serialize them to a value that represents NONE
6463           so that deserializing them works
6464         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6465           add tests for serialization and deserialization of flags
6466
6467 2006-05-10  Wim Taymans  <wim@fluendo.com>
6468
6469         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6470         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6471         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6472         (gst_collect_pads_event), (gst_collect_pads_chain):
6473         Update docs.
6474         Better debug info.
6475         Catch and return errors from the collect function
6476         Refuse data on eos pads.
6477
6478 2006-05-10  Edward Hervey  <edward@fluendo.com>
6479
6480         * gst/gstinterface.h:
6481         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6482         GInterface type checking.
6483         They were previously using non-defined macros.
6484
6485 2006-05-09  Wim Taymans  <wim@fluendo.com>
6486
6487         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6488         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6489         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6490         (gst_collect_pads_start), (gst_collect_pads_stop),
6491         (gst_collect_pads_peek), (gst_collect_pads_pop),
6492         (gst_collect_pads_available), (gst_collect_pads_read),
6493         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6494         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6495         (gst_collect_pads_chain):
6496         * libs/gst/base/gstcollectpads.h:
6497         Clean up the mess that is collectpads, add comments and
6498         FIXMEs where needed.
6499         Maintain a separate pad list so we can add pads while
6500         collecting the other ones. For this we need a new separate 
6501         lock (see comics).
6502         Fix memory leak in finalize.
6503         Refactor some weird code to set/unset pad flushing flags, mark
6504         with comments.
6505         Don't crash in _available, _read, _flush when we're EOS.
6506
6507         * tests/check/libs/.cvsignore:
6508         Ignore adapter check binary.
6509
6510 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         * gst/gstindex.c: (gst_index_resolver_get_type):
6513         * plugins/elements/gstfakesink.c:
6514         (gst_fake_sink_state_error_get_type):
6515         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6516         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6517         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6518           Const-ify GEnumValue arrays.
6519
6520 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6521
6522         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6523           Add test case for flags + gst_buffer_make_metadata_writable().
6524
6525 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6526
6527         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6528           gst_buffer_make_metadata_writable() should maintain the
6529           buffer flags (those that make sense at least) (see #340859).
6530
6531 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6532
6533         * tools/gst-inspect.c:
6534         * tools/gst-launch.c:
6535         * tools/gst-typefind.c:
6536         * tools/gst-xmlinspect.c:
6537         * tools/tools.h:
6538           Fix up includes: need to include stdlib.h in tools.h for exit().
6539
6540 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6541
6542         * gst/gsttaglist.c: (_gst_tag_initialize):
6543         * gst/gsttaglist.h:
6544           API: add GST_TAG_IMAGE tag (#340721).
6545
6546 2006-05-08  Wim Taymans  <wim@fluendo.com>
6547
6548         * gst/gstquery.c:
6549         Added some docs for the segment query.
6550
6551 2006-05-08  Wim Taymans  <wim@fluendo.com>
6552
6553         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6554         (gst_base_src_loop), (gst_base_src_change_state):
6555         Always push non-flushing serialized events in the streaming 
6556         thread.
6557
6558 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6559
6560         * gst/gsterror.c: (_gst_stream_errors_init):
6561           Add a missing error string.
6562
6563 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6564
6565         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6566         Add applied_rate to the debug
6567
6568         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6569         Copy applied_rate into the outgoing NEWSEGMENT event
6570
6571 2006-05-08  Wim Taymans  <wim@fluendo.com>
6572
6573         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6574
6575         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6576         (gst_base_sink_change_state):
6577         call ::unlock before taking the PREROLL_LOCK so we can safely
6578         handle elements that lock in ::render.
6579         Fixes #340174.
6580
6581 2006-05-08  Edward Hervey  <edward@fluendo.com>
6582
6583         * autogen.sh: (CONFIGURE_DEF_OPT): 
6584         Darwin's libtoolize is in fact called glibtoolize.
6585         Adding glibtoolize to the list of accepted names for libtoolize.
6586
6587 2006-05-08  Wim Taymans  <wim@fluendo.com>
6588
6589         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6590         Unify error handling, don't post an error message
6591         when a push() returns EOS but perform our normal EOS
6592         handling code. Fixes #340772.
6593
6594 2006-05-08  Wim Taymans  <wim@fluendo.com>
6595
6596         * docs/design/part-overview.txt:
6597         Make upsteam/downstream concepts more clear.
6598         Give an example of serialized/non-serialized events.
6599
6600         * docs/design/part-events.txt:
6601         * docs/design/part-streams.txt:
6602         Mention applied_rate.
6603
6604         * docs/design/part-trickmodes.txt:
6605         Mention applied rate, flesh out some more use cases.
6606
6607         * gst/gstevent.c: (gst_event_new_new_segment),
6608         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6609         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6610         (gst_event_parse_tag), (gst_event_new_buffer_size),
6611         (gst_event_parse_buffer_size), (gst_event_new_qos),
6612         (gst_event_parse_qos), (gst_event_parse_seek),
6613         (gst_event_new_navigation):
6614         * gst/gstevent.h:
6615         Add applied_rate field to NEWSEGMENT event.
6616         API: gst_event_new_new_segment_full()
6617         API: gst_event_parse_new_segment_full()
6618
6619         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6620         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6621         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6622         * gst/gstsegment.h:
6623         Add applied_rate to GstSegment structure.
6624         Make calculation of stream_time and running_time more correct
6625         wrt rate/applied_rate.
6626         Add some more docs.
6627         API: GstSegment::applied_rate field
6628         API: gst_segment_set_newsegment_full();
6629
6630         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6631         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6632         * libs/gst/base/gstbasetransform.c:
6633         (gst_base_transform_sink_eventfunc),
6634         (gst_base_transform_handle_buffer):
6635         Parse and use applied_rate in the GstSegment field.
6636
6637         * tests/check/gst/gstevent.c: (GST_START_TEST):
6638         Add check for applied_rate field.
6639
6640         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6641         (gstsegments_suite):
6642         Add more checks for various GstSegment operations.
6643
6644 2006-05-08  Wim Taymans  <wim@fluendo.com>
6645
6646         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6647         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6648         (gst_base_sink_get_position), (gst_base_sink_change_state):
6649         Store the sync time of the buffer end position separatly in a
6650         new variable eos_rtime so we can properly sync the EOS event.
6651         Fixes #340697.
6652         Fix the docs for gst_base_sink_set_qos_enabled().
6653         Don't set segment start to invalid value when we receive a 
6654         non TIME newsegment.
6655         get closer to handling position reporting for negative rates 
6656         correctly.
6657
6658 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * gst/gstcaps.c:
6661         Docs about how to print caps for debug purposes.
6662
6663         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6664         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6665
6666 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6667
6668         * gst/gstelement.c:
6669           use full enum names and preprend a '%' in docs strings to make recent 
6670           gtk-doc turn that into a link
6671
6672 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6673
6674         * docs/manual/basics-bins.xml:
6675         * docs/manual/basics-bus.xml:
6676         * docs/manual/basics-pads.xml:
6677           Some typo fixes, some additions, some clarifications. 
6678
6679 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6680
6681         * tools/gst-inspect.c: (main):
6682         * tools/gst-launch.c: (main):
6683         * tools/gst-run.c: (main):
6684         * tools/gst-typefind.c: (main):
6685         * tools/gst-xmlinspect.c: (main):
6686           Use the string passed to g_option_context_new() for
6687           what it's intended for - the program name is already
6688           printed elsewhere.
6689
6690 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6691
6692         * tools/Makefile.am:
6693         * tools/gst-inspect.c: (main):
6694         * tools/gst-launch.c: (main):
6695         * tools/gst-xmlinspect.c: (main):
6696         * tools/tools.h:
6697           Add back --version command line option (#340460).
6698
6699         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6700           Add --version option and use GOption for argument parsing; refactor a
6701           bit; accept directories as arguments and recurse into them; lastly,
6702           print a decent error message when things go wrong.
6703
6704 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6705
6706         * docs/manual/basics-bins.xml:
6707         Don't mention GstThread (#340611)
6708         * docs/manual/basics-elements.xml:
6709         Update link to GObject tutorial (#340607)
6710         
6711 2006-05-05  Wim Taymans  <wim@fluendo.com>
6712
6713         * gst/gstbuffer.h:
6714         * gst/gstminiobject.c:
6715         Add note about refcounting and miniobject/buffer writeability
6716         to docs. Fixes #340604
6717
6718         * gst/gstelementfactory.h:
6719         Added some explanation about @klass.
6720
6721 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6722
6723         * docs/manual/intro-motivation.xml:
6724         * docs/manual/manual.xml:
6725         Avoid CORBA & Bonobo references (#340598)
6726
6727 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6728
6729         * docs/manual/basics-bus.xml:
6730         * docs/manual/basics-pads.xml:
6731         Fix up some inaccuracies and omissions (#340609)
6732         
6733 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6734
6735         * gst/gstghostpad.c:
6736           Small typo in docs (#340625)
6737
6738 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6739
6740         * gst/parse/Makefile.am:
6741           Make 'make -j' proof (see #340698).
6742
6743 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6744
6745         * configure.ac:
6746           Require GLib-2.8 here as well.
6747
6748 2006-05-05  Wim Taymans  <wim@fluendo.com>
6749
6750         * gst/glib-compat.c:
6751         * gst/gst.c: (init_pre):
6752         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6753         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6754         (gst_object_dispatch_properties_changed):
6755         * gst/gstobject.h:
6756         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6757         * gst/gststructure.c: (gst_structure_set_valist):
6758         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6759         Remove pre glib2.8 compatibility, fixes #340508
6760
6761 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6762
6763         * gst/gsttaglist.h:
6764           Mention type of tags in doc blurbs.
6765
6766 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6767
6768         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6769         (gst_pad_configure_src), (gst_pad_push):
6770         Restore acceptcaps checking behaviour now that good plugins have
6771         been released.
6772
6773 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6774
6775         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6776
6777         * gst/gst.c:
6778         * gst/gstbus.c:
6779         * gst/gstclock.c:
6780         * gst/gstevent.c:
6781         * gst/gstformat.c:
6782         * gst/gstmessage.c:
6783         * gst/gstparse.c:
6784         * gst/gstquery.c:
6785         * gst/gstutils.c:
6786         * gst/parse/Makefile.am:
6787         * libs/gst/base/gstadapter.c:
6788         * libs/gst/base/gstbasesrc.c:
6789         * libs/gst/base/gstpushsrc.c:
6790         * libs/gst/base/gsttypefindhelper.c:
6791         * plugins/elements/gstfakesrc.c:
6792         * plugins/elements/gstidentity.c:
6793           Make sure gstprivate.h and/or config.h are
6794           always included first, otherwise some of our
6795           defines (like _FILE_OFFSET_BITS) might be
6796           redefined in the system headers. Fixes build
6797           on opensolaris (#340016).
6798
6799 2006-05-04  Wim Taymans  <wim@fluendo.com>
6800
6801         * docs/libs/gstreamer-libs-sections.txt:
6802         API: addition: gst_adapter_take_buffer()
6803         
6804         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6805         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6806         (gst_adapter_available_fast):
6807         * libs/gst/base/gstadapter.h:
6808         Prepare for optimizing the hell out of this hugely inefficient
6809         piece of code. 
6810         Added gst_adapter_take_buffer() so we can at least start thinking
6811         about subbuffering and merging.
6812         Added some comments.
6813
6814         * tests/check/Makefile.am:
6815         * tests/check/libs/adapter.c: (GST_START_TEST),
6816         (gst_adapter_suite), (main):
6817         Added GstAdapter check.
6818
6819 2006-05-04  Wim Taymans  <wim@fluendo.com>
6820
6821         * docs/design/part-overview.txt:
6822         Fix some typos, add blurb about buffer flags.
6823
6824 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6825
6826         * docs/libs/gstreamer-libs-sections.txt:
6827           make sure GstBaseTransformClass shows up in the docs
6828         * libs/gst/base/gstbasetransform.c:
6829         * libs/gst/base/gstbasetransform.h:
6830           move docs so gtk-doc picks it up now
6831
6832 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6833
6834         * docs/libs/gstreamer-libs-sections.txt:
6835           add missing symbols to docs
6836
6837 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6838
6839         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6840           back out the newsegment handling change, see #340060 for ongoing
6841           discussion
6842
6843 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6844
6845         * tools/gst-run.c: (get_candidates), (main):
6846           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6847           work); fix typo in error message. Fixes #340079.
6848
6849 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6850
6851         * common/Makefile.am:
6852         * docs/Makefile.am:
6853         * docs/faq/Makefile.am:
6854         * docs/gst/Makefile.am:
6855         * docs/libs/Makefile.am:
6856         * docs/manual/Makefile.am:
6857         * docs/plugins/Makefile.am:
6858         * docs/pwg/Makefile.am:
6859         * docs/slides/Makefile.am:
6860         * docs/upload.mak:
6861         * common/upload.mak:
6862           move upload.mak to common
6863
6864 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6865
6866         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6867           add more asserts on refcounts
6868           do more cleanup at end of tests
6869           fix test leaks showing in FC5
6870
6871 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6872
6873         * plugins/elements/gsttypefindelement.c:
6874         (gst_type_find_element_handle_event):
6875         reverted wrong change and reflowed code to avoid others falling into
6876         this trap
6877
6878 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6879
6880         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6881           fix changelog entry about last collectpads change,
6882           add notes about proper fix
6883
6884 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6885
6886         * gst/gst.c:
6887         * gst/gstregistry.c: (gst_registry_scan_path_level),
6888         (gst_registry_scan_path):
6889         * gst/gstregistry.h:
6890           only write out registry if it has changed, fixes #338339
6891
6892 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6893
6894         * gst/gstbin.c:
6895         * gst/gstpipeline.c:
6896         * plugins/elements/gstcapsfilter.c:
6897         * plugins/elements/gstfakesink.c:
6898         * plugins/elements/gstfakesrc.c:
6899         * plugins/elements/gstfdsink.c:
6900         * plugins/elements/gstfdsrc.c:
6901         * plugins/elements/gstfilesink.c:
6902         * plugins/elements/gstfilesrc.c:
6903         * plugins/elements/gstidentity.c:
6904         * plugins/elements/gstqueue.c:
6905         * plugins/elements/gsttee.c:
6906         * plugins/elements/gsttypefindelement.c:
6907         (gst_type_find_element_handle_event):
6908           make GstElementDetails const
6909
6910 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6911
6912         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6913         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6914         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6915           more detailed debug and formatting cleanup,
6916           forward newsegments to src-pad (so that e.g. adder not eats them)
6917
6918 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6919
6920         * gst/gstutils.c: (gst_element_link_pads):
6921           cleanup double code
6922
6923 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6924
6925         * libs/gst/controller/gstcontroller.c:
6926         (gst_controller_sync_values):
6927           some little tuning
6928         * tests/check/libs/controller.c: (GST_START_TEST),
6929         (gst_controller_suite):
6930           a new test for live value handling
6931
6932 2006-04-28  Wim Taymans  <wim@fluendo.com>
6933
6934         * gst/gstutils.c: (push_and_ref):
6935         Added some more docs.
6936         Fix refcount issue whith gst_element_found_tags() helper 
6937         function. Fixes #338335
6938
6939         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6940         Added testsuite for gst_element_found_tags().
6941
6942 2006-04-28  Michael Smith  <msmith@fluendo.com>
6943
6944         * gst/gstvalue.c: (gst_value_serialize_flags):
6945           Avoid NULL dereference when trying to serialize flags containing
6946           invalid values.
6947
6948 2006-04-28  Michael Smith  <msmith@fluendo.com>
6949
6950         * plugins/elements/gsttypefindelement.c:
6951         (gst_type_find_element_handle_event):
6952           If we get EOS before any data is accumulated, don't use
6953           uninitialised local variables.
6954
6955 2006-04-28  Michael Smith  <msmith@fluendo.com>
6956
6957         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6958         (gst_dp_event_from_packet):
6959           Fixes in reading/writing events over GDP (not currently used?) - 
6960           dereferencing NULL events for unknown/invalid event types, memory
6961           leak, and change g_warning to GST_WARNING.
6962
6963 2006-04-28  Wim Taymans  <wim@fluendo.com>
6964
6965         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6966         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6967         (gst_base_sink_get_position), (gst_base_sink_change_state):
6968         When frame dropping is enabled, we should not ignore frames
6969         without a duration.
6970         Update some documentation.
6971
6972 2006-04-28  Wim Taymans  <wim@fluendo.com>
6973
6974         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6975         (gst_base_src_send_event), (gst_base_src_change_state):
6976         Documentation updates.
6977
6978 2006-04-28  Wim Taymans  <wim@fluendo.com>
6979
6980         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6981         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6982         handle EAGAIN, EINTR and short writes correctly. Also clean
6983         up some error cases, avoid a deadlock on bad file descriptors and
6984         use GST_DEBUG_OBJECT.
6985         Fixes #339843
6986
6987 2006-04-28  Wim Taymans  <wim@fluendo.com>
6988
6989         * gst/gstvalue.c: (gst_value_serialize_buffer),
6990         (gst_value_deserialize_buffer):
6991         Don't try to serialize a GValue with a NULL buffer. 
6992         Fixes #339821.
6993
6994         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6995         Added check for serialisation of NULL buffers.
6996
6997 2006-04-28  Wim Taymans  <wim@fluendo.com>
6998
6999         * gst/gstminiobject.c: (gst_value_take_mini_object):
7000         Taking a NULL miniobject is valid, fix the case where
7001         we try to unref the NULL miniobject.
7002
7003 2006-04-28  Wim Taymans  <wim@fluendo.com>
7004
7005         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7006
7007         * gst/gstbin.c: (gst_bin_handle_message_func):
7008         Update docs.
7009         Don't leak bin refcount when a state recalc is
7010         in progress and we delay another one #339808.
7011
7012 2006-04-28  Wim Taymans  <wim@fluendo.com>
7013
7014         * docs/design/part-TODO.txt:
7015         Mention QoS as an ongoing work item.
7016
7017         * docs/design/part-buffering.txt:
7018         New doc about buffering that needs to be fleshed out
7019         at some point.
7020
7021         * docs/design/part-qos.txt:
7022         More QoS policy for decoders/demuxers/transforms
7023
7024         * docs/design/part-trickmodes.txt:
7025         Small update.
7026
7027 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7028
7029         * configure.ac:
7030           back to HEAD
7031
7032 === release 0.10.5 ===
7033
7034 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
7035
7036         * configure.ac:
7037           releasing 0.10.5, "Fogo"
7038
7039 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7040
7041         patch by: Wim Taymans
7042
7043         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7044         (gst_pad_configure_src), (gst_pad_push):
7045         * gst/gstpipeline.c: (gst_pipeline_init):
7046           Fix internal data flow errors.  Fixes #338711.
7047
7048 2006-04-12  Wim Taymans  <wim@fluendo.com>
7049
7050         * tests/check/gst/gstelement.c: (GST_START_TEST):
7051         Don't leak the factory.
7052
7053 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7054
7055         * configure.ac:
7056         * win32/common/config.h:
7057           prerelease
7058
7059 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7060
7061         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7062         (gst_controller_unset_all):
7063           Free allocated GstTimedValues when freeing list nodes.
7064           Should fix leaks 'make check-valgrind' complains about.
7065
7066         * win32/common/libgstcontroller.def:
7067           Add gst_controller_unset_all.
7068
7069 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
7070
7071         * docs/libs/gstreamer-libs-sections.txt:
7072         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7073         (gst_controller_unset_all):
7074         * libs/gst/controller/gstcontroller.h:
7075         API: Added new method gst_controller_unset_all()
7076         fixed gst_controller_unset()
7077         * tests/check/libs/controller.c: (GST_START_TEST),
7078         (gst_controller_suite):
7079         Added two testcases for new and fixed method
7080
7081 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
7082
7083         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7084           MSG_DONTWAIT is not defined on Cygwin, so work
7085           around that (fixes #317048).
7086           
7087 2006-04-11  Wim Taymans  <wim@fluendo.com>
7088
7089         * gst/gstelementfactory.c: (gst_element_register),
7090         (gst_element_factory_create), (gst_element_factory_make):
7091         Some cleanups.
7092         Fixed a FIXME.
7093         Updated docs (Fixes #131079)
7094
7095         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7096         Small cleanups.
7097
7098         * tests/check/gst/gstelement.c: (GST_START_TEST),
7099         (gst_element_suite):
7100         Added testcase for elementfactory class field.
7101
7102 2006-04-10  Wim Taymans  <wim@fluendo.com>
7103
7104         * gst/gstsegment.c:
7105         Added some more docs.
7106
7107         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7108         (gst_base_sink_reset_qos):
7109         Calculate more accurate rate values.
7110
7111 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
7112
7113         * gst/gst_private.h:
7114           add a new #ifdef to use __declspec(dllimport) only for
7115           other modules and not for gstreamer core
7116         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7117           use gst_guint64_to_gdouble for conversion
7118         * win32/common/libgstreamer.def:
7119           add new exported functions
7120         * win32/vs6/gst_inspect.dsp:
7121         * win32/vs6/gst_launch.dsp:
7122         * win32/vs6/libgstbase.dsp:
7123         * win32/vs6/libgstcontroller.dsp:
7124         * win32/vs6/libgstcoreelements.dsp:
7125         * win32/vs6/libgstdataprotocol.dsp:
7126         * win32/vs6/libgstnet.dsp:
7127           update project files
7128
7129 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
7130
7131         * gst/gstbuffer.c: (gst_subbuffer_class_init):
7132         * gst/gstclock.c: (gst_clock_class_init):
7133         * gst/gstelement.c: (gst_element_class_init):
7134         * gst/gstindex.c: (gst_index_class_init):
7135         * gst/gstindexfactory.c: (gst_index_factory_class_init):
7136         * gst/gstobject.c: (gst_object_class_init),
7137         (gst_signal_object_class_init):
7138         * gst/gstpad.c: (gst_pad_class_init):
7139         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7140         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7141         * gst/gstregistry.c: (gst_registry_class_init):
7142         * gst/gstsystemclock.c: (gst_system_clock_class_init):
7143         * gst/gsttask.c: (gst_task_class_init):
7144         * gst/gstxml.c: (gst_xml_class_init):
7145         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7146         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7147         (gst_base_src_loop):
7148         * libs/gst/controller/gstcontroller.c:/
7149         (_gst_controller_class_init):
7150         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7151         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7152         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7153         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7154         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7155         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7156
7157 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
7158
7159         * gst/gstpad.c: (gst_pad_link):
7160           Must set peer pads before calling the link function, otherwise
7161           a task started from a link function might get a flow-not-linked
7162           result when trying to push because the other thread where the
7163           linking happens hasn't had a chance to set the peers yet. This
7164           might happen for example when a queue gets linked to a downstream
7165           element, as queue starts a streaming task when its source pad
7166           gets linked. Happens in real life when playing back flac/musepack
7167           files in playbin (#332390).
7168           
7169 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
7170
7171         * gst/gstindex.h:
7172         * gst/gstxml.h:
7173         * libs/gst/base/gstadapter.h:
7174         * libs/gst/base/gstbasesink.h:
7175         * libs/gst/base/gstbasesrc.h:
7176         * libs/gst/base/gstbasetransform.h:
7177         * libs/gst/base/gstcollectpads.h:
7178         * libs/gst/base/gstpushsrc.h:
7179         Fix broken GObject macros
7180
7181 2006-04-07  Wim Taymans  <wim@fluendo.com>
7182
7183         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7184         Initialize start and stop times, thanks valgrind.
7185
7186 2006-04-07  Wim Taymans  <wim@fluendo.com>
7187
7188         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7189         Be a bit nicer to badly behaving upstream elements that expect
7190         us to deal with non TIME segments and timestamps (such as fakesrc
7191         in the testsuite).
7192
7193 2006-04-07  Wim Taymans  <wim@fluendo.com>
7194
7195         * gst/gstbus.c:
7196         Small documentation clarification about the signal watch.
7197
7198         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7199         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7200         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7201         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7202         (gst_base_sink_get_position_last),
7203         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7204         Convert and store timestamps in stream time and running time, the
7205         raw timestamps are not useful, also document this better.
7206         Use different window sizes for good and bad QoS observations so
7207         we react to badness a little quicker.
7208         Keep track of the amount of rendered and dropped buffers.
7209         Send QoS timestamps in running time.
7210
7211         * libs/gst/base/gstbasetransform.c:
7212         (gst_base_transform_sink_eventfunc),
7213         (gst_base_transform_handle_buffer):
7214         Compare QoS timestamps against running time.
7215
7216 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7217
7218         * gst/gstpad.c:
7219           Typo fixes in docs.
7220
7221 2006-04-06  Michael Smith  <msmith@fluendo.com>
7222
7223         * gst/gstpad.c: (gst_pad_set_property):
7224           Use g_value_get_object() instead of g_value_dup_gst_object(),
7225           to avoid double-reffing the pad template (which we then sink,
7226           so this worked previously if (and only if) the pad template
7227           was floating.
7228
7229         * gst/gstpadtemplate.c: (gst_pad_template_init),
7230         (gst_pad_template_pad_created):
7231           Never return floating references to pad templates, create
7232           them as initially-sunken.
7233
7234           Document an extra function (and make this stop sinking our
7235           pad template, since that is now guaranteed to do nothing,
7236           since we created it sunken).
7237
7238         * gst/gstghostpad.c:
7239           Fix docs typo.
7240
7241 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
7242
7243         * gst/gstinfo.c: (__gst_in_valgrind):
7244           Add some newlines.
7245
7246         * plugins/elements/gsttypefindelement.c:
7247         (gst_type_find_element_chain):
7248           Don't leak buffer caps.
7249
7250 2006-04-06  Michael Smith  <msmith@fluendo.com>
7251
7252         * gst/parse/grammar.y:
7253           Fix a leak in parse-launch for any source-or-sink named element 
7254           references used.
7255
7256         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7257           Unref the pipeline if it exists after we've failed parsing.
7258
7259 2006-04-05  Michael Smith  <msmith@fluendo.com>
7260
7261         * gst/gstpipeline.c: (gst_pipeline_init):
7262           When we create a pipeline bus, initially create it in flushing mode.
7263           Fixes leaks in at least one test, and makes a new pipeline work the
7264           same as one that has gone to READY and then back to NULL.
7265
7266         * gst/gstelement.c:
7267           Typo fix in docs.
7268
7269 2006-04-05  Michael Smith  <msmith@fluendo.com>
7270
7271         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7272           Unref a pad we reffed.
7273         * tests/check/gst/gstutils.c: (GST_START_TEST):
7274           Unref bins
7275
7276 2006-04-05  Michael Smith  <msmith@fluendo.com>
7277
7278         * gst/gstquery.c: (gst_query_set_formats),
7279         (gst_query_set_formatsv):
7280           Fix leaking GValues in queries, as shown by valgrind/testsuite.
7281
7282 2006-04-05  Michael Smith  <msmith@fluendo.com>
7283
7284         * tests/check/generic/sinks.c: (GST_START_TEST):
7285           Fix a variety of memleaks in sinks check, which are only sometimes 
7286           shown by running the tests under valgrind (weird?).
7287
7288 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
7289
7290         * docs/version.entities.in:
7291           Fix the substituted entity name after thomas' changes on the
7292           weekend.
7293
7294 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7295
7296         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7297         VALGRIND_PRINTF
7298         
7299 2006-04-05  Andy Wingo  <wingo@pobox.com>
7300
7301         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7302
7303         * libs/gst/base/gstbasetransform.c
7304         (gst_base_transform_sink_eventfunc): When resetting our segment on
7305         FLUSH_STOP, also update the flag saying we haven't seen a
7306         newsegment.
7307
7308 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7309
7310         Patch by: Paolo Borelli  <pborelli at katamail dot com>
7311
7312         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7313         (gst_plugin_check_license):
7314           minor clean-ups: G_DEFINE_TYPE already takes care of the
7315           parent_class stuff, no need to do it twice. Mark array of
7316           license strings as constant. (#337103)
7317           
7318 2006-04-04  Michael Smith  <msmith@fluendo.com>
7319
7320         * tools/gst-inspect.c: (print_element_list):
7321           Free the right plugin list; fixes a memory leak.
7322
7323 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7324
7325         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
7326
7327         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7328           Don't error out on empty buffers (#336945).
7329           
7330 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
7331
7332         * docs/libs/gstreamer-libs-sections.txt:
7333         * gst/gsttaglist.c:
7334         * libs/gst/base/gstbasesink.c:
7335         * libs/gst/base/gstbasesink.h:
7336         * libs/gst/base/gstbasesrc.c:
7337         * libs/gst/base/gstbasesrc.h:
7338           Documentation updates. Make BaseSink and BaseSrc docs contain the
7339           class structure so that people can actually see the prototypes for
7340           virtual functions they're supposed to be overriding.
7341
7342 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
7343
7344         * plugins/elements/gsttypefindelement.c:
7345         (gst_type_find_element_chain):
7346           More debug info; when skipping typefinding, send cached
7347           events in all cases.
7348
7349 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7350
7351         * configure.ac:
7352           use new AS_VERSION and AS_NANO macros
7353         * gst/gst-i18n-lib.h:
7354         * gst/gst.c:
7355         * gst/gsterror.c:
7356         * gst/gstversion.h.in:
7357         * win32/common/config.h:
7358         * win32/common/config.h.in:
7359           update accordingly
7360
7361 2006-03-31  Michael Smith  <msmith@fluendo.com>
7362
7363         * plugins/elements/gsttypefindelement.c:
7364         (gst_type_find_element_chain):
7365           Do not typefind content if the buffers already have caps.
7366           Neccesary for icydemux (#333657), and the right thing to do anyway.
7367
7368 2006-03-30  Wim Taymans  <wim@fluendo.com>
7369
7370         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7371         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7372         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7373         (gst_base_sink_record_qos_observation),
7374         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7375         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7376         (gst_base_sink_change_state):
7377         More QoS measurements as described in the design doc.
7378         Get rid of ringbuffer with observations, running average is
7379         more simple and equally good.
7380         Calculates valid proportion now.
7381         Added beginning of flood measurement.
7382
7383 2006-03-29  Wim Taymans  <wim@fluendo.com>
7384
7385         * docs/design/part-qos.txt:
7386         * gst/gstclock.c:
7387         Small documentation updates and additions.
7388
7389 2006-03-29  Wim Taymans  <wim@fluendo.com>
7390
7391         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7392         (gst_base_src_send_event), (gst_base_src_loop),
7393         (gst_base_src_change_state):
7394         Perform the EOS logic when we reach the segment stop position.
7395         Fix compilation on gcc4.1
7396
7397 2006-03-29  Wim Taymans  <wim@fluendo.com>
7398
7399         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7400
7401         * plugins/elements/gstqueue.c: (gst_queue_init),
7402         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7403         (gst_queue_set_property):
7404         * plugins/elements/gstqueue.h:
7405         In queue, when EOS is received, if minimum threshold > max_size -
7406         current_level, there is chance that queue blocks forever in conditional
7407         item del wait. This is because the queue is not emptied completely due
7408         to minimum threshold.  Here is another approach. Instead of setting
7409         cur_levels to max in EOS, just zero all minimum threshold levels. This
7410         should make sure that queue gives out all data. When going to READY
7411         (stop) state, just reset the original minimum threshold levels.
7412         Fixes #336336.
7413
7414 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
7415
7416         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7417         (gst_type_find_element_handle_event),
7418         (gst_type_find_element_send_cached_events),
7419         (gst_type_find_element_change_state):
7420         * plugins/elements/gsttypefindelement.h:
7421           When typefinding is done in push mode, we should cache
7422           events we receive during typefinding instead of just
7423           dropping them (e.g. newsegment, custom events from
7424           dvdreadsrc etc.) and then send them out once we've
7425           determined the type of the stream (and decodebin
7426           has had a chance to plug in a decoder/demuxer).
7427           
7428 2006-03-27  Wim Taymans  <wim@fluendo.com>
7429
7430         * docs/design/part-qos.txt:
7431         First QoS ideas.
7432
7433 2006-03-27  Wim Taymans  <wim@fluendo.com>
7434
7435         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7436
7437         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7438         (gst_base_src_send_event), (gst_base_src_change_state):
7439         Handle element seek correctly when we are streaming.
7440         Fixes #326998.
7441
7442 2006-03-24  Michael Smith  <msmith@fluendo.com>
7443
7444         * docs/faq/gst-uninstalled:
7445           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7446           allow you to correctly run intalled applications built against old 
7447           core, using plugins that require updated core (e.g. running
7448           installed totem against a full uninstalled gstreamer stack)
7449
7450 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7451
7452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7453         more debug details
7454
7455 2006-03-24  Wim Taymans  <wim@fluendo.com>
7456
7457         * docs/gst/gstreamer-sections.txt:
7458         Rearrange the order of the methods so that related methods
7459         are grouped together in sections.
7460
7461 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7462
7463         * gst/gstelement.c:
7464           Little clarification in the docs
7465
7466 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7467
7468         * docs/README:
7469         formatting fix
7470         * plugins/elements/gstidentity.c:
7471         * plugins/elements/gstqueue.c:
7472         * plugins/elements/gsttee.c:
7473         * plugins/elements/gsttypefindelement.c:
7474         GST_ELEMENT_DETAILS formatting
7475
7476 2006-03-24  Wim Taymans  <wim@fluendo.com>
7477
7478         * libs/gst/base/gstbasesink.h:
7479         Only add fields, not insert or we break ABI.
7480
7481 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7482
7483         * win32/common/libgstbase.def:
7484         * win32/common/libgstreamer.def:
7485           Update, add recently added functions.
7486
7487 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7488
7489         * docs/gst/gstreamer-sections.txt:
7490         * gst/gstutils.c: (gst_pad_query_peer_position),
7491         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7492         * gst/gstutils.h:
7493           API: add some new utility functions:
7494            - gst_pad_query_peer_position()
7495            - gst_pad_query_peer_duration()
7496            - gst_pad_query_peer_convert()
7497           
7498 2006-03-23  Wim Taymans  <wim@fluendo.com>
7499
7500         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7501         (gst_base_sink_init), (gst_base_sink_finalize),
7502         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7503         (gst_base_sink_set_property), (gst_base_sink_get_property),
7504         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7505         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7506         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7507         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7508         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7509         (gst_base_sink_preroll_object), (gst_base_sink_event),
7510         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7511         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7512         (gst_base_sink_query), (gst_base_sink_change_state):
7513         Decouple max-lateness and the fact that QoS messages are generated
7514         with a new property (qos).
7515         added API: GstBaseSink::async_play()
7516         Add vmethod so subclasses can be notified of ASYNC playing
7517         state changes.
7518         Collect timestamp start and stop to report better current
7519         position in EOS/PLAYING/PAUSED/READY/NULL.
7520         Refactor QoS/frame dropping and other measurements.
7521         API: GstBaseSrc::qos
7522         Fixes #326311
7523
7524         * libs/gst/base/gstbasesink.h:
7525         Added Private struct.
7526         API: gst_base_sink_set_qos_enabled()
7527         API: gst_base_sink_is_qos_enabled()
7528
7529 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7532           If compiling against GLib-2.8 or newer, try to read the
7533           registry file using GMappedFile first before falling back
7534           to fopen() + fread() (#332151).
7535
7536 2006-03-22  Wim Taymans  <wim@fluendo.com>
7537
7538         * gst/gstinfo.c: (gst_debug_set_active),
7539         (gst_debug_category_set_threshold):
7540         Disable debugging unless explicitly activated.
7541         Fixes #335480.
7542
7543 2006-03-22  Wim Taymans  <wim@fluendo.com>
7544
7545         * gst/gstelement.c: (gst_element_set_locked_state),
7546         (gst_element_dispose):
7547         Cleanup the error case.
7548
7549         * gst/gstobject.c: (gst_object_dispose):
7550         print a critical when some object was disposed with
7551         a parent, also revive the object since it might
7552         crash the parent.
7553
7554 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7555
7556         * tools/gst-launch.1.in:
7557           Fix another typo.
7558
7559 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7560
7561         * configure.ac:
7562         * tests/check/Makefile.am:
7563           disable some tests when we don't have a registry
7564         * tests/check/gst/gstutils.c: (gst_utils_suite):
7565           don't build the part that needs parsing
7566
7567 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7568
7569         * gst/Makefile.am
7570         * tests/examples/Makefile.am:
7571           fix --disable-parse build
7572
7573 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7574
7575         * tools/gst-feedback.1.in:
7576           Fix typo: s/feeback/feedback/ (#133494).
7577
7578 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7579
7580         * tools/Makefile.am:
7581         * tools/gst-launch.1.in:
7582           Add FILES section and correct entry about GST_REGISTRY_PATH
7583           environment variable (#133495; #133494).
7584
7585 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7586
7587         * tools/Makefile.am:
7588         * tools/gst-md5sum.1.in:
7589         * tools/gst-md5sum.c:
7590           Remove gst-md5sum and man page (the md5sink element
7591           required was removed ages ago)
7592
7593 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7594
7595         * gst/gststructure.c: (gst_structure_id_set_value):
7596           Make sure that string fields in structures/taglists
7597           contain valid UTF-8 - we don't want to pass rubbish to
7598           applications because of a buggy plugin (cp. #334167).
7599
7600 2006-03-21  Edward Hervey  <edward@fluendo.com>
7601
7602         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7603         (gst_bin_handle_message_func):
7604         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7605         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7606         (gst_element_set_bus_func):
7607         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7608         * gst/gstminiobject.c: (gst_value_set_mini_object),
7609         (gst_value_take_mini_object):
7610         * gst/gstpad.c: (gst_pad_set_pad_template):
7611         * gst/gstpipeline.c: (gst_pipeline_dispose),
7612         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7613         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7614         (gst_collect_pads_chain):
7615         * libs/gst/net/gstnettimeprovider.c:
7616         (gst_net_time_provider_set_property):
7617         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7618         It's in fact all issues with gst_*object_replace().
7619
7620 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7621
7622         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7623         
7624         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7625         * pkgconfig/gstreamer-check.pc.in:
7626           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7627
7628 2006-03-21  Edward Hervey  <edward@fluendo.com>
7629
7630         * gst/gstbuffer.h:
7631         * gst/gstevent.h:
7632         * gst/gstmessage.h:
7633         gst_[buffer|event|message]_ref() macros are replaced by a static
7634         inline functions because gcc-4.1 will about if the return value
7635         isn't used.
7636         * tests/check/gst/gstevent.c: (event_probe):
7637         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7638
7639 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7640
7641         * gst/gstutils.h:
7642         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7643         the type' case. (Closes: #335195 for now). In the future, when we
7644         depend on GLib 2.10, we could also intern the type name using
7645         g_intern_static_string()
7646
7647 2006-03-20  Wim Taymans  <wim@fluendo.com>
7648
7649         * gst/gstbin.c: (gst_bin_handle_message_func),
7650         (bin_query_max_init), (bin_query_position_fold),
7651         (bin_query_position_done), (gst_bin_query):
7652         Position query should also take max of all streams.
7653
7654 2006-03-20  Wim Taymans  <wim@fluendo.com>
7655
7656         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7657         (gst_fake_src_finalize):
7658         Fix leaks in fakesrc.
7659
7660         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7661         Fix leaks in the testcase.
7662
7663 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7664
7665         * gst/gst_private.h:
7666           add win32 specific import decoration(__declspec(dllimport)) 
7667           for all extern GstDebugCategory * variables
7668         * win32/common/libgstbase.def:
7669         * win32/common/libgstcontroller.def:
7670         * win32/common/libgstreamer.def:
7671           Add some exports, remove empty lines
7672         * win32/common/libgstdataprotocol.def:
7673         * win32/common/libgstdataprotocol.dsp:
7674         * win32/common/libgstnet.def:
7675         * win32/common/libgstnet.dsp:
7676           new project files and exportation files added
7677         
7678 2006-03-19  Wim Taymans  <wim@fluendo.com>
7679
7680         * tests/check/libs/basesrc.c: (eos_event_counter):
7681         Use proper return value for probe.
7682
7683 2006-03-17  Wim Taymans  <wim@fluendo.com>
7684
7685         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7686         (gst_pad_push):
7687         Don't leak buffers, caps and pads on negotiation errors.
7688
7689 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7690
7691         * docs/faq/cvs.xml:
7692         * docs/faq/dependencies.xml:
7693         * docs/faq/developing.xml:
7694         * docs/faq/faq.xml:
7695         * docs/faq/general.xml:
7696         * docs/faq/getting.xml:
7697         * docs/faq/legal.xml:
7698         * docs/faq/troubleshooting.xml:
7699         * docs/faq/using.xml:
7700         Faq review and update.
7701
7702 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7703
7704         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7705         (gst_pad_push):
7706         Don't pound the cpu to pieces by checking get_caps when accept_caps
7707         is called with the same caps as the pad already has.
7708         Use GST_DEBUG_OBJECT when outputting caps change information.
7709
7710 2006-03-15  Wim Taymans  <wim@fluendo.com>
7711
7712         * gst/gstclock.c: (gst_clock_class_init):
7713         Fix docs.
7714
7715 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7716
7717         * gst/gstbuffer.h:
7718         Documentation fix.
7719
7720         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7721         (gst_pad_accept_caps), (gst_pad_configure_sink),
7722         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7723         Make the default acceptcaps behaviour be to check the requested 
7724         caps against the gst_pad_get_caps output. 
7725
7726         Ensure that gst_pad_accept_caps is used to check caps when a pad
7727         doesn't have a setcaps function, so that pads automatically refuse 
7728         caps that they don't allow in their pad template. (Fixes #332986)
7729
7730         When a buffer with attached caps is pushed, ensure that the source 
7731         pad receives those caps even if the element didn't call
7732         gst_pad_set_caps first.
7733
7734 2006-03-15  Wim Taymans  <wim@fluendo.com>
7735
7736         * libs/gst/base/gstadapter.c:
7737         Add some docs.
7738
7739 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7740
7741         * win32/common/libgstbase.def:
7742         * win32/common/libgstcontroller.def:
7743         * win32/common/libgstreamer.def:
7744           Add a whole bunch of missing functions (#334434).
7745
7746 2006-03-14  Wim Taymans  <wim@fluendo.com>
7747
7748         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7749         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7750         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7751         Better debug info when we receive a segment event.
7752         Reorganize a bit so we can pass the get_times() results around.
7753         Use the segment format when calculating the running time.
7754         Don't do QoS is sync is disabled or we have no clock or the
7755         element does not want us to sync to the clock.
7756         Don't drop buffers if QoS is disabled for now.
7757
7758 2006-03-14  Wim Taymans  <wim@fluendo.com>
7759
7760         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7761         Marked the stats property as unimplemented so people don't get
7762         wild ideas.
7763         Add debug message when regression goes wrong.
7764         Added some more docs.
7765
7766 2006-03-14  Wim Taymans  <wim@fluendo.com>
7767
7768         * gst/gstsegment.c: (gst_segment_to_stream_time):
7769         Return correct return type in case of errors.
7770
7771 2006-03-14  Wim Taymans  <wim@fluendo.com>
7772
7773         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7774           Don't segfault on invalid formats.
7775
7776 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7777
7778         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7779           Can't use gst_segment_to_running_time() when the segment
7780           is not in GST_TIME_FORMAT (like with filesink, for example).
7781           Stops flac encoding pipelines from spewing critical warnings
7782           at EOS (#331248).
7783           
7784 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7785
7786         * gst/gstpipeline.c: (gst_pipeline_class_init):
7787           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7788
7789         * plugins/elements/gsttypefindelement.c:
7790         (gst_type_find_element_handle_event):
7791           Don't try to typefind empty streams.
7792
7793 2006-03-14  Wim Taymans  <wim@fluendo.com>
7794
7795         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7796         (gst_base_sink_do_qos):
7797         Separate QoS calculation.
7798         Only drop buffers when lateness is bigger than the 
7799         duration of the buffer.
7800
7801 2006-03-13  Wim Taymans  <wim@fluendo.com>
7802
7803         * gst/gstpipeline.c: (gst_pipeline_set_property),
7804         (gst_pipeline_get_property), (do_pipeline_seek),
7805         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7806         (gst_pipeline_get_delay):
7807         Don't deadlock when reading properties.
7808
7809 2006-03-13  Wim Taymans  <wim@fluendo.com>
7810
7811         * libs/gst/base/gstbasetransform.c:
7812         (gst_base_transform_class_init), (gst_base_transform_init),
7813         (gst_base_transform_sink_event),
7814         (gst_base_transform_sink_eventfunc),
7815         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7816         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7817         (gst_base_transform_set_property),
7818         (gst_base_transform_get_property),
7819         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7820         (gst_base_transform_set_qos_enabled),
7821         (gst_base_transform_is_qos_enabled):
7822         * libs/gst/base/gstbasetransform.h:
7823         Make basetransform virtual method for src events too.
7824         Handle QOS in basetransform.
7825         API: gst_base_transform_update_qos()
7826         API: gst_base_transform_set_qos_enabled()
7827         API: gst_base_transform_is_qos_enabled()
7828
7829 2006-03-13  Wim Taymans  <wim@fluendo.com>
7830
7831         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7832         (gst_base_sink_do_sync):
7833         Small cleanups.
7834         Use QOS debug category.
7835
7836 2006-03-13  Wim Taymans  <wim@fluendo.com>
7837
7838         * plugins/elements/gstqueue.c:
7839         Very small doc update.
7840
7841 2006-03-13  Wim Taymans  <wim@fluendo.com>
7842
7843         * gst/gst_private.h:
7844         * gst/gstinfo.c: (_gst_debug_init):
7845         Added QOS debug category
7846
7847 2006-03-13  Wim Taymans  <wim@fluendo.com>
7848
7849         * docs/gst/gstreamer-sections.txt:
7850         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7851         * gst/gstbin.h:
7852         * gst/gstbus.c: (gst_bus_class_init):
7853         * gst/gstbus.h:
7854         * gst/gstclock.c:
7855         * gst/gstelement.c: (gst_element_set_locked_state):
7856         * gst/gstsegment.c:
7857         Documentation updates.
7858
7859         * gst/gstpipeline.c: (gst_pipeline_get_type),
7860         (gst_pipeline_class_init), (gst_pipeline_init),
7861         (gst_pipeline_dispose), (gst_pipeline_set_property),
7862         (gst_pipeline_get_property), (do_pipeline_seek),
7863         (gst_pipeline_send_event), (gst_pipeline_change_state),
7864         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7865         (gst_pipeline_get_delay):
7866         * gst/gstpipeline.h:
7867         Added methods for setting the delay.
7868         API: gst_pipeline_set_delay()
7869         API: gst_pipeline_get_delay()
7870         Add pipeline debug category
7871         Various cleanups.
7872         Updated docs.
7873         Don't reset stream time when seek failed.
7874
7875 2006-03-13  Wim Taymans  <wim@fluendo.com>
7876
7877         * docs/design/draft-klass.txt:
7878         * docs/design/part-clocks.txt:
7879         * docs/design/part-events.txt:
7880         * docs/design/part-gstbin.txt:
7881         * docs/design/part-gstpipeline.txt:
7882         * docs/design/part-messages.txt:
7883         * docs/design/part-negotiation.txt:
7884         * docs/design/part-overview.txt:
7885         * docs/design/part-preroll.txt:
7886         * docs/design/part-seeking.txt:
7887         * docs/design/part-states.txt:
7888         * docs/design/part-streams.txt:
7889         Documentation updates.
7890
7891 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7892
7893         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7894         us to leak strings...
7895
7896 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7897
7898         * libs/gst/net/gstnettimeprovider.c:
7899           fix docs
7900         * win32/common/config.h:
7901           update
7902
7903 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7904
7905         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7906
7907         * configure.ac:
7908           Don't check for libgnomeui (leftover from old examples
7909           that aren't built or disted any longer) (#334303).
7910           
7911 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7912
7913         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7914         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7915           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7916           there's no space left on the device.
7917
7918 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7919
7920         * gst/gstclock.h:
7921           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7922           to cast the input to GstClockTime before comparing with
7923           another GstClockTime value.
7924
7925 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7926
7927         * configure.ac:
7928           back to trunk
7929
7930 === release 0.10.4 ===
7931
7932 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7933
7934         * configure.ac:
7935           releasing 0.10.4, "Light"
7936
7937 2006-03-10  Michael Smith  <msmith@fluendo.com>
7938
7939         * libs/gst/dataprotocol/dataprotocol.c:
7940           Fix docs for dataprocotol to not get the return types completely
7941           wrong for a few functions.
7942
7943 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7944
7945         * docs/gst/gstreamer-sections.txt:
7946         * gst/gstpipeline.c: (gst_pipeline_class_init),
7947         (gst_pipeline_init), (gst_pipeline_set_property),
7948         (gst_pipeline_get_property), (gst_pipeline_change_state),
7949         (gst_pipeline_set_auto_flush_bus),
7950         (gst_pipeline_get_auto_flush_bus):
7951         * gst/gstpipeline.h:
7952           Add new API: gst_pipeline_set_auto_flush_bus() and
7953           gst_pipeline_get_auto_flush_bus() to disable automatic
7954           flushing of the pipeline's GstBus when going from READY
7955           to NULL state (#332045).
7956
7957 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7958
7959         * docs/gst/gstreamer-sections.txt:
7960         * gst/gsturi.c: (gst_uri_has_protocol):
7961         * gst/gsturi.h:
7962            Add new API: gst_uri_has_protocol() (#333779).
7963
7964 2006-03-09  Wim Taymans  <wim@fluendo.com>
7965
7966         * gst/gstclock.c: (gst_clock_entry_new),
7967         (gst_clock_id_compare_func), (gst_clock_id_wait),
7968         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7969         (gst_clock_init), (gst_clock_get_internal_time),
7970         (gst_clock_set_master), (do_linear_regression),
7971         (gst_clock_add_observation), (gst_clock_set_property):
7972         * gst/gstclock.h:
7973         Review docs.
7974         Small cleanups.
7975         Fix a possible segfault when the window-size is made smaller.
7976         Calculate jitter before performing the clock wait. Ideally
7977         the clock implementation should calculate jitter but we need
7978         API breakage for that.
7979
7980         * gst/gstsystemclock.c: (gst_system_clock_init):
7981         Docs review.
7982         
7983         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7984         Remove leftover else
7985
7986         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7987         (gst_systemclock_suite):
7988         Added check to test GST_CLOCK_DIFF.
7989
7990 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7991
7992         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7993         (gst_type_find_helper_get_range):
7994           If we are provided with the size, we should implement
7995           GstTypeFind::get_length, so that typefind functions who
7996           want to can actually peek at the middle of a file.
7997
7998 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7999
8000         * docs/manual/advanced-dataaccess.xml:
8001           Add some very very basic error checking.
8002
8003         * docs/pwg/appendix-checklist.xml:
8004           Some updates to the list of things to check when writing an element.
8005
8006 2006-03-08  Wim Taymans  <wim@fluendo.com>
8007
8008         * docs/design/part-element-transform.txt:
8009         Added some docs about the design of tranform elements.
8010
8011         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8012         (gst_base_src_loop), (gst_base_src_change_state):
8013         Mark buffers with the DISCONT flag.
8014
8015 2006-03-08  Michael Smith  <msmith@fluendo.com>
8016
8017         * gst/gstregistry.h:
8018         * gst/gstregistryxml.c: (gst_registry_save),
8019         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8020         (gst_registry_xml_save_pad_template),
8021         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8022         (gst_registry_xml_write_cache):
8023           Rewrite registry-saving to avoid race conditions and check for
8024           failed writes.
8025
8026 2006-03-08  Wim Taymans  <wim@fluendo.com>
8027
8028         * libs/gst/base/gstbasetransform.c:
8029         (gst_base_transform_transform_caps),
8030         (gst_base_transform_transform_size),
8031         (gst_base_transform_prepare_output_buffer),
8032         (gst_base_transform_get_unit_size),
8033         (gst_base_transform_buffer_alloc),
8034         (gst_base_transform_handle_buffer),
8035         (gst_base_transform_change_state):
8036         Cleanups, separate normal flow from errors, add sensible
8037         DEBUG lines.
8038         Don't try to renegotiate when allocating an output buffer.
8039         Also copy DISCONT buffer flag when copying a buffer.
8040         Reset the transform after we finish streaming, not during.
8041
8042 2006-03-08  Wim Taymans  <wim@fluendo.com>
8043
8044         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8045         Use last buffer timestamp in qos message.
8046
8047 2006-03-07  Wim Taymans  <wim@fluendo.com>
8048
8049         Patch by: Christophe Fergeau
8050
8051         * docs/pwg/advanced-tagging.xml:
8052         * docs/pwg/building-pads.xml:
8053           fixes #333416
8054
8055 2006-03-07  Wim Taymans  <wim@fluendo.com>
8056
8057         * docs/libs/gstreamer-libs-sections.txt:
8058         Added basesink new methods.
8059
8060         * gst/gstevent.c:
8061         * gst/gstevent.h:
8062         Docs updates. Flesh out the QoS docs.
8063
8064         * libs/gst/base/gstadapter.c:
8065         Small doc clarification about ownership and flushing.
8066
8067         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8068         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8069         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8070         (gst_base_sink_get_property), (gst_base_sink_do_sync):
8071         * libs/gst/base/gstbasesink.h:
8072         API additions: 
8073         Added new methods to allow subclass to control max-lateness 
8074         and sync.
8075         Generate very basic QoS events based on last sync observation.
8076         Updated docs, fix typo, added some QoS blurb.
8077
8078         * libs/gst/base/gstbasesrc.c:
8079         Remove obsolete _get_state() calls from docs.
8080
8081 2006-03-07  Wim Taymans  <wim@fluendo.com>
8082
8083         * docs/libs/gstreamer-libs-sections.txt:
8084         * libs/gst/base/gstbasetransform.h:
8085         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8086         Fix docs for GstBaseSrc.
8087
8088 2006-03-07  Wim Taymans  <wim@fluendo.com>
8089
8090         * docs/gst/gstreamer-sections.txt:
8091         * gst/gstbuffer.h:
8092         * gst/gstvalue.c:
8093         * libs/gst/base/gstbasetransform.h:
8094         Small documentation fixes.
8095
8096 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8097
8098         * gst/gstvalue.c:
8099           Document thread-unsafety of gst_value_register_foo_func()
8100           when used at the same time as gst_value_foo() (#322628).
8101
8102 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8103
8104         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8105         (gst_push_src_check_get_range):
8106           Push sources don't support pull mode by default.
8107
8108 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
8109
8110         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8111         (gst_base_src_init), (gst_base_src_pad_check_get_range),
8112         (gst_base_src_default_check_get_range):
8113         * libs/gst/base/gstbasesrc.h:
8114           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8115           provide default implementation, and rename
8116           gst_base_src_check_get_range() to
8117           gst_base_src_pad_check_get_range() for clarity.
8118
8119 2006-03-06  Wim Taymans  <wim@fluendo.com>
8120
8121         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8122         Make property overridable.
8123
8124 2006-03-06  Wim Taymans  <wim@fluendo.com>
8125
8126         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8127         (gst_base_sink_init), (gst_base_sink_set_property),
8128         (gst_base_sink_get_property), (gst_base_sink_do_sync):
8129         * libs/gst/base/gstbasesink.h:
8130         API addition: Make max-lateness a property.
8131
8132 2006-03-06  Wim Taymans  <wim@fluendo.com>
8133
8134         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8135         (gst_base_sink_do_sync), (gst_base_sink_render_object):
8136         Don't ever draw a frame that is >10ms late.
8137
8138 2006-03-06  Michael Smith  <msmith@fluendo.com>
8139
8140         * gst/gstmessage.c: (_gst_message_copy):
8141           When copying a message, set the parent_refcount of the enclosed
8142           structure to point at the copy, not the original message.
8143
8144 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
8145
8146         Patch by: Christophe Fergeau
8147
8148         * gst/gstutils.h:
8149           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8150           usable in c++ code (#333417)
8151
8152 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8153
8154         * gst/gstclock.h:
8155           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8156
8157 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
8158
8159         * libs/gst/base/gstbasetransform.c:
8160         (gst_base_transform_transform_caps):
8161           Make sure caps are writable before passing them to
8162           gst_caps_append().
8163
8164 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
8165
8166         * gst/gsterror.h:
8167           Fix some minor docs errors.
8168
8169 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
8170
8171           Patch by: Ross Burton <ross at burtonini dot com>
8172
8173         * gst/gsterror.c: (_gst_resource_errors_init):
8174         * gst/gsterror.h:
8175           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8176
8177 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
8178
8179         * gst/gst.c:
8180         Add a check and output a g_warning when GStreamer is built
8181         against GLib 2.6 but running against 2.8 or higher, and vice 
8182         versa. (Closes: #323542)
8183
8184 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
8185
8186         * gst/parse/parse.l:
8187           Commit patch for parse_launch syntax from #331255. Removes 
8188           support for quoted strings and mimetypes when writing filtered 
8189           caps. See the bug report for more details - I'm pretty sure this
8190           obscure feature is not in use by _anyone_ anywhere.
8191
8192           With this simple change, the size of the gstreamer.so here 
8193           drops from 2193KB to 1565KB.
8194
8195 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8196
8197         * plugins/elements/gsttypefindelement.h:
8198         * plugins/elements/gsttypefindelement.c:
8199         (gst_type_find_element_src_event), (start_typefinding),
8200         (stop_typefinding), (gst_type_find_element_handle_event),
8201         (gst_type_find_element_chain),
8202         (gst_type_find_element_chain_do_typefinding):
8203           Use gst_type_find_helper_for_buffer() for chain-based
8204           typefinding.
8205
8206 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8207
8208         * plugins/elements/gsttypefindelement.c:
8209         (gst_type_find_element_class_init),
8210         (gst_type_find_element_set_property),
8211         (gst_type_find_element_get_property):
8212           Deprecate "maximum" property (not only was it only taken into
8213           account for typefinding in push-mode anyway, it also was never
8214           actually possible to set it in the first place because the
8215           property was registered with the numeric property ID for the
8216           "minimum" property). Register "maximum" property correctly,
8217           for the sake of future copy'n'pasters. Remove some cruft
8218           from property get/set functions.
8219
8220 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
8221
8222         * plugins/elements/gsttypefindelement.c:
8223         (gst_type_find_element_activate):
8224           Use gst_type_find_helper_get_range() here, so we
8225           can honour the "minimum" property and also emit
8226           the signal with the correct probability of the found caps.
8227
8228 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
8229
8230         * docs/libs/gstreamer-libs-sections.txt:
8231         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8232         (helper_find_suggest), (gst_type_find_helper_get_range),
8233         (gst_type_find_helper):
8234         * libs/gst/base/gsttypefindhelper.h:
8235           New API: gst_type_find_helper_get_range() (#333042).
8236
8237 2006-03-02  Michael Smith  <msmith@fluendo.com>
8238
8239         * gst/gstregistryxml.c: (load_feature):
8240           Asserting on a failure to read part of the registry is Not Cool.
8241           Just log a warning and return NULL (which is already handled)
8242
8243 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
8244
8245         * win32/common/libgstbase.def:
8246           added export of gst_type_find_helper_for_buffer
8247         * win32/common/libgstbase.def:
8248           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8249           gst_ghost_pad_get_target
8250
8251 2006-02-28  Wim Taymans  <wim@fluendo.com>
8252
8253         * docs/design/draft-klass.txt:
8254         We use Filter now.
8255         Added Connector to mark elements that are only used to
8256         allow pipeline connections.
8257         Moved Debug to extra feature since most of them are 
8258         functionally something else.
8259
8260 2006-02-28  Wim Taymans  <wim@fluendo.com>
8261
8262         * docs/design/draft-klass.txt:
8263         Some updates and clarifications.
8264
8265 2006-02-28  Wim Taymans  <wim@fluendo.com>
8266
8267         * docs/design/draft-klass.txt:
8268         Proposal for klass field values.
8269
8270         * docs/design/part-streams.txt:
8271         Start of a doc describing stream anatomy.
8272
8273 2006-02-28  Wim Taymans  <wim@fluendo.com>
8274
8275         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8276         Help the compiler a bit with type registration.
8277         Use existing forward cod path instead of duplicating it when 
8278         handling a message.
8279         
8280         * gst/gstbus.c: (gst_bus_get_type):
8281         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8282         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8283         * gst/gstclock.c: (gst_clock_get_type):
8284         * gst/gstelement.c: (gst_element_get_type),
8285         * gst/gstelementfactory.c: (gst_element_factory_get_type):
8286         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8287         * gst/gstminiobject.c: (gst_mini_object_get_type):
8288         * gst/gstpad.c: (gst_pad_get_type):
8289         * gst/gstsegment.c: (gst_segment_get_type):
8290         * gst/gststructure.c: (gst_structure_get_type):
8291         * gst/gstsystemclock.c: (gst_system_clock_get_type):
8292         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8293         * gst/gstvalue.c:
8294         Help compiler with type registration.
8295
8296         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8297         Small doc update.
8298
8299 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8300
8301         * plugins/elements/gsttypefindelement.c:
8302         (gst_type_find_element_handle_event):
8303           When we get an EOS event and have not found a type yet
8304           (most likely because we had not yet accumulated
8305           TYPE_FIND_MIN_SIZE of data yet), try to determine the
8306           type given the data we have so far. Fixes typefinding
8307           for very short streams again, most notably quicktime
8308           redirections as used on Apple's trailer site (#331701).
8309
8310 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8311
8312         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8313         (gst_type_find_helper):
8314           Try typefinding factories with the highest rank first.
8315
8316 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8317
8318         * docs/libs/gstreamer-libs-docs.sgml:
8319         * docs/libs/gstreamer-libs-sections.txt:
8320         * libs/gst/base/gsttypefindhelper.c:
8321           Add section for typefind helper and add documentation
8322           for the old and the new function.
8323
8324 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8325
8326         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8327         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8328         (gst_type_find_helper_for_buffer):
8329         * libs/gst/base/gsttypefindhelper.h:
8330           New API: gst_type_find_helper_for_buffer() (#332723).
8331           
8332 2006-02-27  Michael Smith  <msmith@fluendo.com>
8333
8334         Patch by: Loïc Minier
8335
8336         * configure.ac:
8337         * docs/Makefile.am:
8338         * docs/slides/Makefile.am:
8339           prevent CVS directories getting disted.
8340
8341 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
8342
8343         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8344           Use the REFCOUNTING category for caps refcounting.
8345           
8346 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8347
8348         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8349           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8350
8351 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * plugins/elements/gsttypefindelement.c:
8354         (gst_type_find_element_activate):
8355           Use gst_pad_check_pull_range() before _activate_pull()
8356           to avoid unnecessary open/close (see #331690).
8357
8358 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8359
8360         * gst/gstutils.c:
8361           Docs enhancement: make it crystal clear what the
8362           gst_pad_add_*_probe() callbacks should look like.
8363
8364 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
8365
8366         * libs/gst/base/gstbasesrc.c:
8367           Document how applications can stop recording from
8368           live sources (see #330996).
8369
8370 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8371
8372         * tests/check/Makefile.am:
8373         * tests/check/libs/basesrc.c: (eos_event_counter),
8374         (basesrc_eos_events_pull), (basesrc_eos_events_push),
8375         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8376         (gst_basesrc_suite), (main):
8377           ... and add some tests for the base source EOS stuff.
8378
8379 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8380
8381         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8382           Test case originally showed the problem fixed below,
8383           but was then amended. Add checks back at the place
8384           where they used to be.
8385
8386 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8387
8388         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8389         (gst_base_src_init), (gst_base_src_loop),
8390         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8391         (gst_base_src_change_state):
8392         * libs/gst/base/gstbasesrc.h:
8393           Don't unconditionally send EOS when going from PAUSED to
8394           READY state, esp. make sure we don't send two EOS events
8395           in some cases (e.g. one when reaching EOS and one when
8396           going from PAUSED to READY). Also, we don't want to send
8397           EOS events when operating in pull mode. However, we do
8398           want to send an EOS event when shutting down a live
8399           source explicitly, for example (fixes #330996).
8400           
8401 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8402
8403         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8404           Update src->read_position after a seek when not using mmap.
8405           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8406
8407 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
8408
8409         * gst/Makefile.am:
8410         * gst/gstparse.h:
8411         * gst/gstutils.c:
8412         * gst/gstutils.h:
8413         Make things work with --disable-parse as they do with 
8414         --disable-load-save - the symbols involved disappear, but the
8415         header is still installed and GST_DISABLE_PARSE is included via
8416         gstconfig.h
8417
8418 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8419
8420         * libs/gst/base/gstbasetransform.c:
8421         (gst_base_transform_change_state): Fix a stupid bug. I was 
8422         sure I compiled that.
8423
8424 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8425
8426         * gst/gstpad.c: (gst_pad_set_blocked_async):
8427         * gst/gstutils.c: (gst_pad_add_data_probe),
8428         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8429         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8430         (gst_pad_remove_buffer_probe): Make those function act on the
8431         ghostpad target when it's a ghostpad. (Closes #331727)
8432
8433 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8434
8435         * libs/gst/base/gstbasetransform.c:
8436         (gst_base_transform_change_state): Make basetransform reusable.
8437         (Closes #331898)
8438
8439 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8440
8441         * docs/random/release:
8442         Move the current documentation of how to do a release to the top
8443         of the file.
8444
8445         * gst/gstbin.c: (gst_bin_class_init),
8446         (gst_bin_handle_message_func):
8447         Allow multiple state-recalculation threads. (Closes #328873)
8448
8449 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8450
8451         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8452         * gst/gstpad.c: (gst_pad_set_event_function),
8453         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8454         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8455         2 strings. You can't use the STR_NULL macro on that.
8456
8457 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8458
8459         * gst/gstpad.c: (gst_pad_set_event_function),
8460         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8461         (gst_pad_set_getcaps_function)
8462         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8463           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8464           So now, we can use --gst-debug-level=5 on Windows
8465         * win32/common/libgstcontroller.def:
8466           Added export of gst_controller_init
8467         * win32/vs6/libgstcontroller.dsp:
8468           Fixed Release post build configuration
8469
8470 2006-02-17  Wim Taymans  <wim@fluendo.com>
8471
8472         * tests/check/gst/gstquery.c: (GST_START_TEST):
8473         Added another check.
8474
8475 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8476
8477         * plugins/elements/gsttypefindelement.c: (find_peek):
8478           We can do peeks at non-zero offsets, as long as they
8479           fall within the buffer we have.
8480
8481 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8482
8483         * tests/check/Makefile.am:
8484         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8485         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8486         (parse_suite), (main):
8487           Add testsuite for parse launch syntax
8488
8489 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8490
8491         * plugins/elements/gsttypefindelement.c:
8492         (gst_type_find_element_chain):
8493           When typefinding is unsuccessful in the chain function, don't
8494           error out immediately. Only error out with NO_CAPS_FOUND if
8495           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8496           otherwise simply wait for more data so we can try typefinding
8497           again with more data later. Also, don't attempt to typefind
8498           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8499           this should improve typefinding from network sources where the
8500           size of the first buffer can be somewhat random.
8501
8502 2006-02-14  Wim Taymans  <wim@fluendo.com>
8503
8504         * docs/gst/gstreamer-sections.txt:
8505         * gst/gstpadtemplate.c:
8506         * gst/gstpadtemplate.h:
8507         Fix padtemplate docs, fixes #328805.
8508
8509 2006-02-14  Wim Taymans  <wim@fluendo.com>
8510
8511         * tools/gst-launch.c: (main):
8512         NO_PREROLL is not an ERROR so don't send confusing messages
8513         to the user.
8514
8515 2006-02-14  Wim Taymans  <wim@fluendo.com>
8516
8517         Patch by: Torsten Schoenfeld
8518
8519         * gst/gstregistry.c: (gst_registry_get_default),
8520         (_gst_registry_cleanup):
8521         Protect default registry with lock and ref/sink it.
8522         Fixes #324818
8523
8524 2006-02-14  Wim Taymans  <wim@fluendo.com>
8525
8526         * gst/gstbuffer.c:
8527         * gst/gstquery.c: (gst_query_list_add_format),
8528         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8529         (gst_query_parse_formats_nth):
8530         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8531         Docs fixes.
8532
8533 2006-02-14  Wim Taymans  <wim@fluendo.com>
8534
8535         * docs/gst/gstreamer-sections.txt:
8536         Reworked query docs.
8537
8538         * gst/gstquery.c: (gst_query_new_formats),
8539         (gst_query_list_add_format), (gst_query_set_formats),
8540         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8541         (gst_query_parse_formats_nth):
8542         * gst/gstquery.h:
8543         Flesh out formats query, added some new methods.
8544         Fix part of #324398.
8545
8546         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8547         Added query creation tests.
8548
8549 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8550
8551         * gst/gstpad.c: (fixate_value):
8552         Add a default fixation for fraction lists.
8553
8554 2006-02-13  Wim Taymans  <wim@fluendo.com>
8555
8556         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8557         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8558         (gst_task_join):
8559         * gst/gsttask.h:
8560         Detect and warn for obvious deadlocks. fixes #320340
8561         Fix error case where lock was not released.
8562
8563         * tests/check/Makefile.am:
8564         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8565         (task_func), (gst_element_suite), (main):
8566         Add task check.
8567
8568 2006-02-13  Wim Taymans  <wim@fluendo.com>
8569
8570         * docs/gst/gstreamer-sections.txt:
8571         * gst/gstbus.c:
8572         Add new functions to docs.
8573
8574 2006-02-13  Wim Taymans  <wim@fluendo.com>
8575
8576         * docs/design/part-TODO.txt:
8577         Updated TODO list, basesrc supports seeking to non-bytes
8578         formats.
8579
8580         * docs/design/part-element-sink.txt:
8581         Update docs.
8582
8583         * gst/gstbin.c: (bin_replace_message),
8584         (gst_bin_handle_message_func):
8585         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8586         * gst/gstevent.c: (gst_event_finalize):
8587         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8588         (gst_pad_send_event):
8589         Use shiny new _TYPE_NAME macros.
8590
8591         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8592         Move debug statement up.
8593
8594         * gst/gstelement.c: (gst_element_set_locked_state):
8595         Add some debugging.
8596
8597 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8598
8599         * docs/gst/gstreamer-sections.txt:
8600         * gst/gstmessage.h:
8601         * gst/gstquery.h:
8602           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8603           macros (#330906). Also, document the already existing
8604           GST_QUERY_TYPE macro.
8605
8606 2006-02-13  Wim Taymans  <wim@fluendo.com>
8607
8608         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8609         (event_probe), (GST_START_TEST):
8610         Only events up to the pipeline EOS are counted, there are
8611         some more when going to NULL currently which we don't care
8612         about for now.
8613
8614 2006-02-13  Wim Taymans  <wim@fluendo.com>
8615
8616         * gst/gstpad.c: (gst_pad_send_event):
8617         Correctly check flushing and emit probes. fixes #330125
8618
8619 2006-02-10  Andy Wingo  <wingo@pobox.com>
8620
8621         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8622         structure.
8623         (gst_bus_init): Cache the location of the private data in the
8624         instance structure.
8625         (gst_bus_enable_sync_message_emission) 
8626         (gst_bus_disable_sync_message_emission): Implement new public
8627         functions.
8628         (gst_bus_post): Emit the sync-message signal if the user asked for
8629         it. Fixes #330684.
8630
8631         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8632         location of the bus-private structure.
8633         (gst_bus_enable_sync_message_emission)
8634         (gst_bus_disable_sync_message_emission): API addition
8635
8636 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8637
8638         Patch by: Vincent Torri
8639
8640         * docs/pwg/building-boiler.xml:
8641         PWG patch from #326800
8642
8643 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8644
8645         * configure.ac:
8646         * docs/Makefile.am:
8647         * docs/design/Makefile.am:
8648           Dist design docs.
8649
8650 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8651
8652         * configure.ac:
8653           back to CVS
8654
8655 === release 0.10.3 ===
8656
8657 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8658
8659         * configure.ac:
8660           releasing 0.10.3, "Like a virgin"
8661
8662 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8663
8664         * configure.ac:
8665           2nd prerelease of 0.10.3
8666           Bump libtool versioning.
8667
8668 2006-02-07  Andy Wingo  <wingo@pobox.com>
8669
8670         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8671         update last_stop if we're in TIME format and the timestamp is
8672         valid.
8673
8674         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8675         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8676         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8677         If we get a new newsegment with a different format, adapt
8678         accordingly.
8679
8680         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8681         of 0. Not a problem, really.
8682
8683         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8684         warn if sync=true.
8685
8686 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8687
8688         * configure.ac:
8689           Prelease of 0.10.3
8690
8691 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8692
8693         * win32/vs7:
8694           project files updated to the default vs7 configuration
8695         * win32/common/libgstbase.def:
8696         * win32/common/libgstreamer.def:
8697           added new symbols,
8698           removed empty lines,
8699           sorted all exported symbols alphabetically
8700         * win32/common/dirent.c:
8701         * win32/common/dirent.h:
8702         * win32/common/gchar.h:
8703           use windows line end.
8704           
8705 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8706
8707         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8708           Send EOS event when stopping.
8709
8710 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8711
8712         * docs/README:
8713           Tell folks what to do if the plugin-foobar.xml file
8714           hasn't been generated for a newly-added plugin.
8715
8716 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8717
8718         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8719         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8720         (gst_collect_pads_start), (gst_collect_pads_stop),
8721         (gst_collect_pads_event): Collectpads now holds a reference
8722         to the GstPad that was added. Indeed we don't want to look
8723         at pads that might just go away with no warning...
8724
8725 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8726
8727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8728         (gst_collect_pads_start), (gst_collect_pads_stop),
8729         (gst_collect_pads_event), (gst_collect_pads_chain):
8730         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8731         Mark Nauwelaerts's patch on bug #328491.
8732
8733 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8734
8735         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8736         (gst_utils_suite):
8737           Add some simple tests for gst_parse_bin_from_description() and
8738           gst_bin_find_unconnected_pad() (#329069).
8739
8740 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8741
8742         * tools/gst-launch.c: (event_loop), (main):
8743           Catch errors during preroll (#320084).
8744
8745 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * plugins/elements/gsttypefindelement.c:
8748         (gst_type_find_element_activate):
8749           Post TYPE_NOT_FOUND error message when typefinding
8750           is unsuccessful in the activate function as well.
8751
8752 2006-02-02  Wim Taymans  <wim@fluendo.com>
8753
8754         * docs/design/part-element-sink.txt:
8755         Updated doc.
8756
8757 2006-02-02  Wim Taymans  <wim@fluendo.com>
8758
8759         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8760         (gst_base_sink_render_object),
8761         (gst_base_sink_queue_object_unlocked):
8762         Only keep track of prerollable items when we are 
8763         prerolling.
8764         Before rendering after preroll, always check if we
8765         have queued items.
8766         Added some more debugging.
8767
8768 2006-02-02  Wim Taymans  <wim@fluendo.com>
8769
8770         * gst/gstelement.c: (gst_element_continue_state),
8771         (gst_element_set_state_func), (gst_element_change_state):
8772         Fixed #326576, been running this for quite some time with
8773         no regressions at all.
8774
8775 2006-02-02  Wim Taymans  <wim@fluendo.com>
8776
8777         * common/gst.supp:
8778         Added more suppressions
8779
8780 2006-02-02  Wim Taymans  <wim@fluendo.com>
8781
8782         * docs/design/part-element-sink.txt:
8783         Updated document.
8784
8785         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8786         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8787         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8788         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8789         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8790         (gst_base_sink_preroll_object),
8791         (gst_base_sink_queue_object_unlocked),
8792         (gst_base_sink_queue_object), (gst_base_sink_event),
8793         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8794         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8795         (gst_base_sink_get_position), (gst_base_sink_change_state):
8796         * libs/gst/base/gstbasesink.h:
8797         Totally refactored matching the design doc.
8798         Use two segments, one to clip incomming buffers and another to
8799         perform sync.
8800         Handle queueing correctly, bypass the queue when playing.
8801         Make EOS cancelable.
8802         Handle errors correctly when operating in pull based mode.
8803
8804         * tests/check/elements/fakesink.c: (GST_START_TEST),
8805         (fakesink_suite):
8806         Added new check for sinks.
8807
8808 2006-02-02  Wim Taymans  <wim@fluendo.com>
8809
8810         * gst/gstsegment.c: (gst_segment_clip):
8811         No reason to refuse to clip when start == -1
8812
8813 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8814
8815         * docs/README:
8816         * docs/manual/intro-basics.xml:
8817         * docs/manual/intro-preface.xml:
8818         * docs/manual/manual.xml:
8819         * docs/pwg/advanced-dparams.xml:
8820         * docs/pwg/intro-basics.xml:
8821         * docs/pwg/intro-preface.xml:
8822         * docs/pwg/pwg.xml:
8823           describe dparams (controller) for plugins
8824           unify docs a little more
8825
8826 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8827
8828         * docs/gst/gstreamer-sections.txt:
8829         * gst/gstutils.c: (element_find_unconnected_pad),
8830         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8831         * gst/gstutils.h:
8832           Add new API: gst_parse_bin_from_description() and
8833           gst_bin_find_unconnected_pad() (#329069).
8834
8835 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8836
8837         * docs/manual/README:
8838           uncover a nasty detail of the docs build
8839
8840 2006-01-31  Wim Taymans  <wim@fluendo.com>
8841
8842         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8843         Don't cache duration messages if we're not going to use or
8844         free them.
8845
8846 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8847
8848         * docs/manual/advanced-dparams.xml:
8849         * docs/pwg/advanced-dparams.xml:
8850           more dparam docs
8851         * gst/gstindex.c:
8852           fix docs
8853         * libs/gst/controller/lib.c: (gst_controller_init):
8854           init just once
8855
8856 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8857
8858         * gst/gstelement.c: (gst_element_message_full):
8859           also show file/line/func if no additional debug was given
8860
8861 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8862         
8863         * win32/vs7/grammar.vcproj:
8864           activate copy of autogenerated files for Release mode
8865
8866 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8867         
8868         * win32/common/libgstreamer.def:
8869           export gst_value_compare
8870
8871 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8872
8873         * plugins/elements/Makefile.am:
8874         * plugins/elements/gstelements.c:
8875         * plugins/elements/gstfdsink.c: (_do_init),
8876         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8877         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8878         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8879         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8880         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8881         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8882         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8883         * plugins/elements/gstfdsink.h:
8884         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8885
8886 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8887
8888         * docs/manual/advanced-dparams.xml:
8889           describe controller
8890         * docs/manual/advanced-position.xml:
8891         * docs/manual/basics-init.xml:
8892         * docs/manual/manual.xml:
8893         * docs/manual/titlepage.xml:
8894         * docs/pwg/pwg.xml:
8895         * docs/pwg/titlepage.xml:
8896           cleanup xml (more to come)
8897         * libs/gst/controller/gstcontroller.c:
8898           fix typo
8899
8900 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8901         
8902         * win32/vs6/grammar.dsp:
8903           add autogen of gstmarshal.c,h for Release mode
8904                 
8905 2006-01-30  Wim Taymans  <wim@fluendo.com>
8906
8907         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8908         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8909         (gst_base_sink_handle_object), (gst_base_sink_event),
8910         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8911         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8912         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8913         (gst_base_sink_deactivate), (gst_base_sink_activate),
8914         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8915         (gst_base_sink_query), (gst_base_sink_change_state):
8916         Basesink cleanups, remove some old code.
8917         Handle the case where a subclass can preroll in the render
8918         method (mostly audiosinks).
8919         Handle more events.
8920         Remove some locks around variables that are now protected
8921         with the PREROLL_LOCK (clock_id, flushing, ..).
8922         Optimize position query some more, do correct locking.
8923         Remove old code to push queue in state change, this is not
8924         needed anymore since preroll blocks on all prerollable items 
8925         now.
8926         Almost implemented as described in design doc.
8927
8928 2006-01-30  Wim Taymans  <wim@fluendo.com>
8929
8930         * tests/check/gst/gstbin.c: (GST_START_TEST):
8931         Wait for refcount to settle down before checking.
8932
8933 2006-01-30  Wim Taymans  <wim@fluendo.com>
8934
8935         * docs/design/part-element-sink.txt:
8936         Pseudo code overview of desired sink behaviour regarding
8937         preroll.
8938
8939 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8940         * win32/vs6/grammar.dsp:
8941           fix some bugs in Release mode for autogenerated files
8942                 
8943 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8944         * win32/common/libgstbase.def:
8945         * win32/common/libgstreamer.def:
8946           export some new symbols: gst_base_src_set_format,
8947           gst_iterator_next, gst_structure_set_valist
8948
8949 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8950
8951         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8952         Set pad functions unconditionally. Fixes #329105.
8953
8954 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8955         * win32/vs8:
8956           add vs8 project files created by Sergey Scobich
8957
8958 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8959
8960         * gst/gstutils.c: (gst_element_unlink_pads):
8961         Don't leak pad references.
8962
8963         * tests/check/elements/fakesink.c: (GST_START_TEST):
8964         * tests/check/generic/sinks.c: (GST_START_TEST):
8965         * tests/check/generic/states.c: (GST_START_TEST):
8966         * tests/check/gst/gstbin.c: (GST_START_TEST):
8967         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8968         * tests/check/gst/gstelement.c: (GST_START_TEST):
8969         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8970         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8971         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8972         Fix a bunch of leaks. Make generic/sinks.c
8973         use a bit less cpu by slowing the buffer rate
8974         between fakesrc and fakesink.
8975         
8976 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8977         * gst/gstcaps.c:
8978         * gst/gstelement.c: (gst_element_send_event):
8979         * gst/gstevent.c:
8980         * gst/gstinfo.c:
8981         * gst/gstiterator.c:
8982         * gst/gstiterator.h:
8983         * gst/gstpad.c: (gst_pad_send_event):
8984         * gst/gststructure.c:
8985         * gst/gsturi.c:
8986         * gst/gstutils.c:
8987         * gst/gstvalue.c:
8988         * libs/gst/base/gstadapter.c:
8989           doc fixes, to link to function, just write gst_cool_function(), don't
8990           prefix with '#'
8991
8992 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8993
8994         * plugins/elements/gsttee.c: (gst_tee_do_push),
8995         (gst_tee_handle_buffer):
8996         Always prefer an actual return value from a src
8997         pad in place of NOT_LINKED. This means we return
8998         WRONG_STATE when all src pads are WRONG_STATE
8999         instead of NOT_LINKED.
9000
9001         Lock when replacing the last message to prevent
9002         racing with the get_property method.
9003
9004         Add debug output
9005
9006 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9007
9008         * tests/check/Makefile.am:
9009         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9010         (main):
9011         Add a very simple check that should have caught the memleak I fixed
9012         last night (if not for the slice allocator hiding it)
9013
9014 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
9015
9016         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9017         (gst_bin_remove_func), (gst_bin_handle_message_func),
9018         (bin_query_duration_fold), (bin_query_generic_fold):
9019         Clean up references to the clock provider when disposed or when
9020         handling a clock-lost message from it.
9021
9022         Unref sinks when performing a query via gst_iterator_fold, as the
9023         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9024
9025         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9026         (gst_clock_set_master):
9027         Drop our reference to the master clock, if any, when we are disposed.
9028
9029         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9030         Chain up in dispose. 
9031
9032 2006-01-26  Wim Taymans  <wim@fluendo.com>
9033
9034         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9035         Add some debugging.
9036
9037 2006-01-26  Julien MOUTTE  <julien@moutte.net>
9038
9039         * plugins/elements/gsttee.c: (gst_tee_do_push),
9040         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9041         handles pad being NOT_LINKED or in WRONG_STATE.
9042
9043 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9044
9045         * win32/MANIFEST:
9046           more updating
9047
9048 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9049
9050         * win32/MANIFEST:
9051           remove obsolete entry
9052
9053 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
9054
9055         * docs/gst/gstreamer-sections.txt:
9056         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9057         (gst_bin_iterate_sources), (gst_bin_send_event):
9058         * gst/gstbin.h:
9059         * gst/gstelement.c: (gst_element_send_event):
9060         * gst/gstevent.c:
9061         * gst/gstpad.c: (gst_pad_send_event):
9062           added code for downstream events, reviewed docs in gstevent.c
9063
9064 2006-01-25  Julien MOUTTE  <julien@moutte.net>
9065
9066         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9067         We only query position using the clock in the playing state.
9068         Query peer in the other cases.
9069         * win32/common/config.h: Updates.
9070
9071 2006-01-24  Wim Taymans  <wim@fluendo.com>
9072
9073         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9074         A clock entry that is scheduled for the exact time of the
9075         clock is still in time.
9076
9077         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9078         (gst_base_sink_do_sync):
9079         Add some more debug info.
9080
9081 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
9082
9083         * win32/vs7:
9084           Add new vs7 project files and solution.
9085
9086 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
9087
9088         * win32/vs7:
9089           all files removed as they were out-dated.
9090
9091 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9092
9093         * docs/random/release:
9094           update notes
9095         * gst/gstbin.c: (gst_bin_init):
9096         * gst/gstbus.c: (gst_bus_new):
9097         * gst/gstbus.h:
9098         * gst/gstpipeline.c: (gst_pipeline_init):
9099           use gst_bus_new(), improve logging, fix docs
9100         * win32/common/config.h:
9101           update for cvs build
9102
9103 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9104
9105         * autogen.sh:
9106           up required version of automake to 1.7
9107
9108 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
9109
9110         * win32/common/libgstreamer.def:
9111           export gst_buffer_is_metadata_writable
9112
9113 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
9114
9115         * docs/gst/gstreamer-sections.txt:
9116         * gst/gstevent.h:
9117           Add gst_event_replace() (#327001)
9118
9119 2006-01-20  Wim Taymans  <wim@fluendo.com>
9120
9121         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9122         Make it actually compile too..
9123
9124 2006-01-20  Wim Taymans  <wim@fluendo.com>
9125
9126         * gst/gstcaps.c:
9127         Clarify behaviour of _is_equal() when passing NULL parameters.
9128
9129         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9130         (gst_pad_set_caps):
9131         Cleanups. Don't unref NULL caps.
9132         When setting the same caps, protect caps of the pad with
9133         proper lock.
9134         Use full functionality of _is_equal() when comparing caps.
9135
9136 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
9137
9138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9139         Don't loop infinitely if there are no buffers to present. Partially
9140         fixes #327197, but collectpads is just broken for reusing elements
9141         to do multiple encodes atm.
9142
9143 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
9144
9145         * tools/gst-inspect.c: (print_element_features):
9146         * tools/gst-xmlinspect.c: (main):
9147         URL_HANDLER is not a plugin feature we can search for in
9148         the registry.
9149
9150 2006-01-19  Edward Hervey  <edward@fluendo.com>
9151
9152         * gst/gstelement.c: (gst_element_pads_activate): 
9153         When activating, do src pads first, then sink pads.
9154         When de-activating, do sink pads first, then src pads.
9155
9156 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9157
9158         * docs/gst/gstreamer-sections.txt:
9159         Add gst_index_add_associationv to the docs
9160
9161 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9162
9163         * gst/gstevent.c:
9164           Fix docs typo
9165
9166         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9167         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9168           Do some refactoring. Doesn't actually change functionality,
9169           but makes landing the DRAIN event easier later.
9170
9171 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
9172
9173         * docs/pwg/advanced-scheduling.xml:
9174           Update from 0.9.x to 0.10 API and make example a bit
9175           clearer.
9176
9177 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9178
9179         * docs/gst/gstreamer-sections.txt:
9180         Add gst_buffer_(is|make)_metadata_writable methods.
9181
9182 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
9183
9184         * docs/design/part-sparsestreams.txt:
9185         Update sparse streams doc, hopefully for greater clarity
9186
9187 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
9188
9189         * docs/design/part-events.txt:
9190         Remove mention of FILLER events.
9191         Add DRAIN event.
9192
9193         * docs/design/part-sparsestreams.txt:
9194         Write some things about using NEWSEGMENT to keep sparse streams
9195         flowing.
9196
9197 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9198
9199         * gst/gstbin.c: (gst_bin_dispose):
9200           Guard gst_object_unref call against a NULL object (dispose
9201           can theoretically be called multiple times).
9202           
9203 2006-01-18  Wim Taymans  <wim@fluendo.com>
9204
9205         * gst/gstbin.c: (gst_bin_element_set_state):
9206         * gst/gstclock.c: (gst_clock_id_wait):
9207         Added some more debug info.
9208
9209         * libs/gst/base/gstadapter.c:
9210         Added more docs.
9211
9212         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9213         (gst_base_sink_do_sync), (gst_base_sink_chain):
9214         Added some comments.
9215
9216 2006-01-18  Wim Taymans  <wim@fluendo.com>
9217
9218         * tests/check/Makefile.am:
9219         * tests/check/elements/fakesink.c: (chain_async_buffer),
9220         (chain_async), (chain_async_return), (GST_START_TEST),
9221         (fakesink_suite), (main):
9222         Added fakesink test that checks prerolling and clipping
9223         behaviour.
9224
9225         * tests/check/gst/gstutils.c: (GST_START_TEST):
9226         Make check run faster so that buildbots don't timeout.
9227
9228 2006-01-18  Wim Taymans  <wim@fluendo.com>
9229
9230         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9231         (gst_base_sink_do_sync):
9232         Some cleanups.
9233         When the sink finishes blocking on the preroll buffer, it can
9234         immediatly render it instead of rendering when the next buffer
9235         arrives.
9236
9237 2006-01-18  Wim Taymans  <wim@fluendo.com>
9238
9239         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9240         (gst_base_sink_get_property), (gst_base_sink_do_sync),
9241         (gst_base_sink_chain):
9242         Small cleanups.
9243         GST_ELEMENT_CLOCK and sync are protected with LOCK.
9244         Don't store _last_stop if the buffer is dropped.
9245
9246 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
9247
9248         * plugins/elements/gsttypefindelement.c:
9249         (gst_type_find_element_class_init):
9250           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9251           object method handler that sets the caps on the pad and we want
9252           that to happen before we emit the signal (fixes e.g. feeding a
9253           plain text file to decodebin).
9254
9255 2006-01-18  Christian Schaller  <Christian@fluendo.com>
9256
9257         * gst/gstplugin.c: Add MPL and Proprietary as license options
9258
9259 2006-01-18  Andy Wingo  <wingo@pobox.com>
9260
9261         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9262         symbol was exported before, it appears this was just an oversight.
9263         Fixes #168703.
9264         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9265
9266         * gst/gstindex.c (gst_index_add_associationv): Changed int in
9267         prototype to gint. OK since this prototype was not in the header.
9268
9269 2006-01-17  Andy Wingo  <wingo@pobox.com>
9270
9271         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9272         registry while we remove plugins.
9273
9274         * tools/gst-inspect.c (print_element_info): Don't unref the
9275         factory arg, that should be the responsibility of whatever code
9276         received the ref. Fixes a double-free when called from
9277         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9278         (main): Unref the factory if we have one.
9279         (print_element_list): No change -- relies on the
9280         plugin_feature_list_free to free the list of features.
9281
9282 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
9283
9284         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9285         (gst_buffer_make_metadata_writable):
9286         * gst/gstbuffer.h:
9287         * libs/gst/base/gstbasetransform.c:
9288         (gst_base_transform_prepare_output_buf):
9289         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9290         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9291           Replace gst_buffer_(make|is)_metadata_writable patch now
9292           that the release is out.
9293
9294 2006-01-17  Andy Wingo  <wingo@pobox.com>
9295
9296         * gst/gstregistry.c: Reflow design comment. Update so as to speak
9297         in the present tense without reference to versions.
9298
9299         * gst/gstregistry.c (gst_registry_add_plugin)
9300         (gst_registry_remove_plugin, gst_registry_remove_feature)
9301         (gst_registry_find_feature, gst_registry_get_feature_list)
9302         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9303         (gst_registry_lookup, gst_registry_scan_path)
9304         (_gst_registry_remove_cache_plugins)
9305         (gst_registry_get_feature_list_by_plugin): Add argument
9306         validation.
9307
9308 === release 0.10.2 ===
9309
9310 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
9311
9312         * configure.ac:
9313           releasing 0.10.2, "If man is five"
9314
9315 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9316
9317         * gst/gstbuffer.c:
9318         * gst/gstbuffer.h:
9319         * libs/gst/base/gstbasetransform.c:
9320         (gst_base_transform_prepare_output_buf):
9321         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9322         * tests/check/gst/gstbuffer.c: (gst_test_suite):
9323           Back out patch until after the release.
9324
9325 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9326
9327         * gst/gstminiobject.c:
9328           Spelling fix in docs.
9329         * ChangeLog - remove conflict indicator
9330
9331 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
9332
9333         Reviewed By: Andy Wingo
9334
9335         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9336         (gst_buffer_make_metadata_writable):
9337         * gst/gstbuffer.h:
9338           Add gst_buffer_(is|make)_metadata_writable as analogues of
9339           gst_buffer_(is|make)_writable.
9340
9341         * libs/gst/base/gstbasetransform.c:
9342         (gst_base_transform_prepare_output_buf):
9343         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9344           Use name gst_buffer_(is|make)_metadata_writable functions.
9345
9346         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9347           Test gst_buffer_(is|make)_metadata_writable
9348         
9349           (Closes: #324162)
9350
9351 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9352
9353         * docs/manual/Makefile.am:
9354           don't do parallel make
9355         * configure.ac:
9356           AC_SUBST HOST_CPU
9357         * win32/common/config.h.in:
9358           add generations for HOST_CPU and GST_MAJORMINOR
9359         * win32/common/config.h:
9360           commit generated result
9361
9362 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
9363
9364         * docs/manual/appendix-integration.xml:
9365           Update GNOME integration section to use gst_init_get_option_group()
9366           instead of the old popt stuff (#322911). Also, GNOME applications
9367           should  now use gconf*sink and gconf*src instead of the old gconf
9368           helper lib we had.
9369
9370 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
9371
9372
9373         * docs/gst/gstreamer-docs.sgml:
9374         * docs/gst/gstreamer-sections.txt:
9375         * docs/libs/gstreamer-libs-sections.txt:
9376           add new API entries to the docs
9377         * libs/gst/controller/Makefile.am:
9378         * libs/gst/controller/gstcontroller.c:
9379         * libs/gst/controller/gstcontroller.h:
9380         * libs/gst/controller/gstcontrollerprivate.h:
9381         * libs/gst/controller/gsthelper.c:
9382         * libs/gst/controller/gstinterpolation.c:
9383           move private structs to private header
9384         * po/README:
9385           gstreamer-0.7 -> gstreamer-0.10
9386         * tests/check/libs/struct_i386.h:
9387           remove private structs
9388
9389 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9390
9391         * plugins/indexers/Makefile.am:
9392           Fixes as part of #317048
9393
9394 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9395
9396         * plugins/indexers/Makefile.am:
9397           fix #316086 - compilation when mmap is missing
9398
9399 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
9400
9401         * libs/gst/base/gstbasesink.c:
9402           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
9403           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9404         * win32/common/config.h:
9405           added some defines GST_MAJORMINOR and HOST_CPU
9406         * win32/common/libgstbase.def:
9407         * win32/common/libgstreamer.def:
9408           added some exported functions.
9409
9410 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9411
9412         * libs/gst/controller/gstcontroller.c:
9413         (gst_controlled_property_set_interpolation_mode),
9414         (gst_controlled_property_new):
9415         * libs/gst/controller/gstcontroller.h:
9416         * libs/gst/controller/gstinterpolation.c:
9417         (interpolate_none_get_string_value_array):
9418           make G_TYPE_STRING controlable
9419
9420 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
9421
9422         * tools/README:
9423         * tools/gst-feedback.1.in:
9424         * tools/gst-inspect.1.in:
9425         * tools/gst-launch.1.in:
9426         * tools/gst-md5sum.1.in:
9427         * tools/gst-typefind.1.in:
9428         * tools/gst-xmlinspect.1.in:
9429         * tools/gst-xmllaunch.1.in:
9430           cleanup man-pages, remove reference to gst-register, document env-vars
9431
9432 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9433
9434         * gst/gstbuffer.c: (gst_buffer_span):
9435           gst_buffer_span should copy the timestamp of the first buffer
9436           if they were both originally overlapping subbuffers of the 
9437           same parent, using the same logic as the 'slow copy' case.
9438
9439 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9440
9441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9442           Need to awaken ALL the pads when we pop a buffer, otherwise
9443           collectpads only works when there is 2 input streams.
9444
9445 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9446
9447         * docs/random/ensonic/media-device-daemon.txt:
9448           more ideas (dbus)
9449         * gst/gstbuffer.c:
9450           fix doc example, add clarification
9451         * tools/gst-launch.1.in:
9452           add initial info about GST_PLUGIN_PATH, needs more work
9453
9454 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9455
9456         * docs/manual/basics-bins.xml:
9457         * docs/manual/basics-elements.xml:
9458         * docs/manual/intro-basics.xml:
9459           Some more minor docs additions and updates.
9460
9461 2006-01-11  Wim Taymans  <wim@fluendo.com>
9462
9463         * docs/manual/basics-bins.xml:
9464         * docs/manual/basics-elements.xml:
9465         Some small fixes as pointed out by Ser-ver on IRC.
9466
9467 2006-01-10  Edward Hervey  <edward@fluendo.com>
9468
9469         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9470         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9471         the single-segment mode.
9472
9473 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9474
9475         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9476
9477         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9478         (gst_base_src_perform_seek), (gst_base_src_send_event),
9479         (gst_base_src_set_property), (gst_base_src_get_property),
9480         (gst_base_src_loop), (gst_base_src_start),
9481         (gst_base_src_activate_push):
9482         * libs/gst/base/gstbasesrc.h:
9483           Name (private) union; makes Sun's Forte compiler happy (#324900).
9484
9485 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9486
9487         * README:
9488           gst-register is gone.
9489
9490 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9491
9492         * gst/gstvalue.c: (_gst_value_initialize):
9493           make the G_TYPE_DATE instantiation work if debug is disabled
9494
9495 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9496
9497         * gst/gstmessage.c: (gst_message_parse_tag),
9498         (gst_message_parse_error), (gst_message_parse_warning):
9499           Don't crash when return location for error/warning debug
9500           string is NULL; add fact that return locations can be
9501           NULL to docs where appropriate.
9502
9503 2006-01-05  Wim Taymans  <wim@fluendo.com>
9504
9505         * gst/gstplugin.c: (gst_plugin_load_file):
9506         Replace strdup by g_strdup.
9507
9508 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9509
9510         * docs/pwg/advanced-types.xml:
9511           fix doc borkage
9512
9513 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9514
9515         submitted by: Abel Cheung
9516
9517         * po/LINGUAS:
9518         * po/zh_TW.po:
9519           Added Chinese (traditional) translation
9520
9521 2006-01-04  Wim Taymans  <wim@fluendo.com>
9522
9523         * docs/manual/basics-pads.xml:
9524         * docs/plugins/Makefile.am:
9525         * docs/plugins/gstreamer-plugins-docs.sgml:
9526         * docs/plugins/gstreamer-plugins-sections.txt:
9527         * docs/pwg/advanced-clock.xml:
9528         * docs/pwg/advanced-scheduling.xml:
9529         * docs/pwg/advanced-types.xml:
9530         * plugins/elements/gstfdsink.c:
9531         * plugins/elements/gstfdsrc.c:
9532         * plugins/elements/gstfdsrc.h:
9533         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9534         * plugins/elements/gstidentity.h:
9535         * plugins/elements/gstqueue.h:
9536         * plugins/elements/gsttee.c:
9537         * plugins/elements/gsttee.h:
9538         * plugins/elements/gsttypefindelement.c:
9539         (gst_type_find_element_class_init):
9540         * plugins/elements/gsttypefindelement.h:
9541         Small updates to various docs.
9542         Added core plugins to docs.
9543
9544 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9545
9546         * common/gst.supp:
9547           add a suppression for liboil's uninitialized variable
9548
9549 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9550
9551         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9552
9553         * gst/gstutils.h:
9554           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9555           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9556           compiler switch is being used (#325429).
9557
9558 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9559
9560         * gst/gstbin.c: (gst_bin_query):
9561           Disable duration query caching in bins until it gets
9562           fixed (see #324807).
9563
9564 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9565
9566         * tools/gst-inspect.c: (print_element_properties_info):
9567           Handle properties of POINTER and BOXED type.
9568
9569 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9570
9571         * gst/gst.c: (init_post):
9572           Init tags stuff and some other things before loading
9573           any static plugins (there may be other static plugins
9574           than just the GStreamer ones, and they may want to
9575           register their own tags or formats or whatever, and
9576           preferably without segfaulting).
9577
9578         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9579           Print at least a warning in the debug logs if we drop a
9580           query just because we don't know how to adjust the value
9581           in the particular format.
9582
9583 2005-12-24  David Schleef  <ds@schleef.org>
9584
9585         * tools/gstreamer-completion:
9586           Replacement for gst-complete written in sh and sed.  Only
9587           completes names of features, but that's 90% of what I want
9588           it for.  Properties are not available in registry.xml.  (Maybe
9589           they should be...)
9590
9591 === release 0.10.1 ===
9592
9593 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9594
9595         * configure.ac:
9596           releasing 0.10.1, "Nollaig chridheil"
9597
9598 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * docs/faq/cvs.xml:
9601           Add missing quote, should be make ERROR_CFLAGS="".
9602
9603 2005-12-20  Wim Taymans  <wim@fluendo.com>
9604
9605         * docs/design/part-trickmodes.txt:
9606         More documentation on trickmodes.
9607
9608 2005-12-20  Edward Hervey  <edward@fluendo.com>
9609
9610         * gst/gstcaps.c: (gst_static_caps_get_type):
9611         * gst/gstcaps.h:
9612           API addition: GST_TYPE_STATIC_CAPS
9613         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9614         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9615         * gst/gstpadtemplate.h:
9616           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9617         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9618         bindings.
9619
9620 2005-12-18  Wim Taymans  <wim@fluendo.com>
9621
9622         * libs/gst/base/gstadapter.c:
9623         * libs/gst/base/gstadapter.h:
9624         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9625         (gst_base_sink_get_position):
9626         * libs/gst/base/gstbasesink.h:
9627         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9628         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9629         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9630         (gst_base_src_send_event), (gst_base_src_update_length),
9631         (gst_base_src_get_range), (gst_base_src_loop),
9632         (gst_base_src_start):
9633         * libs/gst/base/gstbasesrc.h:
9634         * libs/gst/base/gstbasetransform.h:
9635         * libs/gst/base/gstcollectpads.h:
9636         * libs/gst/base/gstpushsrc.c:
9637         * libs/gst/base/gstpushsrc.h:
9638         * libs/gst/dataprotocol/dataprotocol.c:
9639         * libs/gst/dataprotocol/dataprotocol.h:
9640         * libs/gst/net/gstnetclientclock.h:
9641         * libs/gst/net/gstnettimeprovider.h:
9642         Documentation updates.
9643
9644 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9645
9646         * docs/manual/basics-helloworld.xml:
9647           Remove superfluous closing bracket in helloworld example.
9648
9649 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9650
9651         * tools/gst-launch.1.in:
9652           Update gst-launch man page; add a section with useful
9653           environment variables. Fixes #323882.
9654
9655 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9656
9657         * gst/gst.c:
9658         * gst/gst_private.h:
9659           change some char* into char[]
9660
9661 2005-12-16  Wim Taymans  <wim@fluendo.com>
9662
9663         * gst/gstregistryxml.c: (load_feature):
9664         Cleanups.
9665         Don't use g_object_unref on GstObjects so that we avoid
9666         leaks on unsafe glibs.
9667
9668 2005-12-16  Wim Taymans  <wim@fluendo.com>
9669
9670         * gst/gstbin.c: (gst_bin_recalc_state):
9671         Small doc updates.
9672
9673 2005-12-16  Wim Taymans  <wim@fluendo.com>
9674
9675         * common/check.mak:
9676         Added make forever target for check.
9677
9678 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9679
9680         * gst/gst.c: (init_post):
9681           make the registry cache file HOST_CPU-dependent
9682
9683 2005-12-16  Andy Wingo  <wingo@pobox.com>
9684
9685         * plugins/elements/gstbufferstore.c
9686         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9687         return value.
9688
9689         * tests/check/gst/gstobject.c
9690         (test_fake_object_name_threaded_unique): Pay attention to
9691         g_list_sort return value.
9692
9693 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9694
9695         * tools/gst-feedback-m.m:
9696           Update for 0.9/0.10 (fixes #323870).
9697
9698 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9699
9700         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9701           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9702           
9703         * tests/check/gst/gstminiobject.c: (my_foo_init),
9704         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9705         (test_value_collection), (gst_mini_object_suite):
9706           Add test to ensure refcounts end up as expected when passing
9707           GstMiniObjects through g_object_get() and g_object_set().
9708
9709 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9710
9711         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9712         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9713         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9714         of collectpads. This version removes a lot of races without
9715         touching API/ABI. Yay !
9716
9717 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9718
9719         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9720           Don't allow activation of a srcpad in pull_range if it has no
9721           getrange function.
9722           Change some debug statements to be a little clearer
9723
9724         * plugins/elements/gsttypefindelement.c:
9725         (gst_type_find_handle_src_query):
9726           Check that we have a peer before executing queries thereupon.
9727
9728         * tests/examples/metadata/read-metadata.c: (message_loop):
9729           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9730           immediately return us any available message with 0 timeout.
9731
9732 2005-12-12  Michael Smith  <msmith@fluendo.com>
9733
9734         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9735           Don't unref factories after calling them.
9736         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9737         * plugins/elements/gsttypefindelement.c:
9738         (gst_type_find_element_chain):
9739           Free lists of factories after using them. Fixing typefinding memory
9740           leaks.
9741
9742 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9743
9744         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9745         (gst_plugin_feature_load):
9746           more meaningful debug output
9747         * configure.ac:
9748         * tests/Makefile.am:
9749         * tests/old/examples/Makefile.am:
9750           make make distcheck happy again
9751
9752 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9753
9754         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9755           Catch the special case where we are operating chain-based,
9756           but the downstream peer pad has no chain function. Emit a
9757           custom error message in this case instead of letting the
9758           core generate one implying that this is some sort of core
9759           bug. It's not, it just means that whatever got plugged
9760           into the pipeline downstream when we announced the type
9761           can only operate pull-based, while our source can only
9762           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9763           Error string has not been marked for translation yet, as
9764           it probably needs some more work first.
9765
9766         (gst_type_find_element_get_best_possibility):
9767           Add helper function to find the best of all available
9768           found possibilities that qualify given the min. threshold.
9769
9770         (gst_type_find_element_handle_event):
9771           Fix the case where we get an EOS while still in TYPEFIND
9772           mode (we want to chose the best of all possible types,
9773           not just the first type that happens to be in our unsorted
9774           list of possible types).
9775
9776         (gst_type_find_element_chain):
9777           Make sure we return GST_FLOW_ERROR when we errored out
9778           in stop_typefinding(); also, don't just find the best of
9779           all found type entries and then use the last examined
9780           type entry, but actually use the best entry.
9781
9782 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9783
9784         * tests/examples/typefind/typefind.c: (type_found):
9785         * tests/examples/xml/runxml.c: (xml_loaded):
9786           More gcc4 fixes and a mem leak fix.
9787
9788 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9789
9790         * tests/examples/xml/createxml.c: (object_saved):
9791           gcc 4 fixes
9792
9793 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9794
9795         * tests/Makefile.am:
9796           enable the examples even more
9797
9798 2005-12-12  Andy Wingo  <wingo@pobox.com>
9799
9800         * libs/gst/net/gstnettimeprovider.c
9801         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9802         (gst_net_time_provider_set_property)
9803         (gst_net_time_provider_get_property):
9804         API addition: Export "active" as a GObject property.
9805         (gst_net_time_provider_thread): Only respond to time queries if
9806         the time provider is active.
9807
9808         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9809         NetTimeProvider, preserving binary compat.
9810
9811 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9812
9813         * tests/examples/controller/audio-example.c: (main):
9814         * tests/examples/launch/Makefile.am:
9815           convert comments again
9816
9817 2005-12-12  Wim Taymans  <wim@fluendo.com>
9818
9819         * libs/gst/base/gstpushsrc.c:
9820         Fix typo.
9821
9822 2005-12-12  Wim Taymans  <wim@fluendo.com>
9823
9824         * docs/libs/gstreamer-libs-sections.txt:
9825         Added new symbol to docs.
9826
9827         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9828         (gst_base_src_init), (gst_base_src_set_format),
9829         (gst_base_src_default_query), (gst_base_src_query),
9830         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9831         (gst_base_src_perform_seek), (gst_base_src_send_event),
9832         (gst_base_src_default_event), (gst_base_src_event_handler),
9833         (gst_base_src_set_property), (gst_base_src_get_property),
9834         (gst_base_src_wait), (gst_base_src_do_sync),
9835         (gst_base_src_update_length), (gst_base_src_get_range),
9836         (gst_base_src_check_get_range), (gst_base_src_loop),
9837         (gst_base_src_default_negotiate), (gst_base_src_start),
9838         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9839         (gst_base_src_change_state):
9840         * libs/gst/base/gstbasesrc.h:
9841         Implement seeking to other formats than _BYTES.
9842         Implement more seeking methods correctly.
9843         Doc updates.
9844         Added query vmethod.
9845         Added do_seek vmethod to make life easier for subclasses
9846         when seeking.
9847         API addition: gst_base_src_set_format()
9848
9849 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9850
9851         * tests/examples/Makefile.am:
9852           added that too
9853
9854 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9855
9856         * configure.ac:
9857         * docs/random/ensonic/media-device-daemon.txt:
9858         * tests/examples/controller/.cvsignore:
9859         * tests/examples/controller/Makefile.am:
9860         * tests/examples/controller/audio-example.c: (main):
9861         * tests/examples/helloworld/.cvsignore:
9862         * tests/examples/helloworld/Makefile.am:
9863         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9864         * tests/examples/launch/.cvsignore:
9865         * tests/examples/launch/Makefile.am:
9866         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9867         * tests/examples/metadata/.cvsignore:
9868         * tests/examples/metadata/Makefile.am:
9869         * tests/examples/metadata/read-metadata.c: (message_loop),
9870         (make_pipeline), (print_tag), (main):
9871         * tests/examples/queue/.cvsignore:
9872         * tests/examples/queue/Makefile.am:
9873         * tests/examples/queue/queue.c: (event_loop), (main):
9874         * tests/examples/typefind/.cvsignore:
9875         * tests/examples/typefind/Makefile.am:
9876         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9877         (main):
9878         * tests/examples/xml/.cvsignore:
9879         * tests/examples/xml/Makefile.am:
9880         * tests/examples/xml/createxml.c: (object_saved), (main):
9881         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9882         * tests/old/examples/Makefile.am:
9883         * tests/old/examples/TODO:
9884         * tests/old/examples/controller/.cvsignore:
9885         * tests/old/examples/controller/Makefile.am:
9886         * tests/old/examples/controller/audio-example.c:
9887         * tests/old/examples/helloworld/.cvsignore:
9888         * tests/old/examples/helloworld/Makefile.am:
9889         * tests/old/examples/helloworld/helloworld.c:
9890         * tests/old/examples/launch/.cvsignore:
9891         * tests/old/examples/launch/Makefile.am:
9892         * tests/old/examples/launch/mp3parselaunch.c:
9893         * tests/old/examples/launch/mp3play:
9894         * tests/old/examples/manual/Makefile.am:
9895         * tests/old/examples/metadata/Makefile.am:
9896         * tests/old/examples/metadata/read-metadata.c:
9897         * tests/old/examples/queue/.cvsignore:
9898         * tests/old/examples/queue/Makefile.am:
9899         * tests/old/examples/queue/queue.c:
9900         * tests/old/examples/typefind/.cvsignore:
9901         * tests/old/examples/typefind/Makefile.am:
9902         * tests/old/examples/typefind/typefind.c:
9903         * tests/old/examples/xml/.cvsignore:
9904         * tests/old/examples/xml/Makefile.am:
9905         * tests/old/examples/xml/createxml.c:
9906         * tests/old/examples/xml/runxml.c:
9907           applied some simple fixing to some examples
9908           re-enabled the working examples
9909
9910 2005-12-12  Wim Taymans  <wim@fluendo.com>
9911
9912         * gst/gstsegment.c: (gst_segment_init),
9913         (gst_segment_set_last_stop), (gst_segment_set_seek),
9914         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9915         (gst_segment_to_running_time):
9916         Added more documentation.
9917         Make sure the last_pos value is updated properly.
9918         Make sure to_stream_time and to_running_time don't
9919         operate on wrong values.
9920
9921         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9922         Update check.
9923
9924 2005-12-12  Michael Smith  <msmith@fluendo.com>
9925
9926         * plugins/elements/gsttypefindelement.c: (free_entry),
9927         (gst_type_find_element_chain):
9928           Now that we're not leaking factories, make sure we keep references
9929           to them while we need them.
9930
9931 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9932
9933         * tests/check/gst/struct_i386.h:
9934           ifdef out the XML structs
9935
9936 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9937
9938         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9939           floor is not needed, F is always positive; this obviates the
9940           need for adding -lm when building without libxml
9941
9942 2005-12-12  Wim Taymans  <wim@fluendo.com>
9943
9944         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9945         Take current playback rate into account when reporting
9946         the position.
9947
9948 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9949
9950         * docs/manual/mime-world.fig:
9951           Let's try this again, this time with a file that is
9952           actually in XFig format.
9953
9954 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9955
9956         * docs/manual/mime-world.fig:
9957           Add audioconvert element to diagram so that it
9958           matches the text and the code (fixes #319526).
9959
9960 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9961
9962         * docs/pwg/building-chainfn.xml:
9963         * docs/pwg/building-pads.xml:
9964         * docs/pwg/building-state.xml:
9965         * docs/pwg/other-source.xml:
9966           Update state change stuff for 0.10 (fixes #322969).
9967
9968 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9969
9970         * docs/manual/advanced-dataaccess.xml:
9971         * docs/manual/appendix-checklist.xml:
9972         * docs/manual/appendix-programs.xml:
9973         * docs/manual/basics-pads.xml:
9974         * docs/manual/highlevel-components.xml:
9975         * docs/manual/manual.xml:
9976           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9977           add converters in front of pipelines; remove curly
9978           brackets for threads stuff, they no longer exist; use
9979           GST_TYPE_FRACTION for framerates; update some pieces of
9980           code to 0.10, but there's plenty more to do.
9981
9982         * docs/manual/appendix-porting.xml:
9983           Expand on asynchroneous state changes; s/0.9/0.10/;
9984           mention disappearance of gst_init_get_popt_table()
9985           (fixes #322916).
9986
9987 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9988
9989         * docs/faq/using.xml:
9990           Spider no longer exists, and neither does gst-launch-ext.
9991           Update examples to use decodebin and playbin and put
9992           converters in front of sinks (fixes #323726).
9993
9994 2005-12-09  Michael Smith  <msmith@fluendo.com>
9995
9996         * plugins/elements/gsttypefindelement.c: (find_peek),
9997         (gst_type_find_element_chain):
9998           Fix leaking element factories in typefinding.
9999           Fix problem where we forgot about a probable type on non-seekable
10000           files, and thus later mis-typefound it.
10001
10002 2005-12-09  Michael Smith  <msmith@fluendo.com>
10003
10004         * common/m4/gst-makecontext.m4:
10005         * common/m4/gst-mcsc.m4:
10006         * configure.ac:
10007         * win32/common/config.h:
10008         * win32/common/config.h.in:
10009           Remove makecontext stuff; not used in 0.10 and causes problems on
10010           HPUX according to bug #322441
10011
10012 2005-12-07  Wim Taymans  <wim@fluendo.com>
10013
10014         * tests/check/Makefile.am:
10015         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10016         (main):
10017         * tests/check/libs/struct_i386.h:
10018         Added ABI check for libs
10019
10020 2005-12-07  Wim Taymans  <wim@fluendo.com>
10021
10022         * tests/check/Makefile.am:
10023         And add the struct_i386.h to dist.
10024
10025 2005-12-07  Wim Taymans  <wim@fluendo.com>
10026
10027         * tests/check/Makefile.am:
10028         * tests/check/gst/.cvsignore:
10029         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10030         (main):
10031         * tests/check/gst/struct_i386.h:
10032         Added check for ABI compatibility.
10033
10034 2005-12-07  Wim Taymans  <wim@fluendo.com>
10035
10036         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10037         (gst_fake_src_get_times), (gst_fake_src_create):
10038         Fix broken sync option, fixes #323259
10039
10040 2005-12-07  Wim Taymans  <wim@fluendo.com>
10041
10042         * gst/gstbuffer.c:
10043         Small docs update.
10044
10045         * gst/gstcaps.c: (gst_caps_is_equal):
10046         Don't assert on NULL <--> X. Fixes #323260
10047
10048         * gst/gstminiobject.c: (gst_mini_object_replace):
10049         If we're doing atomic operations, we might just as well use
10050         the proper way to get an atomic pointer.
10051
10052         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10053         Clean up debugging.
10054
10055 2005-12-07  Michael Smith  <msmith@fluendo.com>
10056
10057         * gst/parse/grammar.y:
10058           Remove handling of { } for threads.
10059
10060 2005-12-06  David Schleef  <ds@schleef.org>
10061
10062         * libs/gst/base/gstbasetransform.c: speling fix.
10063
10064 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10065
10066         * docs/libs/tmpl/gstdataprotocol.sgml:
10067         * docs/random/omega/testing/gstobject.c:
10068         * gst/gst.c:
10069         * gst/gstclock.c:
10070         * gst/gstelement.c:
10071         * gst/gstelementfactory.c:
10072         * gst/gsterror.c:
10073         * gst/gstevent.c:
10074         * gst/gstghostpad.c:
10075         * gst/gstinfo.c:
10076         * gst/gstpadtemplate.c:
10077         * gst/gstregistryxml.c:
10078         * gst/gsttaglist.c:
10079         * gst/gsttagsetter.c:
10080         * gst/gsttypefind.c:
10081         * gst/gstvalue.c:
10082         * libs/gst/base/gstbasesrc.c:
10083         * libs/gst/net/gstnetclientclock.c:
10084         * libs/gst/net/gstnettimeprovider.c:
10085         * plugins/elements/gstfakesrc.c:
10086         * plugins/elements/gstfdsrc.c:
10087         * plugins/elements/gstfilesrc.c:
10088         * plugins/elements/gstidentity.c:
10089         * plugins/elements/gstqueue.c:
10090         * plugins/elements/gsttypefindelement.c:
10091         * plugins/indexers/gstfileindex.c:
10092         * plugins/indexers/gstmemindex.c:
10093         * tests/check/gst/gsttag.c:
10094         * tests/old/examples/cutter/cutter.c:
10095         * tests/old/examples/mixer/mixer.c:
10096         * tests/old/examples/xml/runxml.c: (main):
10097         * tests/old/testsuite/caps/normalisation.c:
10098         * tests/old/testsuite/debug/global.c:
10099         * tests/old/testsuite/parse/parse1.c:
10100         * tools/gst-xmlinspect.c:
10101         * win32/common/dirent.c:
10102           expand tabs
10103
10104 === release 0.10.0 ===
10105
10106 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10107
10108         * configure.ac:
10109           releasing 0.10.0, "Maroilles"
10110
10111 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10112
10113         submitted by: Funda Wang <fundawang@linux.net.cn>
10114
10115         * po/LINGUAS:
10116         * po/zh_CN.po:
10117           added Chinese (Traditional) translation
10118
10119 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10120
10121         * docs/gst/gstreamer-sections.txt:
10122         * docs/libs/tmpl/gstdataprotocol.sgml:
10123         * docs/random/thomasvs/TODO:
10124         * gst/gstutils.c:
10125         * gst/gstutils.h:
10126           fix docs
10127
10128 2005-12-05  Andy Wingo  <wingo@pobox.com>
10129
10130         patch by: Wim Taymans <wim@fluendo.com>
10131
10132         * libs/gst/base/gstbasetransform.c
10133         (gst_base_transform_prepare_output_buf)
10134         (gst_base_transform_buffer_alloc):
10135         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10136         alloc_buffer_and_set_caps.
10137
10138         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10139         set_caps on the source pad.
10140         (gst_pad_alloc_buffer_and_set_caps): New function, does what
10141         alloc_buffer used to do. Fixes #322874.
10142
10143         * docs/gst/gstreamer-sections.txt: 
10144         * docs/design/part-negotiation.txt: 
10145         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10146         changes.
10147
10148 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10149
10150         patch by: Sebastien Moutte
10151
10152         * win32/MANIFEST:
10153         * win32/common/config.h.in:
10154         * win32/vs6/libgstcontroller.dsp:
10155           win32 build fixes
10156
10157 2005-12-05  Wim Taymans  <wim@fluendo.com>
10158
10159         * gst/gstcaps.c: (gst_caps_is_equal):
10160         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10161         (gst_fake_src_create):
10162         Back out previous code changes, leave doc updates, file bugs 
10163         instead. 
10164
10165 2005-12-05  Wim Taymans  <wim@fluendo.com>
10166
10167         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10168         (gst_fake_src_get_times), (gst_fake_src_create):
10169         * plugins/elements/gstfakesrc.h:
10170         Fix broken sync code.
10171
10172 2005-12-05  Wim Taymans  <wim@fluendo.com>
10173
10174         * gst/gstcaps.c: (gst_caps_is_equal):
10175         Comparing NULL against !NULL yields different caps, not a
10176         failure.
10177
10178 2005-12-05  Wim Taymans  <wim@fluendo.com>
10179
10180         * gst/gstpipeline.c:
10181         Fix small typo in docs.
10182
10183 2005-12-05  Andy Wingo  <wingo@pobox.com>
10184
10185         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
10186
10187         * gst/gst.c (init_post): remove hard-coded 0.9 location for
10188         registries/plugins with a MAJORMINOR one.
10189         (plugin_desc): Rename library from gstcoreleements to
10190         staticelements. Fixes #323222.
10191
10192 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
10193
10194         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10195           Change debug category to 'collectpads' from 'collect_pads'
10196           (fixes #323250).
10197
10198 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10199
10200         patch by: Sebastien Moutte
10201
10202         * libs/gst/controller/gstinterpolation.c:
10203           use convert function for uint64/double
10204         * win32/vs6/libgstcontroller.dsp:
10205           link to GLib
10206
10207 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10208
10209         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10210         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10211         * gst/gstutils.h:
10212         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10213           add tests that seem to show that the guint64/gdouble conversions
10214           are correct.
10215
10216 2005-12-02  Wim Taymans  <wim@fluendo.com>
10217
10218         * gst/gstregistry.c: (gst_registry_add_path):
10219         * gst/gstregistry.h:
10220         * gst/gstregistryxml.c:
10221         Fix docs again.
10222
10223 2005-12-02  Wim Taymans  <wim@fluendo.com>
10224
10225         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10226         (gst_util_uint64_scale_int):
10227         Small cleanup.
10228
10229         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10230         Add debug log line.
10231
10232         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10233         Add FIXME.
10234
10235 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10236
10237         * win32/MANIFEST:
10238         * win32/common/config.h:
10239         * win32/vs6/gstreamer.dsw:
10240         * win32/vs6/libgstcoreelements.dsp:
10241         * win32/vs6/libgstelements.dsp:
10242           renamed core elements plugin
10243
10244 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10245
10246         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10247         (get_candidates):
10248           do piece-wise major/minor comparison so 0.9 < 0.10
10249           also allow .exe extensions for tools
10250
10251 2005-12-02  Michael Smith  <msmith@fluendo.com>
10252
10253         * gst/gst.c:
10254           Escape a % to make gtkdoc happier; bug 322958.
10255
10256 === release 0.9.7 ===
10257
10258 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10259
10260         * configure.ac:
10261           releasing 0.9.7, "My Dog Has No Nose"
10262
10263 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10264
10265         * common/gst-xmlinspect.py:
10266         * configure.ac:
10267         * docs/libs/tmpl/gstdataprotocol.sgml:
10268         * docs/random/release:
10269         * po/af.po:
10270         * po/az.po:
10271         * po/bg.po:
10272         * po/ca.po:
10273         * po/cs.po:
10274         * po/de.po:
10275         * po/en_GB.po:
10276         * po/fr.po:
10277         * po/it.po:
10278         * po/nb.po:
10279         * po/nl.po:
10280         * po/ru.po:
10281         * po/sq.po:
10282         * po/sr.po:
10283         * po/sv.po:
10284         * po/tr.po:
10285         * po/uk.po:
10286         * po/vi.po:
10287         * win32/common/config.h:
10288         * win32/common/config.h.in:
10289         * win32/vs6/gst_inspect.dsp:
10290         * win32/vs6/gst_launch.dsp:
10291         * win32/vs6/libgstbase.dsp:
10292         * win32/vs6/libgstelements.dsp:
10293         * win32/vs6/libgstreamer.dsp:
10294         * win32/vs7/GStreamer.vcproj:
10295         * win32/vs7/gst-inspect.vcproj:
10296         * win32/vs7/gst-launch.vcproj:
10297         * win32/vs7/libgstbase.vcproj:
10298           bump GST_MAJORMINOR to 0.10
10299           reset libtool version
10300
10301 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10302
10303         * po/LINGUAS:
10304         * po/bg.po:
10305           Added Bulgarian translation by (Alexander Shopov)
10306
10307 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10308
10309         * tests/check/gst/gstplugin.c:
10310           fix test
10311
10312 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10313
10314         * common/gst-xmlinspect.py:
10315         * common/gtk-doc-plugins.mak:
10316         * configure.ac:
10317         * docs/Makefile.am:
10318         * docs/gst/Makefile.am:
10319         * docs/gst/gstreamer-docs.sgml:
10320         * docs/gst/gstreamer-sections.txt:
10321         * docs/gst/gstreamer.types:
10322         * docs/gst/gstreamer.types.in:
10323         * docs/plugins/Makefile.am:
10324         * docs/plugins/gstreamer-plugins-docs.sgml:
10325         * docs/plugins/gstreamer-plugins-sections.txt:
10326         * docs/plugins/gstreamer-plugins.types:
10327         * docs/plugins/inspect.stamp:
10328         * docs/plugins/inspect/plugin-coreelements.xml:
10329         * docs/plugins/inspect/plugin-coreindexers.xml:
10330         * docs/plugins/scanobj-build.stamp:
10331         * gstreamer.spec.in:
10332         * plugins/elements/Makefile.am:
10333         * plugins/elements/gstelements.c:
10334         * plugins/elements/gstfakesink.c:
10335         * plugins/elements/gstfakesrc.c:
10336         * plugins/elements/gstfilesink.c:
10337         * plugins/elements/gstfilesrc.c:
10338         * plugins/elements/gstqueue.c:
10339         * plugins/indexers/Makefile.am:
10340         * plugins/indexers/gstindexers.c:
10341           document core plugins in a separate document just like all the
10342           others
10343           rename these plugins to something starting with core
10344
10345 2005-12-01  Andy Wingo  <wingo@pobox.com>
10346
10347         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10348         padding here before, but it missed the commit.
10349
10350 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * libs/gst/controller/gstinterpolation.c:
10353           whitespace prices have crashed, we should feel free to use some now
10354           use gst_guint64_to_gdouble
10355
10356 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10357
10358         * libs/gst/controller/gstcontroller.c:
10359         * libs/gst/controller/gsthelper.c:
10360         * libs/gst/controller/gstinterpolation.c:
10361         * libs/gst/controller/lib.c:
10362           wrap config.h include
10363
10364 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10365
10366         * docs/gst/gstreamer-sections.txt:
10367           update docs
10368
10369 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10370
10371         * plugins/elements/gstelements.c:
10372         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10373         (gst_fd_sink__class_init), (gst_fd_sink__init),
10374         (gst_fd_sink__chain), (gst_fd_sink__set_property),
10375         (gst_fd_sink__get_property):
10376         * plugins/elements/gstfdsink.h:
10377         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10378         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10379         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10380         (gst_fd_src_unlock), (gst_fd_src_set_property),
10381         (gst_fd_src_get_property), (gst_fd_src_create),
10382         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10383         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10384         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10385         (gst_fd_src_uri_handler_init):
10386         * plugins/elements/gstfdsrc.h:
10387         * plugins/elements/gstqueue.c: (gst_queue_get_type):
10388           more anal cleanup
10389
10390 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10391
10392         * docs/gst/Makefile.am:
10393         * docs/gst/gstreamer.types.in:
10394         * gst/Makefile.am:
10395           fix the docs build
10396
10397 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10398
10399         * configure.ac:
10400         * gst/Makefile.am:
10401         * gst/gst.c:
10402         * gst/gstplugin.h:
10403         * gst/gstregistry.h:
10404         * tests/benchmarks/complexity.c:
10405         * tests/benchmarks/mass-elements.c:
10406         * tests/check/Makefile.am:
10407         * tools/Makefile.am:
10408         * tools/gst-inspect.c:
10409         * tools/gst-xmlinspect.c:
10410           various fixes to make
10411           --disable-nls --disable-registry --disable-loadsave
10412           --disable-parse --disable-gst-debug
10413           work and get the core .so down to 360444 bytes after stripping
10414
10415 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10416
10417         * Makefile.am:
10418         * configure.ac:
10419           descend into tests
10420         * docs/random/thomasvs/TODO:
10421         * tests/Makefile.am:
10422         * tests/README:
10423           add a README
10424
10425 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10426
10427         * win32/GStreamer.vcproj:
10428         * win32/MANIFEST:
10429         * win32/Makefile:
10430         * win32/Makefile.inspect:
10431         * win32/Makefile.launch:
10432         * win32/Makefile.register:
10433         * win32/README.txt:
10434         * win32/gst-inspect.vcproj:
10435         * win32/gst-launch.vcproj:
10436         * win32/gst-register.vcproj:
10437         * win32/gstelements.vcproj:
10438         * win32/gstgetbits.def:
10439         * win32/gstgetbits.vcproj:
10440         * win32/gstreamer-dbg.def:
10441         * win32/gstreamer.def:
10442         * win32/libgstbase.def:
10443         * win32/libgstbase.vcproj:
10444         * win32/link_oldruntime.c:
10445         * win32/mman.c:
10446         * win32/mman.h:
10447         * win32/mman.inl:
10448         * win32/msvc71.sln:
10449           move even more stuff, win32/ is nice and clean now
10450
10451 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10452
10453         * libs/gst/control/.cvsignore:
10454         * win32/MANIFEST:
10455         * win32/config.h:
10456         * win32/dirent.c:
10457         * win32/dirent.h:
10458         * win32/gstbytestream.def:
10459         * win32/gstbytestream.vcproj:
10460         * win32/gstconfig.h:
10461         * win32/gstenumtypes.c:
10462         * win32/gstenumtypes.h:
10463         * win32/gstoptimalscheduler.vcproj:
10464         * win32/gstversion.h:
10465         * win32/gtchar.h:
10466         * win32/testsuite/bins.vcproj:
10467         * win32/testsuite/bytestream.vcproj:
10468         * win32/testsuite/caps.vcproj:
10469         * win32/testsuite/cleanup.vcproj:
10470         * win32/testsuite/clock.vcproj:
10471         * win32/testsuite/debug.vcproj:
10472         * win32/testsuite/dlopen.vcproj:
10473         * win32/testsuite/dynparams.vcproj:
10474         * win32/testsuite/elements.vcproj:
10475         * win32/testsuite/ghostpads.vcproj:
10476         * win32/testsuite/indexers.vcproj:
10477         * win32/testsuite/negotiation.vcproj:
10478         * win32/testsuite/parse.vcproj:
10479         * win32/testsuite/plugin.vcproj:
10480         * win32/testsuite/refcounting.vcproj:
10481         * win32/testsuite/schedulers.vcproj:
10482         * win32/testsuite/states.vcproj:
10483         * win32/testsuite/tags.vcproj:
10484         * win32/testsuite/threads.vcproj:
10485           remove old win32 stuff that isn't maintained and should be
10486           reorganized
10487
10488 2005-11-30  Andy Wingo  <wingo@pobox.com>
10489
10490         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10491         loading the gst.interfaces python module bork.
10492
10493         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10494         available since GLib 2.2. Fixes #318031.
10495
10496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10497
10498         * Makefile.am:
10499         * check/.cvsignore:
10500         * check/Makefile.am:
10501         * check/elements/.cvsignore:
10502         * check/elements/fakesrc.c:
10503         * check/elements/fdsrc.c:
10504         * check/elements/identity.c:
10505         * check/generic/.cvsignore:
10506         * check/generic/states.c:
10507         * check/gst-libs/.cvsignore:
10508         * check/gst-libs/controller.c:
10509         * check/gst-libs/gdp.c:
10510         * check/gst/.cvsignore:
10511         * check/gst/capslist.h:
10512         * check/gst/gst.c:
10513         * check/gst/gstbin.c:
10514         * check/gst/gstbuffer.c:
10515         * check/gst/gstbus.c:
10516         * check/gst/gstcaps.c:
10517         * check/gst/gstelement.c:
10518         * check/gst/gstevent.c:
10519         * check/gst/gstghostpad.c:
10520         * check/gst/gstiterator.c:
10521         * check/gst/gstmessage.c:
10522         * check/gst/gstminiobject.c:
10523         * check/gst/gstobject.c:
10524         * check/gst/gstpad.c:
10525         * check/gst/gstpipeline.c:
10526         * check/gst/gstplugin.c:
10527         * check/gst/gstsegment.c:
10528         * check/gst/gststructure.c:
10529         * check/gst/gstsystemclock.c:
10530         * check/gst/gsttag.c:
10531         * check/gst/gstutils.c:
10532         * check/gst/gstvalue.c:
10533         * check/net/.cvsignore:
10534         * check/net/gstnetclientclock.c:
10535         * check/net/gstnettimeprovider.c:
10536         * check/pipelines/.cvsignore:
10537         * check/pipelines/cleanup.c:
10538         * check/pipelines/simple_launch_lines.c:
10539         * check/pipelines/stress.c:
10540         * check/states/.cvsignore:
10541         * check/states/sinks.c:
10542         * configure.ac:
10543         * examples/Makefile.am:
10544         * examples/appreader/.cvsignore:
10545         * examples/appreader/Makefile.am:
10546         * examples/appreader/appreader.c:
10547         * examples/controller/.cvsignore:
10548         * examples/controller/Makefile.am:
10549         * examples/controller/audio-example.c:
10550         * examples/cutter/.cvsignore:
10551         * examples/cutter/Makefile.am:
10552         * examples/cutter/cutter.c:
10553         * examples/cutter/cutter.h:
10554         * examples/events/Makefile.am:
10555         * examples/events/seek.c:
10556         * examples/helloworld/.cvsignore:
10557         * examples/helloworld/Makefile.am:
10558         * examples/helloworld/helloworld.c:
10559         * examples/helloworld2/.cvsignore:
10560         * examples/helloworld2/Makefile.am:
10561         * examples/helloworld2/helloworld2.c:
10562         * examples/launch/.cvsignore:
10563         * examples/launch/Makefile.am:
10564         * examples/launch/mp3parselaunch.c:
10565         * examples/launch/mp3play:
10566         * examples/manual/.cvsignore:
10567         * examples/manual/Makefile.am:
10568         * examples/manual/extract.pl:
10569         * examples/metadata/Makefile.am:
10570         * examples/metadata/read-metadata.c:
10571         * examples/mixer/.cvsignore:
10572         * examples/mixer/Makefile.am:
10573         * examples/mixer/mixer.c:
10574         * examples/mixer/mixer.h:
10575         * examples/pingpong/.cvsignore:
10576         * examples/pingpong/Makefile.am:
10577         * examples/pingpong/pingpong.c:
10578         * examples/plugins/.cvsignore:
10579         * examples/plugins/Makefile.am:
10580         * examples/plugins/example.c:
10581         * examples/plugins/example.h:
10582         * examples/pwg/.cvsignore:
10583         * examples/pwg/Makefile.am:
10584         * examples/pwg/extract.pl:
10585         * examples/queue/.cvsignore:
10586         * examples/queue/Makefile.am:
10587         * examples/queue/queue.c:
10588         * examples/queue2/.cvsignore:
10589         * examples/queue2/Makefile.am:
10590         * examples/queue2/queue2.c:
10591         * examples/queue3/.cvsignore:
10592         * examples/queue3/Makefile.am:
10593         * examples/queue3/queue3.c:
10594         * examples/queue4/.cvsignore:
10595         * examples/queue4/Makefile.am:
10596         * examples/queue4/queue4.c:
10597         * examples/retag/.cvsignore:
10598         * examples/retag/Makefile.am:
10599         * examples/retag/retag.c:
10600         * examples/retag/transcode.c:
10601         * examples/thread/.cvsignore:
10602         * examples/thread/Makefile.am:
10603         * examples/thread/thread.c:
10604         * examples/typefind/.cvsignore:
10605         * examples/typefind/Makefile.am:
10606         * examples/typefind/typefind.c:
10607         * examples/xml/.cvsignore:
10608         * examples/xml/Makefile.am:
10609         * examples/xml/createxml.c:
10610         * examples/xml/runxml.c:
10611         * tests/Makefile.am:
10612         * tests/check/Makefile.am:
10613         * testsuite/.cvsignore:
10614         * testsuite/Makefile.am:
10615         * testsuite/Rules:
10616         * testsuite/caps/.cvsignore:
10617         * testsuite/caps/Makefile.am:
10618         * testsuite/caps/app_fixate.c:
10619         * testsuite/caps/audioscale.c:
10620         * testsuite/caps/caps.c:
10621         * testsuite/caps/caps.h:
10622         * testsuite/caps/caps_strings:
10623         * testsuite/caps/compatibility.c:
10624         * testsuite/caps/deserialize.c:
10625         * testsuite/caps/enumcaps.c:
10626         * testsuite/caps/eratosthenes.c:
10627         * testsuite/caps/filtercaps.c:
10628         * testsuite/caps/fixed.c:
10629         * testsuite/caps/fraction-convert.c:
10630         * testsuite/caps/fraction-multiply-and-zero.c:
10631         * testsuite/caps/intersect2.c:
10632         * testsuite/caps/intersection.c:
10633         * testsuite/caps/normalisation.c:
10634         * testsuite/caps/random.c:
10635         * testsuite/caps/renegotiate.c:
10636         * testsuite/caps/sets.c:
10637         * testsuite/caps/simplify.c:
10638         * testsuite/caps/string-conversions.c:
10639         * testsuite/caps/structure.c:
10640         * testsuite/caps/subtract.c:
10641         * testsuite/caps/union.c:
10642         * testsuite/debug/.cvsignore:
10643         * testsuite/debug/Makefile.am:
10644         * testsuite/debug/category.c:
10645         * testsuite/debug/commandline.c:
10646         * testsuite/debug/global.c:
10647         * testsuite/debug/output.c:
10648         * testsuite/debug/printf_extension.c:
10649         * testsuite/dlopen/.cvsignore:
10650         * testsuite/dlopen/Makefile.am:
10651         * testsuite/dlopen/dlopen_gst.c:
10652         * testsuite/dlopen/loadgst.c:
10653         * testsuite/elements/.cvsignore:
10654         * testsuite/elements/Makefile.am:
10655         * testsuite/elements/gst-inspect-check.in:
10656         * testsuite/elements/struct_i386.h:
10657         * testsuite/elements/struct_size.c:
10658         * testsuite/indexers/.cvsignore:
10659         * testsuite/indexers/Makefile.am:
10660         * testsuite/indexers/cache1.c:
10661         * testsuite/indexers/indexdump.c:
10662         * testsuite/parse/.cvsignore:
10663         * testsuite/parse/Makefile.am:
10664         * testsuite/parse/parse1.c:
10665         * testsuite/parse/parse2.c:
10666         * testsuite/plugin/.cvsignore:
10667         * testsuite/plugin/Makefile.am:
10668         * testsuite/plugin/README:
10669         * testsuite/plugin/dynamic.c:
10670         * testsuite/plugin/linked.c:
10671         * testsuite/plugin/loading.c:
10672         * testsuite/plugin/registry.c:
10673         * testsuite/plugin/static.c:
10674         * testsuite/plugin/static2.c:
10675         * testsuite/plugin/testplugin.c:
10676         * testsuite/plugin/testplugin2.c:
10677         * testsuite/plugin/testplugin2_s.c:
10678         * testsuite/plugin/testplugin_s.c:
10679         * testsuite/refcounting/.cvsignore:
10680         * testsuite/refcounting/Makefile.am:
10681         * testsuite/refcounting/bin.c:
10682         * testsuite/refcounting/element.c:
10683         * testsuite/refcounting/element_pad.c:
10684         * testsuite/refcounting/mainloop.c:
10685         * testsuite/refcounting/mem.c:
10686         * testsuite/refcounting/mem.h:
10687         * testsuite/refcounting/object.c:
10688         * testsuite/refcounting/pad.c:
10689         * testsuite/refcounting/sched.c:
10690         * testsuite/refcounting/thread.c:
10691         * testsuite/states/.cvsignore:
10692         * testsuite/states/Makefile.am:
10693         * testsuite/states/bin.c:
10694         * testsuite/states/locked.c:
10695         * testsuite/states/parent.c:
10696         * testsuite/threads/.cvsignore:
10697         * testsuite/threads/159566.c:
10698         * testsuite/threads/159852.c:
10699         * testsuite/threads/Makefile.am:
10700         * testsuite/threads/queue.c:
10701         * testsuite/threads/signals.c:
10702         * testsuite/threads/staticrec.c:
10703         * testsuite/threads/thread.c:
10704         * testsuite/threads/threadb.c:
10705         * testsuite/threads/threadc.c:
10706         * testsuite/threads/threadd.c:
10707         * testsuite/threads/threade.c:
10708         * testsuite/threads/threadf.c:
10709         * testsuite/threads/threadg.c:
10710         * testsuite/threads/threadh.c:
10711         * testsuite/threads/threadi.c:
10712           move all of these under tests
10713
10714 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10715
10716         * configure.ac:
10717         * tests/Makefile.am:
10718           fix distcheck
10719
10720 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10721
10722         * docs/gst/gstreamer-sections.txt:
10723         * tests/sched/.cvsignore:
10724         * tests/sched/Makefile.am:
10725         * tests/sched/cases/(fs-fs).xml:
10726         * tests/sched/cases/(fs-i-fs).xml:
10727         * tests/sched/cases/(fs-i-i-fs).xml:
10728         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10729         * tests/sched/dynamic-pipeline.c:
10730         * tests/sched/interrupt1.c:
10731         * tests/sched/interrupt2.c:
10732         * tests/sched/interrupt3.c:
10733         * tests/sched/runtestcases:
10734         * tests/sched/runxml.c:
10735         * tests/sched/sched-stress.c:
10736         * tests/sched/sort.c:
10737         * tests/sched/testcases:
10738         * tests/sched/testcases1.tc:
10739         * tests/seeking/.cvsignore:
10740         * tests/seeking/Makefile.am:
10741         * tests/seeking/seeking1.c:
10742         * tests/threadstate/.cvsignore:
10743         * tests/threadstate/Makefile.am:
10744         * tests/threadstate/test1.c:
10745         * tests/threadstate/test2.c:
10746         * tests/threadstate/threadstate1.c:
10747         * tests/threadstate/threadstate2.c:
10748         * tests/threadstate/threadstate3.c:
10749         * tests/threadstate/threadstate4.c:
10750         * tests/threadstate/threadstate5.c:
10751           remove obsolete tests
10752         * configure.ac:
10753         * tests/bench-complexity.scm:
10754         * tests/bench-mass_elements.scm:
10755         * tests/complexity.c:
10756         * tests/complexity.gnuplot:
10757         * tests/instantiate/.cvsignore:
10758         * tests/instantiate/Makefile.am:
10759         * tests/instantiate/caps.c:
10760         * tests/mass_elements.c:
10761         * tests/network-clock-utils.scm:
10762         * tests/network-clock.scm:
10763         * tests/plot-data:
10764         First pass at cleaning up tests/ dir before moving the rest
10765         Combined with CVS surgery
10766
10767 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10768
10769         * po/POTFILES.in:
10770           queue has moved, update
10771
10772 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10773
10774         * docs/gst/gstreamer-sections.txt:
10775           remove double entries from the docs
10776         * gst/gst_private.h:
10777         * gst/gstinfo.c: (_gst_debug_init):
10778           remove the THREAD debug category
10779         * gst/Makefile.am:
10780         * gst/gstqueue.c:
10781         * gst/gstqueue.h:
10782         * docs/gst/gstreamer.types:
10783         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10784         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10785           completely move queue and fix up debugging categories
10786
10787 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10788
10789         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10790           make initialization portable, using LL is not
10791
10792 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10793
10794         * win32/common/gstconfig.h:
10795           add large padding
10796
10797 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10798
10799         * win32/common/libgstreamer.def:
10800           rename symbols; sort base section
10801
10802 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10803
10804         * gst/gstclock.c: (do_linear_regression):
10805           remove crack non-portable handrolled DEBUG macro
10806
10807 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10808
10809         * docs/random/release:
10810           update notes
10811         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10812         (gst_object_flags_get_type), (register_gst_bin_flags),
10813         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10814         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10815         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10816         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10817         (gst_caps_flags_get_type), (register_gst_clock_return),
10818         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10819         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10820         (gst_clock_flags_get_type), (register_gst_state),
10821         (gst_state_get_type), (register_gst_state_change_return),
10822         (gst_state_change_return_get_type), (register_gst_state_change),
10823         (gst_state_change_get_type), (register_gst_element_flags),
10824         (gst_element_flags_get_type), (register_gst_core_error),
10825         (gst_core_error_get_type), (register_gst_library_error),
10826         (gst_library_error_get_type), (register_gst_resource_error),
10827         (gst_resource_error_get_type), (register_gst_stream_error),
10828         (gst_stream_error_get_type), (register_gst_event_type_flags),
10829         (gst_event_type_flags_get_type), (register_gst_event_type),
10830         (gst_event_type_get_type), (register_gst_seek_type),
10831         (gst_seek_type_get_type), (register_gst_seek_flags),
10832         (gst_seek_flags_get_type), (register_gst_format),
10833         (gst_format_get_type), (register_gst_index_certainty),
10834         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10835         (gst_index_entry_type_get_type),
10836         (register_gst_index_lookup_method),
10837         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10838         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10839         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10840         (gst_index_flags_get_type), (register_gst_debug_level),
10841         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10842         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10843         (gst_iterator_result_get_type), (register_gst_iterator_item),
10844         (gst_iterator_item_get_type), (register_gst_message_type),
10845         (gst_message_type_get_type), (register_gst_mini_object_flags),
10846         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10847         (gst_pad_link_return_get_type), (register_gst_flow_return),
10848         (gst_flow_return_get_type), (register_gst_activate_mode),
10849         (gst_activate_mode_get_type), (register_gst_pad_direction),
10850         (gst_pad_direction_get_type), (register_gst_pad_flags),
10851         (gst_pad_flags_get_type), (register_gst_pad_presence),
10852         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10853         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10854         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10855         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10856         (gst_plugin_flags_get_type), (register_gst_rank),
10857         (gst_rank_get_type), (register_gst_query_type),
10858         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10859         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10860         (gst_tag_flag_get_type), (register_gst_task_state),
10861         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10862         (gst_alloc_trace_flags_get_type),
10863         (register_gst_type_find_probability),
10864         (gst_type_find_probability_get_type), (register_gst_uri_type),
10865         (gst_uri_type_get_type), (register_gst_parse_error),
10866         (gst_parse_error_get_type):
10867         * win32/common/gstenumtypes.h:
10868         * win32/common/gstversion.h:
10869           update visual studio generated files
10870
10871 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10872
10873         * win32/vs6/libgstbase.dsp:
10874         * win32/vs6/libgstelements.dsp:
10875           update project files for new locations
10876
10877 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10878
10879         * Makefile.am:
10880           remove some files
10881         * README:
10882           reinstate and update
10883         * DEVEL:
10884         * REQUIREMENTS:
10885           removed
10886         * LICENSE:
10887         * docs/random/LICENSE:
10888           moved to random
10889
10890 2005-11-30  Edward Hervey  <edward@fluendo.com>
10891
10892         * gst/gsttypefind.c: (gst_type_find_register):
10893         * gst/gsttypefind.h:
10894         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10895         (gst_type_find_factory_dispose):
10896         * gst/gsttypefindfactory.h:
10897         Fix memory leak in GstTypeFindFactory.
10898
10899 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10900
10901         * gst/gst.c:
10902         * plugins/elements/Makefile.am:
10903         * plugins/elements/gstelements.c:
10904         * plugins/elements/gstqueue.c:
10905           move queue from core to the elements plugin
10906
10907 2005-11-29  Andy Wingo  <wingo@pobox.com>
10908
10909         * libs/gst/base/gstbasetransform.h: 
10910         * libs/gst/base/gstbasesrc.h: 
10911         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10912
10913         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10914         of pointers by which to pad very extensible base classes (like the
10915         ones in libs/gst/base).
10916
10917 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10918
10919         * docs/gst/gstreamer-docs.sgml:
10920         * docs/gst/gstreamer-sections.txt:
10921         * docs/libs/gstreamer-libs-docs.sgml:
10922         * docs/libs/gstreamer-libs-sections.txt:
10923           moving documentation from core to lib
10924
10925 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10926
10927         * check/Makefile.am:
10928         * configure.ac:
10929         * docs/gst/Makefile.am:
10930         * gst/Makefile.am:
10931         * gst/base/.cvsignore:
10932         * gst/base/Makefile.am:
10933         * gst/base/README:
10934         * gst/base/gstadapter.c:
10935         * gst/base/gstadapter.h:
10936         * gst/base/gstbasesink.c:
10937         * gst/base/gstbasesink.h:
10938         * gst/base/gstbasesrc.c:
10939         * gst/base/gstbasesrc.h:
10940         * gst/base/gstbasetransform.c:
10941         * gst/base/gstbasetransform.h:
10942         * gst/base/gstcollectpads.c:
10943         * gst/base/gstcollectpads.h:
10944         * gst/base/gstpushsrc.c:
10945         * gst/base/gstpushsrc.h:
10946         * gst/base/gsttypefindhelper.c:
10947         * gst/base/gsttypefindhelper.h:
10948         * gst/check/Makefile.am:
10949         * gst/check/gstcheck.c:
10950         * gst/check/gstcheck.h:
10951         * gst/net/Makefile.am:
10952         * gst/net/gstnet.h:
10953         * gst/net/gstnetclientclock.c:
10954         * gst/net/gstnetclientclock.h:
10955         * gst/net/gstnettimepacket.c:
10956         * gst/net/gstnettimepacket.h:
10957         * gst/net/gstnettimeprovider.c:
10958         * gst/net/gstnettimeprovider.h:
10959         * libs/gst/Makefile.am:
10960         * libs/gst/base/Makefile.am:
10961         * libs/gst/base/gstbasetransform.c:
10962         * libs/gst/check/Makefile.am:
10963         * plugins/elements/Makefile.am:
10964         * po/POTFILES.in:
10965           CVS surgery + support to move base, check, and net out of gst
10966           and into libs/gst
10967
10968 2005-11-29  Andy Wingo  <wingo@pobox.com>
10969
10970         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10971
10972         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10973         padding.
10974
10975         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10976
10977         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10978
10979         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10980
10981         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10982         padding; reduces object size by about 30%. We don't expect
10983         anything else to go into gstobject.
10984
10985         * gst/gstminiobject.h (struct _GstMiniObject)
10986         (struct _GstMiniObjectClass): Only one pointer of padding; the
10987         payload is only a pointer and two ints anyway. For the class there
10988         are only two methods as well.
10989         
10990         * gst/gstelement.h (struct _GstElementClass): Removed
10991         the state_changed signal callback, it is not used.
10992
10993 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10994
10995         * docs/gst/gstreamer.types:
10996           fix includes, though they are a little dinky
10997
10998 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10999
11000         * check/Makefile.am:
11001           look in the right place for elements, a lot more chance of
11002           success
11003         * gst/Makefile.am:
11004           remove indexers and elements subdirs
11005         * plugins/Makefile.am:
11006           make indexers conditional
11007
11008 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11009
11010         * Makefile.am:
11011         * configure.ac:
11012         * plugins/elements/Makefile.am:
11013         * plugins/elements/gstcapsfilter.c:
11014         * plugins/elements/gstfilesink.c:
11015         * plugins/elements/gstfilesrc.c:
11016         * plugins/elements/gstidentity.c:
11017         * plugins/indexers/Makefile.am:
11018           do CVS surgery and related build fixery to move elements
11019           and indexers in a new gstreamer/plugins directory, out of the
11020           gst/ directory
11021
11022 2005-11-29  Andy Wingo  <wingo@pobox.com>
11023
11024         * check/Makefile.am:
11025         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11026         * pkgconfig/gstreamer-net.pc.in:
11027         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11028         #322257.
11029
11030 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11031
11032         * tools/Makefile.am:
11033         * tools/gst-complete.1.in:
11034         * tools/gst-complete.c:
11035         * tools/gst-compprep.1.in:
11036         * tools/gst-compprep.c:
11037           removing -compprep and -complete
11038
11039 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11040
11041         * gst/gstevent.c: (gst_event_new_new_segment),
11042         (gst_event_parse_new_segment):
11043         * gst/gstevent.h:
11044           fix #320529 - clean up new_segment API and structure.
11045           Let's hope everyone was using the methods, and not the structure.
11046
11047 2005-11-29  Edward Hervey  <edward@fluendo.com>
11048
11049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11050         (gst_base_sink_event), (gst_base_sink_do_sync),
11051         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11052         Properly handle non GST_FORMAT_TIME segment
11053         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11054         Properly handle non GST_FORMAT_TIME segment
11055         * gst/gstsegment.c:
11056         This function is valid if the accumulator is 0 and the format
11057         is different from the requested format.
11058         
11059 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11060
11061         * docs/gst/gstreamer-sections.txt:
11062         Add gst_query_new_seeking and gst_query_parse_seeking to the
11063         docs.
11064
11065 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11066
11067         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11068           Treat a pad alloc with new caps the same as if we were not
11069           negotiated, in order to allow a changing upstream output
11070           to produce a new format of data.
11071
11072 2005-11-29  Edward Hervey  <edward@fluendo.com>
11073
11074         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11075         (gst_base_transform_event), (gst_base_transform_eventfunc):
11076         The event virtual method is now properly implemented, with a default
11077         handler
11078         Sub classes should call the parent_class event method. They should
11079         return FALSE if they had a problem handling the given event, or don't
11080         want GstBaseTransform to send that even downstream
11081         * gst/elements/gstidentity.c: (gst_identity_class_init),
11082         (gst_identity_init), (gst_identity_event),
11083         (gst_identity_transform_ip), (gst_identity_set_property),
11084         (gst_identity_get_property):
11085         * gst/elements/gstidentity.h:
11086         Added the single-segment boolean property.
11087         If set to TRUE, it will output a single segment of data, starting from
11088         0, will eat up all incoming newsegment, and modify the timestamp of the
11089         buffers accordingly
11090
11091 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
11092
11093         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11094           Don't ref NULL target pad (#322751). Improve docs.
11095
11096 2005-11-29  Michael Smith  <msmith@fluendo.com>
11097
11098         * gst/gstregistryxml.c: (load_plugin):
11099           Don't crash if we failed to load a feature from a plugin. 
11100
11101 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11102
11103         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11104         (GST_START_TEST):
11105           use more check API and less GLib API
11106
11107 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11108
11109         * Makefile.am:
11110           don't run checks if we don't have check
11111         * common/check.mak:
11112           remove the registry when running make torture
11113         * docs/gst/gstreamer-sections.txt:
11114           remove second multiply
11115         * gst/gstqueue.c: (gst_queue_loop):
11116           fix a compile warning when disabling debug
11117
11118 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11119
11120         * gst/gstinfo.h:
11121         Hey! Let's print the pad name if the pointer != NULL instead
11122         of when it == NULL :-)
11123
11124 2005-11-28  Wim Taymans  <wim@fluendo.com>
11125
11126         * check/gst/gstutils.c: (GST_START_TEST):
11127         Updated check, add some scaling accuracy checking code.
11128
11129         * gst/gstutils.c: (gst_util_div128_64),
11130         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11131         (gst_util_uint64_scale_int):
11132         Fix 6 times faster division code. Optimize for common 
11133         1/1 and less common X/1 cases.
11134
11135 2005-11-28  Wim Taymans  <wim@fluendo.com>
11136
11137         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11138         More checks.
11139
11140         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11141         (do_linear_regression), (gst_clock_add_observation):
11142         Cleanups.
11143         Release lock when the clock cannot be slaved.
11144         Catch the case where the regression returned an invalid denominator.
11145
11146         * gst/gstutils.c: (gst_util_div128_64_iterate),
11147         (gst_util_div128_64), (gst_util_uint64_scale_int64),
11148         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11149         Add protentially more performant non-iterative 128/64 divide function
11150         that unfortunatly does not work yet.
11151         Shortcut the trivial 0/X = 0 case.
11152         Remove the warnings on overflow.
11153
11154 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11155
11156         * gst/gstplugin.c: (gst_plugin_register_func):
11157           everything causing a plugin not to load should be at least a WARNING
11158
11159 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
11160
11161         * docs/random/ensonic/dparams.txt:
11162           some TODOs for the next dev cycle
11163         * libs/gst/controller/gstcontroller.c:
11164         (gst_controlled_property_set_interpolation_mode),
11165         (gst_controlled_property_new):
11166         * libs/gst/controller/gstcontroller.h:
11167           use base type to assign acccessor functions
11168
11169 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11170
11171         * check/Makefile.am:
11172         Oops, that should have been top_srcdir
11173
11174 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
11175
11176         * check/Makefile.am:
11177         * check/elements/fdsrc.c: (GST_START_TEST):
11178         Use a cmdline define to specify the location of a file to use for
11179         testing, to avoid breaking distcheck.
11180
11181 2005-11-28  Andy Wingo  <wingo@pobox.com>
11182
11183         * gst/gstpad.c (fixate_value): Use array functions for arrays.
11184
11185 2005-11-28  Edward Hervey  <edward@fluendo.com>
11186
11187         * tools/gst-launch.c: (main):
11188         Clarify the output strings, makes it easier to translate.
11189         Fixes #322626
11190
11191 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11192
11193         * gst/Makefile.am:
11194           don't try and build net if we don't even have <sys/socket.h>
11195
11196 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
11197
11198         * check/Makefile.am:
11199         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11200         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11201           Add tests for fdsrc seekability
11202
11203         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11204         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11205         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11206         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11207         * gst/elements/gstfdsrc.h:
11208           fdsrc should not be a 'live' source.
11209           Implement seeking on seekable fd's.
11210
11211         * gst/gstquery.c: (gst_query_new_seeking),
11212         (gst_query_parse_seeking):
11213         * gst/gstquery.h:
11214           Implement SEEKING query functions: 
11215             *_new_seeking and *_parse_seeking
11216
11217 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
11218
11219         * gst/gstelement.c: (gst_element_dispose):
11220           don't loop forever
11221
11222         * gst/gstiterator.c:
11223         * gst/gststructure.c:
11224           doc fixes
11225
11226         * libs/gst/controller/gstcontroller.c:
11227         (gst_controlled_property_set_interpolation_mode):
11228         * libs/gst/controller/gstcontroller.h:
11229         * libs/gst/controller/gstinterpolation.c:
11230         (interpolate_none_get_enum_value_array):
11231           support controlling enums
11232
11233 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11234
11235         * gst/gstvalue.c:
11236           Improve documentation for gst_value_union().
11237
11238         * gst/gstvalue.h:
11239           Change return value for union, intersect and subtract functions
11240           from gint to gboolean.
11241
11242 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * gst/gstvalue.c: (gst_value_serialize_any_list),
11245         (gst_value_transform_any_list_string),
11246         (gst_value_deserialize_list), (gst_value_deserialize_array),
11247         (gst_value_set_int_range), (gst_value_deserialize_int_range),
11248         (gst_value_set_double_range), (gst_value_deserialize_double_range),
11249         (gst_value_set_fraction_range_full),
11250         (gst_value_deserialize_fraction_range),
11251         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11252         (gst_value_deserialize_boolean),
11253         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11254         (gst_value_serialize_float), (gst_value_deserialize_float),
11255         (gst_string_wrap), (gst_value_deserialize_string),
11256         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11257         (gst_value_union_int_range_int_range),
11258         (gst_value_intersect_int_range_int_range),
11259         (gst_value_intersect_double_range_double_range),
11260         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11261         (gst_value_subtract_int_range_int_range),
11262         (gst_value_subtract_double_double_range),
11263         (gst_value_subtract_double_range_double_range),
11264         (gst_value_deserialize_fraction):
11265         * gst/gstvalue.h:
11266           Use gint, gdouble and gchar in our API instead of int, double and
11267           char (and make usage in gstvalue.c more consistent).
11268
11269 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11270
11271         * check/Makefile.am:
11272         * libs/gst/controller/Makefile.am:
11273         * libs/gst/dataprotocol/Makefile.am:
11274           fix up Makefile.am and remove GST_ENABLE_NEW
11275
11276 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11277
11278         * configure.ac:
11279         * gst/Makefile.am:
11280         * gst/base/Makefile.am:
11281         * gst/check/Makefile.am:
11282         * gst/elements/Makefile.am:
11283         * gst/net/Makefile.am:
11284           update LDFLAGS use some more
11285
11286 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
11287
11288         * common/m4/gst-doc.m4:
11289           Fixes #312589
11290
11291 2005-11-26  Edward Hervey  <edward@fluendo.com>
11292
11293         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11294         This shouldn't issue a g_warning since it returns NULL if it
11295         couldn't find the plugin, and all functions using this behave
11296         properly on a NULL return. Switching to a GST_WARNING.
11297
11298 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
11299
11300         * gst/gstbin.c: (gst_bin_handle_message_func):
11301         Don't leak clock messages.
11302
11303 2005-11-25  Wim Taymans  <wim@fluendo.com>
11304
11305         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11306         (gst_util_uint64_scale_int):
11307         Optimisations, remove unneeded vars.
11308
11309 2005-11-25  Wim Taymans  <wim@fluendo.com>
11310
11311         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11312         Added more checks for the high precision uint64 cases.
11313
11314         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11315         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11316         Implement high precision (guint64 * guint64) / guint64.
11317
11318 2005-11-24  Wim Taymans  <wim@fluendo.com>
11319
11320         * gst/base/gstbasesrc.c: (gst_base_src_query):
11321         Fix wrong percentage query.
11322
11323         * gst/gstutils.c: (gst_util_uint64_scale),
11324         (gst_util_uint64_scale_int):
11325         Add some more common cases that can be handled 
11326         efficiently to _scale.
11327
11328 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11329
11330         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11331         (gst_mini_object_suite):
11332           don't use check calls from threads; check probably isn't
11333           threadsafe and using a lock to make it threadsafe would
11334           defeat the purpose of this check
11335         * gst/check/gstcheck.c:
11336         * gst/check/gstcheck.h:
11337           use GST_DEBUG some more
11338
11339 2005-11-24  Wim Taymans  <wim@fluendo.com>
11340
11341         * gst/gstutils.c: (gst_util_uint64_scale),
11342         (gst_util_uint64_scale_int):
11343         Chain trivial case to _scale_int.
11344
11345 2005-11-24  Wim Taymans  <wim@fluendo.com>
11346
11347         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11348         Added test for scaling.
11349
11350         * gst/gstclock.h:
11351         Small doc fix.
11352
11353         * gst/gstutils.c: (gst_util_uint64_scale_int):
11354         Implemented high precision scaling code.
11355
11356 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
11357
11358         * gst/gstinfo.h:
11359           do not crash on pad==NULL
11360
11361 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11362
11363         Patch by: Stefan Kost
11364
11365         * common/gtk-doc.mak:
11366         * docs/gst/Makefile.am:
11367         * docs/libs/Makefile.am:
11368           Fix distcheck issues for the libraries docs build
11369           Closes #319599.
11370
11371 2005-11-24  Michael Smith <msmith@fluendo.com>
11372
11373         * docs/manual/basics-helloworld.xml:
11374           Fix bug #315027: memory leak in example code in docs.
11375
11376 2005-11-24  Michael Smith <msmith@fluendo.com>
11377
11378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11379           Unlock the PREROLL_LOCK in a failure case.
11380
11381 2005-11-24  Wim Taymans  <wim@fluendo.com>
11382
11383         * docs/gst/gstreamer-sections.txt:
11384         * gst/base/gstadapter.h:
11385         * gst/base/gstbasesink.h:
11386         * gst/base/gstbasesrc.h:
11387         * gst/base/gstbasetransform.h:
11388         * gst/base/gstpushsrc.h:
11389         * gst/elements/gstfakesink.h:
11390         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11391         * gst/elements/gstfakesrc.h:
11392         * gst/elements/gstfilesink.h:
11393         * gst/elements/gstfilesrc.h:
11394         * gst/gst.c:
11395         * gst/gstbin.c:
11396         * gst/gstbuffer.c: (_gst_buffer_copy):
11397         * gst/gstbus.h:
11398         * gst/gstcaps.c:
11399         * gst/gstchildproxy.c:
11400         * gst/gstclock.c:
11401         * gst/gstelement.c:
11402         * gst/gstelementfactory.c:
11403         * gst/gstelementfactory.h:
11404         * gst/gstevent.c:
11405         * gst/gstghostpad.h:
11406         * gst/gstindex.h:
11407         * gst/gstinterface.h:
11408         * gst/gstminiobject.c:
11409         * gst/gstminiobject.h:
11410         * gst/gstpad.c:
11411         * gst/gstpad.h:
11412         * gst/gstpadtemplate.h:
11413         * gst/gstpipeline.h:
11414         * gst/gstpluginfeature.h:
11415         * gst/gstquery.h:
11416         * gst/gstqueue.h:
11417         * gst/gsttaglist.c:
11418         * gst/gsttaglist.h:
11419         * gst/gsttagsetter.c:
11420         * gst/gsttagsetter.h:
11421         * gst/gsttrace.c:
11422         * gst/gsttrace.h:
11423         * gst/gsttypefind.h:
11424         * gst/gsturi.h:
11425         * gst/gstvalue.c:
11426         * gst/net/gstnetclientclock.c:
11427         * gst/net/gstnetclientclock.h:
11428         * gst/net/gstnettimepacket.c:
11429         * gst/net/gstnettimeprovider.c:
11430         * gst/net/gstnettimeprovider.h:
11431         Doc fixes.
11432
11433 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11434
11435         * configure.ac: back to HEAD
11436
11437 === release 0.9.6 ===
11438
11439 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11440
11441         * configure.ac:
11442           releasing 0.9.6, "Always On Time"
11443
11444 2005-11-23  Wim Taymans  <wim@fluendo.com>
11445
11446         * docs/gst/gstreamer-sections.txt:
11447         * gst/glib-compat.c:
11448         * gst/gsttagsetter.c:
11449         * gst/gstvalue.c:
11450         * gst/net/gstnetclientclock.c:
11451         * gst/net/gstnettimepacket.h:
11452         Doc updates.
11453
11454 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11455
11456         * docs/faq/using.xml:
11457         * docs/libs/tmpl/gstcontrol.sgml:
11458         * docs/manual/advanced-dparams.xml:
11459         * docs/manual/appendix-checklist.xml:
11460         * docs/manual/basics-elements.xml:
11461         * docs/pwg/other-source.xml:
11462         * docs/random/moving-plugins:
11463         * gst/gstpad.c:
11464         * tools/gst-launch.1.in:
11465           remove mentions of sinesrc
11466
11467 2005-11-23  Michael Smith <msmith@fluendo.com>
11468
11469         * docs/gst/gstreamer-sections.txt:
11470           Update for new API and API changes.
11471         * gst/gstobject.h:
11472           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11473         * gst/gstvalue.c:
11474           Documentation typo fix.
11475         * gst/net/gstnettimepacket.c:
11476           Documentation fixes for arguments.
11477
11478 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11479
11480         * gst/gststructure.c: (gst_structure_get_fraction),
11481         (gst_structure_parse_value),
11482         (gst_structure_fixate_field_nearest_fraction):
11483         * gst/gststructure.h:
11484         * gst/gstutils.c: (gst_util_uint64_scale_int):
11485         * gst/gstutils.h:
11486         * scripts/update-funcnames:
11487         API Changes. 
11488         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11489         Make gst_structure_fixate_field_nearest_fraction take a numerator
11490         and denominator argument instead of a GValue
11491         add gst_structure_get_fraction helper function.
11492
11493 2005-11-23  Wim Taymans  <wim@fluendo.com>
11494
11495         * docs/design/part-TODO.txt:
11496         Update TODO.
11497
11498         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11499         * gst/net/gstnetclientclock.h:
11500         Use parent fields for timeout and window_size.
11501
11502 2005-11-23  Andy Wingo  <wingo@pobox.com>
11503
11504         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11505         rate_num/rate_denom change.
11506
11507         * gst/net/gstnetclientclock.c
11508         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11509         OBJECT_LOCK. Don't call add_observation with the lock.
11510
11511         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11512         fraction.
11513         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11514         rate fraction.
11515         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11516         deal with rate as a fraction whose numerator and denominator are
11517         GstClockTime values.
11518         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11519         master; the other fields are protected by the SLAVE_LOCK.
11520         (do_linear_regression): Note that this must be called with the
11521         SLAVE_LOCK.
11522         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11523         OBJECT_LOCK. Call set_calibration instead of touching the
11524         variables directly.
11525         (gst_clock_set_property, gst_clock_get_property): Protect
11526         master/slave parameters with the SLAVE_LOCK.
11527
11528         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11529         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11530         note that all of the instance variables that add_observation and
11531         the set_master functions use are protected by that lock and not
11532         the OBJECT_LOCK.
11533         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11534
11535         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11536         the caller to take the object lock.
11537
11538 2005-11-23  Wim Taymans  <wim@fluendo.com>
11539
11540         * gst/gsterror.c: (_gst_core_errors_init):
11541         * gst/gsterror.h:
11542         Add error for clock stuff.
11543
11544         * gst/gstpipeline.c: (gst_pipeline_change_state),
11545         (gst_pipeline_set_clock):
11546         Post clock error when clock cannot be used in a pipeline.
11547
11548 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11549
11550         * docs/gst/gstreamer-sections.txt:
11551           make two symbols from gstinfo private for the docs
11552         * gst/base/gstcollectpads.h:
11553         * gst/gstutils.c:
11554           fix doc typos, update docs
11555
11556 2005-11-22  Wim Taymans  <wim@fluendo.com>
11557
11558         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11559         (gst_base_sink_wait), (gst_base_sink_do_sync),
11560         (gst_base_sink_handle_event):
11561         * gst/base/gstbasesink.h:
11562         No need to store the clock, the parent element class already
11563         has it.
11564
11565         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11566         Updates for clock_set returning a gboolean
11567
11568         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11569         (gst_clock_id_wait_async), (gst_clock_class_init),
11570         (gst_clock_init), (gst_clock_finalize),
11571         (gst_clock_get_internal_time), (gst_clock_get_time),
11572         (gst_clock_slave_callback), (gst_clock_set_master),
11573         (gst_clock_get_master), (do_linear_regression),
11574         (gst_clock_add_observation), (gst_clock_set_property),
11575         (gst_clock_get_property):
11576         * gst/gstclock.h:
11577         Implement master/slave. When setting a clock as a slave, a
11578         periodic timeout is scheduled to sample master and slave times.
11579         Then the slave clock is recalibrated to match offset and rate
11580         of the master clock.
11581         Update logging a bit.
11582         Add flag so that a clock can state that is cannot be slaved to
11583         another clock.
11584
11585         * gst/gstelement.c: (gst_element_set_clock):
11586         * gst/gstelement.h:
11587         The set clock returns a gboolean for when an element cannot
11588         deal with the selected clock in the pipeline. 
11589
11590         * gst/gstpipeline.c: (gst_pipeline_change_state),
11591         (gst_pipeline_set_clock):
11592         * gst/gstpipeline.h:
11593         Handle the case where the selected clock cannot be set on
11594         the pipeline.
11595
11596         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11597         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11598         (gst_net_client_clock_set_property),
11599         (gst_net_client_clock_get_property),
11600         (gst_net_client_clock_observe_times):
11601         * gst/net/gstnetclientclock.h:
11602         Use regression code in GstClock parent, remove duplicated
11603         functionality.
11604
11605 2005-11-22  Michael Smith <msmith@fluendo.com>
11606
11607         * gst/gstutils.c: (gst_util_clock_time_scale):
11608         * gst/gstutils.h:
11609         * docs/gst/gstreamer-sections.txt:
11610           Rename method to have extra underscore.
11611
11612 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11613
11614         * gst/elements/Makefile.am:
11615         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11616         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11617         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11618         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11619         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11620         * gst/elements/gstfakesrc.h:
11621         * gst/gstqueue.c: (queue_leaky_get_type):
11622           correctly fix GEnumValues so that nick is the short lowercase
11623           dashed tag
11624         * tools/gst-inspect.c: (print_element_properties_info):
11625           also show the nick, since it's useful to use from parse_launch
11626           syntax
11627           Fixes #322139
11628
11629 2005-11-22  Michael Smith <msmith@fluendo.com>
11630
11631         * gst/gstutils.c: (gst_util_clocktime_scale):
11632         * gst/gstutils.h:
11633         * docs/gst/gstreamer-sections.txt:
11634           Add util method for scaling a clocktime by a fraction. Useful 
11635           implementation is left as an exercise for the reader.
11636
11637 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11638
11639         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11640         If needed, allocate storage in the destination value during
11641         collection.
11642
11643 2005-11-22  Edward Hervey  <edward@fluendo.com>
11644
11645         * docs/gst/gstreamer-sections.txt:
11646         * gst/Makefile.am:
11647         * gst/gst.h:
11648         * gst/gsturitype.c:
11649         * gst/gsturitype.h:
11650         * gst/gstutils.c: (gst_util_set_object_arg):
11651         * tools/gst-compprep.c: (main):
11652         * tools/gst-inspect.c: (print_element_properties_info):
11653         Removed GstURI, closes bug #321061
11654
11655 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11656
11657         * check/gst/gststructure.c: (GST_START_TEST):
11658         * gst/gststructure.c: (gst_structure_parse_value):
11659           Oops, broke automatic string type parsing.
11660           Add a test to catch it in future.
11661
11662 2005-11-22  Andy Wingo  <wingo@pobox.com>
11663
11664         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11665         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11666         Actually rename the function implementations. Grr.
11667
11668 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11669
11670         * check/gst/capslist.h:
11671           Comment test cases
11672         * check/gst/gststructure.c: (GST_START_TEST),
11673         (gst_structure_suite):
11674           Test automatic value type detection in gst_structure_from_string.
11675         * gst/gststructure.c: (gst_structure_parse_value):
11676           Add fraction as a type we try and guess automatically in
11677           caps/structure strings.
11678
11679 2005-11-22  Andy Wingo  <wingo@pobox.com>
11680
11681         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11682
11683         * gst/gsttagsetter.h:
11684         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11685         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11686         (gst_tag_setter_add_tag_valist)
11687         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11688         _add_values, _add_valist, and _add_valist_values. Since this is an
11689         interface the function suffixes should be more explicit so
11690         language binding don't end up with element.add_valist ->
11691         gst_tag_setter_add_valist, for example. Fixes #322069.
11692
11693 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11694
11695         * check/gst/gstcaps.c: (GST_START_TEST):
11696           Extend caps string tests to check that a caps to string
11697           conversion is reversible and produces the same caps.
11698
11699         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11700           Output "fraction" as the generic type fraction range, so caps
11701           serialisation and deserialisation works.
11702         * check/gst/capslist.h:
11703         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11704           Support 'MIN' and 'MAX' for deserialising fractions.
11705
11706 2005-11-22  Andy Wingo  <wingo@pobox.com>
11707
11708         * gst/gstevent.h (gst_event_new_new_segment)
11709         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11710         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11711         Renamed from *_newsegment, *_buffersize, *_notarget.
11712
11713         * scripts/update-funcnames: New script, performs the changes
11714         listed above.
11715
11716 2005-11-22  Wim Taymans  <wim@fluendo.com>
11717
11718         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11719         Make sure the GstFlowReturn is returned.
11720
11721         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11722         (gst_bus_add_signal_watch):
11723         * gst/gstbus.h:
11724         add gst_bus_add_signal_watch_full.
11725
11726         * gst/gstplugin.c: (gst_plugin_load_file):
11727         Small style cleanup.
11728
11729 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11730
11731         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11732           Block the fakesrc srcpad when we send an event, to avoid
11733           contention on the stream_lock causing random test failures.
11734
11735 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11736
11737         * check/gst/gstvalue.c: (GST_START_TEST):
11738         * gst/gstvalue.c: (gst_value_fraction_subtract):
11739           Fix subtraction.
11740
11741 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11742
11743         * gst/gst.h:
11744           include "gstchildproxy.h"
11745         * gst/gstchildproxy.h:
11746         * libs/gst/controller/gstcontroller.h:
11747           use G_GNUC_NULL_TERMINATED
11748
11749 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11750
11751         * check/gst/capslist.h:
11752         * check/gst/gstcaps.c: (GST_START_TEST):
11753         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11754         * gst/gststructure.c: (gst_structure_parse_range),
11755         (gst_structure_fixate_field_nearest_fraction):
11756         * gst/gststructure.h:
11757         * gst/gstvalue.c: (gst_value_init_fraction_range),
11758         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11759         (gst_value_collect_fraction_range),
11760         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11761         (gst_value_set_fraction_range_full),
11762         (gst_value_get_fraction_range_min),
11763         (gst_value_get_fraction_range_max),
11764         (gst_value_serialize_fraction_range),
11765         (gst_value_transform_fraction_range_string),
11766         (gst_value_compare_fraction_range),
11767         (gst_value_deserialize_fraction_range),
11768         (gst_value_intersect_fraction_fraction_range),
11769         (gst_value_intersect_fraction_range_fraction_range),
11770         (gst_value_subtract_fraction_fraction_range),
11771         (gst_value_subtract_fraction_range_fraction),
11772         (gst_value_subtract_fraction_range_fraction_range),
11773         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11774         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11775         (gst_value_transform_string_fraction), (_gst_value_initialize):
11776         * gst/gstvalue.h:
11777           Implement fraction ranges and extend GstFraction to support
11778           arithmetic subtraction, as well as deserialization from integer
11779           strings such as "100"
11780           Add a testsuite as for int and double range set operations
11781
11782 2005-11-21  Andy Wingo  <wingo@pobox.com>
11783
11784         * gst/gsttaglist.h: 
11785         * gst/gstcaps.h: 
11786         * gst/gststructure.h: Add glib-compat.h.
11787
11788 2005-11-21  Wim Taymans  <wim@fluendo.com>
11789
11790         * gst/gstbin.c: (gst_bin_change_state_func):
11791         Fix for #321595
11792
11793 2005-11-21  Wim Taymans  <wim@fluendo.com>
11794
11795         * gst/gstsegment.h:
11796         And add a nice define too.
11797
11798 2005-11-21  Wim Taymans  <wim@fluendo.com>
11799
11800         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11801         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11802         (gst_segment_set_duration), (gst_segment_set_last_stop),
11803         (gst_segment_set_seek), (gst_segment_set_newsegment),
11804         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11805         (gst_segment_clip):
11806         * gst/gstsegment.h:
11807         Make binding friendly.
11808
11809 2005-11-21  Andy Wingo  <wingo@pobox.com>
11810
11811         * gst/gsttagsetter.h: 
11812         * gst/gsttaglist.h: 
11813         * gst/gststructure.h: 
11814         * gst/gstcaps.h: 
11815         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11816         #319940.
11817
11818         * gst/gsterror.c (_gst_core_errors_init):
11819         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11820         category.
11821
11822         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11823         (noinst_HEADERS): noinst the -private.
11824
11825 2005-11-21  Michael Smith <msmith@fluendo.com>
11826
11827         * gst/gstplugin.h:
11828         * gst/gstregistry.h:
11829           Remove unimplemented declarations for which we can see no sensible
11830           use.
11831
11832 2005-11-21  Andy Wingo  <wingo@pobox.com>
11833
11834         * gst/gst.h: Include glib-compat.h.
11835
11836         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11837
11838         * gst/glib-compat.c: Include the public and the private header.
11839
11840         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11841
11842         * gst/gstvalue.c: 
11843         * gst/gstpad.c: 
11844         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11845
11846         * check/gst/gstevent.c (create_custom_events): Check that
11847         FLUSH_STOP is serialized.
11848
11849         * check/elements/identity.c (event_func): 
11850         * check/elements/fakesrc.c (event_func): No stream lock, the core
11851         takes it.
11852
11853         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11854         stream lock taking, yay.
11855
11856         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11857         ensure that core takes the stream lock.
11858
11859         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11860         lock name change.
11861
11862         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11863         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11864         it already. For the flush start we do take it though so we get the
11865         right preroll state change messages.
11866
11867         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11868         the stream lock here, the core does it for us.
11869
11870         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11871         GST_STREAM_GET_LOCK.
11872         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11873         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11874         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11875         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11876         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11877         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11878
11879         * gst/gstpad.c: Update for stream lock name change.
11880
11881         * gst/base/gstbasesink.c: Update for preroll lock name change.
11882
11883 2005-11-21  Wim Taymans  <wim@fluendo.com>
11884
11885         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11886         (gst_clock_get_master):
11887         * gst/gstclock.h:
11888         * gst/gstsystemclock.c: (gst_system_clock_init):
11889         Convert Clock flags to object flags.
11890         Added methods to manage master/slave clocks.
11891
11892 2005-11-21  Wim Taymans  <wim@fluendo.com>
11893
11894         * check/gst/gstsegment.c: (GST_START_TEST):
11895         * docs/design/part-TODO.txt:
11896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11897         (gst_base_sink_event), (gst_base_sink_do_sync),
11898         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11899         (gst_base_sink_query), (gst_base_sink_change_state):
11900         * gst/base/gstbasesink.h:
11901         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11902         (gst_base_src_default_newsegment),
11903         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11904         (gst_base_src_get_range), (gst_base_src_loop),
11905         (gst_base_src_change_state):
11906         * gst/base/gstbasesrc.h:
11907         * gst/base/gstbasetransform.c:
11908         (gst_base_transform_prepare_output_buf),
11909         (gst_base_transform_event), (gst_base_transform_change_state):
11910         * gst/base/gstbasetransform.h:
11911         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11912         (gst_collect_pads_event):
11913         * gst/base/gstcollectpads.h:
11914         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11915         (gst_fake_src_create):
11916         * gst/elements/gstfakesrc.h:
11917         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11918         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11919         (gst_segment_set_last_stop), (gst_segment_set_seek),
11920         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11921         (gst_segment_to_running_time), (gst_segment_clip):
11922         * gst/gstsegment.h:
11923         More segment updates, replace code in plugins with segment
11924         helper functions.
11925
11926 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11927
11928         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11929         Don't ignore sscanf results
11930
11931 2005-11-21  Andy Wingo  <wingo@pobox.com>
11932
11933         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11934
11935         * *.h:
11936         * *.c: Ran scripts/update-macros. Oh yes.
11937
11938         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11939         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11940         GST_GET_LOCK, etc.
11941
11942         * scripts/update-macros: New script. Run it on your files to
11943         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11944         well.
11945
11946 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11947
11948         * docs/gst/Makefile.am:
11949         * docs/gst/gstreamer-docs.sgml:
11950         * docs/gst/gstreamer-sections.txt:
11951         * docs/gst/gstreamer.types:
11952         * gst/gstinfo.h:
11953           more docs fixes, add new api to the docs
11954
11955 2005-11-21  Andy Wingo  <wingo@pobox.com>
11956
11957         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11958         state_broadcast call.
11959
11960         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11961
11962 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11963
11964         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11965         function calls for arrays.
11966
11967 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11968
11969         * docs/random/ensonic/media-device-daemon.txt:
11970           wild idea, can this be done?
11971         * docs/gst/gstreamer-sections.txt:
11972         * gst/gsterror.h:
11973         * gst/gstfilter.c:
11974         * gst/gstfilter.h:
11975         * gst/gstplugin.h:
11976         * gst/gstpluginfeature.c:
11977         * gst/gsttrace.c:
11978         * gst/gstvalue.c:
11979         * gst/gstvalue.h:
11980           doc fixes and additions
11981
11982 2005-11-21  Andy Wingo  <wingo@pobox.com>
11983
11984         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11985         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11986         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11987         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11988         private to the basesrc implementation.
11989
11990         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11991         behalf of event function if necessary. It should no longer be
11992         necessary to take the stream lock in pad's event functions. Fixes
11993         #320299.
11994
11995 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11996         * docs/gst/gstreamer-sections.txt:
11997         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11998         (gst_structure_fixate_field_nearest_double),
11999         (gst_structure_fixate_field_boolean):
12000         * gst/gststructure.h:
12001         * win32/common/libgstreamer.def:
12002         * win32/gstreamer.def:
12003
12004         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12005         (#322027)
12006
12007 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
12008
12009         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12010         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12011         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12012         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12013         (gst_fdsrc_uri_handler_init):
12014         * gst/elements/gstfdsrc.h:
12015           Port fd:// URI handler from 0.8 to fdsrc
12016
12017 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12018
12019         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12020         (gst_value_serialize_fourcc):
12021         * gst/gstvalue.h:
12022           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12023           consistent with our other format defines (#320324).
12024
12025 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12026
12027         * gst/gstvalue.c: (gst_value_is_fixed):
12028           Revert previous commit. Value lists are by definition
12029           not fixed, as they are a list of possible values.
12030
12031 2005-11-21  Andy Wingo  <wingo@pobox.com>
12032
12033         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12034         during the stable series if we need it. Fixes #319178.
12035
12036         * gst/gstevent.c (gst_event_new_filler): Removed.
12037
12038         * check/gst/gstevent.c: Update comment about filler events.
12039
12040 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12041
12042         * gst/gstvalue.c: (gst_value_is_fixed):
12043           Should handle both value arrays and value lists.
12044
12045 2005-11-21  Andy Wingo  <wingo@pobox.com>
12046
12047         patch by: Alessandro Dessina <alessandro nnva org>
12048
12049         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12050         functions to access arrays. Fixes #321962.
12051
12052 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12053
12054         * docs/gst/gstreamer.types:
12055           gst_collectpads_get_type => gst_collect_pads_get_type.
12056           
12057         * gst/base/gstbasetransform.c:
12058           Remove unused SIGNAL_HANDOFF enum.
12059
12060 2005-11-21  Andy Wingo  <wingo@pobox.com>
12061
12062         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12063         the event type (upstream, downstream, serialized). Renamed
12064         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12065         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12066         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12067
12068         * gst/gstevent.c: Update for new CUSTOM event names.
12069
12070         * check/gst/gstevent.c: Update check for new CUSTOM event names.
12071
12072         * gst/gstevent.h:
12073         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12074         bug #319392.
12075
12076 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12077
12078         * docs/gst/gstreamer-sections.txt:
12079         * win32/common/libgstbase.def:
12080         * win32/libgstbase.def:
12081         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12082         (gst_collect_pads_class_init), (gst_collect_pads_init),
12083         (gst_collect_pads_finalize), (gst_collect_pads_new),
12084         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12085         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12086         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12087         (gst_collect_pads_start), (gst_collect_pads_stop),
12088         (gst_collect_pads_peek), (gst_collect_pads_pop),
12089         (gst_collect_pads_available), (gst_collect_pads_read),
12090         (gst_collect_pads_flush), (gst_collect_pads_event),
12091         (gst_collect_pads_chain):
12092         * gst/base/gstcollectpads.h:
12093           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12094           unimplemented functions as unimplemented. Add padding to
12095           GstCollectData. (#320766, #320423)
12096
12097 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
12098
12099         * gst/gstmessage.c:
12100           Improve docs for DURATION message (usage of duration parameter)
12101           (#320113)
12102
12103 2005-11-20  Wim Taymans  <wim@fluendo.com>
12104
12105         * check/Makefile.am:
12106         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12107         (main):
12108         * gst/Makefile.am:
12109         * gst/gst.h:
12110         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12111         (gst_segment_set_seek), (gst_segment_set_newsegment),
12112         (gst_segment_to_stream_time), (gst_segment_to_running_time),
12113         (gst_segment_clip):
12114         * gst/gstsegment.h:
12115         Added segment helper structure and methods. Not fully implemented
12116         yet.
12117         Added segment check.
12118
12119 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
12120
12121         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12122           Add a deserialisation test for fractions
12123         * examples/metadata/read-metadata.c: (message_loop),
12124         (make_pipeline), (main):
12125           Fix up metadata reading sample.
12126         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12127           Debug format fix
12128         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12129           Don't try and fixate empty caps
12130         * gst/gst_private.h:
12131           Wrap in G_BEGIN_DECLS/G_END_DECLS
12132         * gst/gstvalue.c: (gst_value_collect_fraction),
12133         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12134         (gst_value_transform_string_fraction),
12135         (gst_value_compare_fraction):
12136           Add some extra guards to ensure that we don't end up 
12137           with an invalid denominator of 0 in a gstfraction and
12138           that fractions always get reduced.
12139
12140 2005-11-20  Wim Taymans  <wim@fluendo.com>
12141
12142         * docs/gst/gstreamer-sections.txt:
12143         * gst/gstbuffer.h:
12144         * gst/gstelement.c:
12145         * gst/gstformat.c:
12146         * gst/gstformat.h:
12147         * gst/gstindex.h:
12148         * gst/gstquery.c:
12149         * gst/gstquery.h:
12150         * gst/gstvalue.c:
12151         Doc fixes.
12152
12153 2005-11-20  Wim Taymans  <wim@fluendo.com>
12154
12155         * docs/design/part-TODO.txt:
12156         * gst/gstcaps.h:
12157         Make a proper enum of the flag.
12158
12159 2005-11-19  Wim Taymans  <wim@fluendo.com>
12160
12161         * docs/design/part-TODO.txt:
12162         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12163         (gst_format_to_quark), (gst_format_register):
12164         * gst/gstformat.h:
12165         * gst/gstquery.c: (_gst_query_initialize),
12166         (gst_query_type_get_name), (gst_query_type_to_quark),
12167         (gst_query_type_register):
12168         * gst/gstquery.h:
12169         Add type to quark and type to string conversions.
12170
12171 2005-11-19  Andy Wingo  <wingo@pobox.com>
12172
12173         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12174         #320097.
12175
12176 2005-11-19  Wim Taymans  <wim@fluendo.com>
12177
12178         * docs/design/part-TODO.txt:
12179         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12180         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12181         (gst_bin_handle_message_func):
12182         * gst/gstbin.h:
12183         Make message handling overridable.
12184
12185 2005-11-19  Andy Wingo  <wingo@pobox.com>
12186
12187         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12188
12189         * gst/gstclock.h:
12190         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12191         be a GstClockTime.
12192         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12193         is a GstClockTime. Fixes #321710.
12194
12195         * gst/gstclock.h (GstClock): Remove offset property. Add
12196         internal_calibration and external_calibration. Fix padding. Pad
12197         also by GstClockTime so we don't run into problems.
12198
12199         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12200         (gst_clock_get_rate_offset): Remove.
12201         (gst_clock_set_time_adjust): Remove. Fixes #321712.
12202
12203         * gst/gstutils.h:
12204         * gst/gstutils.c (g_static_rec_cond_wait)
12205         (g_static_rec_cond_timed_wait): Removed, no longer needed.
12206
12207         * gst/gstbin.c: Remove terrible continue_state prototype.
12208
12209         * gst/gstelement.h (gst_element_continue_state): Make public.
12210
12211         * gst/gstelement.h:
12212         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12213         by continue_state. Fixes #319389.
12214
12215         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12216         Really fixes #168438. However I don't see anywhere where the
12217         filter function is called... stupid GStreamer...
12218         
12219         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12220         don't have a dispose function, so it won't get called when the
12221         object is unreffed, but oh well!
12222
12223         * gst/gstindex.c (gst_index_set_filter_full): New API function,
12224         allows a destroy function to be set so user_data can be freed.
12225         Fixes #168438.
12226         (gst_index_set_filter): Call gst_index_set_filter_full.
12227
12228         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12229
12230         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12231         string should produce an error, given the lack of a way to
12232         represent NULL strings. Fixes #165650.
12233         
12234         * gst/gstvalue.h: 
12235         * gst/gstvalue.c (gst_value_array_append_value) 
12236         (gst_value_array_prepend_value, gst_value_array_get_size) 
12237         (gst_value_array_get_value): New API, copied from
12238         gst_value_list_*, only operates on arrays.
12239         (gst_value_list_append_value, gst_value_list_prepend_value) 
12240         (gst_value_list_concat, gst_value_list_get_size) 
12241         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12242
12243         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12244         init_list, because it works on both.
12245         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12246         (gst_value_copy_list_or_array): Renamed from copy_list.
12247         (gst_value_free_list_or_array): Renamed from free_list.
12248         (gst_value_collect_list_or_array): Renamed from collect_list.
12249         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12250         (gst_value_list_or_array_peek_pointer): Renamed from
12251         list_peek_pointer.
12252         (_gst_value_array_value_table, _gst_value_list_value_table):
12253         Update value table functions.
12254         (gst_value_compare_list_or_array): Renamed from compare_list.
12255
12256         * gsttaglist.h: Whoops, foreach function returns void. Also fix
12257         some constness.
12258
12259         * gst/gsttaglist.c:
12260         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12261         GstTagList*. Fixes #143472.
12262
12263         * gst/gststructure.h: Clarify what the foreach/map functions can
12264         or can't do to their arguments.
12265
12266 2005-11-18  Wim Taymans  <wim@fluendo.com>
12267
12268         * gst/gstclock.c: (gst_clock_set_calibration),
12269         (gst_clock_get_calibration):
12270         Doc and API fixes.
12271         Calibration can be set with internal time equal to current
12272         internal time too.
12273
12274 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12275
12276         * gst/gsterror.c:
12277         * gst/gsterror.h:
12278           document
12279
12280 2005-11-18  Andy Wingo  <wingo@pobox.com>
12281
12282         * configure.ac: 
12283         * pkgconfig/gstreamer-net.pc.in:
12284         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12285         * pkgconfig/Makefile.am: Add net pkgconfig files.
12286
12287 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
12288
12289         * gst/gstcaps.c:
12290         * gst/gstghostpad.c:
12291         * gst/gsttrace.c:
12292         * gst/gstvalue.c:
12293         * gst/gstvalue.h:
12294           docs fixes
12295
12296 2005-11-18  Andy Wingo  <wingo@pobox.com>
12297
12298         * gst/net/gstnetclientclock.c: Turn off debugging.
12299
12300         * check/net/gstnetclientclock.c (test_functioning): Assert that the
12301         times connverge somewhat. Can't make a real test.
12302
12303         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12304         integer arithmetic. Return the minimum of the domain, which can be
12305         set as "internal" for gst_clock_set_calibration.
12306         (gst_net_client_clock_observe_times): Call _set_calibration.
12307         (gst_net_client_clock_new): Call _set_calibration instead of
12308         rate_offset.
12309
12310         * check/net/gstnetclientclock.c (test_functioning): Use the right
12311         adjustment api.
12312
12313         * gst/gstclock.h:
12314         * gst/gstclock.c (gst_clock_get_calibration) 
12315         (gst_clock_set_calibration): New functions, obsolete the ones I
12316         added yesterday. Doh. Precision issues mean we have to extrapolate
12317         from a point in the more recent past than 1970.
12318         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12319         obsolete.
12320         (gst_clock_adjust_unlocked): Use the right calibration data.
12321
12322 2005-11-18  Edward Hervey  <edward@fluendo.com>
12323
12324         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
12325         Also reset the ->current_* values in READY->PAUSED
12326
12327 2005-11-18  Andy Wingo  <wingo@pobox.com>
12328
12329         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12330         Whoops, check the right fd. Also add some debugging.
12331         (gst_net_client_clock_observe_times): Adjust for int64 offset.
12332         (do_linear_regression): Add a crapload of debugging. Subtract off
12333         the minimum values from the input series to discard unneeded bits.
12334         Use only int arithmetic. There is still double arithmetic when
12335         calculating the intercept that needs fixing. Return boolean to
12336         indicate success; FALSE would mean the domain or range is too
12337         great. Still needs fixes.
12338
12339 2005-11-18  Wim Taymans  <wim@fluendo.com>
12340
12341         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12342         For the current position in stream time, we need to subtract
12343         accumulated time.
12344         
12345         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12346         Release lock before calling the callback function of async
12347         entries.
12348
12349 2005-11-18  Andy Wingo  <wingo@pobox.com>
12350
12351         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12352         Port goes all the way to MAXUINT16.
12353
12354         * gst/net/gstnettimeprovider.c: Make the port range the same as
12355         for the kernel: 0 assigns, otherwise ports are less than
12356         MAXUINT16.
12357
12358         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12359         port change.
12360
12361         * check/net/gstnetclientclock.c (test_functioning): Add the start
12362         of another test. 
12363
12364 2005-11-18  Wim Taymans  <wim@fluendo.com>
12365
12366         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12367         (gst_bin_remove_func), (bin_bus_handler):
12368         * gst/gstbin.h:
12369         Removing a clock provider from a bin, triggers a clock lost message
12370         so that a new clock will be selected.
12371         Adding a clock to a bin triggers a clock provider message.
12372         Make sure we reselect a clock when we received a clock lost message.
12373         Keep a reference to the element that provided the clock.
12374
12375 2005-11-18  Andy Wingo  <wingo@pobox.com>
12376
12377         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12378         the clock initially so it produces values around the base time.
12379         (gst_net_client_clock_class_init): Typo fix.
12380         (gst_net_client_clock_thread): Add note on when the socket gets
12381         closed.
12382
12383 2005-11-17  Wim Taymans  <wim@fluendo.com>
12384
12385         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12386         Free remote and local time arrays.
12387
12388 2005-11-17  Wim Taymans  <wim@fluendo.com>
12389
12390         * gst/net/gstnetclientclock.c: (do_linear_regression),
12391         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12392         Fix compilation, uninitialized vars and a forgotten continue.
12393
12394 2005-11-17  Andy Wingo  <wingo@pobox.com>
12395
12396         * check/Makefile.am (check_PROGRAMS): 
12397         * check/net/gstnetclientclock.c: Add a most minimal test for the
12398         net client clock. More to come later.
12399
12400         * gst/net/gstnet.h: 
12401         * gst/net/Makefile.am: Add netclientclock.
12402
12403         * gst/net/gstnetclientclock.h:
12404         * gst/net/gstnetclientclock.c: New files, implement an untested
12405         GstClock that takes its time from a network time provider.
12406         Implements the algorithm in network-clock.scm.
12407
12408         * tests/network-clock.scm (*window-size*): Rename from
12409         *queue-length*.
12410         * tests/network-clock.scm (network-time): 
12411         * tests/network-clock-utils.scm (q-push): Update callers.
12412
12413 2005-11-17  Wim Taymans  <wim@fluendo.com>
12414
12415         * gst/gstbin.c: (gst_bin_provide_clock_func),
12416         (gst_bin_sort_iterator_new):
12417         And unref the child too..
12418
12419 2005-11-17  Wim Taymans  <wim@fluendo.com>
12420
12421         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12422         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12423         Refactor the sort iterator so it can be used while holding the
12424         LOCK too.
12425         Make clock selection select a clock closest to the source.
12426
12427 2005-11-17  Michael Smith <msmith@fluendo.com>
12428
12429         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12430         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12431         * gst/gstclock.h:
12432           Anonymous structs are a gcc (and some other compilers) extension, so
12433           don't use them. Since this is only for ABI-compatibility, and our
12434           API/ABI freeze is over in a few days, this whole thing will only
12435           last a few days, so don't bother trying to think up a meaningful
12436           name for the struct.
12437
12438 2005-11-17  Andy Wingo  <wingo@pobox.com>
12439
12440         * gst/gstclock.h (GstClock): Add rate and offset properties,
12441         preserving ABI stability. Add rate/offset accessors. Will file bug
12442         for the freeze break.
12443
12444         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12445         and offset, trying to keep precision and avoiding
12446         underflow/overflow.
12447         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12448         functions. Make gst_clock_set_time_adjust obsolete.
12449         (gst_clock_set_time_adjust): Note that this function is obsolete.
12450         Will file bug soon.
12451
12452         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12453         greppable by using GST_PADDING-1+1.
12454
12455 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12456
12457         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12458
12459         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12460           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12461
12462         * gst/gstpadtemplate.h:
12463         * gst/gstpluginfeature.h:
12464           Don't use c++ style comments in headers (#321638).
12465
12466 2005-11-16  Andy Wingo  <wingo@pobox.com>
12467
12468         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12469         buffer.
12470
12471         * check/net/gstnettimeprovider.c: Check to see that the time
12472         provider actually provides times. Works, yo!
12473
12474 2005-11-16  Wim Taymans  <wim@fluendo.com>
12475
12476         * check/Makefile.am:
12477         Enable more tests.
12478
12479         * check/elements/fakesrc.c: (GST_START_TEST):
12480         Set element to NULL before disposing it.
12481
12482 2005-11-16  Andy Wingo  <wingo@pobox.com>
12483
12484         * gst/net/Makefile.am:
12485         * gst/net/gstnet.h:
12486         * gst/net/gstnettimeprovider.c: 
12487         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12488         provider, include it from gstnet.h, and add it to the build.
12489
12490         * gst/net/gstnettimepacket.h: 
12491         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12492         sending and receiving.
12493
12494 2005-11-16  Wim Taymans  <wim@fluendo.com>
12495
12496         * check/Makefile.am:
12497         Enable valgrind check.
12498
12499         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12500         (gst_fake_src_alloc_buffer):
12501         Fix memleak.
12502
12503 2005-11-16  Wim Taymans  <wim@fluendo.com>
12504
12505         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12506         Call parent finalize too.
12507
12508 2005-11-16  Wim Taymans  <wim@fluendo.com>
12509
12510         * check/Makefile.am:
12511         Enable valgrind check that should work fine now.
12512
12513         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12514         * gst/gstqueue.c: (gst_queue_init):
12515         Fix memleaks in pad allocation.
12516
12517 2005-11-16  Andy Wingo  <wingo@pobox.com>
12518
12519         * gst/net/Makefile.am:
12520         * gst/net/gstnet.h: New part of core to hold network elements and
12521         objects. Put in core because it exposes API that applications want
12522         to use. The library is named libgstnet-tempname right now because
12523         of the existing libgstnet in gst-plugins-base. Solution is
12524         probably to rename the one in plugins-base; will file a bug for
12525         the freeze break.
12526
12527         * gst/net/gstnettimeprovider.c: 
12528         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12529         get_time call over the network.
12530
12531         * configure.ac: 
12532         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12533
12534         * check/Makefile.am:
12535         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12536         get additions shortly.
12537
12538 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12539
12540         * gst/gstpad.c: (gst_pad_new_from_static_template):
12541         * gst/gstpad.h:
12542           add gst_pad_new_from_static_template functions
12543         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12544         (gst_check_setup_sink_pad):
12545         * gst/elements/gsttee.c: (gst_tee_init):
12546           and use them
12547
12548 2005-11-16  Wim Taymans  <wim@fluendo.com>
12549
12550         * gst/gstpad.c: (gst_pad_pause_task):
12551         Removed warning, it's not really an error either.
12552
12553 2005-11-16  Wim Taymans  <wim@fluendo.com>
12554
12555         * gst/base/gstbasetransform.c:
12556         (gst_base_transform_prepare_output_buf),
12557         (gst_base_transform_event):
12558         Check if the caps are NULL, this can happen if the element
12559         is shutting down and the pad caps are set to NULL.
12560
12561 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12562
12563         * gst/elements/gsttee.c: (gst_tee_init):
12564           fix pad template leak in tee
12565
12566 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12567
12568         * gst/glib-compat.c: (g_value_dup_gst_object):
12569         * gst/glib-compat.h:
12570         * gst/gstpad.c: (gst_pad_set_property):
12571           use gst_object_ref when setting the pad template; this will
12572           trigger the pad template leaks on GLib 2.6 and the slaves
12573
12574 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12575
12576         * gst/glib-compat.c: (gst_flags_get_first_value):
12577         * gst/glib-compat.h:
12578         * gst/gstregistryxml.c:
12579           remove functions copied from GLib 2.6
12580
12581 2005-11-16  Michael Smith <msmith@fluendo.com>
12582
12583         * gst/Makefile.am:
12584           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12585           do, but only breaks with newer valgrind versions. We're not a
12586           valgrind tool, we have no link-time dependencies on libcoregrind.
12587
12588 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12589
12590         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12591           some debug changes
12592         * gst/gstmessage.h:
12593           typo fixes
12594
12595 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12596
12597         * gst/base/gstbasesrc.c: (gst_base_src_init):
12598         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12599         * gst/gstqueue.c: (gst_queue_init):
12600         * gst/gstregistryxml.c: (load_feature):
12601           Revert all these unrefs, they don't even pass make check !
12602
12603 2005-11-15  Johan Dahlin  <johan@gnome.org>
12604
12605         * gst/base/gstbasesrc.c: (gst_base_src_init):
12606         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12607         * gst/gstqueue.c: (gst_queue_init): 
12608         Free pad templates, fixes a couple of leaks.
12609
12610 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12611
12612         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12613
12614         * gst/gstpad.c: (gst_pad_get_property):
12615           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12616           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12617           (#321452)
12618
12619 2005-11-15  Wim Taymans  <wim@fluendo.com>
12620
12621         * gst/gstevent.c:
12622         Small doc update.
12623
12624 2005-11-15  Andy Wingo  <wingo@pobox.com>
12625
12626         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12627
12628         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12629         using GST_CLOCK_TIME_NONE to disable base time management.
12630         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12631         time if it was NONE before.
12632         (gst_pipeline_change_state): Only munge the base time if
12633         stream_time != GST_CLOCK_TIME_NONE.
12634
12635         * check/gst/gstpipeline.c (test_base_time): Punt around the
12636         problem of the probe not being called, because that's not the
12637         issue I'm looking at. Add a check that setting stream_time to NONE
12638         disables base time management.
12639         
12640 2005-11-15  Wim Taymans  <wim@fluendo.com>
12641
12642         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12643         segment_stop == -1 at startup.
12644
12645         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12646         (gst_base_transform_change_state):
12647         Init segment values at start.
12648
12649 2005-11-15  Wim Taymans  <wim@fluendo.com>
12650
12651         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12652         0 segment values are 0 in any format.
12653
12654         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12655         * gst/base/gstbasetransform.h:
12656         Parse newsegment correctly in basetransform
12657
12658         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12659         Sync to clock using updated segment values.
12660
12661 2005-11-15  Andy Wingo  <wingo@pobox.com>
12662
12663         * check/gst/gstpipeline.c (test_base_time): Add check that the
12664         base time and stream time are reset correctly.
12665
12666 2005-11-15  Wim Taymans  <wim@fluendo.com>
12667
12668         * docs/design/part-TODO.txt:
12669         Some more TODO items.
12670
12671 2005-11-15  Andy Wingo  <wingo@pobox.com>
12672
12673         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12674         error if the user selected "no clock" as the clocking method.
12675
12676         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12677         timestamps with live capture.
12678
12679         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12680         is 0 but we are a live source, timestamp the buffers using the
12681         element's clock.
12682
12683 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12684
12685         * docs/gst/gstreamer-sections.txt:
12686         * gst/gsterror.c:
12687         * gst/gstghostpad.c:
12688         * gst/gstobject.h:
12689         * gst/gstxml.c:
12690           more section docs
12691
12692 2005-11-14  Wim Taymans  <wim@fluendo.com>
12693
12694         * common/gst.supp:
12695           add suppressions from Wim's Debian machine
12696
12697 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12698
12699         * common/gst.supp:
12700           add suppressions from Andy's AMD64 Ubuntu machine
12701
12702 2005-11-14  Andy Wingo  <wingo@pobox.com>
12703
12704         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12705         STATE_LOCK not necessary. Fixes #311489.
12706
12707         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12708         #305291.
12709
12710         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12711         this function is not implemented.
12712
12713 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12714
12715         * gst/base/gstbasetransform.c:
12716         (gst_base_transform_prepare_output_buf):
12717         Ref the source pad caps while we need them.
12718         Fixes (#321386)
12719
12720 2005-11-11  Wim Taymans  <wim@fluendo.com>
12721
12722         * docs/gst/gstreamer-sections.txt:
12723         Added some docs for GstCollectData.
12724
12725         * gst/base/gstadapter.c:
12726         Some small code example fix.
12727
12728         * gst/base/gstcollectpads.c:
12729         * gst/base/gstcollectpads.h:
12730         Document some more.
12731
12732 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12733
12734         * configure.ac: back to HEAD
12735
12736 === release 0.9.5 ===
12737
12738 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12739
12740         * configure.ac:
12741           releasing 0.9.5, "Bike Lunch Day"
12742
12743 2005-11-11  Wim Taymans  <wim@fluendo.com>
12744
12745         * gst/gstbuffer.c: (_gst_buffer_copy):
12746         Copy more flags.
12747
12748         * gst/gstcaps.c: (gst_caps_is_equal):
12749         Fix some docs.
12750         Make _is_equal fast in the trivial cases.
12751
12752         * gst/gstminiobject.c:
12753         * gst/gstminiobject.h:
12754         More docs. Spifify .h file.
12755
12756         * gst/gstutils.c:
12757         Small doc update.
12758
12759 2005-11-11  Wim Taymans  <wim@fluendo.com>
12760
12761         * gst/base/gstbasetransform.c:
12762         (gst_base_transform_prepare_output_buf),
12763         (gst_base_transform_handle_buffer):
12764         Small cleanups.
12765         If we're processing a buffer and need to allocate an output
12766         buffer, we cannot accept a format change. If we did get a 
12767         format change, we have to alloc a buffer ourselves of the 
12768         right size.
12769
12770 2005-11-11  Wim Taymans  <wim@fluendo.com>
12771
12772         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12773         While checking the flag for reentrancy in the gstcaps function
12774         is nice to detect recursive invocations, it also makes it 
12775         impossible to call getcaps from multiple threads, which must be
12776         possible. So, checking for recursive calls has to go.
12777
12778 2005-11-11  Michael Smith <msmith@fluendo.com>
12779
12780         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12781           Don't sync on buffers that fall partially outside our current
12782           segment. Prevents an assertion failure/abort playing some files.
12783
12784 2005-11-10  Andy Wingo  <wingo@pobox.com>
12785
12786         * check/gst/gstbin.c (test_message_state_changed_children): Style
12787         fix..
12788
12789         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12790         gst_bus_poll with the signal watch. Ensures that poll and a signal
12791         watch see the same messages.
12792
12793         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12794         a poll and a watch at the same time get the same messages.
12795
12796 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12797
12798         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12799         * gst/gstcaps.c: (gst_caps_intersect):
12800           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12801           and it's not needed.
12802
12803 2005-11-10  Wim Taymans  <wim@fluendo.com>
12804
12805         * docs/design/part-TODO.txt:
12806         Updated todo.
12807
12808 2005-11-10  Wim Taymans  <wim@fluendo.com>
12809
12810         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12811         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12812         (gst_base_src_do_sync), (gst_base_src_get_range):
12813         Implement clock sync in base class.
12814
12815 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12816
12817         patch by: Tim-Philipp Müller <tim at centricular dot net>
12818
12819         * gst/gststructure.c: (gst_structure_parse_field),
12820         (gst_structure_from_string):
12821           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12822           so that gst_parse_launch() can deal with spaces in filtered link
12823           caps (fixes #164479)
12824         * check/gst/capslist.h:
12825         * check/gst/gststructure.c: (GST_START_TEST):
12826           add unit tests for this change
12827
12828 2005-11-10  Wim Taymans  <wim@fluendo.com>
12829
12830         * docs/gst/gstreamer-sections.txt:
12831         * gst/gstelement.c:
12832         * gst/gstelement.h:
12833         Fix docs, move some STATE macros to private.
12834
12835 2005-11-10  Wim Taymans  <wim@fluendo.com>
12836
12837         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12838         Added check for bug #317341
12839
12840         * gst/gstbuffer.c:
12841         * gst/gstbuffer.h:
12842         Some more spiffifying.
12843
12844         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12845         Call peer linkfunction if we are a source pad. Totally fixes
12846         #317341
12847
12848         * gst/gstpad.c:
12849         Update docs, source pads should call the peer linkfunction
12850         so they can atomically perform the pad link.
12851
12852 2005-11-09  Wim Taymans  <wim@fluendo.com>
12853
12854         * gst/gstbuffer.c:
12855         * gst/gstbuffer.h:
12856         Uber-spiffy-spiffify some more.
12857
12858 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12859
12860         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12861         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12862         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12863         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12864         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12865         * gst/gstpad.c: (gst_pad_init):
12866           Use GST_DEBUG_FUNCPTR() more extensively.
12867
12868 2005-11-09  Wim Taymans  <wim@fluendo.com>
12869
12870         * gst/gstobject.c: (gst_object_class_init):
12871         * gst/gstobject.h:
12872         Documentation fixes.
12873
12874 2005-11-09  Edward Hervey  <edward@fluendo.com>
12875
12876         * gst/gsttypefindfactory.c:
12877         Fix docs.
12878         
12879 2005-11-09  Edward Hervey  <edward@fluendo.com>
12880
12881         * gst/base/gsttypefindhelper.c:
12882         * gst/gsttypefind.c:
12883         * gst/gsttypefind.h:
12884         Fix docs.
12885
12886 2005-11-09  Wim Taymans  <wim@fluendo.com>
12887
12888         * gst/gstiterator.c:
12889         Fix revision data.
12890
12891         * gst/gsttask.c:
12892         * gst/gsttask.h:
12893         Fix docs.
12894
12895 2005-11-09  Wim Taymans  <wim@fluendo.com>
12896
12897         * gst/gstevent.h:
12898         * gst/gsturi.h:
12899         Fix docs.
12900
12901 2005-11-09  Wim Taymans  <wim@fluendo.com>
12902
12903         * docs/gst/gstreamer-sections.txt:
12904         Moved the message async delivery private lock and cond
12905         to the private section.
12906
12907         * gst/gstmessage.c:
12908         * gst/gstmessage.h:
12909         Fixed docs.
12910
12911 2005-11-09  Edward Hervey  <edward@fluendo.com>
12912
12913         * docs/gst/gstreamer-sections.txt:
12914         * gst/gsturi.c:
12915         * gst/gsturi.h:
12916         Document GstURIHandler
12917
12918 2005-11-09  Wim Taymans  <wim@fluendo.com>
12919
12920         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12921         (gst_iterator_find_custom):
12922         * gst/gstiterator.h:
12923         Fix iterator docs.
12924
12925 2005-11-09  Wim Taymans  <wim@fluendo.com>
12926
12927         * gst/gstbin.h:
12928         Document another field.
12929
12930         * gst/gststructure.c:
12931         * gst/gststructure.h:
12932         Document.
12933
12934 2005-11-09  Wim Taymans  <wim@fluendo.com>
12935
12936         * gst/gstbin.h:
12937         Documented structs.
12938
12939 2005-11-09  Wim Taymans  <wim@fluendo.com>
12940
12941         * docs/gst/gstreamer-sections.txt:
12942         Added some new macros.
12943
12944         * gst/gstclock.c:
12945         * gst/gstclock.h:
12946         * gst/gstobject.h:
12947         Docs updates.
12948
12949 2005-11-09  Wim Taymans  <wim@fluendo.com>
12950
12951         * docs/design/part-TODO.txt:
12952         Some more items for the TODO
12953
12954         * gst/gstcaps.c:
12955         * gst/gstcaps.h:
12956         Document GstCaps.
12957
12958 2005-11-09  Andy Wingo  <wingo@pobox.com>
12959
12960         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12961         to work on something else now tho...
12962
12963         * gst/base/gstadapter.c: More adapter docs.
12964
12965         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12966         (gst_file_sink_stop): New functions, replace the state change
12967         handler.
12968         (gst_file_sink_class_init): Hook up the start and stop functions.
12969         (gst_file_sink_base_init): Don't set the state change handler any
12970         more. It was a bit ugly too, being set from here...
12971         (gst_file_sink_get_property, gst_file_sink_set_property):
12972         Cleanups...
12973         (gst_file_sink_set_location): More robust check that doesn't call
12974         GST_STATE. Ugggggg.
12975
12976 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12977
12978         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12979           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12980
12981 2005-11-08  Wim Taymans  <wim@fluendo.com>
12982
12983         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12984         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12985         (gst_base_sink_chain), (gst_base_sink_change_state):
12986         * gst/base/gstbasesink.h:
12987         * gst/base/gstbasesrc.h:
12988         * gst/gstelement.h:
12989         * gst/gstevent.h:
12990         Avoid excessive typechecking in macros.
12991
12992         * gst/gstminiobject.c: (gst_mini_object_get_type),
12993         (gst_mini_object_init), (gst_mini_object_new),
12994         (gst_mini_object_free):
12995         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12996         (gst_object_finalize):
12997         Remove cruft code, optimize alloc_trace.
12998
12999 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13000
13001         * docs/faq/gst-uninstalled:
13002           fix up PS1 for systems that try to reset it
13003
13004 2005-11-07  Wim Taymans  <wim@fluendo.com>
13005
13006         * gst/base/gstbasesrc.c: (gst_base_src_init),
13007         (gst_base_src_get_range):
13008         Set the segment_end to -1 initially. Fixed typefind.
13009
13010 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
13011
13012         * gst/base/gstadapter.c:
13013           Debug category should be 'adapter', not 'GstAdapter'.
13014           
13015         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13016         (gst_collectpads_class_init), (gst_collectpads_init),
13017         (gst_collectpads_peek), (gst_collectpads_pop),
13018         (gst_collectpads_event), (gst_collectpads_chain):
13019           Add debug category and some debugging output. Use boilerplate
13020           macros. Remove some extraneous words from docs.
13021
13022 2005-11-05  Andy Wingo  <wingo@pobox.com>
13023
13024         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13025         macro.
13026
13027 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
13028
13029         * docs/gst/gstreamer-sections.txt:
13030         * gst/gstcaps.h:
13031         * gst/gstinfo.c:
13032         * gst/gstminiobject.h:
13033         * gst/gstobject.h:
13034         * gst/gstutils.h:
13035           more docs added
13036
13037 2005-11-04  Wim Taymans  <wim@fluendo.com>
13038
13039         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13040         Small update to stop at the configured segment_end
13041         position.
13042
13043 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
13044
13045         * gst/gstregistry.c:
13046         * gst/gstregistry.h:
13047           added missing docs
13048
13049 2005-11-04  Edward Hervey  <edward@fluendo.com>
13050
13051         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13052         Check if we are doing a segment seek and have arrived at the
13053         end of that segment.
13054
13055 2005-11-04  Wim Taymans  <wim@fluendo.com>
13056
13057         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13058         Don't leak a mutex unlock in case of an error.
13059
13060         * gst/gstbus.h:
13061         Doc fixes.
13062
13063 2005-11-04  Wim Taymans  <wim@fluendo.com>
13064
13065         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13066         (gst_bus_post):
13067         Get the context to wake up only once.
13068
13069 2005-11-03  Wim Taymans  <wim@fluendo.com>
13070
13071         * check/states/sinks.c: (GST_START_TEST):
13072         Uncomment fixed check.
13073
13074         * docs/design/part-TODO.txt:
13075         Updated TODO.
13076
13077         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13078         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13079         (gst_base_sink_get_position):
13080         If we are going to PLAYING, post the right pending state
13081         when we post the intermediate paused message.
13082
13083         * gst/gstelement.c: (gst_element_continue_state),
13084         (gst_element_set_state_func), (gst_element_change_state):
13085         Don't post state changes that were between the same state
13086         and were not ASYNC.
13087
13088 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
13089
13090         * docs/gst/gstreamer-sections.txt:
13091         * gst/gstcaps.h:
13092         * gst/gstinfo.c:
13093         * gst/gstminiobject.h:
13094         * gst/gstobject.h:
13095         * gst/gstutils.h:
13096           more docs and doc style fixes
13097
13098 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
13099
13100         * docs/gst/gstreamer-sections.txt:
13101         * gst/gstelement.c:
13102         * gst/gstminiobject.c:
13103         doc fixes
13104
13105 2005-11-03  Andy Wingo  <wingo@pobox.com>
13106
13107         * check/states/sinks.c (test_livesrc_sink): Add checks that the
13108         state-changed messages actually have the right order and the right
13109         values.
13110
13111 2005-11-03  Wim Taymans  <wim@fluendo.com>
13112
13113         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13114         Added some more checks. Specifically the case where NO_PREROLL
13115         elements are in the pipeline.
13116
13117         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13118         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13119         (gst_base_sink_get_position):
13120         Post READY->PAUSED state change messages too.
13121         Fix bug where VOID was posted as pending state...
13122
13123         * gst/gstbin.c: (gst_bin_recalc_state):
13124         use _element_continue_state() to continue the state change.
13125
13126         * gst/gstelement.c: (gst_element_continue_state),
13127         (gst_element_commit_state), (gst_element_set_state_func),
13128         (gst_element_change_state), (gst_element_change_state_func):
13129         Lots of state change cleanups, assign the STATE_RETURN in
13130         a new continue_state() function that also propagates the
13131         last return value from a state change to the app.
13132         Update some debug statements with proper category.
13133
13134 2005-11-03  Wim Taymans  <wim@fluendo.com>
13135
13136         * docs/design/part-events.txt:
13137         * docs/design/part-gstpipeline.txt:
13138         * docs/design/part-messages.txt:
13139         * docs/design/part-overview.txt:
13140         * docs/design/part-seeking.txt:
13141         * docs/design/part-states.txt:
13142         * docs/design/part-trickmodes.txt:
13143         * docs/manual/advanced-position.xml:
13144         Small docs updates.
13145
13146         * gst/gstobject.h:
13147         People think !! is ugly, this looks better.
13148
13149         * gst/gstpad.c: (gst_pad_set_blocked_async):
13150         Remove !! since it's fixed elsewhere now.
13151
13152 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13153
13154         * gst/gstminiobject.h:
13155         * gst/gstobject.h:
13156           Add !! to _FLAG_IS_SET macros to make the result boolean.
13157
13158 2005-11-03  Edward Hervey  <edward@fluendo.com>
13159
13160         * gst/gstpad.c: (gst_pad_set_blocked_async):
13161         comparing a flag and a gboolean rarely returns coherent results...
13162         Added two characters (!!) to make that work correctly.
13163         
13164 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13165
13166         * gst/gstbus.c: (gst_bus_class_init):
13167           Fix some typos.
13168           
13169         * gst/gstqueue.c: (gst_queue_loop):
13170           Don't assume a miniobject that isn't a buffer is an
13171           event (it could be that there is a refcounting
13172           problem somewhere and the pointer is stale and
13173           refers to an already destroyed miniobject).
13174
13175 2005-11-03  Julien MOUTTE  <julien@moutte.net>
13176
13177         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13178
13179 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
13180
13181         * docs/manual/advanced-position.xml:
13182           Update seek example and explanations to current 0.9 API.
13183
13184         * gst/elements/gsttypefindelement.c:
13185         (gst_type_find_element_activate):
13186           Remove FIXME comment now that the found caps
13187           are unreffed.
13188
13189 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13190
13191         * gst/gstregistryxml.c: (load_feature):
13192           Add another GST_STR_NULL instance
13193
13194 2005-11-02  Edward Hervey  <edward@fluendo.com>
13195
13196         * gst/gstpad.c: (handle_pad_block):
13197         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13198         
13199 2005-11-02  Wim Taymans  <wim@fluendo.com>
13200
13201         * gst/gstbin.c:
13202         Fix typo in docs.
13203
13204         * gst/gstelement.c: (gst_element_commit_state):
13205         Remove unused value.
13206
13207         * gst/gstiterator.c:
13208         Mention that the returned element is reffed in the docs.
13209
13210 2005-11-02  Wim Taymans  <wim@fluendo.com>
13211
13212         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13213         (gst_pad_push), (gst_pad_push_event):
13214         Unlock blocked pads when they are flushed.
13215
13216 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13217
13218         * docs/README:
13219         * docs/gst/gstreamer-sections.txt:
13220         * gst/gstbin.c:
13221           doc updates
13222         * gst/gstregistry.c: (gst_registry_scan_path_level):
13223           fix for a nasty little missed situation where an installed plug-in
13224           which was in the cache did not get overridden by an uninstalled one
13225           which was earlier in the plugin path because the newly created plugin
13226           for the uninstalled one (not in the registry) didn't get its
13227           ->registered set to TRUE
13228
13229 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13230
13231         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13232         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13233         (gst_collectpads_is_active), (gst_collectpads_collect),
13234         (gst_collectpads_collect_range), (gst_collectpads_start),
13235         (gst_collectpads_stop), (gst_collectpads_peek),
13236         (gst_collectpads_pop), (gst_collectpads_available),
13237         (gst_collectpads_read), (gst_collectpads_flush):
13238           Guard public API with assertions.
13239         
13240         * gst/gstpad.c:
13241           Fix docs for gst_pad_set_link_function().
13242
13243 2005-11-02  Johan Dahlin  <johan@gnome.org>
13244
13245         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
13246         Unref found_caps after we used it.
13247
13248 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
13249
13250         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13251           Don't try to ref NULL.
13252
13253 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13254
13255         * win32/common/config.h.in:
13256           provide a GST_FUNCTION that just gives a string for now
13257
13258 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13259
13260         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13261         (gst_object_flags_get_type), (register_gst_bin_flags),
13262         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13263         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13264         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13265         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13266         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13267         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13268         (gst_clock_flags_get_type), (register_gst_state),
13269         (gst_state_get_type), (register_gst_state_change_return),
13270         (gst_state_change_return_get_type), (register_gst_state_change),
13271         (gst_state_change_get_type), (register_gst_element_flags),
13272         (gst_element_flags_get_type), (register_gst_core_error),
13273         (gst_core_error_get_type), (register_gst_library_error),
13274         (gst_library_error_get_type), (register_gst_resource_error),
13275         (gst_resource_error_get_type), (register_gst_stream_error),
13276         (gst_stream_error_get_type), (register_gst_event_type),
13277         (gst_event_type_get_type), (register_gst_seek_type),
13278         (gst_seek_type_get_type), (register_gst_seek_flags),
13279         (gst_seek_flags_get_type), (register_gst_format),
13280         (gst_format_get_type), (register_gst_index_certainty),
13281         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13282         (gst_index_entry_type_get_type),
13283         (register_gst_index_lookup_method),
13284         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13285         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13286         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13287         (gst_index_flags_get_type), (register_gst_debug_level),
13288         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13289         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13290         (gst_iterator_result_get_type), (register_gst_iterator_item),
13291         (gst_iterator_item_get_type), (register_gst_message_type),
13292         (gst_message_type_get_type), (register_gst_mini_object_flags),
13293         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13294         (gst_pad_link_return_get_type), (register_gst_flow_return),
13295         (gst_flow_return_get_type), (register_gst_activate_mode),
13296         (gst_activate_mode_get_type), (register_gst_pad_direction),
13297         (gst_pad_direction_get_type), (register_gst_pad_flags),
13298         (gst_pad_flags_get_type), (register_gst_pad_presence),
13299         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13300         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13301         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13302         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13303         (gst_plugin_flags_get_type), (register_gst_rank),
13304         (gst_rank_get_type), (register_gst_query_type),
13305         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13306         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13307         (gst_tag_flag_get_type), (register_gst_task_state),
13308         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13309         (gst_alloc_trace_flags_get_type),
13310         (register_gst_type_find_probability),
13311         (gst_type_find_probability_get_type), (register_gst_uri_type),
13312         (gst_uri_type_get_type), (register_gst_parse_error),
13313         (gst_parse_error_get_type):
13314         * win32/common/gstversion.h:
13315           update win32 copies
13316
13317 2005-11-01  Luca Ognibene  <luogni@tin.it>
13318
13319         * gst/gst.c:
13320           fix docs. popt is dead, long live GOption.
13321
13322 2005-10-31  Wim Taymans  <wim@fluendo.com>
13323
13324         * gst/gstbuffer.h:
13325         Small doc fix.
13326
13327 2005-10-31  Andy Wingo  <wingo@pobox.com>
13328
13329         * Boo!
13330
13331         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13332
13333         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13334         need to serialize property notifications on GLib 2.8. GLib 2.6 has
13335         the possibility of deadlocks here if code calling notify() or
13336         set() has a lock that can be taken in another notify handler (ABBA
13337         with class lock and e.g. python GIL state lock).
13338
13339 2005-10-28  Julien MOUTTE  <julien@moutte.net>
13340
13341         * gst/gstbus.c: Doc updates.
13342
13343 2005-10-28  Wim Taymans  <wim@fluendo.com>
13344
13345         * docs/design/part-TODO.txt:
13346         * gst/gstiterator.c:
13347         * gst/gstsystemclock.c:
13348         * gst/gstsystemclock.h:
13349         Doc updates.
13350
13351 2005-10-28  Edward Hervey  <edward@fluendo.com>
13352
13353         * docs/gst/gstreamer-docs.sgml:
13354         * docs/gst/gstreamer-sections.txt:
13355         the GstURIType documentation page is private, it only defines GstURIType
13356         which should be defined in the GstURIHandler page
13357         
13358 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13359
13360         * gst/gstbin.c: (gst_bin_class_init):
13361         * gst/gstbin.h:
13362         * gst/gstutils.c:
13363         Documentation updates.
13364
13365 2005-10-28  Wim Taymans  <wim@fluendo.com>
13366
13367         * docs/gst/gstreamer-sections.txt:
13368         * gst/gstclock.c:
13369         * gst/gstclock.h:
13370         Documented the clocks.
13371
13372 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
13373
13374         * docs/gst/gstreamer-sections.txt:
13375           move some macros to private sections
13376         * gst/gstminiobject.c:
13377         * gst/gstminiobject.h:
13378           add descriptions provided by ds and some more
13379         * gst/gstpad.h:
13380           mark macro as to be removed
13381
13382 2005-10-28  Wim Taymans  <wim@fluendo.com>
13383
13384         * docs/design/part-TODO.txt:
13385         Add an item to TODO.
13386
13387         * gst/gstiterator.c: (gst_iterator_fold),
13388         (gst_iterator_find_custom):
13389         * gst/gstiterator.h:
13390         Add iterator docs.
13391
13392 2005-10-28  Wim Taymans  <wim@fluendo.com>
13393
13394         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13395         (gst_base_transform_init):
13396         Don't leak class.
13397
13398         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13399         An EOS event marks the queue as completely filled.
13400
13401 2005-10-27  Wim Taymans  <wim@fluendo.com>
13402
13403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13404         (gst_base_sink_do_sync), (gst_base_sink_get_position):
13405         Some more debugging.
13406
13407         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13408         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13409         (gst_base_transform_event), (gst_base_transform_getrange),
13410         (gst_base_transform_chain):
13411         * gst/base/gstbasetransform.h:
13412         Fix debugging,
13413         Protect transform and concurrent buffer alloc with a new lock.
13414         Try not to break ABI/API.
13415
13416 2005-10-27  Wim Taymans  <wim@fluendo.com>
13417
13418         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13419         (gst_base_src_init), (gst_base_src_query),
13420         (gst_base_src_default_newsegment),
13421         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13422         (gst_base_src_send_event), (gst_base_src_event_handler),
13423         (gst_base_src_pad_get_range), (gst_base_src_loop),
13424         (gst_base_src_unlock), (gst_base_src_default_negotiate),
13425         (gst_base_src_start), (gst_base_src_deactivate),
13426         (gst_base_src_activate_push), (gst_base_src_change_state):
13427         Move some stuff around and cleanup things.
13428
13429 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13430
13431         * gst/base/gstbasesrc.c: (gst_base_src_query):
13432           Add missing break statements.
13433
13434 2005-10-27  Wim Taymans  <wim@fluendo.com>
13435
13436         * check/gst/gstbin.c: (GST_START_TEST):
13437         An extra refcount is taken in basesrc.
13438
13439         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13440         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13441         (gst_base_src_loop):
13442         Small cleanups, check for flushing after being unlocked from the 
13443         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13444         Don't send out EOS when going to READY.
13445
13446 2005-10-27  Wim Taymans  <wim@fluendo.com>
13447
13448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13449         (gst_base_sink_get_position):
13450         Some more debug.
13451
13452         * gst/gstbin.c: (message_check), (bin_replace_message),
13453         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13454         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13455         (bin_query_duration_init), (bin_query_duration_fold),
13456         (bin_query_duration_done), (bin_query_generic_fold),
13457         (gst_bin_query):
13458         * tools/gst-launch.c: (main):
13459         Remove old option.
13460
13461 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13462
13463         * examples/controller/audio-example.c: (main):
13464         * examples/queue/queue.c: (event_loop):
13465         * gst/base/gstbasetransform.h:
13466         * gst/gstelement.c: (gst_element_send_event):
13467         * gst/gstevent.h:
13468         * gst/gstpad.c: (gst_pad_send_event):
13469           fixing examples
13470           fixing docs typos
13471           changing log priority in error situations
13472
13473 2005-10-25  Wim Taymans  <wim@fluendo.com>
13474
13475         * gst/gstbin.c: (message_check), (bin_replace_message),
13476         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13477         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13478         (bin_query_duration_init), (bin_query_duration_fold),
13479         (bin_query_duration_done), (bin_query_generic_fold),
13480         (gst_bin_query):
13481         Some doc and debug updates.
13482         Cache previously requested query DURATION for speed. invalidate
13483         cached duration if element posts a DURATION message.
13484
13485 2005-10-25  Wim Taymans  <wim@fluendo.com>
13486
13487         * docs/design/part-TODO.txt:
13488         Update TODO.
13489
13490         * gst/gstbin.c: (message_check), (bin_replace_message),
13491         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13492         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13493         (bin_query_duration_init), (bin_query_duration_fold),
13494         (bin_query_duration_done), (bin_query_generic_fold),
13495         (gst_bin_query):
13496         Handle SEGMENT_START/DONE messages correctly.
13497         More evolved query algorithm that handles duration queries
13498         correctly.
13499
13500         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13501         (gst_element_get_state_func), (gst_element_abort_state),
13502         (gst_element_commit_state), (gst_element_lost_state):
13503         Some more debugging.
13504
13505         * gst/gstmessage.h:
13506         Added doc.
13507
13508 2005-10-25  Wim Taymans  <wim@fluendo.com>
13509
13510         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13511         Don't use invalid stream_time.
13512
13513         * gst/gstevent.c: (gst_event_new_newsegment):
13514         stream_time in newsegment cannot be undefined.
13515
13516 2005-10-24  Wim Taymans  <wim@fluendo.com>
13517
13518         * gst/gstbus.c:
13519         Doc fix.
13520
13521         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13522         (gst_queue_loop):
13523         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13524
13525 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13526
13527         * docs/libs/tmpl/gstdparam.sgml:
13528         * docs/libs/tmpl/gstdplinint.sgml:
13529         * docs/libs/tmpl/gstdpman.sgml:
13530         * docs/libs/tmpl/gstdpsmooth.sgml:
13531         * docs/libs/tmpl/gstunitconvert.sgml:
13532           these are obsolete
13533
13534 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13535
13536         * configure.ac:
13537           back to HEAD
13538
13539 === release 0.9.4 ===
13540
13541 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13542
13543         * configure.ac:
13544           releasing 0.9.4, "Tyrannosaurus Rex"
13545
13546 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13547
13548         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13549         (gst_file_sink_get_current_offset):
13550           Use fseeko() and ftello() if available. When falling back on
13551           lseek() to get the current offset, fflush() first to make sure
13552           everything is up-to-date and we get the right offset.
13553
13554 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13555
13556         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13557         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13558         * gst/gsterror.c: (_gst_stream_errors_init):
13559         * gst/gsterror.h:
13560         * gst/gstqueue.c: (gst_queue_loop):
13561         * po/POTFILES.in:
13562           remove prematurely added error category and clean up the instances
13563
13564 2005-10-21  Wim Taymans  <wim@fluendo.com>
13565
13566         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13567         (gst_base_sink_get_position), (gst_base_sink_query),
13568         (gst_base_sink_change_state):
13569         Simply set the right flag when going to playing, that's all
13570         we need to do instead of calling a function inside the object
13571         lock (that could take the lock as well and deadlock)
13572
13573 2005-10-21  Wim Taymans  <wim@fluendo.com>
13574
13575         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13576         (gst_base_src_loop):
13577         Don't warn, the peer element knows what to do best when
13578         the seek failed, it might try something else.
13579
13580 2005-10-21  Wim Taymans  <wim@fluendo.com>
13581
13582         * gst/base/gstbasesrc.c: (gst_base_src_init),
13583         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13584         Fix seeking.
13585
13586 2005-10-21  Wim Taymans  <wim@fluendo.com>
13587
13588         * docs/design/part-segments.txt:
13589         More docs.
13590
13591         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13592         Correctly set caps, even on the subbufer.
13593
13594 2005-10-21  Wim Taymans  <wim@fluendo.com>
13595
13596         * docs/gst/gstreamer-docs.sgml:
13597         * docs/gst/gstreamer-sections.txt:
13598         * gst/gstelement.h:
13599         * gst/gstevent.c:
13600         * gst/gstevent.h:
13601         * gst/gstmessage.h:
13602         * gst/gstpad.h:
13603         * gst/gstparse.h:
13604         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13605         * gst/gsttask.h:
13606         * gst/gstutils.c:
13607         * gst/gstutils.h:
13608         And 2% more doc coverage.
13609
13610 2005-10-21  Andy Wingo  <wingo@pobox.com>
13611
13612         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13613         position reporting.
13614
13615 2005-10-20  Wim Taymans  <wim@fluendo.com>
13616
13617         * gst/gsterror.c: (gst_error_get_message):
13618         * gst/gstparse.h:
13619         * gst/gstquery.h:
13620         * gst/gststructure.c:
13621         * gst/gsttrace.c:
13622         * gst/gstutils.c:
13623         More docs.
13624
13625 2005-10-20  Wim Taymans  <wim@fluendo.com>
13626
13627         * gst/gstbuffer.h:
13628         * gst/gstpad.c:
13629         * gst/gstparse.c:
13630         Another 1% more coverage.
13631
13632 2005-10-20  Wim Taymans  <wim@fluendo.com>
13633
13634         * docs/gst/gstreamer-sections.txt:
13635         * gst/gstelement.c: (gst_element_get_state_func),
13636         (gst_element_abort_state), (gst_element_commit_state),
13637         (gst_element_lost_state):
13638         * gst/gstevent.h:
13639         * gst/gstquery.c: (gst_query_set_position),
13640         (gst_query_parse_position), (gst_query_set_duration),
13641         (gst_query_parse_duration), (gst_query_new_convert):
13642         * gst/gstutils.c:
13643         Yay! 1% more docs coverage.
13644
13645 2005-10-20  Wim Taymans  <wim@fluendo.com>
13646
13647         * gst/gstpad.h:
13648         * gst/gstquery.c: (gst_query_set_position),
13649         (gst_query_parse_position), (gst_query_set_duration),
13650         (gst_query_parse_duration), (gst_query_new_convert):
13651         * gst/gstquery.h:
13652         * gst/gstutils.c: (gst_element_query_convert):
13653         * gst/gstutils.h:
13654         Docs and consistency fixes.
13655
13656 2005-10-20  Wim Taymans  <wim@fluendo.com>
13657
13658         * gst/gsttask.c:
13659         * gst/gsttask.h:
13660         More docs.
13661
13662 2005-10-20  Wim Taymans  <wim@fluendo.com>
13663
13664         * gst/gstbin.c: (message_check), (bin_replace_message),
13665         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13666         (update_degree), (gst_bin_sort_iterator_next),
13667         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13668         Reworked the message handling a bit, cache the messages instead of
13669         only the senders. alows us to do more in the future.
13670
13671 2005-10-20  Wim Taymans  <wim@fluendo.com>
13672
13673         * docs/design/part-TODO.txt:
13674         Update TODO
13675
13676         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13677         (gst_base_sink_query):
13678         Don't use clock time to report position when in EOS.
13679
13680 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13681
13682         * tools/gst-inspect.c: (print_interfaces),
13683         (print_element_properties_info), (print_element_info):
13684           Fix interface output with gst-inspect -a; don't print
13685           newlines after double/float properties.
13686
13687 2005-10-20  Wim Taymans  <wim@fluendo.com>
13688
13689         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13690         (gst_base_sink_query):
13691         Speed up current position calculation.
13692
13693         * gst/base/gstbasesrc.c: (gst_base_src_query),
13694         (gst_base_src_default_newsegment):
13695         Correctly set stream position in newsegment.
13696
13697         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13698         (update_degree), (gst_bin_sort_iterator_next),
13699         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13700         * gst/gstmessage.c: (gst_message_new_custom):
13701         Clean up debugging info
13702
13703         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13704         (gst_queue_loop), (gst_queue_handle_src_query):
13705         Pause task faster.
13706
13707 2005-10-19  Wim Taymans  <wim@fluendo.com>
13708
13709         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13710         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13711         Fix query handling again.
13712
13713 2005-10-19  Wim Taymans  <wim@fluendo.com>
13714
13715         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13716         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13717         * gst/base/gstbasesrc.c: (gst_base_src_query):
13718         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13719         * gst/elements/gsttypefindelement.c:
13720         (gst_type_find_handle_src_query), (find_element_get_length),
13721         (gst_type_find_element_activate):
13722         API change fix.
13723
13724         * gst/gstquery.c: (gst_query_new_position),
13725         (gst_query_set_position), (gst_query_parse_position),
13726         (gst_query_new_duration), (gst_query_set_duration),
13727         (gst_query_parse_duration), (gst_query_set_segment),
13728         (gst_query_parse_segment):
13729         * gst/gstquery.h:
13730         Bundling query position/duration is not a good idea since duration
13731         does not change much and we don't want to recalculate it for every
13732         position query, so they are separated again..
13733         Base value in segment query is not needed.
13734
13735         * gst/gstqueue.c: (gst_queue_handle_src_query):
13736         * gst/gstutils.c: (gst_element_query_position),
13737         (gst_element_query_duration), (gst_pad_query_position),
13738         (gst_pad_query_duration):
13739         * gst/gstutils.h:
13740         Updates for query API change.
13741         Added some docs here and there.
13742
13743 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13744
13745         * check/gst/gstbin.c: (GST_START_TEST):
13746         * check/gst/gstghostpad.c: (GST_START_TEST):
13747         * check/pipelines/cleanup.c: (GST_START_TEST):
13748           wait on thread to die so we can check refcount correctly
13749
13750 2005-10-18  Wim Taymans  <wim@fluendo.com>
13751
13752         * check/pipelines/stress.c: (GST_START_TEST):
13753         Make check a little more time consuming.
13754
13755 2005-10-18  Wim Taymans  <wim@fluendo.com>
13756
13757         * check/Makefile.am:
13758         * check/pipelines/stress.c: (GST_START_TEST),
13759         (simple_launch_lines_suite), (main):
13760         Small state change torture test.
13761
13762         * docs/design/part-states.txt:
13763         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13764         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13765         (gst_base_sink_change_state):
13766         Never take state lock from streaming thread, clean up ugly
13767         hacks. Unfortunatly core does not yet support nice ways to
13768         async commit state.
13769         
13770         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13771         (bin_bus_handler):
13772         Start state recalc if a STATE_DIRTY message is posted, but only
13773         on the toplevel bin.
13774
13775         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13776         (gst_element_get_state_func), (gst_element_abort_state),
13777         (gst_element_commit_state), (gst_element_lost_state),
13778         (gst_element_set_state_func), (gst_element_change_state):
13779         * gst/gstelement.h:
13780         State variables are now protected with the LOCK, the state
13781         lock is only used to serialize _set_state().
13782
13783 2005-10-18  Wim Taymans  <wim@fluendo.com>
13784
13785         * check/gst/gstbin.c: (GST_START_TEST):
13786         * check/gst/gstmessage.c: (GST_START_TEST):
13787         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13788         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13789         (bin_bus_handler):
13790         * gst/gstelement.c: (gst_element_abort_state),
13791         (gst_element_commit_state), (gst_element_lost_state):
13792         * gst/gstmessage.c: (gst_message_new_state_changed),
13793         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13794         (gst_message_new_segment_done), (gst_message_new_duration),
13795         (gst_message_parse_state_changed),
13796         (gst_message_parse_segment_start),
13797         (gst_message_parse_segment_done), (gst_message_parse_duration):
13798         * gst/gstmessage.h:
13799         * tools/gst-launch.c: (event_loop):
13800         Seriously, this is better than a previous commit as we only need
13801         to notify the fact that an element changed state in a streaming
13802         thread, marking the state of the parents dirty, hence the 
13803         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13804         message.
13805
13806 2005-10-18  Wim Taymans  <wim@fluendo.com>
13807
13808         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13809         (gst_bin_recalc_func):
13810         * gst/gstelement.c: (gst_element_set_clock),
13811         (gst_element_abort_state), (gst_element_lost_state):
13812         Cleanups, prepare for state change fixes.
13813
13814 2005-10-18  Wim Taymans  <wim@fluendo.com>
13815
13816         * gst/gstbin.h:
13817         * gst/gstelement.c: (gst_element_class_init),
13818         (gst_element_set_state), (gst_element_set_state_func):
13819         * gst/gstelement.h:
13820         Pending ABI changes.
13821         GThreadPool in GstBinClass to monitor async state changes.
13822         state_cookie in GstElement to detect concurrent gst/set state.
13823         set_state is now virtual too in case a very complicated element
13824         has to be constructed.
13825
13826 2005-10-18  Wim Taymans  <wim@fluendo.com>
13827
13828         * check/gst/gstbin.c: (GST_START_TEST):
13829         * check/gst/gstmessage.c: (GST_START_TEST):
13830         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13831         * gst/gstbin.c: (bin_bus_handler):
13832         * gst/gstelement.c: (gst_element_commit_state),
13833         (gst_element_lost_state):
13834         * gst/gstmessage.c: (gst_message_new_state_changed),
13835         (gst_message_new_segment_start), (gst_message_new_segment_done),
13836         (gst_message_new_duration), (gst_message_parse_state_changed),
13837         (gst_message_parse_segment_start),
13838         (gst_message_parse_segment_done), (gst_message_parse_duration):
13839         * gst/gstmessage.h:
13840         * tools/gst-launch.c: (event_loop):
13841         Make messages future proof.
13842         state-change gets a flag if it was a message comming from the
13843         streaming thread.
13844         segment-start/stop can also be specified in other formats.
13845         A message to notify an app that a pipeline changed playback 
13846         duration.
13847         Also fix a GstMessage leak in -launch
13848
13849 2005-10-18  Andy Wingo  <wingo@pobox.com>
13850
13851         * gst/gstelement.c (gst_element_dispose): More helpful message.
13852
13853 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13854
13855         reviewed by: <delete if not using a buddy>
13856
13857         * common/gtk-doc.mak:
13858
13859 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13860
13861         * gst/gstregistry.c: (gst_registry_scan_path_level):
13862           unref a plug-in we get that was already initialized
13863
13864 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13865
13866         * docs/gst/gstreamer-sections.txt:
13867         * docs/libs/gstreamer-libs-sections.txt:
13868         * gst/gstelement.h:
13869           add new api entries
13870           hide internal macro
13871
13872 2005-10-17  Andy Wingo  <wingo@pobox.com>
13873
13874         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13875         cleanup.
13876
13877         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13878
13879         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13880
13881         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13882         (gst_element_get_state_func): Better debug message.
13883         (gst_element_commit_state): s/INFO/DEBUG/.
13884         (gst_element_lost_state, gst_element_change_state): 
13885
13886         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13887         (gst_message_new_custom): s/INFO/LOG/.
13888
13889 2005-10-17  Michael Smith <msmith@fluendo.com>
13890
13891         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13892           Check if end time is valid using end time, not start time.
13893
13894 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13895
13896         * check/gst-libs/controller.c: (GST_START_TEST),
13897         (gst_controller_suite):
13898         * libs/gst/controller/gstcontroller.c:
13899         (gst_controlled_property_set_interpolation_mode):
13900         * libs/gst/controller/gstcontroller.h:
13901         * libs/gst/controller/gstinterpolation.c:
13902         * testsuite/controller/.cvsignore:
13903         * testsuite/controller/Makefile.am:
13904         * testsuite/controller/interpolator.c:
13905           merge controller testsuites
13906           fix broken tests
13907           remove mem-chunk from docs
13908
13909 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13910
13911         * gst/gstmemchunk.c:
13912         * gst/gstmemchunk.h:
13913         * gst/gsttrashstack.c:
13914         * gst/gsttrashstack.h:
13915           out.  get out.  you're fired.  to the Attic !
13916
13917 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13918
13919         * gst/gstcaps.c: (gst_caps_intersect):
13920           fix signedness issues in a (hopefully) correct way
13921         * gst/gstelement.c: (gst_element_pads_activate):
13922           some debugging
13923         * gst/gstobject.c: (gst_object_set_parent):
13924           some debugging
13925
13926 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13927
13928         * gst/gstvalue.h: Fix prototypes.
13929
13930 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13931
13932         * docs/gst/gstreamer-sections.txt:
13933         * gst/gst.c: (gst_version_string):
13934         * gst/gst.h:
13935         * gst/gstversion.h.in:
13936         * win32/common/libgstreamer.def:
13937           add gst_version_string ()
13938
13939 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13940
13941         * configure.ac:
13942           clean up further
13943         * gst/gst.c: (init_post):
13944         * win32/common/config.h.in:
13945           it's PLUGINDIR now
13946         * gst/gstcaps.c: (gst_caps_intersect):
13947           use gint64, the range could be bigger than a guint
13948
13949 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13950
13951         * gst/gstclock.h:
13952           document potential problem in 2038
13953
13954 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13955
13956         * gst/gstcaps.c: (gst_caps_intersect):
13957           Fix guint j diving under 0
13958
13959 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13960
13961         * configure.ac:
13962         * win32/common/config.h:
13963         * win32/common/config.h.in:
13964           check for process.h, declares getpid() on Windows
13965         * gst/gstinfo.c:
13966           include process.h if we have it
13967         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13968         * gst/gstmemchunk.h:
13969           fix signedness issues
13970         * win32/common/libgstreamer.def:
13971           fix get_type's
13972
13973 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13974
13975         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13976         fix. Because of unsigned ints, caps intersection was going nuts and
13977         trying to access structures with G_MAXUINT index. That fixes
13978         videotestsrc ! ffmpegcolorspace ! fakesink
13979         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13980         consistency.
13981
13982 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13983
13984         * configure.ac:
13985           use the gettext macro
13986         * gst/elements/gstelements.c:
13987         * gst/gst.c:
13988         * gst/indexers/gstindexers.c:
13989           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13990         * win32/common/config.h:
13991           updated config.h
13992         * win32/common/config.h.in:
13993           add the template to generate config.h
13994         * win32/common/gstenumtypes.c:
13995         * win32/common/gstversion.h:
13996           updated copies
13997
13998 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13999
14000         * gst/gst.c: (gst_version):
14001         * gst/gstversion.h.in:
14002           add the nano
14003
14004 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
14005
14006         * gst/gstevent.h:
14007           Oops, add missing closing bracket.
14008
14009 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14010
14011         * configure.ac:
14012           use common m4's for argument checking
14013
14014 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
14015
14016         * docs/gst/gstreamer-sections.txt:
14017         * gst/gstevent.h:
14018           Add GST_EVENT_TYPE_NAME() macro.
14019
14020 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14021
14022         * gst/gstinfo.c:
14023         * gst/gstpluginfeature.c:
14024         * gst/gsttask.c:
14025           privatize more symbols
14026
14027 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14028
14029         * configure.ac:
14030           add srcdir, builddir includes to GST_ALL_CFLAGS, since
14031           everything that uses GStreamer API should have the includes
14032
14033 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14034
14035         * docs/gst/gstreamer-sections.txt:
14036         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14037         * gst/gstvalue.h:
14038           give each value a _get_type, removes the DATA exports
14039
14040 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14041
14042         * gst/gst.c:
14043         * gst/gst.h:
14044           remove _gst_registry_auto_load, not used anymore
14045         * gst/gstbin.c: (gst_bin_get_type):
14046         * gst/gstbin.h:
14047         * gst/gstelement.c: (gst_element_get_type):
14048         * gst/gstelement.h:
14049         * gst/gstobject.c: (gst_object_get_type):
14050         * gst/gstobject.h:
14051         * gst/gstpad.c: (gst_pad_get_type):
14052         * gst/gstpad.h:
14053           make _get_type functions similar, fixes data export from library
14054
14055 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14056
14057         * configure.ac:
14058           correctly make conditionals
14059         * gst/elements/Makefile.am:
14060         * gst/elements/gstelements.c:
14061           fix typo causing fdsrc not to build
14062
14063 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14064
14065         * testsuite/Makefile.am:
14066         * testsuite/bytestream/.cvsignore:
14067         * testsuite/bytestream/Makefile.am:
14068         * testsuite/bytestream/filepadsink.c:
14069         * testsuite/bytestream/gstbstest.c:
14070         * testsuite/bytestream/test1.c:
14071         * testsuite/bytestream/testfile1:
14072         * testsuite/caps/normalisation.c:
14073         * testsuite/caps/random.c: (main):
14074         * testsuite/cleanup/.cvsignore:
14075         * testsuite/cleanup/Makefile.am:
14076         * testsuite/cleanup/cleanup1.c:
14077         * testsuite/cleanup/cleanup2.c:
14078         * testsuite/cleanup/cleanup3.c:
14079         * testsuite/cleanup/cleanup4.c:
14080         * testsuite/cleanup/cleanup5.c:
14081         * testsuite/controller/interpolator.c:
14082         * testsuite/debug/printf_extension.c: (main):
14083         * testsuite/elements/tee.c:
14084         * testsuite/negotiation/.cvsignore:
14085         * testsuite/negotiation/Makefile.am:
14086         * testsuite/negotiation/pad_link.c:
14087         * testsuite/pad/Makefile.am:
14088         * testsuite/pad/chainnopull.c:
14089         * testsuite/pad/getnopush.c:
14090         * testsuite/pad/link.c:
14091         * testsuite/refcounting/sched.c: (create_pipeline):
14092         * testsuite/registry/Makefile.am:
14093         * testsuite/registry/gst-print-formats.c:
14094         * testsuite/schedulers/.cvsignore:
14095         * testsuite/schedulers/142183-2.c:
14096         * testsuite/schedulers/142183.c:
14097         * testsuite/schedulers/143777-2.c:
14098         * testsuite/schedulers/143777.c:
14099         * testsuite/schedulers/147713.c:
14100         * testsuite/schedulers/147819.c:
14101         * testsuite/schedulers/147894-2.c:
14102         * testsuite/schedulers/147894.c:
14103         * testsuite/schedulers/Makefile.am:
14104         * testsuite/schedulers/group_link.c:
14105         * testsuite/schedulers/queue_link.c:
14106         * testsuite/schedulers/relink.c:
14107         * testsuite/schedulers/unlink.c:
14108         * testsuite/schedulers/unref.c:
14109         * testsuite/schedulers/useless_iteration.c:
14110         * testsuite/states/bin.c:
14111           clean out/remove some stuff from the testsuite directories
14112
14113 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14114
14115         * configure.ac:
14116           check for some headers
14117         * gst/elements/Makefile.am:
14118         * gst/elements/gstelements.c:
14119           don't compile fdsrc without sys/socket.h
14120         * gst/indexers/Makefile.am:
14121         * gst/indexers/gstindexers.c: (plugin_init):
14122           don't compile fileindex without mmap
14123
14124 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14125
14126         * configure.ac:
14127           reorganize
14128           clean up
14129           document more
14130           remove cruft
14131         * check/Makefile.am:
14132         * docs/gst/Makefile.am:
14133         * examples/helloworld/Makefile.am:
14134         * gst/Makefile.am:
14135         * gst/base/Makefile.am:
14136         * gst/check/Makefile.am:
14137         * gst/elements/Makefile.am:
14138         * gst/indexers/Makefile.am:
14139         * gst/parse/Makefile.am:
14140         * libs/gst/controller/Makefile.am:
14141         * libs/gst/dataprotocol/Makefile.am:
14142         * examples/helloworld/helloworld.c: (event_loop):
14143           compile fixes, though it's not being compiled currently
14144
14145 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14146
14147         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14148           Add some simple tests for the new taglist date API.
14149
14150 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14151
14152         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14153         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14154           Beautify 'last-message' output: print 'none' for buffer timestamps
14155           and durations if none is set; improve alignment with next messages.
14156
14157 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
14158
14159         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14160         * gst/gstpluginfeature.h:
14161         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14162         * gst/gstregistry.h:
14163         * docs/gst/gstreamer-sections.txt:
14164           Add new API to check plugin feature version requirements.
14165
14166         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14167           Some basic tests for the above.         
14168
14169 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14170
14171         * gst/gststructure.c: (gst_structure_to_string):
14172           guard against NULL printf - happens when for example
14173           a message structure with GstClock gets serialized
14174
14175 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14176
14177         * gst/base/gstcollectpads.c: (gst_collectpads_event):
14178           Fix presumable copy'n'pasto.
14179
14180 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14181
14182         * gst/elements/gstfakesrc.h:
14183         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14184         * gst/elements/gsttypefindelement.c:
14185           fix some signedness
14186         * gst/elements/gstfilesink.c: (gst_file_sink_render):
14187           I wonder if this could actually write +2GB files before
14188
14189 2005-10-13  Andy Wingo  <wingo@pobox.com>
14190
14191         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14192         Fix Timmeke Waymans bug.
14193         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14194         string of the proper length to gst_caps_from_string. There's a
14195         potential for, before this fix, that this could cause someone
14196         connecting over the network to cause a segfault if the payload is
14197         not NUL-terminated.
14198
14199 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14200
14201         * docs/design/draft-push-pull.txt:
14202         * docs/design/part-overview.txt:
14203         * docs/random/TODO-pre-0.9:
14204         * docs/random/old/ChangeLog.gstreamer:
14205         * gst/base/gstpushsrc.c:
14206         * gst/gstclock.c:
14207           fixed typos
14208
14209 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14210
14211         * gst/glib-compat.c: (gst_flags_get_first_value):
14212         * gst/glib-compat.h:
14213         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14214         (gst_value_compare_double), (gst_value_serialize_flags):
14215           GLib 2.6 g_flags_get_first_value has a bug that triggers an
14216           infinite loop
14217
14218 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14219
14220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14221         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14222           fix up debugging
14223         * tools/gst-launch.c: (event_loop):
14224           print out clock nicely
14225
14226 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
14227
14228         * docs/gst/gstreamer-sections.txt:
14229         * gst/gsttaglist.h:
14230         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14231         (gst_tag_list_get_date_index):
14232           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14233           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14234
14235 2005-10-13  Julien MOUTTE  <julien@moutte.net>
14236
14237         * gst/base/gstcollectpads.c: (gst_collectpads_event),
14238         (gst_collectpads_chain):
14239         * gst/base/gstcollectpads.h: Handle newsegment and store informations
14240         in CollectData.
14241
14242 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
14243
14244         * docs/gst/gstreamer-sections.txt:
14245         * gst/gst.c:
14246         * gst/gsterror.h:
14247         * tools/gst-inspect.c: (main):
14248         * tools/gst-launch.c: (main):
14249         * tools/gst-run.c: (main):
14250         * tools/gst-xmlinspect.c: (main):
14251           fix GOption context leaks
14252           doc fixes
14253
14254 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14255
14256         * gst/gstbus.c:
14257           use HAVE_UNISTD_H
14258         * win32/common/config.h:
14259           update config
14260         * win32/vs6/grammar.dsp:
14261         * win32/vs6/libgstelements.dsp:
14262         * win32/vs6/libgstreamer.dsp:
14263           update vs6 files
14264
14265 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14268         * gst/base/gstbasesrc.c: (gst_base_src_query):
14269           fix more guint64<->gdouble conversions
14270
14271 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14272
14273         * Makefile.am:
14274           add win32-update target
14275         * win32/common/gstconfig.h:
14276         * win32/common/gstenumtypes.c:
14277         * win32/common/gstenumtypes.h:
14278         * win32/common/gstversion.h:
14279           add files that visual studio can't generate
14280
14281 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14282
14283         * Makefile.am:
14284           add a win32-update target
14285         * configure.ac:
14286
14287 2005-10-12  Wim Taymans  <wim@fluendo.com>
14288
14289         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14290         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14291         * gst/gstelement.c: (gst_element_commit_state),
14292         (gst_element_set_state):
14293         Protect flags with proper lock.
14294         unref provided cached clock in dispose.
14295
14296 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14297
14298         * gst/gst.c:
14299         * gst/gstminiobject.h:
14300         * gst/gstpad.h:
14301         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14302           removed unused flags from miniobject
14303           doc fixes
14304
14305 2005-10-12  Wim Taymans  <wim@fluendo.com>
14306
14307         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14308         (gst_file_sink_event), (gst_file_sink_render):
14309         Flush before seeking.
14310
14311 2005-10-12  Andy Wingo  <wingo@pobox.com>
14312
14313         * gst/gst.c (gst_init_check): Ignore unknown options, as has
14314         always been the case.
14315
14316 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
14317
14318         * check/gst/gstbin.c: (GST_START_TEST):
14319         * docs/gst/gstreamer-sections.txt:
14320         * gst/base/gstbasesink.c: (gst_base_sink_init):
14321         * gst/base/gstbasesrc.c: (gst_base_src_init),
14322         (gst_base_src_get_range), (gst_base_src_check_get_range),
14323         (gst_base_src_start), (gst_base_src_stop):
14324         * gst/base/gstbasesrc.h:
14325         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14326         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14327         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14328         (bin_bus_handler):
14329         * gst/gstbin.h:
14330         * gst/gstbuffer.h:
14331         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14332         * gst/gstbus.h:
14333         * gst/gstelement.c: (gst_element_is_locked_state),
14334         (gst_element_set_locked_state), (gst_element_commit_state),
14335         (gst_element_set_state):
14336         * gst/gstelement.h:
14337         * gst/gstindex.c: (gst_index_init):
14338         * gst/gstindex.h:
14339         * gst/gstminiobject.h:
14340         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14341         (gst_object_set_parent):
14342         * gst/gstobject.h:
14343         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14344         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14345         * gst/gstpad.h:
14346         * gst/gstpadtemplate.h:
14347         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14348         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14349         * gst/gstpipeline.h:
14350         * gst/indexers/gstfileindex.c: (gst_file_index_load),
14351         (gst_file_index_commit):
14352         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14353         * testsuite/pad/link.c: (gst_test_src_init),
14354         (gst_test_filter_init), (gst_test_sink_init):
14355         * testsuite/states/locked.c: (main):
14356           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14357           moved bitshift from macro to enum definition
14358
14359 2005-10-12  Wim Taymans  <wim@fluendo.com>
14360
14361         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14362         * gst/elements/gstfilesink.c: (gst_file_sink_event),
14363         (gst_file_sink_render):
14364         Some more debugging info.
14365
14366 2005-10-12  Wim Taymans  <wim@fluendo.com>
14367
14368         * docs/design/part-states.txt:
14369         * tools/gst-launch.c: (main):
14370         Some doc updates.
14371         Revert non-intentional change.
14372
14373 2005-10-12  Wim Taymans  <wim@fluendo.com>
14374
14375         * check/gst/gstbin.c: (GST_START_TEST):
14376         * check/gst/gstelement.c: (GST_START_TEST):
14377         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14378         * check/gst/gstghostpad.c: (GST_START_TEST):
14379         * check/gst/gstpipeline.c: (GST_START_TEST):
14380         * check/pipelines/simple_launch_lines.c: (run_pipeline):
14381         * check/states/sinks.c: (GST_START_TEST):
14382         * gst/elements/gsttypefindelement.c: (stop_typefinding):
14383         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14384         (gst_bin_remove_func), (gst_bin_get_state_func),
14385         (gst_bin_recalc_state), (gst_bin_change_state_func),
14386         (bin_bus_handler):
14387         * gst/gstelement.c: (gst_element_get_state_func),
14388         (gst_element_get_state), (gst_element_abort_state),
14389         (gst_element_commit_state), (gst_element_set_state),
14390         (gst_element_change_state), (gst_element_change_state_func):
14391         * gst/gstelement.h:
14392         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14393         (gst_pipeline_provide_clock_func):
14394         * gst/gstutils.c: (gst_element_link_pads_filtered):
14395         * tools/gst-launch.c: (main):
14396         * tools/gst-typefind.c: (main):
14397         Use GstClockTime in _get_state() instead of GTimeVal.
14398         Remove old code in gstutils.c
14399
14400 2005-10-12  Andy Wingo  <wingo@pobox.com>
14401
14402         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14403         removed.
14404
14405         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14406         there is no task. Shouldn't affect any code, as nothing in our
14407         plugins checks this return value.
14408         (gst_pad_stop_task): Also take the stream lock if the pad has no
14409         task. Docs updated.
14410
14411 2005-10-12  Wim Taymans  <wim@fluendo.com>
14412
14413         * gst/gstpad.c: (pre_activate), (post_activate),
14414         (gst_pad_activate_pull), (gst_pad_activate_push):
14415         Cleanup activation code. Reset old state if
14416         activation failed.
14417
14418 2005-10-12  Wim Taymans  <wim@fluendo.com>
14419
14420         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14421         (gst_base_sink_change_state):
14422         No need to prerol after receiving EOS.
14423
14424         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14425         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14426         * gst/elements/gstidentity.c: (gst_identity_event):
14427         Print events more verbosely.
14428
14429 2005-10-12  Wim Taymans  <wim@fluendo.com>
14430
14431         * check/Makefile.am:
14432         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14433         * check/states/sinks2.c:
14434         Moved sinks2 testcode in sinks check.
14435
14436         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14437         (gst_bin_remove_func), (gst_bin_recalc_state),
14438         (gst_bin_change_state_func), (bin_bus_handler):
14439         Fix potential race condition when _get_state() iterated over an
14440         ASYNC element right before it posted a state completion.
14441
14442         * gst/gstclock.h:
14443         Do proper cast here.
14444
14445         * gst/gstevent.c: (gst_event_new_newsegment),
14446         (gst_event_parse_newsegment):
14447         A playback rate of 0.0 is not allowed.
14448
14449 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14450
14451         * win32/common/config.h:
14452         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14453         (_trewinddir), (_ttelldir), (_tseekdir):
14454         * win32/common/dirent.h:
14455         * win32/common/gtchar.h:
14456         * win32/common/libgstbase.def:
14457         * win32/common/libgstreamer.def:
14458         * win32/vs6/grammar.dsp:
14459         * win32/vs6/gst_inspect.dsp:
14460         * win32/vs6/gst_launch.dsp:
14461         * win32/vs6/gstreamer.dsw:
14462         * win32/vs6/libgstbase.dsp:
14463         * win32/vs6/libgstelements.dsp:
14464         * win32/vs6/libgstreamer.dsp:
14465           Visual Studio 6 project files, and a new common directory.
14466           Phear.
14467
14468 2005-10-11  Wim Taymans  <wim@fluendo.com>
14469
14470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14471         (gst_base_sink_do_sync), (gst_base_sink_query),
14472         (gst_base_sink_change_state):
14473         * gst/base/gstbasesink.h:
14474         Correctly parse newsegment info.
14475
14476 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14477
14478         * gst/gst.c: (init_post):
14479           split plugin paths correctly
14480
14481 2005-10-11  Wim Taymans  <wim@fluendo.com>
14482
14483         * check/gst/gstevent.c: (GST_START_TEST):
14484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14485         (gst_base_sink_change_state):
14486         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14487         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14488         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14489         * gst/gstevent.c: (gst_event_new_newsegment),
14490         (gst_event_parse_newsegment):
14491         * gst/gstevent.h:
14492         Added extra flag to newsegment for future API freeze.
14493         Updated check and base elements.
14494
14495 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14496
14497         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14498         (gst_collectpads_add_pad), (gst_collectpads_pop),
14499         (gst_collectpads_event), (gst_collectpads_chain):
14500         * gst/base/gstcollectpads.h: Handle EOS correctly.
14501
14502 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14503
14504         * tools/gst-launch.c: (main):
14505           more null protecting
14506
14507 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14508
14509         * gst/gst-i18n-lib.h:
14510           check for ENABLE_NLS, not GETTEXT_PACKAGE
14511         * gst/gstregistry.c: (gst_registry_add_plugin),
14512         (gst_registry_scan_path_level),
14513         (_gst_registry_remove_cache_plugins):
14514           protect possibly NULL strings
14515         * gst/parse/types.h:
14516           config.h already included before
14517         * tools/gst-inspect.c: (main):
14518           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14519           check for ENABLE_NLS, not GETTEXT_PACKAGE
14520         * tools/gst-launch.c: (main):
14521           check for ENABLE_NLS, not GETTEXT_PACKAGE
14522
14523 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14524
14525         * configure.ac:
14526           if we don't have glib, fail before testing 2.8
14527         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14528           fix a leak, should fix plugins-base testsuite
14529
14530 2005-10-11  Andy Wingo  <wingo@pobox.com>
14531
14532         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14533         take the mode we're going to as an arg. Go head and set the mode
14534         and flushing flags now, so that if the activate function starts a
14535         thread all the flags will be in the right state.
14536         (post_activate): Renamed also. Just handle making sure streaming
14537         finishes for the deactivation case, and setting the deactivated
14538         mode.
14539         (gst_pad_set_active): Complain loudly if deactivation fails.
14540         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14541         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14542         remove the terrible hack.
14543
14544 2005-10-11  Wim Taymans  <wim@fluendo.com>
14545
14546         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14547         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14548         (gst_bin_recalc_state), (gst_bin_change_state_func),
14549         (gst_bin_dispose), (bin_bus_handler):
14550         * gst/gstbin.h:
14551         Prepare to make current EOS message queue more generic.
14552         Fix some typos.
14553
14554         * gst/gstevent.c: (gst_event_new_newsegment),
14555         (gst_event_parse_newsegment):
14556         * gst/gstevent.h:
14557         Rename base to stream_time.
14558
14559         * gst/gstmessage.h:
14560         Fix typo in docs.
14561
14562 2005-10-11  Wim Taymans  <wim@fluendo.com>
14563
14564         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14565         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14566         (gst_bin_change_state_func), (bin_bus_handler):
14567         * gst/gstbin.h:
14568         Work on proper clock selection.
14569
14570 2005-10-11  Edward Hervey  <edward@fluendo.com>
14571
14572         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14573         * libs/gst/controller/gstcontroller.h:
14574         Added GList* version of _remove_properties() in order to be able to wrap
14575         it in bindings.
14576
14577 2005-10-11  Wim Taymans  <wim@fluendo.com>
14578
14579         * docs/design/part-states.txt:
14580         Some more docs.
14581
14582         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14583         (gst_bin_change_state_func), (bin_bus_handler):
14584         Doc updates. Don't distribute the same clock over and over again.
14585
14586         * gst/gstclock.c:
14587         * gst/gstclock.h:
14588         Doc updates.
14589
14590         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14591         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14592         (gst_pad_send_event):
14593         * gst/gstpad.h:
14594         Make probe emission threadsafe again.
14595         Register quarks and move _get_name() from utils.
14596         Doc updates.
14597
14598         * gst/gstpipeline.c: (gst_pipeline_class_init),
14599         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14600         Only redistribute the clock of it changed.
14601
14602         * gst/gstsystemclock.h:
14603         Doc updates. 
14604
14605         * gst/gstutils.c:
14606         * gst/gstutils.h:
14607         Moved the _flow_get_name() to GstPad.
14608
14609 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14610
14611         * check/gst-libs/gdp.c: (GST_START_TEST):
14612         * check/gst/gstcaps.c: (GST_START_TEST):
14613         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14614         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14615         (gst_dp_packet_from_caps):
14616           fix more valgrind warnings before turning up the heat
14617
14618 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14619
14620         * gst/parse/grammar.y:
14621           some cleanup before the hacking
14622
14623 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14624
14625         * gst/base/gstbasesrc.c: (gst_base_src_query):
14626           use conversions
14627         * gst/gstutils.c: (gst_guint64_to_gdouble),
14628         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14629         * gst/gstutils.h:
14630           externalize, basesrc uses it
14631           obviously the implementation needs testing
14632
14633 2005-10-10  Wim Taymans  <wim@fluendo.com>
14634
14635         * tests/sched/Makefile.am:
14636         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14637         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14638
14639 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14640
14641         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14642           apparently converting from guint64 to double is not implemented
14643           on MSVC
14644
14645 2005-10-10  Wim Taymans  <wim@fluendo.com>
14646
14647         * check/Makefile.am:
14648         * check/generic/states.c: (GST_START_TEST):
14649         * check/gst/gstbin.c: (GST_START_TEST):
14650         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14651         * check/states/sinks.c: (GST_START_TEST):
14652         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14653         (main):
14654         Check fixes, use API as stated in design docs, remove hacks.
14655
14656         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14657         (gst_base_sink_change_state):
14658         Catch stopping our task while we're shutting down.
14659
14660         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14661         (gst_bin_remove_func), (gst_bin_get_state_func),
14662         (gst_bin_recalc_state), (gst_bin_change_state_func),
14663         (bin_bus_handler):
14664         * gst/gstbin.h:
14665         * gst/gstelement.c: (gst_element_init),
14666         (gst_element_get_state_func), (gst_element_abort_state),
14667         (gst_element_commit_state), (gst_element_lost_state),
14668         (gst_element_set_state), (gst_element_change_state),
14669         (gst_element_change_state_func):
14670         * gst/gstelement.h:
14671         New state change algorithm (see #318116)
14672
14673         * gst/gstpipeline.c: (gst_pipeline_class_init),
14674         (gst_pipeline_init), (gst_pipeline_set_property),
14675         (gst_pipeline_get_property), (do_pipeline_seek),
14676         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14677         * gst/gstpipeline.h:
14678         Remove crude state change hacks.
14679
14680         * gst/gstutils.h:
14681         Remove crude hacks.
14682
14683         * tools/gst-launch.c: (main):
14684         Fixes for state change. Needs some more work to fully use the
14685         new stuff.
14686
14687 2005-10-10  Andy Wingo  <wingo@pobox.com>
14688
14689         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14690
14691         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14692         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14693         issue.
14694
14695 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14696
14697         * gst/gstiterator.c: (gst_iterator_new):
14698           Fix my previous commit: GTypes passed to gst_iterator_new()
14699           can be fundamental types.
14700
14701 2005-10-10  Wim Taymans  <wim@fluendo.com>
14702
14703         * gst/gstelement.c: (gst_element_iterate_pad_list),
14704         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14705         (gst_element_iterate_sink_pads):
14706         Use src/sink pads lists for the respective iterators instead
14707         of filtering.
14708
14709 2005-10-10  Andy Wingo  <wingo@pobox.com>
14710
14711         Merged in popt removal + GOption addition patch from Ronald, bug
14712         #169772.
14713
14714         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14715         GstElement macros around, remove popt-related symbols, add goption
14716         stuff.
14717
14718         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14719         
14720         * docs/gst/Makefile.am:
14721         * docs/libs/Makefile.am: No POPT_CFLAGS.
14722         
14723         * examples/manual/Makefile.am:
14724         * docs/manual/basics-init.xml: Doc updates with an example.
14725         
14726         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14727         (gst_init), (parse_one_option), (parse_goption_arg):
14728         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14729         bit of hand merging and debugging to get the GOption stuff working
14730         tho.
14731         
14732         * tests/Makefile.am:
14733         * tools/Makefile.am:
14734         * tools/gst-inspect.c: (main):
14735         * tools/gst-launch.c: (main):
14736         * tools/gst-run.c: (main):
14737         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14738
14739 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14740
14741         * gst/gstiterator.c: (gst_iterator_new):
14742           Add assertions to make sure passed GType is likely to really
14743           be a GType (as the compiler won't catch it if the size and
14744           GType arguments get mixed up, see #318447).
14745
14746 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14747
14748         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14749
14750         * gst/gstbin.c: (gst_bin_iterate_sorted):
14751           Pass GType and size arguments to gst_iterator_new() in the right
14752           order (maybe we should make _new() take the GType as first argument
14753           just like _new_list()?) (#318447).
14754           
14755
14756 2005-10-10  Wim Taymans  <wim@fluendo.com>
14757
14758         * gst/gstelement.c: (gst_element_finalize):
14759         And free the GStaticRecMutex too
14760
14761 2005-10-10  Andy Wingo  <wingo@pobox.com>
14762
14763         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14764         Allocate and free the mutex properly.
14765
14766         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14767         New macros.
14768         (GstElement): The state_lock is now recursive. Rebuild your
14769         plugins, suckers. Old macros adapted.
14770
14771         * docs/gst/gstreamer-sections.txt: Doc updates.
14772
14773         * gst/gstutils.h:
14774         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14775         (g_static_rec_cond_wait): Ported from state changes patch, while
14776         we wait on bug #317802 to be solved in a well-distributed GLib.
14777
14778         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14779         gst_element_change_state, variable name changes.
14780         (gst_element_change_state): Split out of gst_element_set_state in
14781         preparation for the state change merge. Doesn't pay attention to
14782         the 'transition' argument.
14783         (gst_element_set_state): Updates, hopefully purely cosmetic.
14784         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14785         state change patch.
14786         (gst_element_get_state_func): Renamed from get_state, cosmetic
14787         changes.
14788
14789 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14790
14791         * gst/elements/gstelements.c:
14792         * win32/GStreamer.vcproj:
14793         * win32/config.h:
14794         * win32/dirent.c: (_tseekdir):
14795         * win32/gst-inspect.vcproj:
14796         * win32/gst-launch.vcproj:
14797         * win32/gstconfig.h:
14798         * win32/gstelements.vcproj:
14799         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14800         * win32/gstreamer.def:
14801         * win32/msvc71.sln:
14802           updates for the win32 build (patch from Sebastien Moutte)
14803
14804 2005-10-10  Andy Wingo  <wingo@pobox.com>
14805
14806         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14807         gst_bin_get_state, cleaned up (but no logic changes).
14808         (bin_element_is_sink): Comment updates.
14809         (sink_iterator_filter): Remove needless cast.
14810         (gst_bin_iterate_sinks): Doc update.
14811         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14812         cleaned up (but no logic changes).
14813
14814         * check/states/sinks.c (test_src_sink): Cleanups from the state
14815         change patch.
14816         (test_livesrc_sink): Sync on the state.
14817
14818         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14819         the state change patch.
14820
14821         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14822         change patch.
14823
14824         * check/gst/gstbin.c: Merge in some style fixes and additional
14825         checks from Wim's state change patch.
14826
14827 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14828
14829         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14830         (gst_type_find_helper):
14831           Check whether we have the requested data already in our list of
14832           cached buffers before pulling a new buffer; also make the buffer
14833           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14834
14835 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14836
14837         * gst/gstcaps.c:
14838         * gst/gstevent.c:
14839           doc updates
14840         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14841           don't use long long, it's not portable.  Replacing with
14842           gint64 seems to work; let's hope no skeletons fall out of the closet.
14843
14844 2005-10-10  Andy Wingo  <wingo@pobox.com>
14845
14846         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14847
14848 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14849
14850         * docs/gst/gstreamer-sections.txt:
14851         * gst/gstevent.c:
14852         * gst/gstevent.h:
14853         * gst/gstinfo.c:
14854         * gst/gstinfo.h:
14855         * gst/gstmessage.c: (gst_message_parse_state_changed):
14856         * gst/gstpad.c:
14857         * gst/gstpad.h:
14858           more docs, fix compilation
14859
14860 2005-10-09  Philippe Khalaf <burger@speedy.org>
14861         * gst/gstmessage.c:
14862           Fixed a few forgotten variables on previous commit
14863
14864 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14865
14866         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14867           Fix evil typefind crasher: getrange() might return a short
14868           buffer at the end of a file, but gst_type_find_peek() must
14869           either return the full data as requested or NULL, but
14870           never a short buffer.
14871
14872 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14873
14874         * gst/gstmessage.c: (gst_message_new_state_changed),
14875         (gst_message_parse_state_changed):
14876         * gst/gstmessage.h:
14877           don't use "new", it's a C++ keyword
14878
14879 2005-10-08  Wim Taymans  <wim@fluendo.com>
14880
14881         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14882         * gst/gstelement.c: (gst_element_post_message):
14883         * gst/gstpipeline.c: (gst_pipeline_change_state):
14884         Small docs and debug updates.
14885
14886 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14887
14888         * docs/gst/gstreamer-sections.txt:
14889         * gst/gstelementfactory.c:
14890         * gst/gstevent.c:
14891         * gst/gsttaglist.c:
14892           more docs
14893
14894 2005-10-08  Wim Taymans  <wim@fluendo.com>
14895
14896         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14897         (gst_bin_dispose), (bin_bus_handler):
14898         Fix typos, add comments.
14899         Clear EOS list when going to PAUSED from any direction and do it
14900         in a threadsafe way.
14901         Get base time in a threadsafe way too.
14902         Fix confusing debug in the change_state function.
14903         Various other small cleanups.
14904         
14905         * gst/gstelement.c: (gst_element_post_message):
14906         Fix very verbose bus posting code.
14907
14908         * gst/gstpipeline.c: (gst_pipeline_class_init),
14909         (gst_pipeline_set_property), (gst_pipeline_get_property),
14910         (gst_pipeline_change_state):
14911         Small ARG_ -> PROP_ cleanup
14912
14913 2005-10-08  Wim Taymans  <wim@fluendo.com>
14914
14915         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14916         Do a less CPU demanding EOS check because we can.
14917
14918 2005-10-08  Wim Taymans  <wim@fluendo.com>
14919
14920         * libs/gst/dataprotocol/dataprotocol.c:
14921         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14922         (gst_dp_packet_from_event):
14923         * libs/gst/dataprotocol/dataprotocol.h:
14924         * libs/gst/dataprotocol/dp-private.h:
14925         It's about time we bump the version number.
14926         Since event types don't fit in the guint8 anymore describing
14927         the payload type, make payload type 16 bits wide.
14928
14929 2005-10-08  Wim Taymans  <wim@fluendo.com>
14930
14931         * docs/design/part-TODO.txt:
14932         * docs/design/part-clocks.txt:
14933         * docs/design/part-events.txt:
14934         * docs/design/part-gstbin.txt:
14935         * docs/design/part-gstelement.txt:
14936         * docs/design/part-gstpipeline.txt:
14937         * docs/design/part-live-source.txt:
14938         * docs/design/part-messages.txt:
14939         * docs/design/part-overview.txt:
14940         * docs/design/part-states.txt:
14941         Many doc updates.
14942
14943 2005-10-08  Wim Taymans  <wim@fluendo.com>
14944
14945         * gst/gstevent.c:
14946         * gst/gstevent.h:
14947         Fix event quark registration.
14948         Add some space between events so we can insert them in the
14949         right groups.
14950
14951 2005-10-08  Wim Taymans  <wim@fluendo.com>
14952
14953         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14954         (gst_base_sink_handle_buffer):
14955         Better log message.
14956
14957         * gst/gstbus.h:
14958         * gst/gstelement.h:
14959         More docs.
14960
14961         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14962         (gst_queue_set_property), (gst_queue_get_property):
14963         * gst/gstqueue.h:
14964         Remove old unused properties.
14965
14966 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14967         * docs/gst/gstreamer-sections.txt:
14968         * gst/gstmessage.c:
14969         * gst/gstmessage.h:
14970         * gst/gstminiobject.c:
14971         * gst/gstminiobject.h:
14972         * gst/gstobject.h:
14973         * gst/gstpad.h:
14974         * gst/gstutils.h:
14975           lots of new docs and doc fixes
14976
14977 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14978
14979         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14980         * gst/gstplugin.h:
14981         * gst/gstregistry.c: (gst_registry_lookup_locked),
14982         (gst_registry_scan_path_level):
14983         * gst/gstregistryxml.c: (load_plugin):
14984           Only ever load one plugin for a given plugin basename.
14985           This ensures correct overriding of GST_PLUGIN_PATH over
14986           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14987           system installed plugins.
14988
14989 2005-10-08  Wim Taymans  <wim@fluendo.com>
14990
14991         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14992         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14993         Prepare for doing QOS.
14994
14995 2005-10-08  Wim Taymans  <wim@fluendo.com>
14996
14997         * check/gst/gstbin.c: (GST_START_TEST):
14998         * check/pipelines/cleanup.c: (GST_START_TEST):
14999         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15000         Allow new clock message too.
15001
15002 2005-10-08  Wim Taymans  <wim@fluendo.com>
15003
15004         * gst/gstmessage.c: (gst_message_new_error),
15005         (gst_message_new_warning), (gst_message_new_tag),
15006         (gst_message_new_state_changed), (gst_message_new_clock_provide),
15007         (gst_message_new_clock_lost), (gst_message_new_new_clock),
15008         (gst_message_new_segment_start), (gst_message_new_segment_done),
15009         (gst_message_parse_state_changed),
15010         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15011         (gst_message_parse_new_clock):
15012         * gst/gstmessage.h:
15013         Also carry the clock in question.
15014
15015 2005-10-08  Wim Taymans  <wim@fluendo.com>
15016
15017         * gst/gstmessage.c: (gst_message_new_custom),
15018         (gst_message_new_eos), (gst_message_new_error),
15019         (gst_message_new_warning), (gst_message_new_tag),
15020         (gst_message_new_state_changed), (gst_message_new_clock_provide),
15021         (gst_message_new_new_clock), (gst_message_new_segment_start),
15022         (gst_message_new_segment_done), (gst_message_parse_state_changed),
15023         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15024         * gst/gstmessage.h:
15025         Clean up.
15026         Added clock related messages.
15027
15028         * gst/gstpipeline.c: (gst_pipeline_change_state):
15029         Post message when the clock changed.
15030
15031         * tools/gst-launch.c: (event_loop):
15032         Print new clock.
15033
15034 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
15035
15036         * tools/gst-inspect.c: (print_element_properties_info):
15037           Can't pass NULL strings to g_print() on windows.
15038
15039 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15040
15041         * docs/Makefile.am:
15042         * docs/gst/Makefile.am:
15043         * docs/gst/gstreamer-docs.sgml:
15044         * docs/gst/running.xml:
15045         * docs/version.entities.in:
15046           add a chapter on running GStreamer.
15047           document GST_DEBUG and GST_PLUGIN* env vars
15048
15049 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15050
15051         * Makefile.am:
15052           remove include dir
15053         * configure.ac:
15054           remove PLUGINS_BUILDDIR stuff
15055         * gst/gst.c: (init_post):
15056           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15057         * idiottest.mak:
15058           remove, it was condescending and not needed
15059
15060 2005-10-08  Wim Taymans  <wim@fluendo.com>
15061
15062         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15063         (gst_base_sink_handle_object), (gst_base_sink_event),
15064         (gst_base_sink_wait), (gst_base_sink_handle_event),
15065         (gst_base_sink_change_state):
15066         * gst/base/gstbasesink.h:
15067         Repost EOS message while going to PLAYING if still EOS.
15068         Make sure that when receiving a FLUSH_START we don't attempt
15069         to sync on the clock anymore.
15070
15071 2005-10-08  Wim Taymans  <wim@fluendo.com>
15072
15073         * tools/gst-launch.c: (event_loop):
15074         Better message printout.
15075
15076 2005-10-08  Wim Taymans  <wim@fluendo.com>
15077
15078         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15079         (gst_bin_child_proxy_get_children_count):
15080         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15081         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15082         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15083         (gst_child_proxy_set_valist):
15084         * gst/parse/grammar.y:
15085         Make ChildProxy threadsafe and fix mem leaks.
15086
15087 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15088
15089         * gst/gst.c: (init_post):
15090           debug the GST_PLUGIN_ env vars
15091
15092 2005-10-08  Wim Taymans  <wim@fluendo.com>
15093
15094         * check/gst/gstbin.c: (GST_START_TEST):
15095         * check/gst/gstmessage.c: (GST_START_TEST):
15096         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15097         * gst/gstelement.c: (gst_element_commit_state),
15098         (gst_element_lost_state):
15099         * gst/gstmessage.c: (gst_message_new_state_changed),
15100         (gst_message_parse_state_changed):
15101         * gst/gstmessage.h:
15102         * tools/gst-launch.c: (event_loop):
15103         Added extra field to STATE_CHANGE message with the pending
15104         state, which will be different from the new state soon.
15105
15106 2005-10-08  Wim Taymans  <wim@fluendo.com>
15107
15108         * gst/gstbus.c: (gst_bus_pop):
15109         * gst/gstclock.c:
15110         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15111         Small cleanups and doc updates.
15112
15113 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15114
15115         * gst/gst.c: (init_pre):
15116         * gst/gstbin.c: (gst_bin_add_func):
15117           log distributing clocks and base time
15118         * gst/gstregistry.c: (gst_registry_add_plugin),
15119         (gst_registry_scan_path_level), (gst_registry_scan_path):
15120           clean up the debugging output a little
15121         * gst/gstutils.c: (gst_element_state_get_name):
15122           warn about a memleak (I've actually seen this be used, though
15123           it was probably a bug)
15124
15125 2005-10-07  Wim Taymans  <wim@fluendo.com>
15126
15127         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15128         (gst_base_src_init), (gst_base_src_default_newsegment),
15129         (gst_base_src_newsegment), (gst_base_src_do_seek),
15130         (gst_base_src_loop), (gst_base_src_start):
15131         * gst/base/gstbasesrc.h:
15132         Make the newsegment event customizable by subclasses.
15133
15134 2005-10-07  Wim Taymans  <wim@fluendo.com>
15135
15136         * gst/gstevent.c: (gst_event_new_buffersize),
15137         (gst_event_parse_buffersize):
15138         * gst/gstevent.h:
15139         New event for future idea.
15140
15141 2005-10-07  Andy Wingo  <wingo@pobox.com>
15142
15143         * gst/gstelement.c (gst_element_post_message): Doc update.
15144
15145         * docs/gst/gstreamer-sections.txt: Update.
15146
15147         * gst/gstmessage.c (gst_message_new_application): Made into a
15148         function like honest API calls.
15149         (gst_message_new_element): New message type.
15150
15151         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15152
15153         * check/elements/fakesrc.c (test_no_preroll): New check, checks
15154         that setting a live fakesrc to PAUSED returns NO_PREROLL both
15155         times.
15156
15157         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15158         NO_PREROLL from gst_element_change_state to fall through.
15159
15160 2005-10-07  Wim Taymans  <wim@fluendo.com>
15161
15162         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15163         (gst_ghost_pad_do_activate_push):
15164         Activating a ghostpad with no internal pad in push mode
15165         is ok.
15166
15167 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15168
15169         * gst/gstobject.h:
15170           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15171           Fixes compilation on Windows.
15172
15173 2005-10-07  Michael Smith <msmith@fluendo.com>
15174
15175         * tools/gst-inspect.c:
15176           Print out feature and plugin count at the end when printing out
15177           all features.
15178
15179 2005-10-04  Michael Smith <msmith@fluendo.com>
15180
15181         * gst/gsterror.c: (_gst_stream_errors_init):
15182           Add another error string used in a few existing plugins.
15183
15184         * gst/gstplugin.c:
15185         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15186         * tools/gst-inspect.c: (print_element_info):
15187           When a feature disappears from a plugin (and the feature exists in
15188           the cached registry file), things went horribly wrong. This isn't a
15189           complete fix, we should actually be removing the 'missing' features
15190           from the features list when we load the actual plugin. That's not
15191           yet implemented. 
15192
15193 2005-10-04  Johan Dahlin  <johan@gnome.org>
15194
15195         * check/gst/gstiterator.c: (GST_START_TEST):
15196         * gst/gstbin.c: (gst_bin_iterate_elements),
15197         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15198         * gst/gstelement.c: (gst_element_iterate_pads):
15199         * gst/gstformat.c: (gst_format_iterate_definitions):
15200         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15201         (gst_iterator_new_list), (gst_iterator_filter):
15202         * gst/gstiterator.h:
15203         * gst/gstquery.c: (gst_query_type_iterate_definitions):
15204         Add a GType to GstIterator, update callsites and tests.
15205
15206 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15207
15208         * gst/gstpad.c: (gst_pad_event_default_dispatch):
15209           give events a chance to be handled by event probes when the pad
15210           is not linked
15211
15212 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15213
15214         * gst/gstevent.c: (gst_event_type_get_name),
15215         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15216         * gst/gstevent.h:
15217           add string representations for event types
15218
15219 2005-10-06  Wim Taymans  <wim@fluendo.com>
15220
15221         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15222         Don't use NULL pointers.
15223
15224 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15225
15226         * gst/gst_private.h:
15227         * gst/gstbus.c:
15228         * gst/gstelement.c:
15229         * gst/gstinfo.c:
15230         * gst/gstpluginfeature.c:
15231           widen the debug category in output to fit the biggest one we have
15232           add a bus category and use it
15233           play with the colors
15234           fix up some categories
15235
15236 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15237
15238         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15239           add push activation of sink ghost pads.
15240           Andye, please verify
15241
15242 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15243
15244         * gst/gstutils.c: (gst_element_link_pads):
15245           fix a bug in the case where neither element has a pad
15246         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15247           add a test for that case
15248
15249 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15250
15251         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15252           emit have-data before checking for peers.  This allows
15253           for probe handlers to connect elements.  This helps autopluggers.
15254         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15255         (gst_pad_suite):
15256           add six checks, linked/unlinked with no/true/false probe
15257
15258 2005-10-04  Wim Taymans  <wim@fluendo.com>
15259
15260         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15261         (gst_fake_sink_event), (gst_fake_sink_preroll),
15262         (gst_fake_sink_render), (gst_fake_sink_change_state):
15263         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15264         (gst_fake_src_get_property), (gst_fake_src_create),
15265         (gst_fake_src_stop):
15266         * gst/elements/gstidentity.c: (gst_identity_stop):
15267         Protect last_message with lock.
15268
15269 2005-10-04  Edward Hervey  <edward@fluendo.com>
15270
15271         * gst/gstformat.h: 
15272         Added precision in the comments for GST_FORMAT_DEFAULT
15273
15274 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * tools/gst-launch.c: (main):
15277           Don't try to run erroneous pipelines.
15278
15279 2005-10-04  Julien MOUTTE  <julien@moutte.net>
15280
15281         * gst/gstbus.c: We don't need this header.
15282
15283 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15284
15285         * configure.ac:
15286           back to development
15287
15288 === release 0.9.3 ===
15289
15290 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15291
15292         * README:
15293         * configure.ac:
15294           Releasing 0.9.3, "Unregistered"
15295
15296 2005-10-03  Andy Wingo  <wingo@pobox.com>
15297
15298         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15299         whereby calling a pad's activatepush() function can start a thread
15300         that starts to push or pull before the pad gets the FLUSHING flag
15301         unset. Hack around it by holding the stream lock until the flag is
15302         set. Need to replace this with a proper solution. Together with
15303         the ghost pad fixes, this fixes mp3 playing/tagreading.
15304
15305         * docs/design/part-gstghostpad.txt: Add a note about activation of
15306         proxy pads outside of ghost pads.
15307
15308         * gst/gstghostpad.c: Implement the ghost pad activation design.
15309
15310 2005-10-02  Andy Wingo  <wingo@pobox.com>
15311
15312         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15313         It is volatile, after all.
15314
15315         * docs/design/part-gstghostpad.txt: Flesh out activation with
15316         ghost pads.
15317
15318         * gst/base/gstbasesrc.c (gst_base_src_init): Use
15319         GST_DEBUG_FUNCPTR.
15320
15321 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
15322
15323         * configure.ac:
15324           Fix (unused) AM_CONDITIONAL tests.
15325
15326 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
15327
15328         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * gst/gstutils.c: (gst_pad_query_convert):
15331           Add assertion that makes sure src_val is >=0, just like
15332           gst_query_new_convert() has. (#315895)
15333
15334 2005-09-30  Edward Hervey  <edward@fluendo.com>
15335
15336         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15337         Let's not iterate pads we're not interested in, it avoids getting 
15338         sky-high refcounts on sinkpad.
15339
15340 2005-09-30  Wim Taymans  <wim@fluendo.com>
15341
15342         * gst/gstelement.c: (gst_element_set_state),
15343         (gst_element_change_state):
15344         Small tweak, element in ASYNC remains ASYNC.
15345
15346 2005-09-30  Wim Taymans  <wim@fluendo.com>
15347
15348         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15349         Only error is an error.
15350
15351         * gst/gstbin.c: (gst_bin_change_state):
15352         Better debugging.
15353
15354         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15355         Also call pad_block in pad alloc.
15356
15357         * gst/gstutils.c: (gst_flow_get_name):
15358         Better debugging.
15359
15360 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15361
15362         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15363         (gst_base_src_get_range):
15364           Fix documentation typos. Add some more debug info.
15365
15366 2005-09-29  David Schleef  <ds@schleef.org>
15367
15368         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15369           more end-user friendly.
15370         * tools/gst-inspect.c: (main): Check if command-line argument is
15371           a file and attempt to load that file as a plugin.
15372
15373 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15374
15375         * check/gst/gstbin.c:
15376         * check/states/sinks.c:
15377           fix tests for the new warning
15378         * check/gst/gstpipeline.c:
15379           add a test for pipeline and bus interaction
15380         * gst/gstelement.c:
15381           elements should be NULL if they get disposed; add a warning if not
15382
15383 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15384
15385         * gst/gstobject.c:
15386           for 2.6 refcounting, make debug log more correct by printing
15387           the actual refcounts at the time of swap (Wim)
15388
15389 2005-09-29  Andy Wingo  <wingo@pobox.com>
15390
15391         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15392         removes signal watches previously added via
15393         gst_bus_add_signal_watch.
15394         (gst_bus_add_signal_watch): Don't return the source id, just store
15395         it on the bus if there wasn't an id already.
15396
15397         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15398         add_signal_watch and remove_signal_watch.
15399
15400 2005-09-29  Edward Hervey  <edward@fluendo.com>
15401
15402         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
15403         Better if we actually iterate the list :)
15404
15405 2005-09-29  Wim Taymans  <wim@fluendo.com>
15406
15407         * check/gst/gstbin.c: (GST_START_TEST):
15408         Change for new bus API.
15409
15410         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15411         (send_messages), (GST_START_TEST), (gstbus_suite):
15412         Change for new bus signal API.
15413
15414         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15415         (gst_bus_source_prepare), (gst_bus_source_check),
15416         (gst_bus_create_watch), (gst_bus_add_watch_full),
15417         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15418         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15419         * gst/gstbus.h:
15420         Remove support for multiple GSources operating on different
15421         message types as it is too complex and unneeded when using
15422         signals.
15423         Added support for receiving signals from the bus.
15424
15425 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15426
15427         * docs/libs/tmpl/gstdataprotocol.sgml:
15428         * docs/manual/advanced-dataaccess.xml:
15429         * gst/elements/gstcapsfilter.c:
15430         * gst/gstutils.c:
15431           rename filter-caps to caps property
15432
15433 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15434
15435         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15436           More robust fraction string parsing.
15437
15438         * docs/pwg/appendix-porting.xml:
15439           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15440
15441 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15442
15443         * gst/gstcaps.c: (gst_caps_do_simplify):
15444           Thou shalt not free a structure and then continue using it
15445           in the next loop iteration.
15446
15447         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15448         (gst_caps_suite):
15449           Add test case for caps simplification.
15450
15451 2005-09-29  Wim Taymans  <wim@fluendo.com>
15452
15453         * check/gst/gstbin.c: (GST_START_TEST):
15454         Oops.
15455
15456 2005-09-29  Wim Taymans  <wim@fluendo.com>
15457
15458         * check/gst/gstbin.c: (GST_START_TEST):
15459         Add bus to bin.
15460
15461         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15462         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15463         (find_element), (gst_bin_sort_iterator_next),
15464         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15465         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15466         (gst_bin_change_state), (gst_bin_dispose):
15467         A bin does not have a bus, it gets the bus from the parent.
15468
15469         * gst/gstelement.c: (gst_element_requires_clock),
15470         (gst_element_provides_clock), (gst_element_is_indexable),
15471         (gst_element_is_locked_state), (gst_element_change_state),
15472         (gst_element_set_bus_func):
15473         Small cleanups.
15474
15475         * gst/gstpipeline.c: (gst_pipeline_class_init),
15476         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15477         The pipeline provides a bus.
15478
15479 2005-09-28  Johan Dahlin  <johan@gnome.org>
15480
15481         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15482         gst_structure_get_enum instead of gst_structure_get_int
15483
15484         * gst/gststructure.c (gst_structure_get_enum): Impl.
15485
15486         * gst/gststructure.h (gst_structure_get_enum): Add
15487
15488         * docs/gst/gstreamer-sections.txt: Ditto
15489
15490         * gst/gstmessage.c (gst_message_new_state_changed): Use
15491         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15492         which does introspection.
15493         Reviewed by Christian Schaller
15494
15495 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15496
15497         * gst/gstinfo.c: (gst_debug_log_default):
15498           don't do dummy g_strdup()s
15499         * libs/gst/controller/gstcontroller.c:
15500         (on_object_controlled_property_changed),
15501         (gst_controlled_property_new), (gst_controller_new_valist),
15502         (gst_controller_new_list),
15503         (gst_controller_remove_properties_valist), (gst_controller_set),
15504         (gst_controller_get), (gst_controller_sync_values),
15505         (gst_controller_get_value_array), (_gst_controller_class_init),
15506         (gst_controller_get_type):
15507         * libs/gst/controller/gstcontroller.h:
15508         * libs/gst/controller/gstinterpolation.c:
15509         (gst_controlled_property_find_timed_value_node):
15510           convert // to /**/ comments
15511
15512 2005-09-28  Wim Taymans  <wim@fluendo.com>
15513
15514         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15515         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15516         (gst_bus_sync_signal_handler):
15517         * gst/gstbus.h:
15518         Added async-message and sync-message signals to the bus.
15519         Added helper BusFunc to emit signals for all posted messages.
15520
15521         * gst/gstmessage.c: (gst_message_type_get_name),
15522         (gst_message_type_to_quark), (gst_message_get_type):
15523         * gst/gstmessage.h:
15524         Register quarks for message names.
15525
15526 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15527
15528         * docs/libs/gstreamer-libs-sections.txt:
15529         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15530         (gst_controller_new_list):
15531         * libs/gst/controller/gstcontroller.h:
15532           added another constructor for language bindings
15533
15534 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15535
15536         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15537           add another check
15538         * gst/gstbus.c:
15539           add some doc
15540         * gst/gstinfo.c: (_gst_debug_init):
15541           slightly more readable color for refcount debugging
15542
15543 2005-09-28  Wim Taymans  <wim@fluendo.com>
15544
15545         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15546         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15547         (find_element), (gst_bin_sort_iterator_next),
15548         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15549         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15550         (gst_bin_change_state), (gst_bin_dispose):
15551         Small doc fixes. get_clock -> provide_clock.
15552
15553         * gst/gstelement.c: (gst_element_class_init),
15554         (gst_element_provides_clock), (gst_element_provide_clock),
15555         (gst_element_get_clock), (gst_element_commit_state),
15556         (gst_element_lost_state):
15557         * gst/gstelement.h:
15558         Make get/set_clock() symetric. Add provide_clock vmethod since
15559         that is actually what this function does.
15560
15561         * gst/gstpipeline.c: (gst_pipeline_class_init),
15562         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15563         (gst_pipeline_get_clock):
15564         get_clock -> provide_clock.
15565
15566 2005-09-28  Andy Wingo  <wingo@pobox.com>
15567
15568         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15569         lieu of real docs...
15570
15571         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15572
15573 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15574
15575         * gst/elements/gstcapsfilter.c:
15576         * gst/elements/gstfakesink.c:
15577         * gst/elements/gstfakesrc.c:
15578         * gst/elements/gstfdsink.c:
15579         * gst/elements/gstfdsrc.c:
15580         * gst/elements/gstfilesink.c:
15581         * gst/elements/gstfilesrc.c:
15582         * gst/elements/gstidentity.c:
15583         * gst/elements/gsttee.c:
15584         * gst/elements/gsttypefindelement.c:
15585           Make element details static.
15586
15587 2005-09-28  Wim Taymans  <wim@fluendo.com>
15588
15589         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15590         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15591         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15592         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15593         (gst_bin_change_state), (gst_bin_dispose):
15594         Some documentation updates.
15595         Clean up dispose handlers.
15596
15597         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15598         * gst/gstpad.c: (gst_pad_dispose):
15599         Clean up dispose handler.
15600
15601         * gst/gstpipeline.c: (gst_pipeline_change_state):
15602         Removed spurious UNLOCK.
15603
15604 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15605
15606         * docs/gst/gstreamer-sections.txt:
15607         * gst/base/gstbasesrc.h:
15608         * gst/gstelement.h:
15609         * gst/gstevent.h:
15610         * gst/gstobject.h:
15611         * gst/gstpad.h:
15612         * gst/gstpipeline.c:
15613         * gst/gstpipeline.h:
15614         * gst/gstutils.h:
15615         * gst/gstxml.h:
15616           added two new functions to the docs
15617                 documents all undocumented GstXXXFlags
15618                 completed some incomplete docs 
15619
15620 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15621
15622         * gst/gstbin.c: (gst_bin_dispose):
15623         * gst/gstelement.c: (gst_element_dispose):
15624           remove now useless and leaky resurrection code in dispose
15625         * gst/base/gstbasesrc.c: (gst_base_src_init):
15626         * gst/gstelementfactory.c: (gst_element_factory_create):
15627         * gst/gstobject.c: (gst_object_set_parent):
15628           add some debugging
15629
15630 2005-09-27  Wim Taymans  <wim@fluendo.com>
15631
15632         * docs/design/part-TODO.txt:
15633         Update TODO.
15634
15635         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15636         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15637         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15638         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15639         (gst_bin_change_state):
15640         * gst/gstelement.h:
15641         Remove element variable, we keep element info in the iterator now.
15642
15643 2005-09-27  Andy Wingo  <wingo@pobox.com>
15644
15645         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15646         values.
15647
15648 2005-09-27  Wim Taymans  <wim@fluendo.com>
15649
15650         * check/gst/gstbin.c: (GST_START_TEST):
15651         Enable check that works now.
15652
15653         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15654         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15655         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15656         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15657         (gst_bin_change_state):
15658         * gst/gstbin.h:
15659         Redid the state change algorithm using a topological sort algo.
15660         Handles all cases correctly.
15661         Exposed iterator for state change order.
15662
15663         * gst/gstelement.h:
15664         Temp storage for state changes. Need to get rid of this soon.
15665
15666 2005-09-27  Wim Taymans  <wim@fluendo.com>
15667
15668         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15669         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15670         (link_fold_func), (gst_pad_proxy_setcaps):
15671         Leak fixes, the fold functions need to unref the passed object and
15672         _get_parent_*() returns ref to parent.
15673
15674 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15675
15676         * check/gst/gstbuffer.c: (test_make_writable):
15677           Plug leak in test case and fix 'make check-valgrind'
15678
15679 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15680
15681         * gst/gstbuffer.c: (gst_subbuffer_init):
15682           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15683           works correctly in all circumstances (we could have just copied
15684           the parent buffer's readonly flag, but conceptually it seems
15685           cleaner to mark all subbuffers as read-only). (based on patch
15686           by Alessandro Decina, #314710).
15687         
15688         * check/gst/gstbuffer.c: (create_read_only_buffer),
15689         (test_make_writable), (test_subbuffer_make_writable),
15690         (gst_test_suite):
15691           Add some tests for gst_buffer_make_writable().
15692
15693 2005-09-27  Wim Taymans  <wim@fluendo.com>
15694
15695         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15696         use gst_object_has_ancestor().
15697
15698         * gst/gstobject.c: (gst_object_has_ancestor):
15699         * gst/gstobject.h:
15700         gst_object_has_ancestor() copied from gstbin.c as it is a
15701         useful function.
15702
15703         * tests/instantiate/create.c: (create_all_elements):
15704         * tests/lat.c: (handoff_src), (handoff_sink):
15705         * tests/sched/runxml.c: (main):
15706         * tests/seeking/seeking1.c: (main):
15707         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15708         (main):
15709         Fix compilation of some tests.
15710
15711 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15712
15713         * gst/gsterror.h:
15714           Remove comment. GST_TYPE_G_ERROR is here to stay,
15715           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15716           (#316961, #300610).
15717
15718 2005-09-26  Wim Taymans  <wim@fluendo.com>
15719
15720         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15721         Added check that shows error in state change order.
15722
15723 2005-09-26  Wim Taymans  <wim@fluendo.com>
15724
15725         * gst/gstbin.c: (gst_bin_change_state):
15726         Make state change function use 3 queues again, we were
15727         adding elements in the wrong order.
15728
15729         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15730         Some debug info,
15731
15732         * gst/gstpad.c: (gst_pad_dispose):
15733         Added some debug info first.
15734
15735 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15736
15737         * docs/design/draft-push-pull.txt:
15738         * docs/design/part-events.txt:
15739         * docs/design/part-overview.txt:
15740         * docs/design/part-scheduling.txt:
15741           Replace all _pull_region() with _pull_range()
15742           
15743 2005-09-26  Andy Wingo  <wingo@pobox.com>
15744
15745         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15746
15747         * check/gst-libs/controller.c: Update for controller api change.
15748
15749         * configure.ac: 
15750         * tests/Makefile.am:
15751         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15752         over by GLib bug 118439.
15753         
15754         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15755         routines to a function.
15756
15757         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15758
15759         * libs/gst/controller/gsthelper.c:
15760         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15761         (gst_object_sync_values): Renamed from sink_values. Ugh.
15762
15763         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15764
15765         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15766         Renamed from controller_key, as it is exported.
15767
15768         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15769
15770 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15771
15772         * gst/Makefile.am:
15773         * gst/gst.h:
15774         * gst/gstpad.h:
15775         * gst/gstpadtemplate.h:
15776         * gst/gstquery.c:
15777         * gst/gstquery.h:
15778         * gst/gstqueryutils.c:
15779         * gst/gstqueryutils.h:
15780           remove queryutils headers after moving the two used functions
15781           to gstquery.  also fixes build problem for gstsiddec
15782
15783 2005-09-26  Michael Smith <msmith@fluendo.com>
15784
15785         * tools/gst-launch.1.in:
15786         Correct documentation in manpage of debug syntax
15787
15788 2005-09-26  Wim Taymans  <wim@fluendo.com>
15789
15790         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15791         (gst_base_src_is_seekable), (gst_base_src_change_state):
15792         Some more debugging info.
15793
15794 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15795
15796         * docs/gst/gstreamer-sections.txt:
15797         * gst/base/gstbasetransform.h:
15798         * gst/gstindex.h:
15799           added more docs
15800
15801 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15802
15803         * docs/gst/.cvsignore:
15804         * docs/gst/tmpl/.cvsignore:
15805         * docs/gst/tmpl/gstpipeline.sgml:
15806         * docs/gst/tmpl/gstplugin.sgml:
15807         * gst/gstpipeline.c:
15808         * gst/gstplugin.c:
15809         * gst/gstplugin.h:
15810           inlined the last two docs files
15811           removed the tmpl directory from cvs (no more conflicts here!)
15812
15813 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15814
15815         * docs/gst/gstreamer-sections.txt:
15816         * docs/gst/tmpl/.cvsignore:
15817         * docs/gst/tmpl/gstpad.sgml:
15818         * docs/gst/tmpl/gstpadtemplate.sgml:
15819         * gst/Makefile.am:
15820         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15821         (gst_pad_finalize), (gst_pad_set_pad_template):
15822         * gst/gstpad.h:
15823         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15824         (gst_pad_template_class_init), (gst_pad_template_init),
15825         (gst_pad_template_dispose), (name_is_valid),
15826         (gst_static_pad_template_get), (gst_pad_template_new),
15827         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15828         (gst_pad_template_pad_created):
15829         * gst/gstpadtemplate.h:
15830           inlined two more docs
15831           factored gstpadtemplate out of gstpad
15832
15833 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15834
15835         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15836         (test_children_state_change_order_semi_sink):
15837           Fix test case: we can't rely on a fixed state change order when
15838           going from READY => PAUSED because the sink might commit its 
15839           new state first when the first buffer created by the source 
15840           reaches the sink before the source has finished its change state.
15841           (Test case still fails at times, see #316856, comment 5 onwards)
15842
15843 2005-09-24  Wim Taymans  <wim@fluendo.com>
15844
15845         * docs/design/part-events.txt:
15846         * docs/design/part-gstbus.txt:
15847         * docs/design/part-gstpipeline.txt:
15848         * docs/design/part-messages.txt:
15849         * docs/design/part-overview.txt:
15850         * docs/design/part-segments.txt:
15851         * gst/gstbin.c:
15852         * gst/gstbuffer.c:
15853         * gst/gstclock.c:
15854         * gst/gstelement.c:
15855         * gst/gstevent.c:
15856         * gst/gstfilter.c:
15857         * gst/gstiterator.c:
15858         Various documentation updates.
15859
15860 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15861
15862         * gst/gstclock.h:
15863           Well, that's embarassing.  Luckily we weren't using
15864           GST_CLOCK_DIFF anywhere.
15865
15866 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15867
15868         * common/gtk-doc.mak:
15869           don't fail on building XML, FC4 slave shows a bunch of doc
15870           missing bits that I don't get
15871         * gst/gstpad.c:
15872         * gst/gstpipeline.c:
15873         * gst/gststructure.c:
15874           some doc updates
15875
15876 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15877
15878         * docs/design/part-gstbin.txt:
15879         * docs/design/part-gstbus.txt:
15880         * gst/gstbus.c:
15881           Add blurb about how the bus goes into flushing mode and
15882           drops all messages when its bin goes from READY into NULL 
15883           state.
15884
15885 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15886
15887         * docs/gst/gstreamer-sections.txt:
15888         * gst/gststructure.c: (gst_structure_get_clock_time):
15889         * gst/gststructure.h:
15890           add a method to get a GstClockTime out of a structure
15891
15892 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15893
15894         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15895         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15896           Added test to check state change order in bins (can still be made
15897           to fail here under heavy disk load; bails out with 'Push on pad
15898           fakesink:sink0, but it was not activated in push mode').
15899
15900         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15901           Fix state change order when there is only a semi sink (#316856)
15902
15903         * gst/gstbus.c: (gst_bus_class_init):
15904           Use _class_peek_parent(), not _class_ref(); fix docs to say
15905           'default main context' instead of 'mainloop' where that is
15906           what's meant.
15907
15908         * gst/gstelement.c: (gst_element_commit_state),
15909         (gst_element_set_state):
15910           Fix typos in debug messages
15911
15912 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15913
15914         * docs/README:
15915         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15916         * gst/gstpluginfeature.c:
15917         * gst/gstutils.c:
15918           various doc updates
15919         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15920           change an assert into an error until it gets fixed properly
15921
15922 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15923
15924         * docs/gst/gstreamer-sections.txt:
15925         * docs/gst/tmpl/.cvsignore:
15926         * docs/gst/tmpl/gstelement.sgml:
15927         * docs/gst/tmpl/gstinfo.sgml:
15928         * docs/gst/tmpl/gstobject.sgml:
15929         * gst/gstelement.c:
15930         * gst/gstelement.h:
15931         * gst/gstinfo.c:
15932         * gst/gstinfo.h:
15933         * gst/gstobject.c: (gst_object_class_init):
15934         * gst/gstobject.h:
15935           inlined 3 more biiiig doc files and added some missing docs on the fly
15936
15937 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15938
15939         * check/gst/.cvsignore:
15940         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15941         * gst/gstregistryxml.c: (load_plugin),
15942         (gst_registry_xml_save_plugin):
15943           put back source in registry.  add checks for find_plugin.
15944         * testsuite/states/bin.c: (assert_state), (empty_bin),
15945         (test_adding_one_element), (main):
15946         * testsuite/states/locked.c: (main):
15947           some compile/run fixes
15948
15949 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15950
15951         * check/gst/gstvalue.c: (GST_START_TEST):
15952           fix leaks in the test itself
15953
15954 2005-09-22  Wim Taymans  <wim@fluendo.com>
15955
15956         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15957         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15958         (gst_base_sink_query):
15959         Prepare for more accurate position reporting and query
15960         handling.
15961
15962         * gst/gstelement.c: (gst_element_send_event),
15963         (gst_element_set_state):
15964         Add some comment.
15965
15966 2005-09-22  Wim Taymans  <wim@fluendo.com>
15967
15968         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15969         (gst_query_parse_segment):
15970         * gst/gstquery.h:
15971         More documentation.
15972         Add segment query for future use.
15973
15974 2005-09-22  Wim Taymans  <wim@fluendo.com>
15975
15976         * gst/gstbin.c: (gst_bin_add_func):
15977         Some more debug info.
15978
15979         * gst/gstelement.c: (gst_element_send_event):
15980         Simplify send_event
15981
15982         * gst/gstelement.h:
15983         Don't know how flags got broken.
15984
15985         * gst/gstquery.h:
15986         Added new query.
15987
15988 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15989
15990         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15991           Add simplistic test suite for GST_TYPE_DATE serialisation and
15992           deserialisation.
15993
15994 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15995
15996         * docs/gst/gstreamer-sections.txt:
15997         * gst/gststructure.c: (gst_structure_set_valist),
15998         (gst_structure_get_date):
15999         * gst/gststructure.h:
16000         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16001         (gst_date_copy), (gst_value_compare_date),
16002         (gst_value_serialize_date), (gst_value_deserialize_date),
16003         (gst_value_transform_date_string),
16004         (gst_value_transform_string_date), (_gst_value_initialize):
16005         * gst/gstvalue.h:
16006           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16007           bunch of utility functions along with a hack that checks that
16008           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16009           is required. Part of the grand scheme in #170777.
16010
16011 2005-09-22  Andy Wingo  <wingo@pobox.com>
16012
16013         * gst/gstconfig.h.in: Psych out gtk-doc.
16014
16015         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16016
16017         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16018
16019         * tools/gst-inspect.c (print_element_list): Plug some
16020         inconsequential leaks.
16021
16022         * gst/gstregistry.c (gst_registry_get_default): Doc.
16023
16024         * check/gst/gstplugin.c: 
16025         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16026         * gst/gstelementfactory.c (gst_element_factory_create): 
16027         * gst/gstindexfactory.c (gst_index_factory_create): Update for
16028         refcount changes.
16029
16030         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16031         (gst_plugin_feature_load): Doc, don't eat refs.
16032
16033         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16034         (gst_plugin_list_free): Doc.
16035         (gst_plugin_load_file): Doc updates.
16036
16037         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16038         accessors returning refcounted objects, return a ref.
16039
16040         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16041         accessor for caps. IDEMPOTENCE. Oh yes.
16042
16043 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
16044
16045         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16046
16047         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16048         (_gst_debug_register_funcptr):
16049           Add mutex to serialise access to the hash table with
16050           the function pointer => function name string mapping;
16051           make that hash table static scope (#316809).
16052
16053         * gst/registries/.cvsignore:
16054           Remove left-over file.
16055
16056 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
16057
16058         * docs/pwg/appendix-porting.xml:
16059           And something about newsegment events and caps-on-buffers to
16060           the porting guide (feel free to improve).
16061
16062 2005-09-21  Andy Wingo  <wingo@pobox.com>
16063
16064         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16065         data and event probes on the same pad.
16066         (test_buffer_probe_once): Test that removing probes from within
16067         the probe functions works.
16068
16069 2005-09-21  Andy Wingo  <wingo@pobox.com>
16070
16071         * check/gst/gstutils.c: New file.
16072         (test_buffer_probe_n_times): A simple buffer probe test. More to
16073         come, foolios.
16074
16075         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16076         have-data::buffer, not have-data.
16077         (gst_pad_add_event_probe): Likewise for have-data::event.
16078         (gst_pad_add_data_probe): More docs. The part about 'resolving the
16079         peer' isn't quite right yet though.
16080         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
16081         (gst_pad_remove_data_probe): Change to take the guint handler_id
16082         as their arg, not the function+data, which is more glib-like.
16083
16084         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16085         the signal emission to indicate if the data is a buffer or an
16086         event.
16087         (gst_pad_get_type): Initialize buffer and event quarks.
16088         (gst_pad_class_init): have-data is now a detailed signal, yes it
16089         is.
16090
16091 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
16092
16093         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16094         * gst/gstutils.c: (gst_util_set_value_from_string),
16095         (gst_util_set_object_arg):
16096           Don't put functional code in g_return_if_fail() or
16097           g_return_val_if_fail() statements, otherwise things will 
16098           break when G_DISABLE_CHECKS is defined during compilation.
16099
16100 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16101
16102         * docs/gst/tmpl/.cvsignore:
16103         * docs/gst/tmpl/gstvalue.sgml:
16104         * gst/gstvalue.c:
16105         * gst/gstvalue.h:
16106           inlied another one and added  some obvious docs
16107
16108 2005-09-21  Wim Taymans  <wim@fluendo.com>
16109
16110         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16111         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16112         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16113         (gst_fdsrc_get_property), (gst_fdsrc_create):
16114         * gst/elements/gstfdsrc.h:
16115         Properly implement fdsrc. Removed signal and timeout,
16116         better implemented somewhere else.
16117
16118 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16119
16120         * docs/gst/tmpl/.cvsignore:
16121         * docs/gst/tmpl/gstimplementsinterface.sgml:
16122         * gst/gstinterface.c:
16123           inlined more docs
16124
16125 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16126
16127         * docs/gst/gstreamer-sections.txt:
16128         * docs/gst/tmpl/.cvsignore:
16129         * docs/gst/tmpl/gstenumtypes.sgml:
16130           remove obsolete doc file
16131
16132 2005-09-21  David Schleef  <ds@schleef.org>
16133
16134         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16135         little beer, fix a little leak.
16136
16137 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
16138
16139         * docs/gst/gstreamer-docs.sgml:
16140         * docs/gst/gstreamer-sections.txt:
16141         * docs/gst/tmpl/.cvsignore:
16142         * gst/Makefile.am:
16143         * gst/gst.h:
16144         * gst/gstbin.c:
16145         * gst/gstelement.h:
16146         * gst/gstindex.c: (gst_index_class_init):
16147         * gst/gstindex.h:
16148         * gst/gstindexfactory.c: (gst_index_factory_get_type),
16149         (gst_index_factory_class_init), (gst_index_factory_init),
16150         (gst_index_factory_finalize), (gst_index_factory_new),
16151         (gst_index_factory_destroy), (gst_index_factory_find),
16152         (gst_index_factory_create), (gst_index_factory_make):
16153         * gst/gstindexfactory.h:
16154         * gst/gstpluginfeature.c:
16155         * gst/gstpluginfeature.h:
16156         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16157           more docs inlined, splitted gstindex.{c,h}
16158
16159 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16160
16161         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16162           fix a leak
16163
16164 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
16165
16166         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16167           Set sync to FALSE by default.
16168
16169 2005-09-20  Wim Taymans  <wim@fluendo.com>
16170
16171         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16172         (gst_base_sink_init):
16173         Make sync property settable from subclass.
16174
16175         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16176         (gst_fake_sink_change_state):
16177         Set sync to FALSE by default.
16178
16179 2005-09-20  Wim Taymans  <wim@fluendo.com>
16180
16181         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16182         * tools/gst-launch.c: (main):
16183         The timeout handler should have lower priority than the source
16184         so we don't timeout before popping a message with 0 timeout.
16185         Dump error messages after failed state change.
16186
16187 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
16188
16189         * tools/gst-inspect.c: (print_element_properties_info):
16190           Fix two typos.
16191
16192 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16193
16194         * check/gst/gstevent.c:
16195         * gst/elements/gstfakesink.c:
16196         * gst/elements/gstfakesink.h:
16197           remove the sync property from fakesink.
16198           has the side effect of setting sync TRUE
16199           for fakesink, which is a change.  Anyone who knows how
16200           to fix this nicely in a GObject-y way, feel free.
16201
16202 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16203
16204         * docs/gst/gstreamer-docs.sgml:
16205           remove probe refsection
16206
16207 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16208
16209         * check/Makefile.am:
16210           disable valgrinding the controller test again
16211         * docs/gst/gstreamer-sections.txt:
16212           update for api-changes
16213
16214 2005-09-20  Wim Taymans  <wim@fluendo.com>
16215
16216         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16217         (gst_base_sink_set_property), (gst_base_sink_get_property),
16218         (gst_base_sink_do_sync):
16219         * gst/base/gstbasesink.h:
16220         Added sync property to basesink to disable clock sync.
16221
16222 2005-09-20  Andy Wingo  <wingo@pobox.com>
16223
16224         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16225         eating the caller's refcount.
16226
16227         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
16228         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16229         refcount.
16230
16231         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16232         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16233         of GLib 2.8 public, so we can know which refcount to check in
16234         tests.
16235
16236         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16237         (gst_object_init): Only set the gst refcount if we're going ahead
16238         with the refcount hack.
16239
16240 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16241
16242         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16243         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16244           more leaks plumbed, added more debug-logging
16245         * gst/gstmacros.h:
16246           whitespace fix
16247
16248 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16249
16250         * gst/gstmessage.c:
16251           remove include of gstmemchunk.h
16252
16253 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16254
16255         * gst/gstclock.c: (_gst_clock_id_free):
16256           Commit from the Political Party For More Atomic CVS Commits,
16257           so that people don't waste too much of their day fishing
16258           out obvious leaks out of massive commits.
16259           Oh, and fix a pretty damn obvious leak in the memchunk
16260           removal code.
16261
16262 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
16263
16264         * check/Makefile.am:
16265         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16266           plug mem-leak, re-add to valgrindable tests
16267
16268 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16269
16270         * gst/gstplugin.h:
16271           unbreak the build for those who have chronic arthritis
16272           and typing "make check" is just too taxing on the hands
16273
16274 2005-09-20  Andy Wingo  <wingo@pobox.com>
16275
16276         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16277         really want it out, you should fix plugins at the same time.
16278
16279 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
16280
16281         * configure.ac:
16282         * docs/gst/gstreamer-sections.txt:
16283         * gst/gstobject.c:
16284           added missing symbols to api docs
16285           disable ref-count hack if we have glib >= 2.8
16286
16287 2005-09-19  David Schleef  <ds@schleef.org>
16288
16289         * docs/gst/Makefile.am: Ignore a few more internal headers
16290         * docs/gst/gstreamer-docs.sgml: Remove old sections
16291         * docs/gst/gstreamer-sections.txt: Remove old sections
16292         * docs/gst/tmpl/gstobject.sgml: update
16293         * docs/gst/tmpl/gstplugin.sgml: update
16294         * docs/gst/tmpl/gstpluginfeature.sgml: update
16295         * docs/random/ds/0.9-suggested-changes: update.
16296         * gst/Makefile.am: remove memchunk and trashstack, since they're
16297           not used.
16298         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16299         * gst/gst.h: don't include some headers
16300         * gst/gstchildproxy.c: add gstmarshal.h
16301         * gst/gstclock.c: Don't use memchunks
16302         * gst/gstminiobject.c: Add some docs
16303         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16304         * gst/gstobject.h: same
16305         * gst/gstplugin.c: include gstmacros.h
16306         * gst/gstplugin.h: don't include gstmacros.h, since it's private
16307         * gst/gstquery.c: don't use memchunks
16308         * gst/gstregistry.c: rename gst_registry_deinit()
16309         * gst/gstregistry.h: same
16310
16311 2005-09-19  David Schleef  <ds@schleef.org>
16312
16313         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16314         * docs/libs/gstreamer-libs-sections.txt:
16315         * docs/libs/tmpl/gstgetbits.sgml:
16316         * docs/libs/tmpl/gstputbits.sgml:
16317
16318 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
16319
16320         * win32/gstenumtypes.c:
16321         * win32/gstenumtypes.h:
16322           Update.
16323
16324 2005-09-19  Wim Taymans  <wim@fluendo.com>
16325
16326         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16327         Automatically PAUSE and RESUME a pipeline when a flushing seek
16328         is performed.
16329
16330 2005-09-19  Andy Wingo  <wingo@pobox.com>
16331
16332         * gst/gstregistry.h: Spacing fixen.
16333
16334 2005-09-19  Wim Taymans  <wim@fluendo.com>
16335
16336         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16337         Handle state change failure more correctly.
16338
16339 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16340
16341         * check/Makefile.am:
16342         * check/pipelines/cleanup.c: (run_pipeline):
16343         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16344         (GST_START_TEST):
16345           enable cleanup again after fixing the leak
16346         * docs/README:
16347           some more info on docs
16348
16349 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16350
16351         * check/Makefile.am:
16352           re-enable tests now that leaks are plugged
16353         * check/gst/gst.c:
16354         * check/gst/gstbin.c:
16355         * check/gst/gstpipeline.c:
16356           add some more tests while fixing leaks
16357         * common/check.mak:
16358           make sure binaries are uptodate when valgrinding/gdbing
16359         * gst/gst.c:
16360         * gst/gstelementfactory.c:
16361           remove a ref too many, and add a FIXME for when we get
16362           round to disposing of classes
16363         * gst/gstplugin.c:
16364           fix the refcounting when loading a plugin from a file and
16365           the code pretends that the pointer is the same even though
16366           of course it can change
16367         * gst/gstpluginfeature.c:
16368           unref plugins marked cached (a bit confusing as a name)
16369           as the docs state should be done
16370           various doc additions to explain refcounting
16371         * gst/gstregistry.c:
16372         * gst/gstregistryxml.c:
16373           debugging
16374
16375 2005-09-19  Wim Taymans  <wim@fluendo.com>
16376
16377         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16378         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16379         (send_messages), (GST_START_TEST), (gstbus_suite):
16380         * check/gst/gstpipeline.c: (GST_START_TEST):
16381         * check/pipelines/cleanup.c: (run_pipeline):
16382         * check/pipelines/simple_launch_lines.c: (run_pipeline),
16383         (GST_START_TEST):
16384         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16385         (gst_bus_source_check), (gst_bus_source_dispatch),
16386         (gst_bus_create_watch), (gst_bus_add_watch_full),
16387         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16388         * gst/gstbus.h:
16389         * tools/gst-launch.c: (event_loop):
16390         * tools/gst-md5sum.c: (event_loop):
16391         GstBusHandler -> GstBusFunc, return value has the same meaning as
16392         any other GSource (FALSE == remove source).
16393         _add_watch() and _add_watch_full() now take a MessageType mask to
16394         only handle specific types of messages.
16395         _poll() returns the GstMessage instead of the message type to avoid
16396         race conditions.
16397         _have_pending() takes a MessageType mask now too.
16398         Added testsuite for multiple bus watches.
16399         Fix testsuites and applications for new bus API.
16400
16401 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16402
16403         * check/Makefile.am:
16404           mark a bunch of the tests as to fix until we fix them
16405
16406 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16407
16408         * common/check.mak:
16409           use GST_PLUGIN settings for valgrind tests as well, so we're
16410           valgrinding the correct thing
16411         * gst/gst.c: (init_post):
16412           plug another leak
16413
16414 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16415
16416         * gst/gst.c: (init_post), (gst_deinit):
16417         * gst/gstelementfactory.c: (gst_element_factory_class_init),
16418         (gst_element_factory_finalize), (gst_element_factory_cleanup):
16419         * gst/gstindex.c: (gst_index_factory_class_init),
16420         (gst_index_factory_finalize):
16421         * gst/gstobject.c: (gst_object_dispose):
16422         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16423         (gst_plugin_load_file), (gst_plugin_desc_free):
16424         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16425         (gst_plugin_feature_finalize):
16426         * gst/gstregistry.c: (gst_registry_class_init),
16427         (gst_registry_init), (gst_registry_finalize),
16428         (gst_registry_get_default), (gst_registry_deinit):
16429         * gst/gstregistry.h:
16430         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16431           various cleanups and memleak plugging.  make valgrind is happy now.
16432
16433 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16434
16435         * common/check.mak:
16436           add a check-valgrind target
16437
16438 2005-09-18  David Schleef  <ds@schleef.org>
16439
16440         * tools/gst-inspect.c: Revert the GOption code.
16441
16442 2005-09-17  David Schleef  <ds@schleef.org>
16443
16444         * check/Makefile.am: Fix environment variables.
16445         * check/gst/gstplugin.c: Fix for API changes.
16446         * tools/gst-inspect.c: Fix for API changes.
16447         * tools/gst-xmlinspect.c: Fix for API changes.
16448         * gst/gstelementfactory.c:
16449         * gst/gstplugin.c:
16450         * gst/gstplugin.h:
16451         * gst/gstpluginfeature.c:
16452         * gst/gstpluginfeature.h:
16453         * gst/gstregistry.c:
16454         * gst/gstregistry.h:
16455         * gst/gstregistryxml.c:
16456         * gst/gsttypefind.c:
16457         * gst/gsttypefindfactory.c:
16458         * gst/indexers/gstfileindex.c:
16459         * gst/indexers/gstmemindex.c:
16460         * gst/schedulers/Makefile.am:
16461           Change registry to keep track of both plugins and features,
16462           removing the feature tracking from plugins themselves.
16463
16464 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16465
16466         * check/Makefile.am:
16467         * tools/gst-register.1.in:
16468           remove gst-register
16469
16470 2005-09-15  David Schleef  <ds@schleef.org>
16471
16472         * check/gst/gstplugin.c:
16473         * gst/gstelementfactory.c:
16474         * gst/gstplugin.c:
16475         * gst/gstpluginfeature.c:
16476         * gst/gstregistry.c:
16477           Getting tired of debugging.  Disabled all the unreffing of
16478           plugins and features, which fixes the segfaults, but of
16479           course leaks like crazy.  At least playbin works.
16480
16481 2005-09-15  David Schleef  <ds@schleef.org>
16482
16483         * check/gst/gstplugin.c: (register_check_elements),
16484         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16485         More testing
16486         * gst/elements/gsttypefindelement.c: Fix refcounting.
16487         * gst/gsttypefind.c:
16488         * gst/gsttypefindfactory.c:
16489         * gst/gsttypefindfactory.h:
16490
16491 2005-09-15  David Schleef  <ds@schleef.org>
16492
16493         * gst/gstindex.c: get refcounting correct.
16494         * gst/gstregistry.c: Handle the case where a feature/plugin is
16495           not found.
16496
16497 2005-09-15  David Schleef  <ds@schleef.org>
16498
16499         * check/Makefile.am:
16500         * check/gst/gstplugin.c: Add test
16501         * gst/gstplugin.c: Fix problems noticed by testsuite
16502         * gst/gstplugin.h:
16503         * gst/gstregistry.c: 
16504         * gst/gstregistry.h:
16505
16506 2005-09-15  David Schleef  <ds@schleef.org>
16507
16508         * gst/gstplugin.c: Implement semi-decent recounting and locking
16509           in plugins and plugin features.
16510         * gst/gstplugin.h:
16511         * gst/gstpluginfeature.c:
16512         * gst/gstpluginfeature.h:
16513         * gst/gstregistry.c:
16514
16515 2005-09-15  Michael Smith <msmith@fluendo.com>
16516
16517         * gst/gstregistry.c: (gst_registry_get_feature_list):
16518           Implement this. Makes oggdemux work; decodebin still broken.
16519
16520 2005-09-14  David Schleef  <ds@schleef.org>
16521
16522         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16523           #316076)
16524         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16525         * gst/check/Makefile.am:
16526         * libs/gst/controller/Makefile.am:
16527         * libs/gst/dataprotocol/Makefile.am:
16528
16529 2005-09-14  David Schleef  <ds@schleef.org>
16530
16531         * configure.ac: Remove getbits library.  Nothing uses it, and
16532           it should be in something like liboil if someone did want
16533           to use it.
16534         * libs/gst/Makefile.am:
16535         * libs/gst/getbits/Makefile.am:
16536         * libs/gst/getbits/gbtest.c:
16537         * libs/gst/getbits/getbits.c:
16538         * libs/gst/getbits/getbits.h:
16539         * libs/gst/getbits/gstgetbits_generic.c:
16540         * libs/gst/getbits/gstgetbits_i386.s:
16541         * libs/gst/getbits/gstgetbits_inl.h:
16542
16543 2005-09-14  David Schleef  <ds@schleef.org>
16544
16545         * gst/Makefile.am: Dist glib-compat.h
16546
16547 2005-09-14  David Schleef  <ds@schleef.org>
16548
16549         * configure.ac: Remove gst/registries, since it's no longer used.
16550         * gst/registries/Makefile.am:
16551         * gst/registries/gstlibxmlregistry.c:
16552         * gst/registries/gstlibxmlregistry.h:
16553         * gst/registries/gstxmlregistry.c:
16554         * gst/registries/gstxmlregistry.h:
16555         * gst/registries/registrytest.c:
16556
16557 2005-09-14  David Schleef  <ds@schleef.org>
16558
16559         * gst/glib-compat.h:
16560         * gst/gstregistryxml.c:
16561           Convergence is near.  Seriously.
16562
16563 2005-09-14  David Schleef  <ds@schleef.org>
16564
16565         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16566         * gst/glib-compat.h:
16567           Attempt #4 to appease the buildbots.
16568
16569 2005-09-14  David Schleef  <ds@schleef.org>
16570
16571         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16572           Attempt #3.
16573
16574 2005-09-14  David Schleef  <ds@schleef.org>
16575
16576         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16577         Attempt #2.
16578
16579 2005-09-14  David Schleef  <ds@schleef.org>
16580
16581         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16582           the new functions.
16583
16584 2005-09-14  David Schleef  <ds@schleef.org>
16585
16586         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16587         * gst/glib-compat.h: Add some functions that are in newer versions
16588           of glib than we care to require.
16589         * gst/gstregistryxml.c: Use them.
16590
16591 2005-09-14  David Schleef  <ds@schleef.org>
16592
16593         * po/POTFILES.in: remove gst-register.c
16594
16595 2005-09-14  David Schleef  <ds@schleef.org>
16596
16597         * docs/gst/gstreamer-docs.sgml:
16598         * docs/gst/gstreamer-sections.txt:
16599         * docs/gst/gstreamer.types:
16600         * docs/gst/tmpl/gstelement.sgml:
16601         * docs/gst/tmpl/gstplugin.sgml:
16602         * docs/gst/tmpl/gstpluginfeature.sgml:
16603           Documentation updates for registry changes.
16604
16605 2005-09-14  David Schleef  <ds@schleef.org>
16606
16607         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16608           because we don't require glib-2.8.
16609
16610 2005-09-14  David Schleef  <ds@schleef.org>
16611
16612         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16613           registries directory.
16614
16615 2005-09-14  David Schleef  <ds@schleef.org>
16616
16617         * check/Makefile.am:
16618         * check/generic/states.c:
16619         * gst/Makefile.am:
16620         * gst/gst.c:
16621         * gst/gst.h:
16622         * gst/gst_private.h:
16623         * gst/gstelementfactory.c:
16624         * gst/gstindex.c:
16625         * gst/gstinfo.c:
16626         * gst/gstplugin.c:
16627         * gst/gstplugin.h:
16628         * gst/gstpluginfeature.c:
16629         * gst/gstpluginfeature.h:
16630         * gst/gstregistry.c:
16631         * gst/gstregistry.h:
16632         * gst/gstregistrypool.c: remove
16633         * gst/gstregistrypool.h: remove
16634         * gst/gsttypefind.c:
16635         * gst/gsttypefindfactory.c:
16636         * gst/gsturi.c:
16637         * tools/Makefile.am:
16638         * tools/gst-compprep.c:
16639         * tools/gst-inspect.c:
16640         * tools/gst-register.c: remove
16641         * tools/gst-xmlinspect.c:
16642           Registry rewrite.  Changes registry from being a file created
16643           by a tool into a simple cache file created automatically by 
16644           libgstreamer.  Removed gst-register (because it's no longer
16645           needed).  Remove registry pools, because we only have one
16646           registry implementation (XML).  Fix up other subsystems as
16647           necessary.
16648
16649 2005-09-13  Michael Smith <msmith@fluendo.com>
16650
16651         * gst/gstconfig.h.in:
16652           Don't Use windows linking attributes for MinGW. Fixes #316157
16653
16654 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16655
16656         * gst/gstutils.c: (set_state_async_thread_func),
16657         (gst_element_set_state_async):
16658           Apparently people think it's better if this function doesn't
16659           try to set the state to whatever state was asked for on the first
16660           call to this function for any object.  Seriously.
16661
16662 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16663
16664         * check/gst/gstpipeline.c: (GST_START_TEST):
16665         * docs/gst/gstreamer-sections.txt:
16666         * gst/gstutils.c: (set_state_async_thread_func),
16667         (gst_element_set_state_async):
16668         * gst/gstutils.h:
16669           add a "gst_element_set_state_async" method that
16670           sets the state and starts a thread to make sure the state
16671           change completes as best as it can
16672
16673 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16674
16675         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16676           codify design+behaviour in testsuite after discussion
16677
16678 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16679
16680         * docs/gst/tmpl/gstelement.sgml:
16681         * docs/manual/appendix-quotes.xml:
16682           add a quote
16683         * gst/gstelement.c: (gst_element_set_state):
16684           add some debug
16685
16686 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16687
16688         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16689         (gst_base_transform_prepare_output_buf),
16690         (gst_base_transform_handle_buffer):
16691         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16692         (gst_capsfilter_prepare_buf):
16693           Remove the requirement for sub-classes to call the parent
16694           implementation of prepare_output_buffer with a wrapper function.
16695           
16696         * gst/gsttaglist.h:
16697         * gst/gsttagsetter.h:
16698           Fix #define wrapper
16699
16700 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16701
16702         * docs/gst/gstreamer-sections.txt:
16703           more doc cleanups
16704
16705 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16706
16707         * docs/gst/gstreamer-sections.txt:
16708         * docs/gst/tmpl/gstelement.sgml:
16709         * docs/gst/tmpl/gstplugin.sgml:
16710         * gst/gstminiobject.c:
16711         * gst/gstvalue.h:
16712           docs now stop throwing warnings
16713
16714 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16715
16716         * docs/gst/gstreamer-sections.txt:
16717         * docs/gst/gstreamer.types:
16718         * docs/gst/tmpl/gstpad.sgml:
16719         * docs/gst/tmpl/gsttypes.sgml:
16720         * gst/base/gstadapter.h:
16721         * gst/base/gstbasesink.h:
16722         * gst/base/gstbasesrc.h:
16723         * gst/gstbin.h:
16724         * gst/gstbuffer.h:
16725         * gst/gstbus.h:
16726         * gst/gstcaps.h:
16727         * gst/gstclock.h:
16728         * gst/gstelement.h:
16729         * gst/gstevent.h:
16730         * gst/gstmessage.h:
16731         * gst/gstpad.h:
16732         * gst/gststructure.c:
16733         * gst/registries/gstlibxmlregistry.h:
16734           various documentation fixes
16735
16736 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16737
16738         * docs/gst/gstreamer-sections.txt:
16739         * docs/gst/tmpl/gstvalue.sgml:
16740           rearrange gstvalue section
16741         * gst/gstutils.c: (gst_element_state_get_name):
16742           NONE -> VOID
16743         * gst/gstvalue.c: (_gst_value_initialize):
16744         * gst/gstvalue.h:
16745           doc updates
16746
16747 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16748
16749         * check/gst-libs/controller.c:
16750           Header include fix.
16751         * gst/base/gstbasetransform.c:
16752         (gst_base_transform_default_prepare_buf),
16753         (gst_base_transform_handle_buffer):
16754         * gst/base/gstbasetransform.h:
16755           Some more basetransform changes and fixes to enable sub-classes
16756           that modify buffer metadata only.
16757         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16758         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16759         (gst_capsfilter_prepare_buf):
16760           If the output pad has fixed allowed caps and input buffers 
16761           don't have any, set the fixed caps on outgoing buffers.
16762
16763 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16764         * check/elements/identity.c: (GST_START_TEST):
16765           Make the error a little clearer when the test fails because
16766           identity made a copy of the buffer.
16767         * docs/gst/gstreamer-sections.txt:
16768           New symbols in gstbasetransform.h
16769         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16770         (gst_base_transform_init), (gst_base_transform_transform_size),
16771         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16772         (gst_base_transform_default_prepare_buf),
16773         (gst_base_transform_get_unit_size),
16774         (gst_base_transform_buffer_alloc),
16775         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16776         (gst_base_transform_change_state),
16777         (gst_base_transform_set_passthrough),
16778         (gst_base_transform_set_in_place),
16779         (gst_base_transform_is_in_place):
16780         * gst/base/gstbasetransform.h:
16781           Change BaseTransform to separate in_place operate from same_caps
16782           output. in_place implies that the element can perform the transform
16783           on incoming buffers in-place, even if the caps on the output are
16784           different.
16785           Sub-class elements can now implement special buffer allocation
16786           methods for outgoing buffers if they wish to.
16787           Big documentation addition.
16788         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16789         * gst/elements/gstelements.c:
16790           Changes for basetransform modifications.
16791         * gst/elements/Makefile.am:
16792         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16793           Compile fix. Extra debug output.
16794
16795 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16796
16797         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16798         (gst_pad_suite):
16799           add tests for valid pad naming
16800         * gst/check/gstcheck.c: (gst_check_log_message_func),
16801         (gst_check_log_critical_func):
16802           add ASSERT_WARNING
16803           remove printing of code, it is fragile when the code contains
16804           % and the line number is enough info
16805         * gst/check/gstcheck.h:
16806         * gst/gstpad.c: (gst_pad_template_new):
16807           fix memleaks
16808
16809 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16810
16811         * configure.ac:
16812           say what CHECK flags we use
16813         * docs/libs/gstreamer-libs.types:
16814         * libs/gst/controller/Makefile.am:
16815         * libs/gst/controller/gst-controller.c:
16816         * libs/gst/controller/gst-controller.h:
16817         * libs/gst/controller/gst-helper.c:
16818         * libs/gst/controller/gst-interpolation.c:
16819         * libs/gst/controller/gstcontroller.c:
16820         * libs/gst/controller/gsthelper.c:
16821         * libs/gst/controller/gstinterpolation.c:
16822         * tools/gst-inspect.c: (print_plugin_info):
16823           we don't use dashes in header names
16824
16825 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16826
16827         * check/Makefile.am:
16828         * check/gst/.cvsignore:
16829         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16830         (gst_pipeline_suite), (main):
16831           adding a test for pipelines and state changes
16832         * gst/gstutils.c: (get_state_func):
16833           add some debugging
16834         * gstreamer.spec.in:
16835           fix up spec file
16836
16837 2005-09-08  Michael Smith <msmith@fluendo.com>
16838
16839         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16840         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16841         (gst_file_src_is_seekable), (gst_file_src_get_size),
16842         (gst_file_src_start):
16843         * gst/elements/gstfilesrc.h:
16844           Various fixes for unseekable, unmmapable, and non-normal files, so
16845           that fallback to read() rather than mmap() works.
16846         * gst/gstevent.c: (gst_event_new_newsegment):
16847           Allow newsegment events with segment_start == segment_end, as will
16848           correctly happen if you use filesrc on a zero-size file, for
16849           example.
16850
16851 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16852
16853         * gst/gstplugin.c: (gst_plugin_load_file):
16854           Call g_module_close when we don't load the module
16855
16856         * gst/registries/gstlibxmlregistry.c:
16857         (gst_xml_registry_get_property):
16858           Port leak fix from 0.8
16859
16860 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16861
16862         * docs/gst/gstreamer-docs.sgml:
16863         * docs/gst/tmpl/.cvsignore:
16864         * docs/gst/tmpl/gsttrace.sgml:
16865         * docs/gst/tmpl/gsttrashstack.sgml:
16866         * gst/Makefile.am:
16867         * gst/gst.h:
16868         * gst/gstelement.h:
16869         * gst/gstevent.h:
16870         * gst/gstmessage.c:
16871         * gst/gstmessage.h:
16872         * gst/gsttag.c:
16873         * gst/gsttag.h:
16874         * gst/gsttaginterface.c:
16875         * gst/gsttaginterface.h:
16876         * gst/gsttaglist.c:
16877         * gst/gsttaglist.h:
16878         * gst/gsttagsetter.c:
16879         * gst/gsttagsetter.h:
16880         * gst/gsttrace.c:
16881         * gst/gsttrace.h:
16882         * gst/gsttrashstack.c:
16883           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16884           inlined docs for gsttrace, gsttrashstack
16885
16886 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16887
16888         * gst/Makefile.am:
16889         * gst/elements/gstbufferstore.h:
16890         * gst/elements/gsttypefindelement.c:
16891         * gst/elements/gsttypefindelement.h:
16892         * gst/gst.h:
16893         * gst/gsttypefind.c:
16894         * gst/gsttypefind.h:
16895         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16896         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16897         (gst_type_find_factory_dispose),
16898         (gst_type_find_factory_unload_thyself),
16899         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16900         (gst_type_find_factory_get_caps),
16901         (gst_type_find_factory_get_extensions),
16902         (gst_type_find_factory_call_function):
16903         * gst/gsttypefindfactory.h:
16904         * gst/registries/gstlibxmlregistry.c:
16905         * gst/registries/gstxmlregistry.c:
16906           splitted gsttypefind into gsttypefind, gsttypefindfactory
16907
16908 2005-09-07  Andy Wingo  <wingo@pobox.com>
16909
16910         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16911         condition whereby the pad's task function is entered before the
16912         pad_mode variable was set.
16913
16914 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16915
16916         * gst/gstpad.c: (gst_pad_alloc_buffer):
16917           Catch misbehaving pad_alloc functions that don't
16918           set up caps and do it for them.
16919
16920 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16921
16922         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16923           test for pipe!=NULL
16924         * docs/gst/tmpl/.cvsignore:
16925         * docs/gst/tmpl/gstmemchunk.sgml:
16926         * docs/gst/tmpl/gstparse.sgml:
16927         * docs/gst/tmpl/gsttaglist.sgml:
16928         * docs/gst/tmpl/gsttagsetter.sgml:
16929         * docs/gst/tmpl/gsttypefind.sgml:
16930         * docs/gst/tmpl/gsttypefindfactory.sgml:
16931         * gst/gstmemchunk.c:
16932         * gst/gstparse.c:
16933         * gst/gsttag.c:
16934         * gst/gsttaginterface.c:
16935         * gst/gsttypefind.c:
16936         * gst/gsttypefind.h:
16937           inlined more docs
16938
16939 === release 0.9.2 ===
16940
16941 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16942
16943         * NEWS:
16944         * RELEASE:
16945         * configure.ac:
16946           releasing 0.9.2, "South"
16947
16948 2005-09-05  Andy Wingo  <wingo@pobox.com>
16949
16950         * gst/registries/gstxmlregistry.h:
16951         * gst/registries/gstxmlregistry.c: Um... resurrect...
16952         
16953         * gst/registries/gstxmlregistry.h:
16954         * gst/registries/gstxmlregistry.c: and update to newer API.
16955         Incidentally they should be a bit faster now that they don't have
16956         to parse the caps.
16957         
16958 2005-09-05  Andy Wingo  <wingo@pobox.com>
16959
16960         * gst/registries/gstxmlregistry.h:
16961         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16962         replaced by the libxml registry a while back
16963
16964 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16965
16966         * docs/gst/tmpl/gstplugin.sgml:
16967         * gst/elements/gstelements.c:
16968         * gst/gst.c:
16969         * gst/gstplugin.c: (gst_plugin_register_func),
16970         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16971         (gst_plugin_get_source):
16972         * gst/gstplugin.h:
16973         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16974         (gst_xml_registry_save_plugin):
16975         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16976         (gst_xml_registry_save_plugin):
16977         * tools/gst-inspect.c: (print_plugin_info):
16978           add a "source" plugin description field, to represent the source
16979           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16980           will set it to PACKAGE, which is automake's idea of the name of
16981           the source project.
16982
16983 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16984
16985         * Makefile.am:
16986         * autogen.sh:
16987         * configure.ac:
16988         * docs/Makefile.am:
16989         * docs/faq/Makefile.am:
16990         * docs/gst/tmpl/gstelement.sgml:
16991         * docs/gst/tmpl/gsttypes.sgml:
16992         * docs/htmlinstall.mak:
16993         * docs/manual/Makefile.am:
16994         * docs/pwg/Makefile.am:
16995           reorganize doc build a little
16996           split out docbook and gtk-doc stuff
16997           have two separate --enable's and enable them through autogen
16998           but disable by default in configure (to be similar to other
16999           projects)
17000         * gstreamer.spec.in:
17001           clean up docs install
17002         * po/af.po:
17003         * po/az.po:
17004         * po/ca.po:
17005         * po/cs.po:
17006         * po/de.po:
17007         * po/en_GB.po:
17008         * po/fr.po:
17009         * po/it.po:
17010         * po/nb.po:
17011         * po/nl.po:
17012         * po/ru.po:
17013         * po/sq.po:
17014         * po/sr.po:
17015         * po/sv.po:
17016         * po/tr.po:
17017         * po/uk.po:
17018         * po/vi.po:
17019           translation updates
17020
17021 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
17022
17023         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17024           Add comment.
17025           
17026         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17027         (gst_fake_sink_change_state):
17028           Make state change function thread-safe.
17029           
17030         * gst/gstpad.c: (gst_pad_alloc_buffer):
17031           Set offset on generic buffer allocated by fallback.
17032
17033 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
17034
17035         * docs/gst/gstreamer-sections.txt:
17036         * docs/gst/tmpl/gstelement.sgml:
17037         * gst/gstpad.c:
17038         * libs/gst/controller/gst-controller.c:
17039         (gst_controlled_property_set_interpolation_mode),
17040         (gst_controlled_property_new),
17041         (gst_controller_find_controlled_property):
17042          run the wingo-magic script against the docs
17043
17044 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
17045
17046         * docs/gst/gstreamer-docs.sgml:
17047         * docs/gst/gstreamer-sections.txt:
17048         * docs/gst/tmpl/.cvsignore:
17049         * docs/gst/tmpl/gstelementdetails.sgml:
17050         * docs/gst/tmpl/gstelementfactory.sgml:
17051         * gst/gst.c:
17052         * gst/gstbus.c:
17053         * gst/gstelementfactory.c:
17054         * gst/gstelementfactory.h:
17055           merged elementdetails docs into elementfactory docs
17056           inlined both
17057
17058 2005-09-02  Andy Wingo  <wingo@pobox.com>
17059
17060         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17061         consider this enum an enum and not a flags.
17062
17063 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
17064
17065         * docs/gst/gstreamer-docs.sgml:
17066         * docs/gst/tmpl/.cvsignore:
17067         * docs/gst/tmpl/gstghostpad.sgml:
17068         * docs/gst/tmpl/gstiterator.sgml:
17069         * docs/gst/tmpl/gstmacros.sgml:
17070         * docs/gst/tmpl/gstrealpad.sgml:
17071         * docs/gst/tmpl/gstregistry.sgml:
17072         * docs/gst/tmpl/gstregistrypool.sgml:
17073         * docs/gst/tmpl/gststructure.sgml:
17074         * docs/gst/tmpl/gstsystemclock.sgml:
17075         * docs/gst/tmpl/gsttrace.sgml:
17076         * gst/gstghostpad.c:
17077         * gst/gstmacros.h:
17078         * gst/gstmemchunk.c:
17079         * gst/gstmemchunk.h:
17080         * gst/gstqueue.c:
17081         * gst/gstregistry.c:
17082         * gst/gstregistrypool.c:
17083         * gst/gststructure.c:
17084         * gst/gstsystemclock.c:
17085           more docs inlined
17086
17087 2005-09-02  Andy Wingo  <wingo@pobox.com>
17088
17089         * gst/gstelement.h (GstState): Renamed from GstElementState,
17090         changed to be a normal enum instead of flags.
17091         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17092         munged to be GST_STATE_CHANGE_*.
17093         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17094         work with the new state representation.
17095         (GstStateChange): New enumeration of possible state transitions.
17096         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17097         (GstElementClass::change_state): Pass the GstStateChange along as
17098         an argument. Helps language bindings, so they don't have to use
17099         tricky lock-needing macros like GST_STATE_CHANGE ().
17100
17101         * scripts/update-states (file): New script. Run it on a file to
17102         update it for state naming and API changes. Updates files in
17103         place.
17104
17105         * All files updated for the new API.
17106
17107 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17108
17109         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17110         * gst/gstutils.c: (gst_util_set_value_from_string),
17111         (gst_util_set_object_arg):
17112           fix a bunch of unchecked return values
17113         * tools/gst-complete.c: (main):
17114         * gstreamer.spec.in:
17115           clean up a little
17116
17117 2005-09-01  Wim Taymans  <wim@fluendo.com>
17118
17119         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17120         (gst_base_sink_event), (gst_base_sink_do_sync),
17121         (gst_base_sink_handle_event):
17122         * gst/base/gstbasesink.h:
17123         Handle newsegments more correctly.
17124
17125         * gst/gstbus.c:
17126         Fix docs.
17127
17128         * gst/gstevent.c: (gst_event_new_newsegment):
17129         A newsegment cannot have a start_time of -1
17130
17131 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
17132
17133         * win32/gstenumtypes.c:
17134         * win32/gstenumtypes.h:
17135           Update
17136
17137 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17138
17139         * libs/gst/controller/gst-controller.c:
17140         (gst_controlled_property_set_interpolation_mode),
17141         (gst_controlled_property_new):
17142          fixed boolean again
17143
17144 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17145
17146         * docs/faq/gst-uninstalled:
17147           add -good
17148         * gst/gstevent.c:
17149         * gst/gstevent.h:
17150           remove wrong docs
17151         * gst/gstutils.c: (gst_element_link_filtered):
17152         * gst/gstutils.h:
17153           add gst_element_link_filtered
17154
17155 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17156
17157         * docs/gst/gstreamer-docs.sgml:
17158         * docs/gst/gstreamer-sections.txt:
17159         * docs/gst/tmpl/.cvsignore:
17160         * docs/gst/tmpl/gsterror.sgml:
17161         * docs/gst/tmpl/gstfilter.sgml:
17162         * docs/gst/tmpl/gsturihandler.sgml:
17163         * docs/gst/tmpl/gsturitype.sgml:
17164         * docs/gst/tmpl/gstutils.sgml:
17165         * docs/gst/tmpl/gstxml.sgml:
17166         * gst/gsterror.c:
17167         * gst/gsterror.h:
17168         * gst/gstfilter.c:
17169         * gst/gsturi.c:
17170         * gst/gsturitype.c:
17171         * gst/gstutils.c:
17172         * gst/gstxml.c:
17173           inlined more docs, fixed double id-ref
17174
17175 2005-08-31  Wim Taymans  <wim@fluendo.com>
17176
17177         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17178         (gst_base_transform_handle_buffer):
17179         Passthrough elements don't need the caps as they don't care.
17180
17181 2005-08-31  Wim Taymans  <wim@fluendo.com>
17182
17183         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17184         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17185         Don't leak refcounts on buffers.
17186
17187 2005-08-31  Wim Taymans  <wim@fluendo.com>
17188
17189         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17190         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17191         (gst_base_transform_chain), (gst_base_transform_change_state):
17192         * gst/base/gstbasetransform.h:
17193         Handle the case where we are not negotiated more gracefully.
17194
17195 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
17196
17197         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17198         (gst_file_src_map_region):
17199           Set READONLY flag on mmap'ed buffers, otherwise
17200           gst_buffer_make_writable() won't work properly (#314708).
17201
17202 2005-08-31  Wim Taymans  <wim@fluendo.com>
17203
17204         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17205         passthrough elements can even do inplace on non writable
17206         buffers (as they don't touch them).
17207
17208 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
17209
17210         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17211         (gst_test_mono_source_set_property),
17212         (gst_test_mono_source_class_init), (GST_START_TEST),
17213         (gst_controller_suite):
17214           more tests (hehe I have the most)
17215         * gst/gstbus.c:
17216           describe popping messages whenusing mulltiple sources
17217         * libs/gst/controller/gst-controller.c:
17218         (gst_controlled_property_set_interpolation_mode),
17219         (gst_controlled_property_new):
17220         * libs/gst/controller/gst-controller.h:
17221         * libs/gst/controller/gst-interpolation.c:
17222           implement boolean properties
17223
17224 2005-08-31  Wim Taymans  <wim@fluendo.com>
17225
17226         * gst/gstminiobject.c: (gst_mini_object_ref):
17227         Cannot assert that the refcount has to be positive
17228         since a disposed object can be resurrected.
17229
17230 2005-08-31  Wim Taymans  <wim@fluendo.com>
17231
17232         * gst/gstpad.c: (gst_pad_init):
17233         Revert change, need to first fix badly behaving 
17234         apps.
17235
17236 2005-08-30  Wim Taymans  <wim@fluendo.com>
17237
17238         * check/elements/fakesrc.c: (setup_fakesrc):
17239         * check/elements/identity.c: (setup_identity):
17240         Activate pads before using them.
17241
17242 2005-08-30  Wim Taymans  <wim@fluendo.com>
17243
17244         * gst/base/gstadapter.c: (gst_adapter_flush):
17245         Flushing out 0 bytes is ok for this function.
17246
17247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17248         no newsegment gives a warning and sets the start/stop to 
17249         invalid.
17250
17251         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17252         (gst_base_transform_set_passthrough):
17253         Some debug info.
17254
17255         * gst/gstminiobject.c: (gst_mini_object_ref):
17256         Check refcount here too.
17257
17258         * gst/gstpad.c: (gst_pad_init):
17259         Pads are initially flushing and refusing data.
17260
17261         * gst/gstutils.c: (gst_element_link_pads_filtered):
17262         When adding a capsfilter element make sure it has the
17263         same state as the parent bin.
17264
17265 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17266
17267         * docs/gst/tmpl/.cvsignore:
17268         * docs/gst/tmpl/gstformat.sgml:
17269         * docs/gst/tmpl/gstversion.sgml:
17270         * gst/gstbus.h:
17271         * gst/gstformat.c:
17272         * gst/gstformat.h:
17273         * gst/gstversion.h.in:
17274           more docs and two more inlined
17275
17276 2005-08-30  Wim Taymans  <wim@fluendo.com>
17277
17278         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17279         Don't sync to clock.
17280
17281 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17282
17283         * docs/gst/gstreamer-sections.txt:
17284           ultral33t func10ns deserve to appear in the docs actually
17285         * docs/gst/tmpl/.cvsignore:
17286         * docs/gst/tmpl/gstcompat.sgml:
17287         * docs/gst/tmpl/gstconfig.sgml:
17288         * gst/check/gstcheck.c:
17289         * gst/gstcompat.h:
17290         * gst/gstconfig.h.in:
17291           inlined more docs
17292
17293 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17294
17295         * docs/gst/tmpl/.cvsignore:
17296         * docs/gst/tmpl/gstquery.sgml:
17297         * docs/gst/tmpl/gstutils.sgml:
17298         * gst/gstquery.c:
17299         * gst/gstquery.h:
17300           inlined and extended docs
17301
17302 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
17303
17304         * check/gst-libs/controller.c: (GST_START_TEST),
17305         (gst_controller_suite):
17306           more tests
17307         * docs/gst/tmpl/gstutils.sgml:
17308         * docs/libs/gstreamer-libs-sections.txt:
17309         * docs/libs/tmpl/gstdataprotocol.sgml:
17310           include path fixes
17311         * examples/controller/audio-example.c: (main):
17312           controller example works now
17313         * gst/gstclock.h:
17314           doc fixes
17315         * tools/gst-inspect.c: (print_element_properties_info):
17316           show param spec flags
17317
17318 2005-08-29  Andy Wingo  <wingo@pobox.com>
17319
17320         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17321
17322 2005-08-28  Andy Wingo  <wingo@pobox.com>
17323
17324         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17325         as having two arguments instead of just one. Allows superclasses
17326         to access information on subclasses -- see the terrible for() loop
17327         in gtype.c:g_type_create_instance for the reason why. All callers
17328         changed.
17329
17330 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17331
17332         * docs/design/part-messages.txt:
17333           update info
17334         * docs/gst/tmpl/.cvsignore:
17335         * docs/gst/tmpl/gstcaps.sgml:
17336         * docs/gst/tmpl/gstclock.sgml:
17337         * gst/gstbus.c:
17338         * gst/gstcaps.c:
17339         * gst/gstcaps.h:
17340         * gst/gstclock.c:
17341         * gst/gstclock.h:
17342         * gst/gstmessage.c:
17343           added descriptions for bus and message
17344           inline caps and clock docs
17345
17346 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17347
17348         * gst/gstmessage.c:
17349         * gst/gstmessage.h:
17350           doc fixes
17351
17352 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
17353
17354         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17355           fix div-by-zero
17356
17357 2005-08-26  Andy Wingo  <wingo@pobox.com>
17358
17359         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17360         element_set_state's return val.
17361         (test_2_elements): Add test that's been disabled for months.
17362
17363         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17364         can-activate-pull properties.
17365
17366         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17367         can-activate-pull properties. Implement is_seekable so fakesrc can
17368         operate in pull mode.
17369
17370         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17371         properties.
17372         (gst_base_sink_activate, gst_base_sink_activate_pull)
17373         (gst_base_sink_activate_push): Make activation mode choosing work.
17374         Cleanups.
17375         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17376         is right. Make pull mode work. Post an eos before pausing in pull
17377         mode.
17378         (gst_base_sink_change_state): Pay attention to the core's
17379         change_state() return val.
17380         
17381         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17382         has-getrange properties. Cleanups.
17383         
17384         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17385         has_getrange and replace with can_activate_pull and
17386         can_activate_push.
17387
17388         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17389         locking comments. Remove has_loop, has_chain and replace with
17390         can_activate_pull and can_activate_push.
17391
17392 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
17393
17394         * configure.ac:
17395         * examples/Makefile.am:
17396         * examples/metadata/Makefile.am:
17397         * examples/metadata/read-metadata.c: (message_loop),
17398         (have_pad_handler), (make_pipeline), (print_tag), (main):
17399           Add metadata reading example that loops over a list of filenames,
17400           dumping any tags found.
17401
17402         * gst/gstbus.c: (gst_bus_dispose):
17403         * gst/gstelement.c: (gst_element_dispose):
17404           Release a few potentially-held references in dispose.
17405
17406 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17407
17408         * docs/gst/tmpl/gstminiobject.sgml:
17409           do *not* add tmpl/*.sgml files to CVS!
17410
17411 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17412
17413         * libs/gst/bytestream/.cvsignore:
17414         * libs/gst/bytestream/Makefile.am:
17415         * libs/gst/bytestream/adapter.c:
17416         * libs/gst/bytestream/adapter.h:
17417         * libs/gst/bytestream/bytestream.c:
17418         * libs/gst/bytestream/bytestream.h:
17419         * libs/gst/bytestream/filepad.c:
17420         * libs/gst/bytestream/filepad.h:
17421           removing obsolete files
17422
17423 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17424
17425         * docs/gst/gstreamer-docs.sgml:
17426         * docs/libs/gstreamer-libs-docs.sgml:
17427           disabed additional index entries again, as this makes docs-gen just
17428           slow and they aren't useful yet
17429         * docs/libs/gstreamer-libs-sections.txt:
17430           little -section.txt cleanup for libs
17431
17432 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17433
17434         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17435         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17436           fix up some debugging
17437         (gst_base_transform_get_unit_size),
17438         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17439         (gst_base_transform_handle_buffer):
17440         * gst/base/gstbasetransform.h:
17441           handle and store timed NEWSEGMENT events so that subclasses that
17442           calculate time by counting samples have a segment_start time they
17443           need to add to their timestamps - see audioresample
17444
17445 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17446
17447         * gst/gstbin.h:
17448           removed ';' from the end of macro defs
17449         * docs/gst/gstreamer-docs.sgml:
17450         * docs/gst/gstreamer-sections.txt:
17451         * docs/gst/tmpl/.cvsignore:
17452         * gst/gstbus.h:
17453         * gst/gstelement.c: (gst_element_class_init),
17454         (gst_element_set_state), (activate_pads),
17455         (gst_element_save_thyself):
17456         * gst/gstevent.c: (gst_event_new_newsegment):
17457         * gst/gstevent.h:
17458         * gst/gstiterator.c:
17459         * gst/gstiterator.h:
17460         * gst/gstpad.c:
17461         * gst/gstprobe.h:
17462         * gst/gstutils.c: (gst_pad_query_convert):
17463         * gst/gstutils.h:
17464           fixed parameter name mismatches between source, header and docs
17465           added some more docs, resolved the last batch of unused elements in
17466           docs (now someone needs to doc them)
17467
17468 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17469
17470         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17471         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17472           don't walk through the plugins backwards.  Where is all this
17473           reversed logic coming from ?
17474
17475 2005-08-25  Wim Taymans  <wim@fluendo.com>
17476
17477         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17478         (gst_base_transform_transform_size),
17479         (gst_base_transform_configure_caps),
17480         (gst_base_transform_get_unit_size),
17481         (gst_base_transform_buffer_alloc),
17482         (gst_base_transform_change_state):
17483         * gst/base/gstbasetransform.h:
17484         Cache caps unit_size.
17485         Make sure we cannot negotiate up and downstream at the
17486         same time.
17487
17488 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17489
17490         * gst/gst.c: (init_pre), (init_post):
17491           register the installed plugin path after the env var
17492         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17493         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17494           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17495           directories, so the tests can prefer uninstalled over installed
17496
17497 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17498
17499         * gst/base/gstbasetransform.h:
17500           comment
17501         * gst/gstpad.c:
17502           add to docs
17503
17504 2005-08-25  Wim Taymans  <wim@fluendo.com>
17505
17506         * gst/gstbin.c: (bin_bus_handler):
17507         Be a bit more conservative about the posted message.
17508         
17509         * gst/gstbus.c: (gst_bus_post):
17510         Some cleanups, warn wrong return values.
17511
17512 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17513
17514         * check/gst/gstbin.c: (GST_START_TEST):
17515         * gst/gstbin.c: (bin_bus_handler):
17516         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17517         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17518         (gst_message_new_warning), (gst_message_new_tag),
17519         (gst_message_new_state_changed), (gst_message_new_segment_start),
17520         (gst_message_new_segment_done), (gst_message_new_custom):
17521         * gst/gstmessage.h:
17522         * tools/gst-launch.c: (event_loop):
17523         * tools/gst-md5sum.c: (event_loop):
17524           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17525
17526 2005-08-25  Wim Taymans  <wim@fluendo.com>
17527
17528         * check/generic/states.c: (GST_START_TEST):
17529         Cleanup can be done at the end.
17530
17531         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17532         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17533         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17534         Oh boy.. Thanks for finding this, Thomas. 
17535
17536 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17537
17538         * docs/gst/gstreamer.types:
17539           added missing types
17540
17541 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17542
17543         * docs/gst/gstreamer-docs.sgml:
17544         * docs/gst/gstreamer-sections.txt:
17545         * docs/gst/tmpl/.cvsignore:
17546         * gst/gstbin.c:
17547         * gst/gstiterator.c:
17548         * gst/gstutils.c:
17549         * gst/registries/gstxmlregistry.h:
17550           added missing classes and symbols (123 more to go)
17551           removed removed symbols from section file
17552           fixed many doc-comments
17553
17554 2005-08-24  Wim Taymans  <wim@fluendo.com>
17555
17556         * check/generic/states.c: (GST_START_TEST):
17557         Make sure all tasks are stopped.
17558
17559         * check/gst/gstbin.c: (GST_START_TEST):
17560         Unref after usage for proper valgrinding.
17561
17562         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17563         Really wait for the task to stop before destroying the
17564         mutex.
17565
17566         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17567         (gst_queue_src_activate_push):
17568         Small cleanups. Don't stop the task when we did not start
17569         it.
17570
17571         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17572         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17573         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17574         (gst_task_join):
17575         * gst/gsttask.h:
17576         Protect the stream lock with the object lock.
17577         Disallow setting the stream lock when running.
17578         Add cleanup_all to wait for the threadpool to finish.
17579         Remove code to autoallocate a mutex if none was provided.
17580         Add _join() to wait for a task to stop.
17581         Protect the thread pool with a global lock.
17582
17583 2005-08-24  Wim Taymans  <wim@fluendo.com>
17584
17585         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17586         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17587         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17588         * gst/base/gstbasesink.h:
17589         Handle newsegment events correctly.
17590         Drop buffers out of the segment range.
17591
17592 2005-08-22  Andy Wingo  <wingo@pobox.com>
17593
17594         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17595         macro, implements an interface and gstimplementsinterface for a
17596         new type.
17597
17598 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17599
17600         * check/Makefile.am:
17601         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17602           add a test that does a bunch of state changes on elements
17603           needs some fixing for valgrind
17604         * check/states/sinks.c: (gst_object_suite):
17605           whitespace
17606         * gst/gstcaps.h:
17607           add prototype for gst_caps_is_equal_fixed
17608         * gst/gstplugin.c:
17609         * gst/gstregistrypool.c:
17610           doc fixes
17611
17612 2005-08-24  Andy Wingo  <wingo@pobox.com>
17613
17614         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17615         convert a negative value. Doesn't make much sense. Mostly this is
17616         here to force callers to ensure -1 maps to -1.
17617
17618 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17619
17620         * docs/pwg/advanced-types.xml:
17621           Well done to Michael for catching my deliberate introduction
17622           of this spelling mistake. 
17623         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17624         * gst/gstelement.h:
17625           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17626           unlink pads before removing the element from the bin.
17627
17628 2005-08-24  Andy Wingo  <wingo@pobox.com>
17629
17630         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17631         the same thing as GST_DEBUG=*:4.
17632         (parse_debug_level, parse_debug_category): New helper parsers.
17633
17634 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17635
17636         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17637         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17638         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17639         (gst_base_transform_buffer_alloc),
17640         (gst_base_transform_handle_buffer):
17641           use gboolean return values and pointers to size so we can use the
17642           full GST_BUFFER_SIZE range (guint) for buffer sizes
17643           use GstPadDirection for transform_caps
17644         * gst/base/gstbasetransform.h:
17645           rename get_size to get_unit_size since that's what it is
17646         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17647           use GstPadDirection for transform_caps
17648         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17649         * gst/gstutils.h:
17650           cleanup and debugging
17651
17652 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17653
17654         * gst/gstelement.c: (gst_element_class_init),
17655         (gst_element_set_state), (activate_pads),
17656         (gst_element_save_thyself):
17657         * tools/gst-compprep.c: (main):
17658         * tools/gst-inspect.c: (print_element_properties_info):
17659         * tools/gst-xmlinspect.c: (print_element_properties):
17660           Fixed long standing mem-leak
17661
17662 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17663
17664         * check/gst/gstbin.c: (GST_START_TEST):
17665         * gst/gstbin.c: (bin_bus_handler):
17666         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17667         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17668         (gst_message_new_warning), (gst_message_new_tag),
17669         (gst_message_new_state_changed), (gst_message_new_segment_start),
17670         (gst_message_new_segment_done), (gst_message_new_custom):
17671         * gst/gstmessage.h:
17672         * tools/gst-launch.c: (event_loop):
17673         * tools/gst-md5sum.c: (event_loop):
17674           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17675           that applications can sensibly post custom messages with references
17676           to their own objects.
17677
17678 2005-08-24  Andy Wingo  <wingo@pobox.com>
17679
17680         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17681         already.
17682
17683 2005-08-24  Wim Taymans  <wim@fluendo.com>
17684
17685         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17686         (gst_base_transform_transform_caps),
17687         (gst_base_transform_transform_size),
17688         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17689         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17690         (gst_base_transform_handle_buffer):
17691         * gst/base/gstbasetransform.h:
17692         Many fixes and new features added by Thomas. Can now also do
17693         transforms with variable sizes and a custom fixate_caps function.
17694
17695 2005-08-24  Wim Taymans  <wim@fluendo.com>
17696
17697         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17698         Some debugging.
17699
17700         * gst/gstclock.h:
17701         Cast to ClockTime before formatting to time.
17702
17703         * gst/gstutils.h:
17704         Cleanups.
17705
17706 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17707
17708         * check/gst-libs/controller.c: (GST_START_TEST),
17709         (gst_controller_suite):
17710         * docs/gst/tmpl/gstcaps.sgml:
17711         * docs/gst/tmpl/gstghostpad.sgml:
17712         * docs/gst/tmpl/gstquery.sgml:
17713         * docs/gst/tmpl/gstutils.sgml:
17714         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17715         (gst_object_sink_values), (gst_object_get_value_arrays),
17716         (gst_object_get_value_array):
17717           gracefully handle helper method calls to objects that are not beeing
17718           controlled, added test case for that          
17719
17720 2005-08-23  Wim Taymans  <wim@fluendo.com>
17721
17722         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17723         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17724         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17725         (gst_event_parse_qos), (gst_event_new_seek),
17726         (gst_event_parse_seek):
17727         * gst/gstevent.h:
17728         Some more debugging output and doc cleanups.
17729
17730         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17731         Fix possible deadlock.
17732
17733 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17734
17735         * docs/gst/gstreamer-docs.sgml:
17736         * docs/gst/gstreamer-sections.txt:
17737         * docs/gst/gstreamer.types:
17738         * docs/gst/tmpl/.cvsignore:
17739         * gst/gstbin.h:
17740         * gst/gstbus.c:
17741         * gst/gstelement.c:
17742         * gst/gstevent.h:
17743           added 100 symbols from gstreamer-unused.txt to the right sections
17744           fixed more broken comments
17745           added GstBus to docs
17746
17747 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17748
17749         * docs/gst/gstreamer-sections.txt:
17750         * docs/gst/tmpl/.cvsignore:
17751         * docs/gst/tmpl/gstbin.sgml:
17752         * docs/gst/tmpl/gstbuffer.sgml:
17753         * gst/base/gstbasesrc.c:
17754         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17755         * gst/gstbuffer.c:
17756         * gst/gstbuffer.h:
17757         * tools/gst-launch.1.in:
17758           inlined more doc comments, added missing comments and fixed comments
17759           fixed typos
17760
17761 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17762
17763         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17764           some debugging
17765         * gst/gstcaps.h:
17766           whitespace fixes
17767         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17768           more debugging
17769         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17770         * gst/gststructure.h:
17771           add a fixate function for booleans; add a FIXME that these func
17772           names should probably be gst_structure_fixate_*
17773
17774 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17775
17776         * docs/gst/gstreamer-docs.sgml:
17777         * docs/gst/gstreamer-sections.txt:
17778         * gst/Makefile.am:
17779         * gst/gstbin.c: (gst_bin_get_type),
17780         (gst_bin_child_proxy_get_child_by_index),
17781         (gst_bin_child_proxy_get_children_count),
17782         (gst_bin_child_proxy_init):
17783         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17784         (gst_child_proxy_get_child_by_index),
17785         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17786         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17787         (gst_child_proxy_get), (gst_child_proxy_set_property),
17788         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17789         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17790         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17791         * gst/gstchildproxy.h:
17792         * gst/parse/grammar.y:
17793         * tools/gst-inspect.c: (print_interfaces),
17794         (print_element_properties_info), (print_element_info):
17795           ported gstchildproxy over from 0.8
17796           ported gst-inspect fixes and enhancements over from 0.8
17797
17798 2005-08-22  Wim Taymans  <wim@fluendo.com>
17799
17800         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17801         (gst_base_transform_handle_buffer):
17802         Also call the transform function if we have ANY caps.
17803
17804         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17805         Fix debug info.
17806
17807 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17808
17809         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17810           Don't pretend to handle seek events if the source is not seekable
17811
17812 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17813
17814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17815           Remove extra parameter to debug output
17816
17817         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17818         (gst_base_src_do_seek), (gst_base_src_activate_push):
17819           Fix seek event handling.
17820
17821         * gst/gstpipeline.c: (gst_pipeline_change_state):
17822         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17823         (gst_queue_src_activate_push):
17824           Don't start the src pad task on FLUSH_STOP if the pad
17825           isn't linked.
17826           Debug changes.
17827
17828 2005-08-22  Wim Taymans  <wim@fluendo.com>
17829
17830         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17831         Added check for gst_static_caps_get() refcounting.
17832
17833 2005-08-22  Wim Taymans  <wim@fluendo.com>
17834
17835         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17836         Make _static_caps_get() refcounting sane.
17837         
17838         * gst/gstelement.c: (gst_element_set_state):
17839         Add g_return_val_if_fail() to protect against segfaults.
17840
17841 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17842
17843         * docs/gst/tmpl/gstevent.sgml:
17844         * gst/gstevent.c:
17845         * gst/gstevent.h:
17846           inlined remaining docs, added missing doc comments
17847
17848 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17849
17850         * check/gst/gstbin.c: (GST_START_TEST):
17851           since we don't know when preroll is done, use refcount range
17852           check for the sink
17853         * gst/check/gstcheck.h:
17854           add macro for checking refcount range
17855
17856 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17857
17858         * check/Makefile.am:
17859           clean up environment for when registry gets built versus
17860           when actual tests are run; valgrind seems to not report
17861           leaks if GST_PLUGIN_PATH is set to some specific values
17862         * check/gst/gstbin.c: (GST_START_TEST):
17863           add more refcounting checks; maybe this exposes a
17864           preroll lock bug ?
17865         * common/check.mak:
17866         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17867         * gst/check/gstcheck.h:
17868         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17869         (gst_bin_change_state):
17870         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17871           add/fix debugging/whitespace
17872
17873 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17874
17875         * check/gst/gstevent.c: (event_probe), (test_event),
17876         (GST_START_TEST):
17877          Er, don't call gst_bin_watch_for_state_change you idiot.
17878
17879 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17880
17881         * check/Makefile.am:
17882           Use CHECK_CFLAGS and CHECK_LIBS
17883         * check/gst/gstevent.c: (event_probe), (test_event),
17884         (GST_START_TEST):
17885           Don't leak events.
17886         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17887         (gst_base_src_start), (gst_base_src_stop),
17888         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17889         (gst_base_src_change_state):
17890           Sprinkle gst_base_src_stop liberally around error paths to fix
17891           problems reusing a source after failed state changes.
17892         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17893         (helper_find_suggest), (gst_type_find_helper):
17894           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17895         * gst/gstevent.h:
17896         * docs/gst/tmpl/gstevent.sgml:
17897           Migrate part of the docs from the SGML file. Wait for ensonic to
17898           tell me how I did it wrong ;)
17899         * tools/gst-typefind.c: (main):
17900           Extra robustness to state changes between files.
17901
17902 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17903
17904         * check/Makefile.am:
17905           don't valgrind the controller test - it's leaking - Stefan, HELP
17906         * gst/check/gstcheck.c: (gst_check_message_error),
17907         (gst_check_chain_func), (gst_check_setup_element),
17908         (gst_check_teardown_element), (gst_check_setup_src_pad),
17909         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17910         (gst_check_teardown_sink_pad):
17911         * gst/check/gstcheck.h:
17912           add a bunch of methods to set up elements, and src and sink pads
17913         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17914         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17915         (GST_START_TEST):
17916           use them
17917         * gst/gstmessage.c:
17918         * gst/gsttag.h:
17919           whitespace/doc fixes
17920
17921 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17922
17923         * gst/gstelement.h:
17924           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17925           be handled by the application and not always printed as well
17926
17927 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17928
17929         * check/Makefile.am:
17930           set GST_TOOLS_DIR
17931         * gst/check/gstcheck.c: (gst_check_message_error):
17932         * gst/check/gstcheck.h:
17933           add a fail_unless_equals_int
17934           add fail_unless for error messages
17935
17936 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17937
17938         * check/Makefile.am:
17939         * check/gst.supp:
17940         * common/Makefile.am:
17941         * common/check.mak:
17942         * common/gst.supp:
17943           factor out some of the common stuff so we can use it
17944
17945 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17946
17947         * check/Makefile.am:
17948         * check/gst/gstiterator.c: (GST_START_TEST):
17949         * check/gst/gstsystemclock.c: (GST_START_TEST),
17950         (gst_systemclock_suite):
17951         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17952         * gst/gstclock.c:
17953           valgrind more tests
17954
17955 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17956
17957         * check/elements/.cvsignore:
17958         * check/elements/gstfakesrc.c:
17959           rename to name of element
17960         * check/elements/identity.c: (chain_func), (event_func),
17961         (setup_identity), (cleanup_identity), (GST_START_TEST),
17962         (identity_suite), (main):
17963           add a test for identity
17964         * check/Makefile.am:
17965         * pkgconfig/Makefile.am:
17966         * pkgconfig/gstreamer-check.pc.in:
17967         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17968         * gst/check:
17969         * gst/Makefile.am:
17970         * configure.ac:
17971           move the check stuff to a library that gets installed
17972         * check/gst-libs/controller.c: (GST_START_TEST):
17973         * check/gst-libs/gdp.c:
17974         * check/gst/gst.c: (GST_START_TEST):
17975         * check/gst/gstbin.c:
17976         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17977         * check/gst/gstbus.c:
17978         * check/gst/gstcaps.c: (GST_START_TEST):
17979         * check/gst/gstelement.c:
17980         * check/gst/gstghostpad.c:
17981         * check/gst/gstiterator.c:
17982         * check/gst/gstmessage.c:
17983         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17984         * check/gst/gstobject.c:
17985         * check/gst/gstpad.c: (GST_START_TEST):
17986         * check/gst/gststructure.c: (GST_START_TEST):
17987         * check/gst/gstsystemclock.c: (GST_START_TEST),
17988         (gst_systemclock_suite):
17989         * check/gst/gsttag.c: (gst_tag_suite):
17990         * check/gst/gstvalue.c:
17991         * check/pipelines/cleanup.c:
17992         * check/pipelines/simple_launch_lines.c:
17993         * check/states/sinks.c:
17994           change include statement
17995
17996         * docs/gst/gstreamer-sections.txt:
17997         * docs/gst/tmpl/gstpad.sgml:
17998           document more pad stuff
17999         * gst/gstminiobject.c: (gst_mini_object_ref),
18000         (gst_mini_object_unref):
18001           debug refcounting
18002
18003 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
18004
18005         * docs/gst/tmpl/gst.sgml:
18006         * gst/gst.c:
18007           eliminate another tmpl file, fix spelling in the long-description
18008
18009 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18010
18011         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18012         (test_event), (timediff), (gstevents_suite):
18013           Should fix build on 64-bit arch's
18014
18015 2005-08-18  Andy Wingo  <wingo@pobox.com>
18016
18017         Make sure that when a pipeline goes to PLAYING, that data has
18018         actually hit the sink.
18019
18020         * check/states/sinks.c (test_sink): A sink that doesn't get any
18021         data shouldn't return SUCCESS for going to either PLAYING or
18022         PAUSED. Test also the return values on the way back down.
18023
18024         * gst/gstelement.c (gst_element_set_state): When changing the
18025         state of an element currently changing state asynchronously, go to
18026         lost-state after commiting the pending state. Makes future calls
18027         to get_state continue to return ASYNC.
18028
18029         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18030         ASYNC when going to PLAYING if we still don't have preroll, as can
18031         happen with live sources.
18032
18033 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18034
18035         * docs/pwg/advanced-types.xml:
18036           Hack long paragraph into 2 chunks as a workaround for buggy
18037           jadetex version in sid and breezy that loops infinitely and
18038           eats all RAM.
18039
18040 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18041
18042         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18043         (test_event), (timediff), (gstevents_suite):
18044           Provide more error margin in clock measurements to allow for 
18045           g_get_current_time inaccuracies.
18046
18047 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18048
18049         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18050         (test_event), (timediff), (gstevents_suite):
18051            Fix error message output so I might be able to tell why the
18052            test works here but fails on the build farm.
18053
18054 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
18055
18056         * check/Makefile.am:
18057         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18058         (test_event), (timediff), (gstevents_suite), (main):
18059           I wrote a test!
18060
18061         * docs/design/part-seeking.txt:
18062           Spelling correction
18063
18064         * docs/gst/tmpl/gstevent.sgml:
18065         * docs/gst/tmpl/gstfakesrc.sgml:
18066           Docs updates.
18067
18068         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18069           Treat a buffer-without-newsegment the same as a receiving 
18070           a newsegment not in time format, and disable syncing to the clock
18071           with a warning.
18072
18073         * gst/gstbus.c: (gst_bus_set_sync_handler):
18074           Assert if anyone tries to replace the existing sync_handler for bus, 
18075           as only the owner should be setting it.
18076
18077         * gst/gstevent.h:
18078           Have a fixed set of custom event enums with events identified by
18079           their structure name (as in 0.8), rather than a free-for-all
18080           allowing collisions between enum values from different plugins.
18081
18082         * gst/gstpad.c: (gst_pad_class_init):
18083           Docs change.
18084           
18085         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18086           Handle out-of-band downstream events from the sending thread.
18087
18088 2005-08-17  Andy Wingo  <wingo@pobox.com>
18089
18090         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18091         play-timeout==0 to mean no timeout at all. In that case, don't
18092         bother with a get_state or a warning, just return directly, even
18093         if it's ASYNC.
18094
18095         * gst/base/gstbasetransform.c: Debug changes.
18096
18097         * gst/gstutils.h:
18098         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18099         ensure bins post state change messages. A bit of a hack but I can't
18100         think of a way to avoid it.
18101
18102         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18103
18104 2005-08-16  Andy Wingo  <wingo@pobox.com>
18105
18106         * gst/base/gstadapter.h:
18107         * gst/base/gstadapter.c (gst_adapter_take): New function, like
18108         peek() but you own the data. Not terribly efficient atm.
18109
18110 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18111
18112         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18113         (gst_element_found_tags):
18114         * gst/gstutils.h:
18115           Add two utility functions for tag handling.
18116
18117 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18118
18119         * docs/manual/advanced-dataaccess.xml:
18120         * docs/manual/basics-helloworld.xml:
18121           Fix docs to use _bin_add() before _link(), which fixes the examples
18122           with recent core versions (reported by Madhan Raj M
18123           <raj_madan@rediffmail.com>, #313199).
18124
18125 2005-08-16  Wim Taymans  <wim@fluendo.com>
18126
18127         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18128         Added subtract checks.
18129
18130         * docs/design/part-events.txt:
18131         Some more docs about newsegment
18132
18133         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18134         Fix FIXME
18135
18136         * gst/gstcaps.c: (gst_caps_to_string):
18137         Add comments, cleanups.
18138         
18139         * gst/gstelement.c: (gst_element_save_thyself):
18140         cleanups
18141         
18142         * gst/gstvalue.c: (gst_value_collect_int_range),
18143         (gst_string_unwrap), (gst_value_union_int_int_range),
18144         (gst_value_union_int_range_int_range),
18145         (gst_value_intersect_int_int_range),
18146         (gst_value_intersect_int_range_int_range),
18147         (gst_value_intersect_double_double_range),
18148         (gst_value_intersect_double_range_double_range),
18149         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18150         (gst_value_subtract_int_range_int),
18151         (gst_value_subtract_double_range_double),
18152         (gst_value_subtract_double_range_double_range),
18153         (gst_value_subtract_from_list), (gst_value_subtract_list),
18154         (gst_value_can_compare), (gst_value_compare_fraction):
18155         Cleanups, add comments, remove unneeded asserts.
18156
18157 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18158
18159         * tools/gst-launch.c: (event_loop):
18160           don't convert NULL structures to strings
18161
18162 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
18163
18164         * docs/gst/gstreamer-sections.txt:
18165           made some defines private
18166         * docs/gst/tmpl/gstconfig.sgml:
18167         * docs/gst/tmpl/gstqueue.sgml:
18168         * docs/gst/tmpl/gsttaglist.sgml:
18169         * docs/gst/tmpl/gsttypes.sgml:
18170         * docs/gst/tmpl/gstutils.sgml:
18171         * docs/pwg/appendix-porting.xml:
18172         * gst/base/gstbasesink.h:
18173         * gst/base/gstbasesrc.c:
18174         * gst/base/gstbasesrc.h:
18175         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18176         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18177         * gst/gstelement.c: (gst_element_class_init):
18178         * gst/gstpad.c: (gst_pad_class_init):
18179         * gst/gstqueue.c: (gst_queue_class_init):
18180         * gst/gstxml.c: (gst_xml_class_init):
18181           documented all undocumented signal inline
18182         * libs/gst/controller/gst-controller.h:
18183           added padding
18184
18185 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18186
18187         * docs/pwg/appendix-porting.xml:
18188           Document _set_link_function -> _set_setcaps_function.
18189
18190 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18191
18192         * check/Makefile.am:
18193           add a .check target for running the check
18194         * check/gst-libs/controller.c: (GST_START_TEST):
18195           cosmetic fixups
18196         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18197           complete checks for gstbuffer; would be nice if I could get the
18198           gcov stuff to work so I can see if I actually completed gstbuffer.c
18199         * check/gstcheck.h:
18200           add ASSERT_BUFFER_REFCOUNT
18201
18202 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
18203
18204         * docs/gst/gstreamer-sections.txt:
18205         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18206         * gst/gsttag.h:
18207           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18208           spew out a warning if a tag that is already registered
18209           is re-registered, unless it is re-registered with a 
18210           different type (#308438).
18211
18212 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
18213
18214         * docs/pwg/appendix-porting.xml:
18215         * docs/pwg/building-state.xml:
18216           Add some paragraphs about state changes in 0.9 to the PWG
18217           and the porting guide, in particular about the new meaning
18218           of GST_STATE_PAUSED and how to write state change functions
18219           with concurrent access by multiple threads in mind.
18220
18221 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
18222
18223         * docs/gst/gstreamer-docs.sgml:
18224         * docs/libs/gstreamer-libs-docs.sgml:
18225           added deprecation and since indexes
18226         * libs/gst/controller/gst-controller.c:
18227         * libs/gst/controller/gst-helper.c:
18228           added since tags
18229
18230
18231 2005-08-11  Wim Taymans  <wim@fluendo.com>
18232
18233         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18234         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18235         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18236         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18237         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18238         (gst_ghost_pad_set_target):
18239         Actually implement (re)setting the target on a ghostpad
18240         as described in the docs.
18241
18242 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18243
18244         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18245           Check whether GST_DEBUG_NO_COLOR environment variable is
18246           set and disable coloured debug output if that is the case.
18247
18248 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
18249
18250         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18251         (gst_type_find_helper):
18252           The memory returned by gst_type_find_peek() needs to
18253           stay valid until the end of a typefind function, and
18254           typefind functions may keep results from different 
18255           offsets around, so we can't just unref the buffer from
18256           the previous _peek(), but have to save all buffers 
18257           returned by _peek() until typefinding is done and only
18258           free them then.
18259
18260 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
18261
18262         * docs/gst/gstreamer-sections.txt:
18263         * gst/gstutils.h:
18264           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18265
18266 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18267
18268         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18269           Fix a pretty good memleak.
18270
18271 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18272
18273         * gst/gstiterator.h:
18274           Fix wrong include and 'make distcheck'.
18275
18276 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18277
18278         * gst/gstbin.c: (bin_bus_handler):
18279           Use gst_element_post_message() instead.
18280
18281 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
18282
18283         * gst/base/gstadapter.h:
18284         * gst/base/gstbasesink.h:
18285         * gst/base/gstbasesrc.h:
18286         * gst/base/gstbasetransform.h:
18287         * gst/base/gstcollectpads.h:
18288         * gst/base/gstpushsrc.h:
18289         * gst/gstiterator.h:
18290           Add padding to our base elements' class and instance structs and
18291           to GstIterator (you will need to rebuild all plugins and apps!)
18292
18293 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18294
18295         * gst/gstbin.c: (bin_bus_handler):
18296           Make default message forwarding from child->bus to bin->bus
18297           threadsafe and make it not emit warnings if the parent has no bus.
18298
18299 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18300
18301         * gst/gstelement.c: (activate_pads):
18302           On paused->ready, set pad->caps to NULL, as is the documented
18303           behaviour in this state change. Fixes playback of series of
18304           media files when visualization is enabled in Totem.
18305
18306 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18307
18308         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18309           Allow NULL as filter-caps (which means "any").
18310
18311 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18312
18313         * docs/libs/gstreamer-libs-sections.txt:
18314         * libs/gst/controller/gst-controller.c:
18315         * libs/gst/controller/gst-controller.h:
18316         * libs/gst/controller/gst-helper.c:
18317           adding more entries to the docs and fix small doc-bugs
18318
18319 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18320
18321         * docs/gst/gstreamer-docs.sgml:
18322         * docs/gst/gstreamer-sections.txt:
18323         * docs/gst/gstreamer.types:
18324         * docs/gst/tmpl/gstbasesink.sgml:
18325         * docs/gst/tmpl/gstbasesrc.sgml:
18326         * docs/gst/tmpl/gstbasetransform.sgml:
18327         * docs/gst/tmpl/gstfakesrc.sgml:
18328         * gst/base/gstcollectpads.c:
18329         * gst/base/gstcollectpads.h:
18330         * libs/gst/controller/gst-controller.c:
18331         * libs/gst/controller/gst-controller.h:
18332         * libs/gst/controller/gst-helper.c:
18333         * libs/gst/controller/gst-interpolation.c:
18334         * libs/gst/controller/lib.c:
18335           added long/short desc for controller docs
18336           added collectpads base class docs
18337           added correct includes to base-class docs
18338
18339 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
18340
18341         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18342         (gst_test_mono_source_set_property),
18343         (gst_test_mono_source_class_init), (GST_START_TEST),
18344         (gst_controller_suite):
18345         * docs/gst/gstreamer-docs.sgml:
18346         * docs/gst/gstreamer-sections.txt:
18347         * docs/gst/gstreamer.types:
18348         * docs/libs/gstreamer-libs-docs.sgml:
18349         * docs/libs/gstreamer-libs-sections.txt:
18350         * gst/base/gstadapter.c:
18351         * libs/gst/controller/gst-controller.c:
18352         (gst_controlled_property_new), (gst_controlled_property_free),
18353         (gst_controller_new_valist),
18354         (gst_controller_remove_properties_valist),
18355         (gst_controller_sink_values), (_gst_controller_finalize):
18356         * libs/gst/controller/gst-controller.h:
18357         * libs/gst/controller/gst-helper.c:
18358         (gst_object_control_properties), (gst_object_uncontrol_properties),
18359         (gst_object_get_controller), (gst_object_set_controller),
18360         (gst_object_sink_values), (gst_object_get_value_arrays),
18361         (gst_object_get_value_array):
18362           more tests (and fixes) for the controller
18363           more docs for the controller
18364           integrated companies docs for the adapter 
18365
18366 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18367
18368         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18369         (GST_START_TEST), (fakesrc_suite):
18370           add tests for sizetype
18371
18372 2005-08-04  Andy Wingo  <wingo@pobox.com>
18373
18374         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18375         fixes buffer_alloc proxying among other things.
18376
18377         * gst/base/gstbasetransform.c:
18378         * gst/base/gstbasetransform.h:
18379         Revert patch to gstbasetransform from 7-28 removing
18380         delay_configure.
18381
18382         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18383         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18384         Semantics changed, should return not the size of the output buffer
18385         but the byte size of a buffer with a given caps.
18386
18387         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18388         debug object.
18389         (gst_base_transform_configure_caps): Don't set out_size here: (in,
18390         out) are not the pad caps until setcaps finishes.
18391         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18392         not-in-place case as well. Deal with changing from in-place to
18393         not-in-place within calling pad_alloc_buffer. Still a bit
18394         concerned about the overhead here...
18395
18396 2005-08-03  Andy Wingo  <wingo@pobox.com>
18397
18398         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18399         fixating is an error.
18400
18401 2005-08-04  Edward Hervey  <edward@fluendo.com>
18402
18403         * gst/base/gstadapter.h: 
18404         Added gst_adapter_get_type() to the header
18405
18406 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18407
18408         * check/Makefile.am:
18409         * check/gst-libs/controller.c:
18410         * libs/gst/controller/gst-controller.c:
18411         (gst_controller_new_valist):
18412           added check test suite for the controller
18413         * gst/base/gstpushsrc.c:
18414           fixed a doc typo
18415
18416 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18417
18418         * docs/gst/Makefile.am:
18419         * docs/gst/gstreamer-docs.sgml:
18420         * docs/gst/gstreamer-sections.txt:
18421         * docs/gst/gstreamer.types:
18422         * docs/gst/tmpl/gstfakesrc.sgml:
18423         * gst/base/README:
18424         * gst/base/gstbasesink.c:
18425         * gst/base/gstbasesink.h:
18426         * gst/base/gstbasesrc.c:
18427         * gst/base/gstbasesrc.h:
18428         * gst/base/gstbasetransform.c:
18429         * gst/base/gstpushsrc.c:
18430         * gst/base/gstpushsrc.h:
18431           add short/long description docs to base classes
18432           add pushsrc to the docs
18433           remove consolidated doc fragments
18434
18435 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18436
18437         * configure.ac:
18438         * docs/libs/Makefile.am:
18439         * docs/libs/gstreamer-libs-docs.sgml:
18440         * docs/libs/gstreamer-libs-sections.txt:
18441         * docs/libs/gstreamer-libs.types:
18442         * examples/Makefile.am:
18443         * examples/controller/.cvsignore:
18444         * examples/controller/Makefile.am:
18445         * examples/controller/audio-example.c: (main):
18446         * libs/gst/Makefile.am:
18447         * libs/gst/controller/.cvsignore:
18448         * libs/gst/controller/Makefile.am:
18449         * libs/gst/controller/gst-controller.c:
18450         (on_object_controlled_property_changed), (gst_timed_value_compare),
18451         (gst_timed_value_find),
18452         (gst_controlled_property_set_interpolation_mode),
18453         (gst_controlled_property_new), (gst_controlled_property_free),
18454         (gst_controller_find_controlled_property),
18455         (gst_controller_new_valist), (gst_controller_new),
18456         (gst_controller_remove_properties_valist),
18457         (gst_controller_remove_properties), (gst_controller_set),
18458         (gst_controller_set_from_list), (gst_controller_unset),
18459         (gst_controller_get), (gst_controller_get_all),
18460         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18461         (gst_controller_get_value_array),
18462         (gst_controller_set_interpolation_mode),
18463         (_gst_controller_finalize), (_gst_controller_init),
18464         (_gst_controller_class_init), (gst_controller_get_type):
18465         * libs/gst/controller/gst-controller.h:
18466         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18467         (g_object_uncontrol_properties), (g_object_get_controller),
18468         (g_object_set_controller), (g_object_sink_values),
18469         (g_object_get_value_arrays), (g_object_get_value_array):
18470         * libs/gst/controller/gst-interpolation.c:
18471         (gst_controlled_property_find_timed_value_node),
18472         (interpolate_none_get), (interpolate_trigger_get),
18473         (interpolate_trigger_get_value_array):
18474         * libs/gst/controller/lib.c: (gst_controller_init):
18475         * pkgconfig/Makefile.am:
18476         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18477         * pkgconfig/gstreamer-control.pc.in:
18478         * testsuite/Makefile.am:
18479         * testsuite/controller/.cvsignore:
18480         * testsuite/controller/Makefile.am:
18481         * testsuite/controller/interpolator.c: (main):
18482           added controller code
18483           removed dparam pc files
18484
18485 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18486         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18487         (gst_collectpads_stop):
18488           Broadcast the condition when shutting down, to make sure we wake all
18489           threads up. Shut down pads on finalize, for safety.
18490
18491 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18492         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18493         (gst_base_transform_handle_buffer),
18494         (gst_base_transform_change_state):
18495           Handle PAUSED->READY->PAUSED transition after negotiation
18496           occurred already.
18497         * gst/gstmessage.c: (gst_message_init):
18498           Extra piece of debug for new messages.
18499
18500 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18501
18502         * configure.ac:
18503         * docs/gst/tmpl/gstbasesrc.sgml:
18504         * docs/gst/tmpl/gstelement.sgml:
18505         * docs/gst/tmpl/gstevent.sgml:
18506         * docs/gst/tmpl/gstfakesrc.sgml:
18507         * docs/gst/tmpl/gstformat.sgml:
18508         * docs/gst/tmpl/gstghostpad.sgml:
18509         * docs/gst/tmpl/gstpad.sgml:
18510         * docs/gst/tmpl/gstquery.sgml:
18511         * docs/gst/tmpl/gststructure.sgml:
18512         * docs/gst/tmpl/gsttaglist.sgml:
18513         * docs/gst/tmpl/gstvalue.sgml:
18514         * docs/libs/gstreamer-libs-docs.sgml:
18515         * docs/libs/gstreamer-libs-sections.txt:
18516         * docs/libs/gstreamer-libs.types:
18517         * libs/gst/Makefile.am:
18518         * libs/gst/control/.cvsignore:
18519         * libs/gst/control/Makefile.am:
18520         * libs/gst/control/control.c:
18521         * libs/gst/control/control.h:
18522         * libs/gst/control/dparam.c:
18523         * libs/gst/control/dparam.h:
18524         * libs/gst/control/dparam_smooth.c:
18525         * libs/gst/control/dparam_smooth.h:
18526         * libs/gst/control/dparamcommon.h:
18527         * libs/gst/control/dparammanager.c:
18528         * libs/gst/control/dparammanager.h:
18529         * libs/gst/control/dplinearinterp.c:
18530         * libs/gst/control/dplinearinterp.h:
18531         * libs/gst/control/unitconvert.c:
18532         * libs/gst/control/unitconvert.h:
18533         * testsuite/Makefile.am:
18534         * testsuite/dynparams/.cvsignore:
18535         * testsuite/dynparams/Makefile.am:
18536         * testsuite/dynparams/dparamstest.c:
18537         * tools/Makefile.am:
18538         * tools/gst-inspect.c: (print_element_info), (main):
18539         * tools/gst-xmlinspect.c: (print_element_info), (main):
18540           deactivate and remove dparams (libgstcontrol)
18541
18542 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18543
18544         * gst/elements/gsttypefindelement.c:
18545         (gst_type_find_element_have_type), (gst_type_find_element_init),
18546         (stop_typefinding), (gst_type_find_element_handle_event),
18547         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18548         * gst/elements/gsttypefindelement.h:
18549           Set caps on all outgoing buffers, not just the first one.
18550
18551 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18552
18553         * gst/elements/gsttypefindelement.c:
18554         (gst_type_find_element_have_type),
18555         (gst_type_find_element_check_set_buffer_caps),
18556         (gst_type_find_element_init), (stop_typefinding),
18557         (gst_type_find_element_handle_event),
18558         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18559         * gst/elements/gsttypefindelement.h:
18560           Set caps on first outgoing buffer when we've found the type.
18561
18562 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18563
18564         * docs/gst/gstreamer-docs.sgml:
18565         * docs/gst/gstreamer-sections.txt:
18566         * docs/gst/tmpl/gstscheduler.sgml:
18567         * docs/gst/tmpl/gstschedulerfactory.sgml:
18568           Remove some old cruft from docs.
18569
18570 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18571
18572         * gst/gstpad.h:
18573           Fix inline docs for GstPadLinkReturn.
18574           
18575         * gst/gststructure.c: (gst_structure_has_name):
18576         * gst/gststructure.h:
18577         * docs/gst/gstreamer-sections.txt:
18578           New API: gst_structure_has_name().
18579
18580 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18581
18582         * configure.ac:
18583           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18584           and _LARGEFILE_SOURCE in config.h as required. Do not 
18585           export those flags in our .pc files any longer (#142209).
18586
18587           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18588
18589         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18590         (gst_file_sink_do_seek), (gst_file_sink_event),
18591         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18592           Redo seek/tell calls with large file support in mind; add some
18593           debugging messages; add log message that tells us when large
18594           file support is unavailable or not enabled for some reason.
18595
18596         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18597           Add log message that tells us when large file support 
18598           is unavailable or not enabled for some reason.
18599
18600 2005-07-29  Wim Taymans  <wim@fluendo.com>
18601
18602         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18603         Added test for removing an element with ghostpad from a bin.
18604         Fixed test as current implementation does the right thing.
18605
18606         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18607         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18608         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18609         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18610         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18611         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18612         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18613         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18614         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18615         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18616         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18617         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18618         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18619         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18620         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18621         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18622         * gst/gstghostpad.h:
18623         Clean up ghostpads, remove properties for internal stuff.
18624         Make threadsafe.
18625         Fix refcounting.
18626         Prepare for switching targets, not all use cases work yet.
18627
18628 2005-07-29  Wim Taymans  <wim@fluendo.com>
18629
18630         * docs/design/part-gstghostpad.txt:
18631         Small update.
18632
18633         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18634         (gst_bin_remove_func):
18635         Unlinking pads while holding the bin LOCK is not a good
18636         idea.
18637
18638         * gst/gstpad.c: (gst_pad_class_init),
18639         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18640         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18641         No prob setting template after creating the pad.
18642
18643 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18644
18645         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18646         (gst_bus_peek), (gst_bus_source_dispatch),
18647         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18648         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18649           gst_bus_poll may be called from other threads. Handle
18650           this nicely by not making poll_data disappear off the
18651           stack once gst_bus_poll returns.
18652           gst_bus_peek now increments the refcount on the returned
18653           message.
18654
18655 2005-07-29  Wim Taymans  <wim@fluendo.com>
18656
18657         * docs/design/part-gstghostpad.txt:
18658         Overview of current GhostPad datastructures and use
18659         cases for changing the target.
18660
18661 2005-07-28  Wim Taymans  <wim@fluendo.com>
18662
18663         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18664         Added checks for hierarchy consistency whan adding linked
18665         elements to bins.
18666
18667         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18668         Added check to test element scheduling without bin/pipeline.
18669
18670         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18671         First add elements to bin, then link.
18672         
18673         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18674         (gst_bin_remove_func):
18675         Unlink pads from elements added/removed from bin to maintain
18676         hierarchy consistency.
18677
18678 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18679
18680         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18681         (gst_base_transform_handle_buffer):
18682         * gst/base/gstbasetransform.h:
18683           Remove broken delay_configure (fixes renegotiation of software
18684           scaling pipelines); remove some leftover printf()s.
18685
18686 2005-07-28  Wim Taymans  <wim@fluendo.com>
18687
18688         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18689         Added some more tests for wrong hierarchy
18690
18691         * docs/design/part-overview.txt:
18692         Some updates.
18693
18694         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18695         Cleanups.
18696
18697         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18698         (gst_element_dispose):
18699         Some more cleanups.
18700
18701         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18702         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18703         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18704         (gst_pad_set_caps), (gst_pad_send_event):
18705         Check for correct hierarchy when linking pads. Moving to
18706         strict requirement for ghostpads when linking elements in
18707         different bins.
18708
18709         * gst/gstpad.h:
18710         Clean ups. Added WRONG_HIERARCHY return value.
18711
18712 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18713
18714         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18715           Better debug if no transform is possible.
18716
18717 2005-07-27  Wim Taymans  <wim@fluendo.com>
18718
18719         * docs/random/wtay/network-transp:
18720         Some old doc I had.
18721
18722 2005-07-27  Wim Taymans  <wim@fluendo.com>
18723
18724         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18725         (gst_dp_event_from_packet):
18726         Fix serialization of seek events.
18727
18728 2005-07-27  Wim Taymans  <wim@fluendo.com>
18729
18730         * check/gst-libs/gdp.c: (GST_START_TEST):
18731         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18732         Fix compilation and fix event serialization.
18733
18734 2005-07-27  Wim Taymans  <wim@fluendo.com>
18735
18736         * CHANGES-0.9:
18737         * docs/design/part-TODO.txt:
18738         * docs/design/part-events.txt:
18739         Some docs updates
18740
18741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18742         (gst_base_sink_event), (gst_base_sink_do_sync),
18743         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18744         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18745         (gst_base_src_do_seek), (gst_base_src_event_handler),
18746         (gst_base_src_loop):
18747         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18748         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18749         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18750         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18751         (gst_base_transform_set_passthrough),
18752         (gst_base_transform_is_passthrough):
18753         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18754         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18755         Event updates.
18756
18757         * gst/gstbuffer.h:
18758         Use faster casts.
18759
18760         * gst/gstelement.c: (gst_element_seek):
18761         * gst/gstelement.h:
18762         Update gst_element_seek.
18763
18764         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18765         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18766         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18767         (gst_event_new_eos), (gst_event_new_newsegment),
18768         (gst_event_parse_newsegment), (gst_event_new_tag),
18769         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18770         (gst_event_parse_qos), (gst_event_new_seek),
18771         (gst_event_parse_seek), (gst_event_new_navigation):
18772         * gst/gstevent.h:
18773         Make GstEvent use GstStructure. Add parsing code, make sure the
18774         API is sufficiently generic.
18775         Mark possible directions of events and serialization.
18776
18777         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18778         (_gst_message_copy), (gst_message_new_segment_start),
18779         (gst_message_new_segment_done), (gst_message_new_custom),
18780         (gst_message_parse_segment_start),
18781         (gst_message_parse_segment_done):
18782         Small cleanups.
18783
18784         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18785         (gst_pad_set_caps), (gst_pad_send_event):
18786         Update for new events. 
18787         Catch events sent in wrong directions.
18788
18789         * gst/gstqueue.c: (gst_queue_link_src),
18790         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18791         (gst_queue_handle_src_query):
18792         Event updates.
18793
18794         * gst/gsttag.c:
18795         * gst/gsttag.h:
18796         Remove event code from this file.
18797
18798         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18799         (gst_dp_event_from_packet):
18800         Event updates.
18801
18802 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18803
18804         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18805         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18806         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18807           Make debugging actually useful.
18808
18809 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18810
18811         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18812         (gst_pad_fixate_caps):
18813           Implement default fixation once again, so that gst_pad_fixate()
18814           actually does anything at all. This probably needs to be some
18815           sort of a last resort, and use profile-based fixation first, but
18816           since that doesn't exist yet, this is the best we have. Fixes
18817           visualization in Totem.
18818
18819 2005-07-22  Wim Taymans  <wim@fluendo.com>
18820
18821         * docs/design/part-events.txt:
18822         Small update.
18823
18824         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18825         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18826         (gst_base_sink_activate_pull):
18827         Some more comments.
18828
18829         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18830         (gst_fake_src_create):
18831         Fix handoff marshall.
18832
18833         * gst/elements/gstidentity.c: (gst_identity_class_init),
18834         (gst_identity_transform_ip):
18835         We're a real inplace element.
18836
18837         * gst/gstbus.c: (gst_bus_post):
18838         Added some comments.
18839
18840         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18841         * tests/muxing/case1.c: (main):
18842         * tests/sched/dynamic-pipeline.c: (main):
18843         * tests/sched/interrupt1.c: (main):
18844         * tests/sched/interrupt2.c: (main):
18845         * tests/sched/interrupt3.c: (main):
18846         * tests/sched/runxml.c: (main):
18847         * tests/sched/sched-stress.c: (main):
18848         * tests/seeking/seeking1.c: (event_received), (main):
18849         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18850         (main):
18851         * tests/threadstate/threadstate3.c: (main):
18852         * tests/threadstate/threadstate4.c: (main):
18853         * tests/threadstate/threadstate5.c: (main):
18854         Fix the tests.
18855
18856 2005-07-21  Wim Taymans  <wim@fluendo.com>
18857
18858         * docs/design/part-seeking.txt:
18859         Some small additions.
18860
18861         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18862         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18863         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18864         * gst/base/gstbasesink.h:
18865         discont values are gint64, handle the math correctly.
18866
18867         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18868         Make the basesrc report error if the source pad is not linked.
18869
18870         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18871         (gst_queue_loop), (gst_queue_handle_src_query),
18872         (gst_queue_src_activate_push):
18873         Make queue collect data even if the srcpad is not linked.
18874         Start pushing out data as soon as it is linked.
18875
18876         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18877         * gst/gstutils.h:
18878         Added gst_flow_get_name() to ease error reporting.
18879
18880 2005-07-20  Wim Taymans  <wim@fluendo.com>
18881
18882         * gst/gstmessage.c: (gst_message_new_segment_start),
18883         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18884         (gst_message_parse_segment_done):
18885         * gst/gstmessage.h:
18886         Added a bunch of messages for advanced seeking.
18887
18888         * gst/parse/grammar.y:
18889         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18890         (gst_dpman_state_changed):
18891         Fix some new-pad -> pad-added signals
18892
18893 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18894
18895         * docs/manual/appendix-porting.xml:
18896         * docs/pwg/appendix-porting.xml:
18897           Document new-pad/state-change signal renames and the FixedList
18898           type rename.
18899
18900 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18901
18902         * docs/manual/advanced-autoplugging.xml:
18903         * docs/manual/basics-helloworld.xml:
18904         * docs/manual/basics-pads.xml:
18905         * docs/random/ds/0.9-suggested-changes:
18906         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18907         * gst/gstelement.h:
18908         * gst/gstevent.h:
18909         * gst/gstformat.h:
18910         * gst/gstquery.h:
18911         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18912         (gst_structure_parse_array), (gst_structure_parse_value):
18913         * gst/gstvalue.c: (gst_type_is_fixed),
18914         (gst_value_list_prepend_value), (gst_value_list_append_value),
18915         (gst_value_list_get_size), (gst_value_list_get_value),
18916         (gst_value_transform_array_string), (gst_value_serialize_array),
18917         (gst_value_deserialize_array), (gst_value_intersect_array),
18918         (gst_value_is_fixed), (_gst_value_initialize):
18919         * gst/gstvalue.h:
18920           GstElement::new-pad -> pad-added, GstElement::state-change ->
18921           state-changed, GstValueFixedList -> GstValueArray, add format and
18922           flags as their own arguments in gst_element_seek() (should improve
18923           "bindeability"), remove function generators since they don't work
18924           under a whole bunch of compilers (they were deprecated already
18925           anyway).
18926
18927 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18928
18929         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18930         (_gst_debug_register_funcptr):
18931         * gst/gstinfo.h:
18932           Fix illegal cast on some platforms (#309253).
18933
18934 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18935
18936         * gst/gstmessage.c: (gst_message_new_custom):
18937         * gst/gstmessage.h:
18938           Add _new_custom, make _new_application a macro to _new_custom.
18939
18940 2005-07-20  Wim Taymans  <wim@fluendo.com>
18941
18942         * gst/base/gstbasesrc.c: (gst_base_src_init),
18943         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18944         * gst/base/gstbasesrc.h:
18945         Add a gboolean to decide when to push out a discont.
18946
18947         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18948         (gst_queue_loop), (gst_queue_handle_src_query),
18949         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18950         (gst_queue_set_property), (gst_queue_get_property):
18951         Some cleanups.
18952
18953         * tests/threadstate/threadstate1.c: (main):
18954         Make a thread test compile and run... very silly..
18955
18956
18957 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18958
18959         * docs/manual/appendix-porting.xml:
18960           Mention removal of libgstgconf-0.9.la and existence of gconf
18961           elements.
18962
18963 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18964
18965         * docs/pwg/advanced-clock.xml:
18966         * docs/pwg/appendix-porting.xml:
18967         * docs/pwg/intro-preface.xml:
18968         * docs/pwg/other-base.xml:
18969         * docs/pwg/other-manager.xml:
18970         * docs/pwg/other-nton.xml:
18971         * docs/pwg/other-ntoone.xml:
18972         * docs/pwg/other-oneton.xml:
18973         * docs/pwg/pwg.xml:
18974           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18975           demuxer), remove n-to-n (was never written), fix some code examples
18976           and links and update the porting section to include all this.
18977
18978 2005-07-19  Wim Taymans  <wim@fluendo.com>
18979
18980         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18981         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18982         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18983         (gst_queue_src_activate_push), (gst_queue_change_state),
18984         (gst_queue_get_property):
18985         * gst/gstqueue.h:
18986         Propagate GstFlowReturn more intelligently upstream and output
18987         an ERROR/EOS when streaming stopped due to fatal error.
18988
18989 2005-07-19  Wim Taymans  <wim@fluendo.com>
18990
18991         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18992         Don't block forever for the state change to complete, the
18993         pipeline already did with a sensible timeout.
18994
18995 2005-07-19  Wim Taymans  <wim@fluendo.com>
18996
18997         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18998         Make sure we never call the create function is we
18999         got deactivated.
19000
19001 2005-07-19  Andy Wingo  <wingo@pobox.com>
19002
19003         * gst/parse/parse.l: Attempt to solve bug #172815.
19004
19005 2005-07-19  Wim Taymans  <wim@fluendo.com>
19006
19007         * docs/design/part-clocks.txt:
19008         * docs/design/part-events.txt:
19009         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19010         Small docs updates.
19011         Only update the seeking values when we are not
19012         busy streaming.
19013
19014 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
19015
19016         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19017           Oops, ignore the result of gst_pad_push_event here.
19018
19019 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
19020
19021         * gst/base/gstbasesrc.c: (gst_base_src_loop),
19022         (gst_base_src_activate_push):
19023           Send discont event from the loop function, as pads
19024           aren't activated yet in the activate_push handler.
19025
19026         * gst/gstbin.c: (bin_bus_handler):
19027           Don't leak element name.
19028
19029 2005-07-18  Andy Wingo  <wingo@pobox.com>
19030
19031         * configure.ac: Use AS_LIBTOOL_TAGS.
19032
19033 2005-07-18  Wim Taymans  <wim@fluendo.com>
19034
19035         * docs/gst/gstreamer.types:
19036         Remove deleted types.
19037
19038 2005-07-18  Wim Taymans  <wim@fluendo.com>
19039
19040         * check/elements/gstfakesrc.c: (GST_START_TEST):
19041         * configure.ac:
19042         * gst/Makefile.am:
19043         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19044         (init_popt_callback):
19045         * gst/gst.h:
19046         * gst/gst_private.h:
19047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19048         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19049         * gst/gstbin.h:
19050         * gst/gstbus.h:
19051         * gst/gstconfig.h.in:
19052         * gst/gstelement.c: (gst_element_class_init),
19053         (gst_element_set_base_time), (gst_element_get_base_time),
19054         (iterator_fold_with_resync), (gst_element_change_state),
19055         (gst_element_dispose), (gst_element_get_bus):
19056         * gst/gstelement.h:
19057         * gst/gstelementfactory.h:
19058         * gst/gsterror.c: (_gst_core_errors_init):
19059         * gst/gsterror.h:
19060         * gst/gstevent.h:
19061         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19062         * gst/gstindex.c:
19063         * gst/gstinfo.c: (_gst_debug_init):
19064         * gst/gstmessage.c: (_gst_message_copy):
19065         * gst/gstmessage.h:
19066         * gst/gstminiobject.h:
19067         * gst/gstobject.c:
19068         * gst/gstobject.h:
19069         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19070         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19071         * gst/gstpad.h:
19072         * gst/gstparse.h:
19073         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19074         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19075         (gst_pipeline_get_last_stream_time):
19076         * gst/gstpipeline.h:
19077         * gst/gstpluginfeature.h:
19078         * gst/gstquery.h:
19079         * gst/gstscheduler.c:
19080         * gst/gstscheduler.h:
19081         * gst/gststructure.h:
19082         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19083         (gst_task_finalize), (gst_task_func), (gst_task_create),
19084         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19085         (gst_task_stop), (gst_task_pause):
19086         * gst/gsttask.h:
19087         * gst/gsttypefind.h:
19088         * gst/gsttypes.h:
19089         * gst/registries/gstlibxmlregistry.c: (load_feature),
19090         (gst_xml_registry_load), (gst_xml_registry_save_feature):
19091         * gst/registries/gstxmlregistry.c:
19092         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19093         * gst/schedulers/threadscheduler.c:
19094         * libs/gst/control/dparammanager.h:
19095         * tools/gst-inspect.c: (print_element_list),
19096         (print_plugin_features), (print_element_features):
19097         * tools/gst-xmlinspect.c: (print_element_list),
19098         (print_plugin_info), (main):
19099         Removed plugable schedulers.
19100         Removed Scheduler/Manager from elements.
19101         Removed gsttypes.h, rearranged includes.
19102         Removed dependency pad<->element, element<>pipeline, and
19103         various others,  fix includes.
19104         implement gst_pad_get_parent() with gst_object_get_parent()
19105         Make GstTask sefcontained.
19106         Fix _get_state() on GstBin, it did not return ASYNC with a 0
19107         timeout.
19108         Fix endless loop in iterator_fold_with_resync.
19109
19110
19111 2005-07-18  Wim Taymans  <wim@fluendo.com>
19112
19113         * gst/Makefile.am:
19114         * gst/gstarch.h:
19115         Remove old file.
19116
19117 2005-07-18  Wim Taymans  <wim@fluendo.com>
19118
19119         * gst/Makefile.am:
19120         No more cothreads.h
19121
19122 2005-07-18  Wim Taymans  <wim@fluendo.com>
19123
19124         * gst/cothreads.c:
19125         * gst/cothreads.h:
19126         Let's remove these.
19127
19128 2005-07-18  Wim Taymans  <wim@fluendo.com>
19129
19130         * docs/design/part-dynamic.txt:
19131         * docs/design/part-events.txt:
19132         * docs/design/part-seeking.txt:
19133         Some more docs in the works.
19134
19135         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19136         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19137         (gst_base_transform_setcaps), (gst_base_transform_get_size),
19138         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19139         (gst_base_transform_handle_buffer),
19140         (gst_base_transform_sink_activate_push),
19141         (gst_base_transform_src_activate_pull),
19142         (gst_base_transform_set_passthrough),
19143         (gst_base_transform_is_passthrough):
19144         Refcounting fixes.
19145
19146         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19147         Cleanups.
19148
19149         * gst/gstevent.c: (gst_event_finalize):
19150         Set SRC to NULL.
19151
19152         * gst/gstutils.c: (gst_element_unlink),
19153         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19154         (gst_pad_proxy_setcaps):
19155         * gst/gstutils.h:
19156         Add _get_parent_element() to get a pads parent as an element.
19157
19158 2005-07-18  Wim Taymans  <wim@fluendo.com>
19159
19160         * check/gst/gstbin.c: (GST_START_TEST):
19161         Remove bogus test.
19162
19163 2005-07-18  Wim Taymans  <wim@fluendo.com>
19164
19165         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19166         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19167         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19168         (gst_base_sink_event), (gst_base_sink_do_sync),
19169         (gst_base_sink_chain), (gst_base_sink_loop),
19170         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19171         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19172         Refcounting fixes.
19173         Fix logic for returning ASYNC when not prerolled.
19174
19175 2005-07-18  Wim Taymans  <wim@fluendo.com>
19176
19177         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19178         Fix nasty refcount bug.
19179
19180 2005-07-16 Philippe Khalaf <burger@speedy.org>
19181
19182         * gst/elements/gstfdsrc.c:
19183         * gst/elements/gstfdsrc.h:
19184         * gst/elements/gstelements.c:
19185         * gst/elements/Makefile.am:
19186         Ported fdsrc to 0.9.
19187
19188 2005-07-16  Wim Taymans  <wim@fluendo.com>
19189
19190         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19191         (gst_base_sink_do_sync):
19192         Fix compile error.
19193
19194 2005-07-16  Wim Taymans  <wim@fluendo.com>
19195
19196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19197         (gst_base_sink_event), (gst_base_sink_get_times),
19198         (gst_base_sink_do_sync), (gst_base_sink_change_state):
19199         * gst/base/gstbasesink.h:
19200         Store and use discont values when syncing buffers as described
19201         in design docs.
19202         
19203         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19204         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19205         (gst_base_src_activate_push):
19206         Push discont event when starting.
19207
19208         * gst/elements/gstidentity.c: (gst_identity_transform):
19209         Small cleanups.
19210
19211         * gst/gstbin.c: (gst_bin_change_state):
19212         Small cleanups in base_time  distribution.
19213
19214         * gst/gstelement.c: (gst_element_set_base_time),
19215         (gst_element_get_base_time), (gst_element_change_state):
19216         * gst/gstelement.h:
19217         Added methods for the base_time of the element.
19218         Some MT fixes.
19219
19220         * gst/gstpipeline.c: (gst_pipeline_send_event),
19221         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19222         (gst_pipeline_get_last_stream_time):
19223         * gst/gstpipeline.h:
19224         MT fixes.
19225         Handle seeking as described in design doc, remove stream_time
19226         hack.
19227         Cleanups clock and stream_time selection code. Added accessors
19228         for the stream_time.
19229         
19230
19231 2005-07-16  Andy Wingo  <wingo@pobox.com>
19232
19233         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19234         (#305291).
19235
19236 2005-07-16  Wim Taymans  <wim@fluendo.com>
19237
19238         * check/gst/gstbin.c: (GST_START_TEST):
19239         Make elements silent as the deep_notify refs the
19240         parent, which might make the test fail.
19241
19242         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19243         Don't hold the lock for too long.
19244
19245 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
19246
19247         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19248           Don't unref the caps we passed to gst_caps_make_writable() after
19249           passing them. gst_caps_make_writable() will do that for us.
19250
19251 2005-07-15  Andy Wingo  <wingo@pobox.com>
19252
19253         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19254         (#157311).
19255
19256         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19257         own marshalling function for the handoff signal. Properly type the
19258         buffer as a buffer. Fixes some warnings. Should do a more general
19259         solution.
19260         (gst_identity_class_init): Plug into the right marshaller.
19261
19262 2005-07-15  Wim Taymans  <wim@fluendo.com>
19263
19264         * docs/design/part-TODO.txt:
19265         * docs/design/part-clocks.txt:
19266         * docs/design/part-element-sink.txt:
19267         * docs/design/part-events.txt:
19268         * docs/design/part-gstpipeline.txt:
19269         Updated docs, mostly DISCONT related.
19270
19271 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
19272
19273         * docs/pwg/building-pads.xml:
19274           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19275
19276 2005-07-15  Andy Wingo  <wingo@pobox.com>
19277
19278         * tools/gst-typefind.c: Update, add copyright block.
19279
19280         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19281         Normalize and truncate caps before fixation.
19282
19283         * gst/gstcaps.h:
19284         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19285         discards all but the first structure from its argument.
19286
19287 2005-07-15  Wim Taymans  <wim@fluendo.com>
19288
19289         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19290         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19291         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19292         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19293         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19294         (gst_base_transform_chain), (gst_base_transform_change_state),
19295         (gst_base_transform_set_passthrough),
19296         (gst_base_transform_is_passthrough):
19297         * gst/base/gstbasetransform.h:
19298         Make passthrough work using the bufferpools.
19299         Changed API a bit, subclasses have to write into a buffer
19300         provided by the base class.
19301         More debug info in nego functions.
19302         
19303         * gst/elements/gstidentity.c: (gst_identity_init),
19304         (gst_identity_transform):
19305         Port to new base class.
19306
19307 2005-07-15  Wim Taymans  <wim@fluendo.com>
19308
19309         * gst/gstmessage.c: (gst_message_new_state_changed):
19310         * tools/gst-launch.c: (event_loop), (main):
19311         Totally dump messages in -launch with the -m option.
19312         Fix message name for State messages,
19313
19314 2005-07-14  Wim Taymans  <wim@fluendo.com>
19315
19316         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19317         Post error messages on errors.
19318
19319 2005-07-14  Wim Taymans  <wim@fluendo.com>
19320
19321         * gst/gstcaps.c: (gst_caps_do_simplify):
19322         Remove debug info.
19323
19324         * gst/gsterror.h:
19325         Define error for stream stopped.
19326
19327         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19328         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19329         Do proper return values.
19330
19331         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19332         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19333         (gst_pad_get_range):
19334         Better return values.
19335
19336         * gst/gstpad.h:
19337         Reorganise return values, add macro to check for fatal errors.
19338
19339         * gst/gstqueue.c: (gst_queue_chain):
19340         Return proper GstFlowReturn values,
19341
19342 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19343
19344         * docs/gst/gstreamer-sections.txt:
19345         * docs/gst/gstreamer.types:
19346         * docs/gst/tmpl/gst.sgml:
19347         * docs/gst/tmpl/gstbasesink.sgml:
19348         * docs/gst/tmpl/gstbasesrc.sgml:
19349         * docs/gst/tmpl/gstbasetransform.sgml:
19350         * docs/gst/tmpl/gstbin.sgml:
19351         * docs/gst/tmpl/gstbuffer.sgml:
19352         * docs/gst/tmpl/gstcaps.sgml:
19353         * docs/gst/tmpl/gstclock.sgml:
19354         * docs/gst/tmpl/gstcompat.sgml:
19355         * docs/gst/tmpl/gstconfig.sgml:
19356         * docs/gst/tmpl/gstelement.sgml:
19357         * docs/gst/tmpl/gstelementdetails.sgml:
19358         * docs/gst/tmpl/gstelementfactory.sgml:
19359         * docs/gst/tmpl/gstenumtypes.sgml:
19360         * docs/gst/tmpl/gsterror.sgml:
19361         * docs/gst/tmpl/gstevent.sgml:
19362         * docs/gst/tmpl/gstfakesink.sgml:
19363         * docs/gst/tmpl/gstfakesrc.sgml:
19364         * docs/gst/tmpl/gstfilesink.sgml:
19365         * docs/gst/tmpl/gstfilesrc.sgml:
19366         * docs/gst/tmpl/gstfilter.sgml:
19367         * docs/gst/tmpl/gstformat.sgml:
19368         * docs/gst/tmpl/gstghostpad.sgml:
19369         * docs/gst/tmpl/gstimplementsinterface.sgml:
19370         * docs/gst/tmpl/gstindex.sgml:
19371         * docs/gst/tmpl/gstindexfactory.sgml:
19372         * docs/gst/tmpl/gstinfo.sgml:
19373         * docs/gst/tmpl/gstiterator.sgml:
19374         * docs/gst/tmpl/gstmacros.sgml:
19375         * docs/gst/tmpl/gstmemchunk.sgml:
19376         * docs/gst/tmpl/gstminiobject.sgml:
19377         * docs/gst/tmpl/gstobject.sgml:
19378         * docs/gst/tmpl/gstpad.sgml:
19379         * docs/gst/tmpl/gstpadtemplate.sgml:
19380         * docs/gst/tmpl/gstparse.sgml:
19381         * docs/gst/tmpl/gstpipeline.sgml:
19382         * docs/gst/tmpl/gstplugin.sgml:
19383         * docs/gst/tmpl/gstpluginfeature.sgml:
19384         * docs/gst/tmpl/gstquery.sgml:
19385         * docs/gst/tmpl/gstqueue.sgml:
19386         * docs/gst/tmpl/gstregistry.sgml:
19387         * docs/gst/tmpl/gstregistrypool.sgml:
19388         * docs/gst/tmpl/gstscheduler.sgml:
19389         * docs/gst/tmpl/gstschedulerfactory.sgml:
19390         * docs/gst/tmpl/gststructure.sgml:
19391         * docs/gst/tmpl/gstsystemclock.sgml:
19392         * docs/gst/tmpl/gsttaglist.sgml:
19393         * docs/gst/tmpl/gsttagsetter.sgml:
19394         * docs/gst/tmpl/gsttrace.sgml:
19395         * docs/gst/tmpl/gsttrashstack.sgml:
19396         * docs/gst/tmpl/gsttypefind.sgml:
19397         * docs/gst/tmpl/gsttypefindfactory.sgml:
19398         * docs/gst/tmpl/gsttypes.sgml:
19399         * docs/gst/tmpl/gsturihandler.sgml:
19400         * docs/gst/tmpl/gsturitype.sgml:
19401         * docs/gst/tmpl/gstutils.sgml:
19402         * docs/gst/tmpl/gstvalue.sgml:
19403         * docs/gst/tmpl/gstversion.sgml:
19404         * docs/gst/tmpl/gstxml.sgml:
19405         * docs/libs/tmpl/gstcontrol.sgml:
19406         * docs/libs/tmpl/gstdataprotocol.sgml:
19407         * docs/libs/tmpl/gstdparam.sgml:
19408         * docs/libs/tmpl/gstdplinint.sgml:
19409         * docs/libs/tmpl/gstdpman.sgml:
19410         * docs/libs/tmpl/gstdpsmooth.sgml:
19411         * docs/libs/tmpl/gstgetbits.sgml:
19412         * docs/libs/tmpl/gstunitconvert.sgml:
19413         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19414         (gst_push_src_base_init), (gst_push_src_class_init),
19415         (gst_push_src_init), (gst_push_src_create):
19416         * gst/base/gstpushsrc.h:
19417         * gst/elements/gstelements.c:
19418         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19419         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19420         (gst_fake_sink_init), (gst_fake_sink_set_property),
19421         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19422         (gst_fake_sink_event), (gst_fake_sink_preroll),
19423         (gst_fake_sink_render), (gst_fake_sink_change_state):
19424         * gst/elements/gstfakesink.h:
19425         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19426         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19427         (gst_fake_src_base_init), (gst_fake_src_class_init),
19428         (gst_fake_src_init), (gst_fake_src_event_handler),
19429         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19430         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19431         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19432         (gst_fake_src_create_buffer), (gst_fake_src_create),
19433         (gst_fake_src_start), (gst_fake_src_stop):
19434         * gst/elements/gstfakesrc.h:
19435         * gst/elements/gstfilesink.c: (_do_init),
19436         (gst_file_sink_base_init), (gst_file_sink_class_init),
19437         (gst_file_sink_init), (gst_file_sink_dispose),
19438         (gst_file_sink_set_location), (gst_file_sink_set_property),
19439         (gst_file_sink_get_property), (gst_file_sink_open_file),
19440         (gst_file_sink_close_file), (gst_file_sink_query),
19441         (gst_file_sink_event), (gst_file_sink_render),
19442         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19443         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19444         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19445         * gst/elements/gstfilesink.h:
19446         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19447         (gst_file_src_class_init), (gst_file_src_init),
19448         (gst_file_src_finalize), (gst_file_src_set_location),
19449         (gst_file_src_set_property), (gst_file_src_get_property),
19450         (gst_file_src_map_region), (gst_file_src_map_small_region),
19451         (gst_file_src_create_mmap), (gst_file_src_create_read),
19452         (gst_file_src_create), (gst_file_src_is_seekable),
19453         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19454         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19455         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19456         (gst_file_src_uri_handler_init):
19457         * gst/elements/gstfilesrc.h:
19458           more autistic cleanliness in functions/names/defines
19459
19460 2005-07-13  Andy Wingo  <wingo@pobox.com>
19461
19462         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19463         source couldn't negotiate.
19464
19465         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19466         connections again.
19467
19468         * gst/gstutils.h:
19469         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19470         function. I am channeling Hades. Put your boots on suckers!!!
19471
19472 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19473
19474         * testsuite/caps/Makefile.am:
19475         * testsuite/caps/value_compare.c:
19476         * testsuite/caps/value_intersect.c:
19477         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19478           move two testsuite apps over to the check dir
19479
19480 2005-07-12  Wim Taymans  <wim@fluendo.com>
19481
19482         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19483         Added more debug info in the negotiate process.
19484
19485         * gst/gstmessage.h:
19486         Prepare for segment playback.
19487
19488         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19489         Better debugging.
19490
19491         * gst/gstutils.c:
19492         Some more docs.
19493
19494         * tools/gst-launch.c: (main):
19495         NULL pipeline on errors.
19496
19497 2005-07-12  Andy Wingo  <wingo@pobox.com>
19498
19499         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19500         not it comes from a malloc region. Make sure our copy gets freed.
19501
19502 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19503
19504         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19505         * check/gst/gstmessage.c: (GST_START_TEST):
19506         * check/gst/gststructure.c: (GST_START_TEST),
19507         (gst_structure_suite), (main):
19508           more testing
19509         * gst/gstelement.c: (gst_element_message_full):
19510           clean up GError and debug string now that they get copied
19511         * gst/gstmessage.c: (gst_message_new_error),
19512         (gst_message_new_warning), (gst_message_parse_error),
19513         (gst_message_parse_warning):
19514           use GST_TYPE_G_ERROR for structure_new, and take copies of
19515           arguments, so that we don't mess up refcounting
19516
19517 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19518
19519         * check/Makefile.am:
19520           add per-test valgrind targets
19521         * check/gst-libs/gdp.c: (GST_START_TEST),
19522         (gst_data_protocol_suite), (main):
19523           clean up
19524
19525 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19526
19527         * check/Makefile.am:
19528           instate more valgrindable tests
19529         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19530         (GST_START_TEST), (fakesrc_suite):
19531         * check/gst/gstpad.c: (GST_START_TEST):
19532         * check/gst/gststructure.c: (GST_START_TEST):
19533           fix test leaks
19534         * docs/gst/tmpl/gstminiobject.sgml:
19535         * gst/gstpad.c: (gst_pad_finalize):
19536           fix the static mutex leak
19537
19538 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19539
19540         * check/Makefile.am:
19541           add two more tests for valgrinding
19542         * check/gst/gstvalue.c: (GST_START_TEST):
19543           test refcount of deserialized buffer, found a leak
19544         * docs/gst/gstreamer-docs.sgml:
19545         * docs/gst/gstreamer-sections.txt:
19546         * docs/gst/gstreamer.types:
19547         * docs/gst/tmpl/gstminiobject.sgml:
19548           add miniobject to docs
19549         * gst/gstminiobject.c:
19550           add some docs
19551         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19552         (gst_string_unwrap):
19553           fix a hard-to-find invalid write for one of the tests
19554           fix a leak for deserialized buffers
19555
19556 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19557
19558         * docs/pwg/advanced-events.xml:
19559         * docs/pwg/advanced-request.xml:
19560         * docs/pwg/advanced-scheduling.xml:
19561         * docs/pwg/appendix-porting.xml:
19562         * docs/pwg/building-boiler.xml:
19563         * docs/pwg/intro-preface.xml:
19564         * docs/pwg/other-ntoone.xml:
19565           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19566           of example code and explanation for pad activation, loop() and
19567           getrange() functions and a bit more. Remove old comments pointing
19568           to loop-functions.
19569         * examples/pwg/Makefile.am:
19570           Add loop/getrange examples.
19571
19572 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19573
19574         * configure.ac:
19575           check for valgrind binary + some fixes
19576         * check/gst.supp:
19577           valgrind suppressions for the tests
19578         * check/Makefile.am:
19579           add a valgrind: target that valgrinds the unit tests
19580         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19581         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19582         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19583         * check/gst/gstghostpad.c:
19584           added some cleanup
19585         * check/gst/gstdata.c:
19586           removed
19587         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19588         (thread_unref), (gst_mini_object_suite), (main):
19589           added
19590         * gst/gst.c: (gst_deinit):
19591         * gst/gst.h:
19592           add a method to clean up.
19593         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19594         (gst_system_clock_obtain):
19595           allow for disposing the system clock.
19596         * tools/gst-launch.c: (main):
19597           deinit
19598
19599 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19600
19601         * docs/gst/tmpl/gstbasesrc.sgml:
19602         * docs/gst/tmpl/gstfakesrc.sgml:
19603         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19604         (gst_base_src_init), (gst_base_src_set_property),
19605         (gst_base_src_get_property), (gst_base_src_get_range),
19606         (gst_base_src_start):
19607         * gst/base/gstbasesrc.h:
19608           add num-buffers property
19609         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19610         (gst_fakesrc_init), (gst_fakesrc_set_property),
19611         (gst_fakesrc_get_property), (gst_fakesrc_create),
19612         (gst_fakesrc_start):
19613           remove num-buffers property
19614
19615 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19616
19617         * docs/gst/gstreamer-sections.txt:
19618         * docs/gst/tmpl/gstbasesink.sgml:
19619         * docs/gst/tmpl/gstbasesrc.sgml:
19620         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19621         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19622         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19623         (gst_base_sink_set_property), (gst_base_sink_get_property),
19624         (gst_base_sink_handle_object), (gst_base_sink_event),
19625         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19626         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19627         (gst_base_sink_loop), (gst_base_sink_deactivate),
19628         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19629         (gst_base_sink_change_state):
19630         * gst/base/gstbasesink.h:
19631         * gst/base/gstbasesrc.h:
19632         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19633         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19634         (gst_filesink_init):
19635           more macro splitting
19636
19637 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19638
19639         * gst/gstelement.c: (gst_element_get_bus):
19640           add debug
19641         * tools/gst-launch.c: (check_intr), (event_loop):
19642           fix bus leaks
19643
19644 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19645
19646         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19647           fix a caps leak
19648
19649 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19650
19651         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19652         (gst_base_src_finalize):
19653           add finalize method and clean up properly
19654         * gst/gstpipeline.c: (gst_pipeline_dispose):
19655           add debug
19656
19657 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19658
19659         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19660         (gst_bin_suite):
19661           add more things to check
19662         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19663         * gst/gstelement.c:
19664           more debug
19665
19666 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19667
19668         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19669         (GST_START_TEST), (fakesrc_suite):
19670         * check/gst-libs/gdp.c: (GST_START_TEST):
19671         * check/gst/gst.c: (GST_START_TEST):
19672         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19673         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19674         * check/gst/gstbus.c: (GST_START_TEST):
19675         * check/gst/gstcaps.c: (GST_START_TEST):
19676         * check/gst/gstdata.c: (GST_START_TEST):
19677         * check/gst/gstelement.c: (GST_START_TEST):
19678         * check/gst/gstghostpad.c: (GST_START_TEST):
19679         * check/gst/gstiterator.c: (GST_START_TEST):
19680         * check/gst/gstmessage.c: (GST_START_TEST):
19681         * check/gst/gstobject.c: (GST_START_TEST):
19682         * check/gst/gstpad.c: (GST_START_TEST):
19683         * check/gst/gststructure.c: (GST_START_TEST):
19684         * check/gst/gstsystemclock.c: (GST_START_TEST),
19685         (gst_systemclock_suite):
19686         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19687         * check/gst/gstvalue.c: (GST_START_TEST):
19688         * check/pipelines/cleanup.c: (GST_START_TEST):
19689         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19690         * check/states/sinks.c: (GST_START_TEST):
19691         * check/gstcheck.c: (gst_check_init):
19692         * check/gstcheck.h:
19693           add debugging category
19694           use GST_START_TEST now, so we add a debug line
19695
19696 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19697
19698         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19699           add test for state change message on a bin
19700         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19701           add another test
19702         * gst/gstbin.c: (gst_bin_init):
19703         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19704         * gst/gstelement.c: (gst_element_post_message),
19705         (gst_element_set_state):
19706         * gst/gstelementfactory.c: (gst_element_factory_create):
19707         * gst/gstmessage.c: (gst_message_new):
19708         * gst/gstscheduler.c:
19709           various debugging additions and cleanups
19710
19711 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19712
19713         * check/Makefile.am:
19714         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19715         (main):
19716           adding tests for elements
19717         * gst/gstelement.c: (gst_element_dispose):
19718
19719 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19720
19721         * gst/registries/gstlibxmlregistry.c: (load_feature):
19722           plug more leaks.  A simple gst_init() now is leakfree, yay.
19723
19724 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19725
19726         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19727         (gst_xml_registry_load):
19728           plug another memleak
19729
19730 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19731
19732         * configure.ac:
19733           use GST_SET_ERROR_CFLAGS
19734         * docs/faq/cvs.xml:
19735           change to ERROR_CFLAGS
19736
19737 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19738
19739         * configure.ac:
19740           make GST_ERROR_CFLAGS overridable and re-enable Werror
19741         * docs/faq/cvs.xml:
19742           add a note about error CFLAGS
19743         * docs/gst/tmpl/gstfakesrc.sgml:
19744         * gst/elements/gstfakesrc.c:
19745           comment out some unused code
19746         * gst/gst.c: (split_and_iterate):
19747         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19748         (load_feature):
19749           plug some memleaks
19750
19751 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19752
19753         * common/Makefile.am:
19754         * common/gtk-doc.mak:
19755         * docs/gst/Makefile.am:
19756           factor out gtk-doc.mak
19757
19758 2005-07-07  Wim Taymans  <wim@fluendo.com>
19759
19760         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19761         (gst_thread_scheduler_dispose):
19762         Unlock the STREAM_LOCK completely.
19763
19764 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19765
19766         * check/Makefile.am:
19767         * check/elements/.cvsignore:
19768         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19769         (START_TEST), (fakesrc_suite), (main):
19770         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19771         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19772         (gst_fakesrc_create), (gst_fakesrc_start):
19773         * gst/elements/gstfakesrc.h:
19774           adding a first element test
19775
19776 2005-07-07  Andy Wingo  <wingo@pobox.com>
19777
19778         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19779         debug message.
19780
19781 2005-07-07  Wim Taymans  <wim@fluendo.com>
19782
19783         * gst/gstquery.c:
19784         * gst/gstquery.h:
19785         Remove old types
19786
19787 2005-07-07  Wim Taymans  <wim@fluendo.com>
19788
19789         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19790         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19791         Allow subclasses to implement their own negotiation.
19792
19793 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19794
19795         * docs/design/part-gstbin.txt:
19796         * docs/design/part-gstpipeline.txt:
19797           Update design notes to reflect the movement of
19798           responsibility for bus handling from GstPipeline to
19799           GstBin
19800
19801 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19802
19803         * configure.ac:
19804           Remove unnecessary queue2/3/4 examples.
19805
19806 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19807
19808         * examples/Makefile.am:
19809         * examples/helloworld/helloworld.c: (event_loop), (main):
19810         * examples/queue/queue.c: (event_loop), (main):
19811         * examples/queue2/queue2.c: (main):
19812           Update a couple of the examples to work again.
19813
19814         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19815         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19816          Spelling corrections and extra debug.
19817         
19818         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19819         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19820         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19821         * gst/gstbin.h:
19822         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19823         (gst_pipeline_change_state):
19824         * gst/gstpipeline.h:
19825           Move the bus handler for children to the GstBin, and create a
19826           separate bus for receiving messages from children to the one the
19827           bus sends 'upwards' on.
19828
19829 2005-07-06  Wim Taymans  <wim@fluendo.com>
19830
19831         * gst/base/README:
19832         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19833         (gst_base_sink_handle_object), (gst_base_sink_loop),
19834         (gst_base_sink_change_state):
19835         * gst/base/gstbasesink.h:
19836         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19837         (gst_base_src_init), (gst_base_src_setcaps),
19838         (gst_base_src_getcaps), (gst_base_src_loop),
19839         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19840         (gst_base_src_start), (gst_base_src_change_state):
19841         * gst/base/gstbasesrc.h:
19842         Make basesrc negotiate.
19843         Handle the case where preroll fails in basesink.
19844         Update README.
19845
19846 2005-07-06  Wim Taymans  <wim@fluendo.com>
19847
19848         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19849         Implement the fixate function.
19850         Clean up acceptcaps.
19851
19852 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19853
19854         * docs/pwg/building-filterfactory.xml:
19855         * docs/pwg/pwg.xml:
19856           Remove never-written filter-factory chapter; I'll add the various
19857           base classes to part 4 ("other element types") later on.
19858
19859 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19860
19861         * docs/pwg/advanced-negotiation.xml:
19862         * docs/pwg/building-boiler.xml:
19863         * docs/pwg/building-pads.xml:
19864         * docs/pwg/pwg.xml:
19865         * examples/pwg/Makefile.am:
19866           Add a chapter on caps negotiation, simplify the original code
19867           samples a bit w.r.t. caps negotiation, add link to the advanced
19868           section. Add a bunch of examples showing different use cases of
19869           different types of caps negotiation. Upstream renegotiation isn't
19870           fully documented yet since nobody knows how that works.
19871
19872 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19873
19874         * check/gst/gstpad.c:
19875         * check/gstcheck.c:
19876         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19877           if pad has no parent, return NULL as list of internal links
19878
19879 2005-07-05  Andy Wingo  <wingo@pobox.com>
19880
19881         * gst/elements/gstfilesrc.c:
19882         * gst/elements/gstfakesrc.c: 
19883         * gst/base/gstpushsrc.c:
19884         * gst/base/gstbasesrc.h: 
19885         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19886         
19887 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19888
19889         * Makefile.am:
19890           better report generation target (lcov needs a patch)
19891
19892 2005-07-05  Andy Wingo  <wingo@pobox.com>
19893
19894         * gst/elements, testsuite: Null if we got it...
19895
19896 2005-07-05  Wim Taymans  <wim@fluendo.com>
19897
19898         * configure.ac:
19899         * libs/gst/dataprotocol/Makefile.am:
19900         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19901         * libs/gst/dataprotocol/dataprotocol.h:
19902         * pkgconfig/Makefile.am:
19903         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19904         * pkgconfig/gstreamer-dataprotocol.pc.in:
19905         Ported dataprotol to 0.9. 
19906         Added pkgconfig files.
19907
19908 2005-07-05  Andy Wingo  <wingo@pobox.com>
19909
19910         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19911         Default to returning TRUE for the case when tranform_caps returns
19912         a fixed caps, like for identity or volume.
19913
19914         * check/gst/gstbus.c (pound_bus_with_messages): 
19915         * check/gst/gstmessage.c (START_TEST): 
19916         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19917         message API change.
19918
19919         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19920         logic weaks here: always run transform_caps, trying passthrough
19921         operation only if the original caps intersects with the transform.
19922
19923         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19924         source and sink caps.
19925
19926         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19927         Intersect the peer caps with the pad template before going into
19928         transform_caps.
19929         (gst_base_transform_transform_caps): More debugging.
19930
19931         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19932         src argument.
19933
19934 2005-07-04  Edward Hervey  <edward@fluendo.com>
19935
19936         * gst/gstutils.c:
19937         * gst/gstutils.h:
19938         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19939         in bindings.
19940
19941 2005-07-04  Andy Wingo  <wingo@pobox.com>
19942
19943         * check/gst/gstpad.c: Only set explicit caps on pads.
19944
19945 2005-07-01  Andy Wingo  <wingo@pobox.com>
19946
19947         * tests/network-clock.scm: Commentary update.
19948
19949         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19950         Didn't really make sense, not implementable with basetransform,
19951         etc.
19952         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19953         attempt at implementing the sync property, needs an unlock method.
19954
19955         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19956         New func, by default returns the same caps (the identity
19957         transformation).
19958         (gst_base_transform_getcaps): Uses transform_caps to return
19959         something sensible.
19960         (gst_base_transform_setcaps): Complicated logic to get caps on
19961         both pads, even if they are different, and to call set_caps once
19962         for every time both pads get their caps set.
19963         (gst_base_transform_handle_buffer): Give the ref to the transform
19964         function. Allows in-place modification of the buffer.
19965
19966         * gst/base/gstbasetransform.h (transform_caps): New class method.
19967         Given caps on one side, what can I do on the other.
19968         (set_caps): Take two caps, one for each side of the element.
19969
19970         * gst/gstpad.h:
19971         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19972         caps in place. This is safe because we can check the mutability of
19973         the caps, and a good idea because fixate functions are just called
19974         as a matter of last resort. (Not actually implemented.)
19975         (gst_pad_set_caps): If the caps we're setting is actually the same
19976         as the existing pad caps, just update the pointer without calling
19977         setcaps. Assert that caps is either NULL or fixed, as per the
19978         docs.
19979
19980         * gst/gstghostpad.c: Update for fixate changes.
19981
19982 2005-07-02  Andy Wingo  <wingo@pobox.com>
19983
19984         * gst/gstcaps.c:
19985         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19986         two refcounts makes it immutable, which is enough. Doc more.
19987
19988 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19989
19990         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19991           Put the mini_object into GValue as a mini_object,
19992           not a gpointer, since that's how we declared
19993           the signal.
19994
19995 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19996
19997         * examples/pwg/Makefile.am:
19998           Fix buildbot again.
19999
20000 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20001
20002         * docs/pwg/building-testapp.xml:
20003           Add extra check.
20004         * examples/pwg/Makefile.am:
20005           Fix buildbot.
20006
20007 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20008
20009         * configure.ac:
20010         * examples/Makefile.am:
20011         * examples/pwg/Makefile.am:
20012         * examples/pwg/extract.pl:
20013           Enable building the PWG examples.
20014         * docs/pwg/advanced-interfaces.xml:
20015           Add URI interface stub.
20016         * docs/pwg/advanced-types.xml:
20017         * docs/pwg/other-autoplugger.xml:
20018         * docs/pwg/appendix-porting.xml:
20019         * docs/pwg/pwg.xml:
20020           Add porting guide (mostly stubs), remove autoplugging (see ADM).
20021         * docs/pwg/building-boiler.xml:
20022         * docs/pwg/building-chainfn.xml:
20023         * docs/pwg/building-pads.xml:
20024         * docs/pwg/building-props.xml:
20025         * docs/pwg/building-state.xml:
20026         * docs/pwg/building-testapp.xml:
20027           Update the building-*.xml parts for 0.9 changes. All examples
20028           code blocks compile in examples/pwg/*.
20029
20030 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20031
20032         * docs/manual/advanced-autoplugging.xml:
20033         * docs/manual/appendix-checklist.xml:
20034         * docs/manual/appendix-integration.xml:
20035         * docs/manual/highlevel-components.xml:
20036           Fix playbin/decodebin examples, update docs a bit, mention bus
20037           instead of signals in various places, mention kmplayer and
20038           kaffeine since they have a working GStreamer backend in the KDE
20039           section.
20040
20041 2005-06-30  Wim Taymans  <wim@fluendo.com>
20042
20043         * CHANGES-0.9:
20044         * docs/design/draft-ghostpads.txt:
20045         * docs/design/draft-push-pull.txt:
20046         * docs/design/draft-query.txt:
20047         * docs/design/part-TODO.txt:
20048         * docs/design/part-query.txt:
20049         Added CHANGES-0.9 doc, updated status of other docs.
20050         
20051         * gst/gstquery.h:
20052         Remove "hmm" macro
20053
20054 2005-06-30  Wim Taymans  <wim@fluendo.com>
20055
20056         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20057         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20058         (gst_base_sink_change_state):
20059         * gst/base/gstbasesink.h:
20060         Some tweaks, only EOS and a buffer complete a preroll.
20061
20062 2005-06-30  Andy Wingo  <wingo@pobox.com>
20063
20064         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20065         activate_push down to the internal pad as well.
20066
20067 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
20068
20069         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20070
20071         * gst/gsttaginterface.c:
20072           Some documentation fixes (#307394 and #307397).
20073
20074 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
20075
20076         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20077
20078         * gst/gstvalue.c: (gst_value_intersect_list):
20079           Fix memleak (#309125).
20080
20081 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20082
20083         * docs/manual/advanced-dataaccess.xml:
20084           Fix fakesrc example to compile; doesn't work, bug somewhere...?
20085         * docs/manual/basics-pads.xml:
20086           Add reference for filtered caps to above chapter.
20087
20088 2005-06-30  Wim Taymans  <wim@fluendo.com>
20089
20090         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20091         (gst_bin_change_state):
20092         Probes are gone.
20093         Lame attempt at making the state change function a bit
20094         more readable.
20095
20096 2005-06-30  Wim Taymans  <wim@fluendo.com>
20097
20098         * docs/design/part-clocks.txt:
20099         * docs/design/part-element-sink.txt:
20100         * docs/design/part-events.txt:
20101         * docs/design/part-preroll.txt:
20102         * docs/design/part-states.txt:
20103         Some more tweeks and additions to the docs.
20104
20105 2005-06-30  Wim Taymans  <wim@fluendo.com>
20106
20107         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20108         (default_have_data), (gst_pad_class_init), (gst_pad_init),
20109         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20110         (gst_pad_check_pull_range), (gst_pad_get_range),
20111         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20112         * gst/gstpad.h:
20113         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20114         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20115         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20116         (gst_pad_remove_buffer_probe):
20117         Removed atomic operations, use existing LOCK.
20118         Move exception handling out of main code path.
20119
20120 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20121
20122         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20123         (silly_return_true_function), (gst_pad_class_init),
20124         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20125         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20126         (gst_pad_send_event):
20127           Fix accumulator, add default value by using _emitv() instead
20128           of _emit() for signal emission.
20129
20130 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20131
20132         * docs/manual/advanced-dataaccess.xml:
20133         * examples/manual/Makefile.am:
20134           Add probe example.
20135         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20136           Make work (??).
20137
20138 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
20139
20140         * gst/elements/gstfilesink.c: (gst_filesink_render):
20141           Simplify code so that we don't have to handle short
20142           writes and return GST_FLOW_ERROR if an error occured.
20143
20144 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20145
20146         * docs/gst/gstreamer-docs.sgml:
20147           Remove probes more.
20148
20149 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20150
20151         * docs/gst/gstreamer-sections.txt:
20152         * docs/gst/tmpl/gstpad.sgml:
20153         * docs/gst/tmpl/gstprobe.sgml:
20154         * gst/Makefile.am:
20155         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20156         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20157         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20158         (gst_pad_push_event), (gst_pad_send_event):
20159         * gst/gstpad.h:
20160         * gst/gstutils.c: (gst_pad_add_data_probe),
20161         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20162         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20163         (gst_pad_remove_buffer_probe):
20164         * gst/gstutils.h:
20165           Remove old probes, add new g-signal-based probes and some utility
20166           functions.
20167
20168 2005-06-29  Edward Hervey  <edward@fluendo.com>
20169
20170         * gst/gstelementfactory.c:
20171         * gst/gstutils.h:
20172         * gst/gstutils.c:
20173         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20174         the definition to the header file.
20175
20176 2005-06-29  Andy Wingo  <wingo@pobox.com>
20177
20178         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20179         plugins from the source directory.
20180
20181 2005-06-29  Wim Taymans  <wim@fluendo.com>
20182
20183         * docs/gst/tmpl/gstbuffer.sgml:
20184         * docs/gst/tmpl/gstclock.sgml:
20185         Some fixings for blantently wrong text.
20186
20187 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20188
20189         * check/Makefile.am:
20190         * gst/gst.c: (add_path_func), (init_pre):
20191         * gst/gstregistry.c: (gst_registry_add_path):
20192           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20193           only scan the GST_PLUGIN_PATH locations, and not add
20194           system locations
20195
20196 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20197
20198         * docs/gst/gstreamer-sections.txt:
20199         * docs/gst/tmpl/gstbasesrc.sgml:
20200         * gst/gstelement.c:
20201         * gst/gstelement.h:
20202         * gst/gstevent.c:
20203         * gst/gstutils.c:
20204           doc fixes
20205
20206 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20207
20208         * docs/manual/advanced-autoplugging.xml:
20209           Fix autoplugging example.
20210
20211 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20212
20213         * docs/manual/advanced-autoplugging.xml:
20214         * docs/manual/mime-world.fig:
20215           Try to get autoplugging working, fix type detection. Fix text
20216           in hello-world image.
20217
20218 2005-06-29  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20221         (gst_base_sink_change_state):
20222         Small debug line.
20223
20224         * gst/gstclock.h:
20225         map SIGNAL and BROADCAST to the right function.
20226
20227         * gst/gstobject.h:
20228         Remove redundant braces.
20229
20230         * gst/gstpad.c: (gst_pad_set_caps):
20231         Don't call setcaps function when reseting caps to NULL.
20232
20233         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20234         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20235         (gst_system_clock_id_unschedule):
20236         Use BROADCAST as this is what we do.
20237
20238 2005-06-29  Wim Taymans  <wim@fluendo.com>
20239
20240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20241         We are actually prerolling before commiting the state
20242         change. 
20243
20244 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20245
20246         * docs/manual/advanced-clocks.xml:
20247         * docs/manual/advanced-interfaces.xml:
20248         * docs/manual/advanced-metadata.xml:
20249         * docs/manual/advanced-position.xml:
20250         * docs/manual/advanced-schedulers.xml:
20251         * docs/manual/advanced-threads.xml:
20252         * docs/manual/appendix-porting.xml:
20253         * docs/manual/basics-bins.xml:
20254         * docs/manual/basics-bus.xml:
20255         * docs/manual/basics-elements.xml:
20256         * docs/manual/basics-helloworld.xml:
20257         * docs/manual/basics-pads.xml:
20258         * docs/manual/highlevel-components.xml:
20259         * docs/manual/manual.xml:
20260         * docs/manual/thread.fig:
20261           Update (until threads/scheduling) Application Development Manual;
20262           remove GstThread, add GstBus, add simple porting checklist, add
20263           documentation for tag writing, clocks, make all examples until this
20264           part compile and run.
20265         * examples/manual/Makefile.am:
20266           Update from changes to Application Development Manual; add bus
20267           example, remove thread example.
20268
20269 2005-06-28  Wim Taymans  <wim@fluendo.com>
20270
20271         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20272         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20273         (gst_bus_source_dispatch):
20274         Add debugging messages.
20275         Make internal methods static.
20276         Handle the case where the bus is flushed in the handler.
20277         
20278         * gst/gstelement.c: (gst_element_get_bus):
20279         Fix refcount in _get_bus();
20280
20281         * gst/gstpipeline.c: (gst_pipeline_change_state),
20282         (gst_pipeline_get_clock_func):
20283         Clock refcounting fixes.
20284         Handle the case where preroll timed out more gracefully.
20285         
20286         * gst/gstsystemclock.c: (gst_system_clock_dispose):
20287         Clean up the internal thread in dispose. This is needed
20288         for subclasses that actually get disposed.
20289         
20290         * gst/schedulers/threadscheduler.c:
20291         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20292         (gst_thread_scheduler_dispose):
20293         Free thread pool in dispose.
20294
20295 2005-06-28  Andy Wingo  <wingo@pobox.com>
20296
20297         * tests/network-clock-utils.scm (debug, print-event): New utils.
20298
20299         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20300         (*packet-loss*): Unified loss probability.
20301         (network-time): Report out-of-band events.
20302
20303         * tests/plot-data: Add support for out-of-band events. Hack it
20304         into this script instead of passing it down the pipe; should fix
20305         this later.
20306
20307 2005-06-28  Wim Taymans  <wim@fluendo.com>
20308
20309         * docs/gst/gstreamer.types:
20310         * docs/gst/tmpl/gstbasesrc.sgml:
20311         * docs/gst/tmpl/gstpad.sgml:
20312         Docs fixes.
20313
20314 2005-06-28  Wim Taymans  <wim@fluendo.com>
20315
20316         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20317         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20318         (gst_proxy_pad_do_fixatecaps):
20319         Correctly proxy the check_pull_range function.
20320
20321 2005-06-28  Andy Wingo  <wingo@pobox.com>
20322
20323         * tests/network-clock.scm: Removed need for slib.
20324         
20325 2005-06-28  Wim Taymans  <wim@fluendo.com>
20326
20327         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20328         (gst_basesink_preroll_queue_flush):
20329         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20330         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20331         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20332         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20333         (gst_proxy_pad_set_property):
20334         * gst/gstpad.c:
20335         * gst/gstpad.h:
20336         * gst/gstqueue.c: (gst_queue_init):
20337         The deprecated pad loop function is removed now.
20338
20339 2005-06-28  Andy Wingo  <wingo@pobox.com>
20340
20341         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20342         New parameters, simulate network packet loss.
20343
20344         * tests/network-clock-utils.scm: Initialize the RNG.
20345
20346 2005-06-28  Wim Taymans  <wim@fluendo.com>
20347
20348         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20349         (gst_basesink_event), (gst_basesink_deactivate):
20350         Flushing the preroll queue always needs to unlock the waiters.
20351
20352 2005-06-28  Edward Hervey  <edward@fluendo.com>
20353
20354         * gst/gstpipeline.c: (gst_pipeline_send_event): 
20355         Wheen a seek was successful on a pipeline, set the stream_time to the
20356         seek offset in order to have a synchronized stream_time.
20357
20358 2005-06-28  Wim Taymans  <wim@fluendo.com>
20359
20360         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20361         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20362         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20363         (gst_proxy_pad_do_fixatecaps):
20364         Call wrapper function instead of just calling the function
20365         pointers. This takes care of any locking and whatmore.
20366
20367 2005-06-28  Wim Taymans  <wim@fluendo.com>
20368
20369         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20370         (gst_pad_pull_range):
20371         * gst/gstpad.h:
20372         CONNECTED -> LINKED.
20373
20374 2005-06-28  Andy Wingo  <wingo@pobox.com>
20375
20376         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20377         source-munging commit!!!
20378
20379         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
20380         (gst_object_sink): Take gpointer arguments, not GstObject --
20381         avoids casts. Like GLib.
20382
20383         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20384         activate.
20385
20386 2005-06-27  Andy Wingo  <wingo@pobox.com>
20387
20388         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20389         remaining buffer.
20390
20391         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20392         returns a sorted copy of the trace list.
20393         (gst_alloc_trace_print_live): New API, only prints traces with
20394         live objects. Sort the list.
20395         (gst_alloc_trace_print_all): Sort the list.
20396         (gst_alloc_trace_print): Align columns.
20397
20398         * gst/elements/gstttypefindelement.c:
20399         * gst/elements/gsttee.c:
20400         * gst/base/gstbasesrc.c:
20401         * gst/base/gstbasesink.c:
20402         * gst/base/gstbasetransform.c:
20403         * gst/gstqueue.c: Adapt for pad activation changes.
20404
20405         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20406         sched.
20407         (gst_pipeline_dispose): Drop ref on sched.
20408
20409         * gst/gstpad.c (gst_pad_init): Set the default activate func.
20410         (gst_pad_activate_default): Push mode by default.
20411         (pre_activate_switch, post_activate_switch): New stubs, things to
20412         do before and after switching activation modes on pads.
20413         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20414         the pad's activate function to choose which mode to activate.
20415         Shortcut on deactivation and call the right function directly.
20416         (gst_pad_activate_pull): New API, (de)activates a pad in pull
20417         mode.
20418         (gst_pad_activate_push): New API, same for push mode.
20419         (gst_pad_set_activate_function) 
20420         (gst_pad_set_activatepull_function) 
20421         (gst_pad_set_activatepush_function): Setters for new API.
20422
20423         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20424         Trace all miniobjects.
20425         (gst_mini_object_make_writable): Unref the arg if we copy, like
20426         gst_caps_make_writable.
20427
20428         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20429
20430         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20431         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20432         Adapt for new pad API.
20433
20434         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20435
20436         * gst/gstelement.h:
20437         * gst/gstelement.c (gst_element_iterate_src_pads) 
20438         (gst_element_iterate_sink_pads): New API functions.
20439         
20440         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20441         should fold into gstiterator.c in some form.
20442         (gst_element_pads_activate): Simplified via use of fold and
20443         delegation of decisions to gstpad->activate.
20444
20445         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20446         help in debugging.
20447
20448         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20449         class once in init, like gstmessage. Didn't run into this issue
20450         but it seems correct. Don't initialize a trace, gstminiobject does
20451         that.
20452
20453         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20454         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20455         to the bus.
20456         (assert_live_count): New util function, uses alloc traces to check
20457         cleanup.
20458
20459         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20460         To be modified when unlink drops the internal pad.
20461
20462 2005-06-27  Wim Taymans  <wim@fluendo.com>
20463
20464         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20465         (gst_bin_change_state):
20466         Cleanup the get_state() function a little, make sure it
20467         iterates the same set of elements.
20468         Added stub iterate_state_order().
20469
20470 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20471
20472         * docs/gst/gstreamer-docs.sgml:
20473         * docs/gst/gstreamer-sections.txt:
20474         * docs/gst/gstreamer.types:
20475         * docs/gst/tmpl/gstbasesink.sgml:
20476         * docs/gst/tmpl/gstbasesrc.sgml:
20477         * docs/gst/tmpl/gstbasetransform.sgml:
20478         * docs/gst/tmpl/gstelement.sgml:
20479         * docs/gst/tmpl/gstiterator.sgml:
20480         * gst/base/gstbasesrc.c:
20481         * gst/base/gstbasesrc.h:
20482         * gst/base/gstbasetransform.h:
20483         * gst/gstelement.c:
20484         * gst/gstiterator.h:
20485           adding basetransform and iterator docs
20486
20487 2005-06-27  Andy Wingo  <wingo@pobox.com>
20488
20489         * docs/design/part-activation.txt: Notes on how activation should
20490         work -- not quite implemented yet.
20491
20492 2005-06-25  Wim Taymans  <wim@fluendo.com>
20493
20494         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20495         At least get the chain function correct, needs more
20496         fixing.
20497
20498 2005-06-25  Wim Taymans  <wim@fluendo.com>
20499
20500         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20501         (gst_basesink_handle_object), (gst_basesink_event),
20502         (gst_basesink_do_sync), (gst_basesink_handle_event),
20503         (gst_basesink_change_state):
20504         * gst/gsttask.h:
20505         Right, two problems here: ghostpads don't take locks and
20506         glib _rec_mutex_lock_full() with depth==0 still locks.
20507         Catch illegal locking and g_warn them.
20508
20509 2005-06-25  Wim Taymans  <wim@fluendo.com>
20510
20511         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20512         Have to check for completion now...
20513
20514 2005-06-25  Wim Taymans  <wim@fluendo.com>
20515
20516         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20517         (gst_basesink_handle_object), (gst_basesink_event),
20518         (gst_basesink_do_sync), (gst_basesink_handle_event),
20519         (gst_basesink_change_state):
20520         * gst/gstpad.h:
20521         Unlock STREAM_LOCK whatever the recursion was.
20522
20523 2005-06-25  Wim Taymans  <wim@fluendo.com>
20524
20525         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20526         (gst_basesink_preroll_queue_empty),
20527         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20528         (gst_basesink_event), (gst_basesink_do_sync),
20529         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20530         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20531         (gst_basesink_change_state):
20532         Reworked the base sink, handle event and buffer serialisation
20533         correctly and removed possible deadlock.
20534         Handle EOS correctly.
20535
20536 2005-06-25  Wim Taymans  <wim@fluendo.com>
20537
20538         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20539         (gst_pipeline_change_state):
20540         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20541         Allow elements to post EOS in the state change function.
20542         Fix up -launch, make it exit the poll loop when the
20543         pipeline actually changed state.
20544         Fix up warning parsing in -launch.
20545
20546 2005-06-25  Wim Taymans  <wim@fluendo.com>
20547
20548         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20549         (gst_tee_sink_activate):
20550         Core takes STREAM_LOCK for us now.
20551
20552 2005-06-25  Wim Taymans  <wim@fluendo.com>
20553
20554         * gst/gstelement.c: (gst_element_get_state_func),
20555         (gst_element_set_state):
20556         * gst/gstelement.h:
20557         * gst/gstmessage.c: (gst_message_parse_error),
20558         (gst_message_parse_warning):
20559         Keep track of current target state while performing a state
20560         change so that subclasses can do something interesting.
20561         Fix parsing of warning/error messages when GError is NULL.
20562
20563 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20564
20565         * docs/gst/Makefile.am:
20566         * docs/gst/gstreamer-docs.sgml:
20567         * docs/gst/gstreamer-sections.txt:
20568         * docs/gst/gstreamer.types:
20569         * docs/gst/tmpl/gstbasesink.sgml:
20570         * docs/gst/tmpl/gstbasesrc.sgml:
20571         * docs/gst/tmpl/gstbin.sgml:
20572         * docs/gst/tmpl/gstcompat.sgml:
20573         * docs/gst/tmpl/gstfakesink.sgml:
20574         * docs/gst/tmpl/gstfakesrc.sgml:
20575         * docs/gst/tmpl/gstfilesink.sgml:
20576         * docs/gst/tmpl/gstfilesrc.sgml:
20577         * docs/gst/tmpl/gstindex.sgml:
20578         * docs/manual/appendix-quotes.xml:
20579         * gst/base/gstbasesrc.h:
20580         * gst/elements/gstfakesrc.h:
20581         * gst/gstmessage.h:
20582           start pulling in base classes and elements in our docs
20583
20584 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20585
20586         * docs/gst/Makefile.am:
20587         * docs/libs/Makefile.am:
20588           fixed make distcheck with gtk-doc 1.3
20589
20590 2005-06-23  Wim Taymans  <wim@fluendo.com>
20591
20592         * gst/gstelement.c: (gst_element_get_state_func),
20593         (gst_element_set_state), (gst_element_change_state):
20594         When the state did not change, also report NO_PREROLL
20595         when it matters.
20596
20597 2005-06-23  Wim Taymans  <wim@fluendo.com>
20598
20599         * gst/gstpad.c: (gst_pad_event_default):
20600         * gst/gstqueue.c: (gst_queue_loop):
20601         No unsafe task pausing please.
20602
20603 2005-06-23  Wim Taymans  <wim@fluendo.com>
20604
20605         * gst/schedulers/threadscheduler.c:
20606         (gst_thread_scheduler_task_start),
20607         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20608         Ref the task before pushing it on the threadpool. This
20609         makes sure that we have a ref when the threadfunction is
20610         actually called.
20611
20612 2005-06-23  Andy Wingo  <wingo@pobox.com>
20613
20614         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20615         offset is greater than the file's size.
20616
20617         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20618         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20619         * gst/gstobject.c (gst_object_class_init): Make the class lock
20620         recursive. Wim won't let me drop deep_notify. Decodebin works
20621         again, whoopdy doo.
20622
20623         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20624         internal pad, and hacks accordingly. Doesn't do it on the target
20625         pad because we change its caps. Probably catches all cases of
20626         interest tho.
20627         (gst_ghost_pad_set_property): Connect to notify::caps as
20628         appropritate.
20629
20630         * tests/network-clock.scm (plot-simulation): Pipe data to the
20631         elite python skript.
20632
20633         * tests/network-clock-utils.scm (define-parameter): New macro,
20634         defines a parameter that can be set via the command line.
20635         (set-parameter!, parse-parameter-arguments): Command line args
20636         parser.
20637
20638         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20639         stdin.
20640
20641 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20642
20643         * gst/elements/gsttypefindelement.c:
20644         (gst_type_find_element_handle_event):
20645           Don't restart typefinding on a discont.
20646         * gst/gstelement.c: (gst_element_set_state):
20647           Debug spelling fix.
20648         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20649           Allow changing mode of an active pad.
20650           Debug output fixes.
20651         * gst/registries/gstlibxmlregistry.c: (load_feature):
20652           Don't cast a static pad template to a normal pad template.
20653
20654 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20655
20656         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20657         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20658           remove gst_strtoll completely, since it didn't actually do
20659           anything more than what g_ascii_strtoull already does.
20660           check for range errors when deserializing
20661           do a cast for the unsigned cases; but further fixing needs
20662           a decision on what the interpretation of "(int)" and
20663           deserialization should be for values that fall outside the
20664           type's boundaries (ie, refuse, or interpret as casting)
20665
20666 2005-06-23  Wim Taymans  <wim@fluendo.com>
20667
20668         * check/Makefile.am:
20669         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20670         * docs/design/part-live-source.txt:
20671         * docs/design/part-states.txt:
20672         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20673         (gst_basesrc_set_live), (gst_basesrc_is_live),
20674         (gst_basesrc_get_range), (gst_basesrc_activate),
20675         (gst_basesrc_change_state):
20676         * gst/base/gstbasesrc.h:
20677         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20678         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20679         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20680         * gst/gstelement.c: (gst_element_get_state_func),
20681         (gst_element_set_state):
20682         * gst/gstelement.h:
20683         * gst/gsttypes.h:
20684         * tools/gst-launch.c: (event_loop), (main):
20685         Added support for live sources and other elements that
20686         cannot do preroll.
20687         Updated design docs, added live-source design doc.
20688         Implemented live source functionality in basesrc
20689         Fix error condition in _bin_get_state()
20690         Implement live source handling in -launch.
20691         Added check for live sources.
20692         Fixed case in GstBin where elements were changed state
20693         multiple times.
20694
20695
20696 2005-06-23  Andy Wingo  <wingo@pobox.com>
20697
20698         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20699         borken refcounting.
20700
20701         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20702         gst_caps_replace takes care of this for us.
20703
20704         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20705         gst_pad_set_caps on the target, not just its setcaps() function.
20706
20707         * tests/network-clock.scm: 
20708         * tests/network-clock-utils.scm: A network clock simulator.
20709         Something of an algorithmic testbed before doing something in C.
20710
20711 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20712
20713         * check/Makefile.am:
20714         * check/gst/capslist.h:
20715           copy over from 0.8, and add two with bitmasks specified with
20716           (int) 0xFF...
20717         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20718           add test to parse everything from capslist.h
20719         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20720         (main):
20721           add test for structure deserialization
20722         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20723           add tests for deserialization of strings to int types
20724         * gst/gststructure.c: (gst_structure_nth_field_name):
20725         * gst/gststructure.h:
20726           add a way to get the name of a field referenced by index
20727         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20728           instead of checking if the resulting long long lies between
20729           min and max, we check if the long long would fit into
20730           a number of bytes for the final type.
20731           This fixes cases where a string represents 2^32 - 1, which
20732           when cast to int would be the (valid) -1, but is bigger than
20733           G_MAXINT
20734
20735 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20736
20737         * gst/parse/grammar.y:
20738           add a log line for type deserialization
20739
20740 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20741
20742         * check/gst/gstvalue.c: (START_TEST):
20743         * gst/gstvalue.c: (gst_value_deserialize):
20744           return long long, not int, so gint64 deserialization actually
20745           works.  Is there any flag that makes the compiler check this ?
20746           Fixes #308559
20747
20748 2005-06-22  Wim Taymans  <wim@fluendo.com>
20749
20750         * gst/gstbuffer.h:
20751         Added convenience macros for setting buffers in GValue.
20752
20753 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20754
20755         * check/gst/.cvsignore:
20756         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20757           add a test deserializing int64, and comment part out because
20758           it fails, yay !
20759
20760 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20761
20762         * check/Makefile.am:
20763         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20764         * testsuite/Makefile.am:
20765         * testsuite/caps/Makefile.am:
20766         * testsuite/caps/value_serialize.c:
20767         * testsuite/test_gst_init.c:
20768           move a value_serialize test over
20769
20770 2005-06-20  Wim Taymans  <wim@fluendo.com>
20771
20772         * gst/gstpad.c:
20773         Small doc updates.
20774         
20775         * gst/gstvalue.c: (gst_value_compare_buffer),
20776         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20777         (gst_value_compare_flags), (gst_value_serialize_flags),
20778         (gst_value_deserialize_flags), (_gst_value_initialize):
20779         Fix serialisation of buffers, they are not boxed types anymore
20780
20781 2005-06-20  Wim Taymans  <wim@fluendo.com>
20782
20783         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20784         Testcase to show error in buffer-on-caps serialisation.
20785
20786 2005-06-20  Andy Wingo  <wingo@pobox.com>
20787
20788         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20789         will be adding to later.
20790
20791         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20792         if its socks fill with rocks.
20793         (gst_system_clock_obtain): Set the name on object construction.
20794         Avoid double-checked locking.
20795
20796 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20797
20798         * gst/gsturi.c: (gst_element_make_from_uri):
20799           Fix potential endless loop.
20800
20801 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20802
20803         * check/Makefile.am:
20804           add gsttag
20805         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20806         (main):
20807           move over from testsuite dir and clean up
20808         * configure.ac:
20809         * gst/gsttag.c:
20810         * testsuite/Makefile.am:
20811         * testsuite/tags/.cvsignore:
20812         * testsuite/tags/Makefile.am:
20813         * testsuite/tags/merge.c:
20814           remove testsuite/tags
20815
20816 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20817
20818         * docs/gst/gstreamer-sections.txt:
20819         * docs/gst/tmpl/gstenumtypes.sgml:
20820         * win32/gstenumtypes.c:
20821           clean up documentation build a little
20822
20823 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20824
20825         * check/gstcheck.h:
20826           add macros for checking refcounts on objects and caps
20827         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20828           add some more unit tests
20829         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20830         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20831           fix leaked refcounts (I hope :)) so unittest works
20832         * gst/gstpad.h:
20833           whitespace removal
20834
20835 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20836
20837         * configure.ac: back to HEAD
20838
20839 === release 0.9.1 ===
20840
20841 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20842
20843         * NEWS:
20844         * RELEASE:
20845           updated
20846
20847 2005-06-17  Andy Wingo  <wingo@pobox.com>
20848
20849         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20850         assert; it's always possible that the pad gets deactivated in
20851         between the checks in gstpad.c and the implementation. Rely on
20852         finish_preroll() to return a FLUSHING or similar instead of on the
20853         assert.
20854         
20855         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20856         clock and post an EOS message if we come out of finish_preroll in
20857         the playing state.
20858
20859 2005-06-16  David Schleef  <ds@schleef.org>
20860
20861         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20862         (gst_capsfilter_set_property): Allow NULL as possible value
20863         for filter_caps property, indicating GST_CAPS_ANY.
20864
20865 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20866
20867         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20868           fix debug output
20869         * gst/schedulers/Makefile.am:
20870           use libgst prefix
20871         * gstreamer.spec.in:
20872           fix spec for it
20873
20874 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20875
20876         * gstreamer.spec.in:
20877           clean up
20878
20879 2005-06-08  Andy Wingo  <wingo@pobox.com>
20880
20881         * gst/gstutils.c: RPAD fixes all around.
20882         (gst_element_link_pads): Refcounting fixes.
20883
20884         * tools/gst-inspect.c:
20885         * tools/gst-xmlinspect.c:
20886         * parse/grammar.y:
20887         * gst/base/gsttypefindhelper.c:
20888         * gst/base/gstbasesink.c:
20889         * gst/gstqueue.c: RPAD fixes.
20890
20891         * gst/gstghostpad.h:
20892         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20893         pads. The tricky thing is they provide both source and sink
20894         interfaces, since they proxy the internal pad for the external
20895         pad, and vice versa. Implement with lower-level ProxyPad objects,
20896         with the interior proxy pad as a child of the exterior ghost pad.
20897         Should write a doc on this.
20898         
20899         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20900         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20901         gst_object API.
20902         
20903         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20904         pads are real pads. No ghost pads in this file. Not documenting
20905         the myriad s/RPAD/PAD/ and REALIZE fixes.
20906         (gst_pad_class_init): Add properties for "direction" and
20907         "template". Both are construct-only, so they can't change during
20908         the life of the pad. Fixes properly deriving from GstPad.
20909         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20910         derived objects, just set properties when creating the objects via
20911         g_object_new.
20912         (gst_pad_get_parent): Implement as a function, return NULL if the
20913         parent is not an element.
20914         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20915         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20916         
20917         * gst/gstobject.c (gst_object_class_init): Make name a construct
20918         property. Don't set it in the object init.
20919
20920         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20921         with UNKNOWN direction.
20922         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20923         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20924         (gst_element_remove_pad): Remove ghost-pad special cases.
20925         (gst_element_pads_activate): Remove rpad cruft.
20926
20927         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20928         catch the pad's-parent-not-an-element case.
20929
20930         * gst/gst.h: Include gstghostpad.h.
20931
20932         * gst/gst.c (init_post): No more real, ghost pads.
20933
20934         * gst/Makefile.am: Add gstghostpad.[ch].
20935
20936         * check/Makefile.am:
20937         * check/gst/gstbin.c:
20938         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20939         into a bin creates ghost pads, and that the refcounts are right.
20940         Partly moved from gstbin.c.
20941
20942 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20943
20944         * check/gst-libs/.cvsignore:
20945         * check/gst/.cvsignore:
20946         * check/pipelines/.cvsignore:
20947           ignore more
20948         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20949         (START_TEST), (cleanup_suite), (main):
20950           add some tests related to cleanup after running pipelines
20951
20952 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20953
20954         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20955           add a testsuite for GstBuffer
20956
20957 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20958
20959         * gst/gstminiobject.h:
20960           add defines for accessing the refcount
20961
20962 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20963
20964         * Makefile.am: added support for html unit test coverage reports
20965
20966 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20967
20968         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20969           Free existing caps if the capsfilter changes. Add a FIXME about
20970           setting those caps on the pads.
20971
20972         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20973           Before adding a ghost pad to a parent bin, check that there isn't
20974           already one for the element on the bin. Prevents infinite recursion
20975           when using decodebin in parse pipelines. Andy says he'll rewrite the
20976           way this works anyway, so ignore the hack.
20977
20978 2005-06-02  Andy Wingo  <wingo@pobox.com>
20979
20980         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20981         file size, pass it on to the type find helper.
20982
20983         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20984         segment_start and segment_end properly according to the seek
20985         method. Segment_end is still a bit flaky because offset can be
20986         negative for CUR and END cases, but it takes -1 as an "unset"
20987         value.
20988
20989 2005-06-02  Wim Taymans  <wim@fluendo.com>
20990
20991         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20992         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20993         (gst_basesink_activate):
20994         * gst/base/gstbasesink.h:
20995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20996         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20997         (gst_pad_query), (gst_pad_start_task):
20998         * gst/gstpad.h:
20999         * gst/gstqueue.c: (gst_queue_bufferalloc),
21000         (gst_queue_handle_sink_event), (gst_queue_chain):
21001         Bufferalloc: return GstFlowReturn to more accuratly report
21002         why allocation failed.
21003
21004 2005-06-02  Wim Taymans  <wim@fluendo.com>
21005
21006         * gst/gstpipeline.c: (gst_pipeline_send_event):
21007         Take snapshot of state without blocking.
21008
21009 2005-06-02  Wim Taymans  <wim@fluendo.com>
21010
21011         * docs/design/part-TODO.txt:
21012         * docs/design/part-caps.txt:
21013         * docs/design/part-clocks.txt:
21014         * docs/design/part-negotiation.txt:
21015         * docs/design/part-preroll.txt:
21016         Small doc updates 
21017
21018 2005-05-30  Wim Taymans  <wim@fluendo.com>
21019
21020         * gst/elements/gstidentity.c: (gst_identity_event),
21021         (gst_identity_transform), (gst_identity_get_property):
21022         Protect last_message property as it is accessed from
21023         multiple threads.
21024
21025 2005-05-30  Wim Taymans  <wim@fluendo.com>
21026
21027         * gst/gstelement.c: (gst_element_init),
21028         (gst_element_pads_activate), (gst_element_change_state):
21029         Slicker pad activation code.
21030
21031 2005-05-30  Wim Taymans  <wim@fluendo.com>
21032
21033         * gst/Makefile.am:
21034         * gst/gstelement.h:
21035         * gst/gstelementfactory.h:
21036         * gst/gsttypes.h:
21037         Move elementfactory methods to separate .h file.
21038
21039 2005-05-30  Wim Taymans  <wim@fluendo.com>
21040
21041         * docs/design/part-overview.txt:
21042         * gst/gstsystemclock.h:
21043         Small typo fixes, doc updates.
21044
21045 2005-05-30  Wim Taymans  <wim@fluendo.com>
21046
21047         * gst/gst.c: (gst_init_get_popt_table), (init_post),
21048         (init_popt_callback):
21049         Remove cpu-opt flag.
21050
21051 2005-05-30  Wim Taymans  <wim@fluendo.com>
21052
21053         * gst/gstbuffer.c: (gst_subbuffer_finalize),
21054         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21055         * gst/gstbuffer.h:
21056         Avoid typechecking in places where not needed.
21057         Added accessor for malloc_data.
21058
21059 2005-05-30  Wim Taymans  <wim@fluendo.com>
21060
21061         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21062         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21063         (gst_pad_configure_sink), (gst_pad_configure_src),
21064         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21065         (gst_pad_start_task):
21066         Propagate errors from _set_caps() in configure_src/sink
21067         functions instead of returning TRUE.
21068         FLUSH events can travel up and downstream
21069
21070
21071 2005-05-30  Wim Taymans  <wim@fluendo.com>
21072
21073         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21074         (gst_basesink_activate):
21075         Handle EOS in preroll.
21076
21077 2005-05-30  Wim Taymans  <wim@fluendo.com>
21078
21079         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21080         (gst_queue_loop), (gst_queue_handle_src_event):
21081         Remove old pieces of code
21082         Flushing the queue in an upstream event is a very bad idea.
21083
21084 2005-05-26  Andy Wingo  <wingo@pobox.com>
21085
21086         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21087         gst_value_set_mini_object so as to add a ref on the object (which
21088         will be removed when the value is unset).
21089
21090         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21091         arg type in ::handoff.
21092
21093         * gst/gstelement.c (gst_element_change_state): Also deactivate
21094         pads in READY->NULL, just in case the element didn't make it to
21095         PAUSED. Wingo tested, Wim approved.
21096
21097 2005-05-26  Wim Taymans  <wim@fluendo.com>
21098
21099         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21100         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21101         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21102         A flushing pad cannot be used to alloc_buffer from.
21103
21104 2005-05-26  Wim Taymans  <wim@fluendo.com>
21105
21106         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21107         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21108         (gst_bus_source_dispatch), (gst_bus_source_finalize),
21109         (gst_bus_create_watch), (gst_bus_add_watch_full):
21110         * gst/gstbus.h:
21111         Implement a real GSource and use g_main_context_wakeup() to
21112         signal new messages instead of the socketpair.
21113
21114 2005-05-25  Wim Taymans  <wim@fluendo.com>
21115
21116         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21117         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21118         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21119         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21120         (gst_pad_send_event), (gst_pad_start_task):
21121         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21122         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21123         (gst_queue_sink_activate), (gst_queue_src_activate),
21124         (gst_queue_change_state):
21125         * gst/gstqueue.h:
21126         Fix state changes for non sinks. We now change sinks, then elements
21127         with unconnected srcpads, then the rest.
21128         More efficient queue unlocking in flush and state changes.
21129         Set the pad activate mode even if it does not have an activate
21130         function.
21131
21132 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21133
21134         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21135           Don't go in pull mode for non-seekable sources.
21136         * gst/elements/gsttypefindelement.h:
21137         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21138         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21139         (free_entry), (stop_typefinding),
21140         (gst_type_find_element_handle_event), (find_peek),
21141         (gst_type_find_element_chain), (do_pull_typefind),
21142         (gst_type_find_element_change_state):
21143           Allow typefinding (w/o seeking) in push-mode, simplified version
21144           of what was in 0.8.
21145         * gst/gstutils.c: (gst_buffer_join):
21146         * gst/gstutils.h:
21147           gst_buffer_join() from 0.8.
21148
21149 2005-05-25  Wim Taymans  <wim@fluendo.com>
21150
21151         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21152         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21153         (gst_pad_send_event), (gst_pad_start_task):
21154         Disable attempt at mode switching until it is figured out.
21155
21156 2005-05-25  Wim Taymans  <wim@fluendo.com>
21157
21158         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21159         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21160         (gst_basesink_finish_preroll), (gst_basesink_chain),
21161         (gst_basesink_loop), (gst_basesink_activate),
21162         (gst_basesink_change_state):
21163         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21164         (gst_basesrc_get_range), (gst_basesrc_loop),
21165         (gst_basesrc_activate):
21166         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21167         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21168         (gst_real_pad_init), (gst_real_pad_set_property),
21169         (gst_real_pad_get_property), (gst_pad_set_active),
21170         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21171         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21172         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21173         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21174         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21175         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21176         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21177         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21178         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21179         (gst_pad_stop_task):
21180         * gst/gstpad.h:
21181         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21182         (gst_queue_loop), (gst_queue_src_activate):
21183         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21184         (gst_task_get_state):
21185         * gst/gsttask.h:
21186         * gst/schedulers/threadscheduler.c:
21187         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21188         Implement gst_pad_pause/start/stop_task(), take STREAM lock
21189         in task function.
21190         Remove ACTIVE pad flag, use FLUSHING everywhere
21191         Added _pad_chain(), _pad_get_range() to call chain/getrange 
21192         functions.
21193         Add locks around IS_FLUSHING when reading.
21194         Take STREAM lock in chain(), get_range() functions so plugins
21195         don't need to take it anymore.
21196         
21197
21198
21199 2005-05-25  Wim Taymans  <wim@fluendo.com>
21200
21201         * tools/gst-launch.c: (event_loop):
21202         Unref message after using its contents instead of
21203         before.
21204
21205 2005-05-24  Wim Taymans  <wim@fluendo.com>
21206
21207         * docs/design/draft-ghostpads.txt:
21208         * docs/design/draft-push-pull.txt:
21209         * docs/design/draft-query.txt:
21210         * docs/design/part-overview.txt:
21211         Docs updates, added general overview doc.
21212
21213 2005-05-21  David Schleef  <ds@schleef.org>
21214
21215         * docs/gst/tmpl/old/GstBin.sgml:
21216         * docs/gst/tmpl/old/GstBuffer.sgml:
21217         * docs/gst/tmpl/old/GstCaps.sgml:
21218         * docs/gst/tmpl/old/GstClock.sgml:
21219         * docs/gst/tmpl/old/GstCompat.sgml:
21220         * docs/gst/tmpl/old/GstData.sgml:
21221         * docs/gst/tmpl/old/GstElement.sgml:
21222         * docs/gst/tmpl/old/GstEvent.sgml:
21223         * docs/gst/tmpl/old/GstIndex.sgml:
21224         * docs/gst/tmpl/old/GstStructure.sgml:
21225         * docs/gst/tmpl/old/GstTag.sgml:
21226         * docs/gst/tmpl/old/cothreads.sgml:
21227         * docs/gst/tmpl/old/cothreads_compat.sgml:
21228         * docs/gst/tmpl/old/gettext.sgml:
21229         * docs/gst/tmpl/old/gobject2gtk.sgml:
21230         * docs/gst/tmpl/old/grammar.tab.sgml:
21231         * docs/gst/tmpl/old/gst-i18n-app.sgml:
21232         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21233         * docs/gst/tmpl/old/gst_private.sgml:
21234         * docs/gst/tmpl/old/gstaggregator.sgml:
21235         * docs/gst/tmpl/old/gstarch.sgml:
21236         * docs/gst/tmpl/old/gstatomic_impl.sgml:
21237         * docs/gst/tmpl/old/gstbufferstore.sgml:
21238         * docs/gst/tmpl/old/gstdata_private.sgml:
21239         * docs/gst/tmpl/old/gstdisksink.sgml:
21240         * docs/gst/tmpl/old/gstdisksrc.sgml:
21241         * docs/gst/tmpl/old/gstelementfactory.sgml:
21242         * docs/gst/tmpl/old/gstextratypes.sgml:
21243         * docs/gst/tmpl/old/gstfakesink.sgml:
21244         * docs/gst/tmpl/old/gstfakesrc.sgml:
21245         * docs/gst/tmpl/old/gstfdsink.sgml:
21246         * docs/gst/tmpl/old/gstfdsrc.sgml:
21247         * docs/gst/tmpl/old/gstfilesink.sgml:
21248         * docs/gst/tmpl/old/gstfilesrc.sgml:
21249         * docs/gst/tmpl/old/gsthttpsrc.sgml:
21250         * docs/gst/tmpl/old/gstidentity.sgml:
21251         * docs/gst/tmpl/old/gstindexfactory.sgml:
21252         * docs/gst/tmpl/old/gstmarshal.sgml:
21253         * docs/gst/tmpl/old/gstmd5sink.sgml:
21254         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21255         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21256         * docs/gst/tmpl/old/gstpadtemplate.sgml:
21257         * docs/gst/tmpl/old/gstpipefilter.sgml:
21258         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21259         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21260         * docs/gst/tmpl/old/gstshaper.sgml:
21261         * docs/gst/tmpl/old/gstspider.sgml:
21262         * docs/gst/tmpl/old/gstspideridentity.sgml:
21263         * docs/gst/tmpl/old/gststatistics.sgml:
21264         * docs/gst/tmpl/old/gsttee.sgml:
21265         * docs/gst/tmpl/old/gsttimecache.sgml:
21266         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21267         * docs/gst/tmpl/old/gstxmlregistry.sgml:
21268         * docs/gst/tmpl/old/gthread-cothreads.sgml:
21269         * docs/gst/tmpl/old/types.sgml:
21270           I didn't intend to add these or check them in.
21271
21272 2005-05-19  David Schleef  <ds@schleef.org>
21273
21274         * configure.ac: Use -no-common everywhere.  In a sane world, it
21275           would be the default in libtool, because without it, you can't
21276           build DLLs on Windows.
21277         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21278         * docs/gst/gstreamer-sections.txt:
21279         * docs/gst/tmpl/gstcpu.sgml:
21280         * docs/gst/tmpl/gstdata.sgml:
21281         * docs/gst/tmpl/gstthread.sgml:
21282
21283 2005-05-19  David Schleef  <ds@schleef.org>
21284
21285         * gst/gstminiobject.c: (gst_value_set_mini_object),
21286         (gst_value_take_mini_object), (gst_value_get_mini_object):
21287         * gst/gstminiobject.h: Add GValue set/get functions.
21288
21289 2005-05-19  Wim Taymans  <wim@fluendo.com>
21290
21291         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21292         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21293         (gst_subbuffer_init), (gst_buffer_is_span_fast):
21294         * gst/gstbuffer.h:
21295         * gst/gstbus.c: (gst_bus_post):
21296         * gst/gstelement.c: (gst_element_get_random_pad):
21297         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21298         Make subbufer unref the parent in finalize.
21299         some more debugging info.
21300
21301
21302 2005-05-19  Wim Taymans  <wim@fluendo.com>
21303
21304         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21305         (gst_basesink_init), (gst_basesink_finalize),
21306         (gst_basesink_activate), (gst_basesink_change_state):
21307         Don't free preroll queue too early.
21308
21309 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21310
21311         * gst/Makefile.am:
21312         * gst/ROADMAP:
21313           Hi, I'm outdated. Please shoot me.
21314
21315 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21316
21317         * gst/gstpipeline.c: (gst_pipeline_send_event):
21318           Do not access variables after they have been deleted.
21319
21320 2005-05-19  Wim Taymans  <wim@fluendo.com>
21321
21322         * tools/gst-inspect.c: (print_plugin_features):
21323         A plugin feature does unfortunatly not use the
21324         object name yet...
21325
21326 2005-05-18  Wim Taymans  <wim@fluendo.com>
21327
21328         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21329         Port _span() functions to new subbuffers.
21330
21331 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21332
21333         * gst/gstbin.c: (gst_bin_add_func):
21334           Fix clock settery in bins when adding kids after the clock has
21335           been selected.
21336
21337 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21338
21339         * gst/elements/gstidentity.c: (gst_identity_class_init):
21340           Workaround until signals support GstMiniObject.
21341
21342 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
21343
21344         * gst/gstbuffer.c:
21345         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21346
21347 2005-05-18  Wim Taymans  <wim@fluendo.com>
21348
21349         * gst/base/Makefile.am:
21350         * gst/base/gstadapter.c: (gst_adapter_base_init),
21351         (gst_adapter_class_init), (gst_adapter_init),
21352         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21353         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21354         (gst_adapter_flush), (gst_adapter_available),
21355         (gst_adapter_available_fast):
21356         * gst/base/gstadapter.h:
21357         Ported and added adapter to the base classes.
21358
21359 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21360
21361         * gst/gst.c:
21362         * gst/gstmessage.c:
21363           Make sure the class is reffed/unreffed once before threads can be
21364           used.  Fixes #304551.
21365
21366 2005-05-17  Wim Taymans  <wim@fluendo.com>
21367
21368         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21369         (gst_basesink_chain_unlocked), (gst_basesink_activate):
21370         * gst/gstminiobject.c: (gst_mini_object_get_type),
21371         (gst_mini_object_free):
21372         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21373         (gst_pad_push), (gst_pad_push_event):
21374         * gst/gstqueue.c: (gst_queue_change_state):
21375         Don't queue buffers in basesink when we are flushing.
21376         Unref buffer when flushing in basesink.
21377         Flush queue when going to READY
21378         Unref buffer when _push() returns an error.
21379         Don't free MiniObject instance when refcount is incremented
21380         in _finalize() so that we can recover objects.
21381
21382 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21383
21384         * docs/manual/advanced-schedulers.xml:
21385         * docs/manual/appendix-checklist.xml:
21386         * docs/pwg/advanced-clock.xml:
21387         * docs/pwg/advanced-interfaces.xml:
21388         * docs/pwg/advanced-request.xml:
21389         * docs/pwg/advanced-types.xml:
21390         * docs/pwg/intro-preface.xml:
21391         * examples/plugins/example.c: (gst_example_get_type),
21392         (gst_example_class_init), (gst_example_chain),
21393         (gst_example_set_property), (gst_example_get_property),
21394         (gst_example_change_state), (plugin_init):
21395         * examples/plugins/example.h:
21396           small doc fixes
21397
21398 2005-05-17  Wim Taymans  <wim@fluendo.com>
21399
21400         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21401         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21402         * gst/gstqueue.c: (gst_queue_change_state):
21403         Clear queue when going to READY.
21404         Remove IN_SETCAPS flag too.
21405
21406 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
21407
21408         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21409           Remove implicit cast from gboolean to GstElementStateReturn;
21410           make sure we still return failure in paused => ready case if
21411           the parent class fails to change state and our own stop 
21412           vfunc succeeds.
21413
21414 2005-05-17  Wim Taymans  <wim@fluendo.com>
21415
21416         * tools/gst-launch.c: (event_loop):
21417         Message was unreffed too soon.
21418
21419 2005-05-16  Andy Wingo  <wingo@pobox.com>
21420
21421         * gst/gstbin.c (sink_iterator_filter): Err... um...
21422
21423         * check/gst/gstbin.c (test_ghost_pads): New test for the
21424         ghosting-if-elements-not-in-same-bin behavior.
21425
21426 2005-05-16  David Schleef  <ds@schleef.org>
21427
21428         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21429         accessing refcount directly.
21430
21431 2005-05-15  David Schleef  <ds@schleef.org>
21432
21433         * check/Makefile.am: remove GstData checks
21434         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21435         * gst/Makefile.am: add miniobject, remove data
21436         * gst/gst.h: add miniobject, remove data
21437         * gst/gstdata.c: remove
21438         * gst/gstdata.h: remove
21439         * gst/gstdata_private.h: remove
21440         * gst/gsttypes.h: remove GstEvent and GstMessage
21441         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21442         * gst/gstmarshal.list: change BOXED -> OBJECT
21443
21444         Implement GstMiniObject.
21445         * gst/gstminiobject.c:
21446         * gst/gstminiobject.h:
21447
21448         Modify to be subclasses of GstMiniObject.
21449         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21450         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21451         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21452         (gst_subbuffer_get_type), (gst_subbuffer_init),
21453         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21454         (gst_buffer_span):
21455         * gst/gstbuffer.h:
21456         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21457         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21458         (_gst_event_copy), (gst_event_new):
21459         * gst/gstevent.h:
21460         * gst/gstmessage.c: (_gst_message_initialize),
21461         (gst_message_get_type), (gst_message_class_init),
21462         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21463         (gst_message_new), (gst_message_new_error),
21464         (gst_message_new_warning), (gst_message_new_tag),
21465         (gst_message_new_state_changed), (gst_message_new_application):
21466         * gst/gstmessage.h:
21467         * gst/gstprobe.c: (gst_probe_perform),
21468         (gst_probe_dispatcher_dispatch):
21469         * gst/gstprobe.h:
21470         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21471         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21472         (_gst_query_copy), (gst_query_new):
21473
21474         Update elements for GstData -> GstMiniObject changes
21475         * gst/gstquery.h:
21476         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21477         (gst_queue_chain), (gst_queue_loop):
21478         * gst/elements/gstbufferstore.c:
21479         (gst_buffer_store_add_buffer_func),
21480         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21481         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21482         (gst_fakesink_render):
21483         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21484         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21485         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21486         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21487         (gst_filesrc_create_read):
21488         * gst/elements/gstidentity.c: (gst_identity_class_init):
21489         * gst/elements/gsttypefindelement.c:
21490         (gst_type_find_element_src_event), (free_entry_buffers),
21491         (gst_type_find_element_handle_event):
21492         * libs/gst/dataprotocol/dataprotocol.c:
21493         (gst_dp_header_from_buffer):
21494         * libs/gst/dataprotocol/dataprotocol.h:
21495         * libs/gst/dataprotocol/dp-private.h:
21496
21497 2005-05-15  David Schleef  <ds@schleef.org>
21498
21499         * gst/elements/gstelements.c: Don't include headers that were
21500         just removed.
21501
21502 2005-05-15  David Schleef  <ds@schleef.org>
21503
21504         * gst/elements/Makefile.am: Remove some elements that don't
21505         need to be in the core (or even exist at all).
21506         * gst/elements/gstaggregator.c:
21507         * gst/elements/gstaggregator.h:
21508         * gst/elements/gstmd5sink.c:
21509         * gst/elements/gstmd5sink.h:
21510         * gst/elements/gstmultifilesrc.c:
21511         * gst/elements/gstmultifilesrc.h:
21512         * gst/elements/gstpipefilter.c:
21513         * gst/elements/gstpipefilter.h:
21514         * gst/elements/gstshaper.c:
21515         * gst/elements/gstshaper.h:
21516         * gst/elements/gststatistics.c:
21517         * gst/elements/gststatistics.h:
21518         * po/POTFILES.in: Remove above files.
21519
21520 2005-05-14  Andy Wingo  <wingo@pobox.com>
21521
21522         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21523         so as to get the refs right.
21524         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21525         unreffing objects that don't pass the filter.
21526
21527         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21528         gst_element_set_bus.
21529         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21530         normal cases, this will destroy the bus.
21531
21532         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21533         object.
21534
21535         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21536         has no sinks.
21537
21538 2005-05-13  Andy Wingo  <wingo@pobox.com>
21539
21540         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21541         gst_pad_link, call pad_link_maybe_ghosting,
21542         (pad_link_maybe_ghosting): Links pads, making sure that the
21543         elements being linked are in the same bin.
21544         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21545         Helpers for pad_link_maybe_ghosting.
21546
21547 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21548
21549         * configure.ac:
21550           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21551
21552 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21553
21554         * docs/design/part-element-source.txt:
21555           Mention GstPushSrc
21556
21557 2005-05-12  Wim Taymans  <wim@fluendo.com>
21558
21559         * gst/base/gstbasesink.c: (gst_basesink_init),
21560         (gst_basesink_activate):
21561         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21562         (gst_basesrc_is_seekable):
21563         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21564         (bin_element_is_sink), (gst_bin_change_state):
21565         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21566         * gst/gstelement.h:
21567         Identify sinks by their flag to avoid overly complicated
21568         checks (fow now).
21569         Do state changes even for elements not reachable from the
21570         sinks.
21571         BaseSink is a sink now :)
21572         Some more debugging info in the basesrc.
21573
21574
21575 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21576
21577         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21578           Implement _query on a bin, similar to _send_event.
21579
21580 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21581
21582         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21583           Discont event offset format should be GST_FORMAT_BYTES,
21584           not GST_FORMAT_TIME.
21585
21586 2005-05-12  Wim Taymans  <wim@fluendo.com>
21587
21588         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21589         Same fix as Ronald's but without the signal. 
21590
21591 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21592
21593         * gst/gstutils.c: (gst_element_query_position):
21594           No, an element is not a pad.
21595
21596 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21597
21598         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21599         (gst_bin_get_state):
21600           If a child is removed from a bin while we remove the child from
21601           the bin and while we're retrieving its state, signal this to the
21602           get_state function so we abort the wait (instead of waiting for
21603           a timeout) and can immediately re-iterate over all other elements.
21604
21605 2005-05-12  Wim Taymans  <wim@fluendo.com>
21606
21607         * gst/base/Makefile.am:
21608         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21609         (gst_basesrc_start):
21610         * gst/base/gstbasesrc.h:
21611         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21612         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21613         (gst_pushsrc_init), (gst_pushsrc_create):
21614         * gst/base/gstpushsrc.h:
21615         Added is_seekable to BaseSrc
21616         Added simple PushSrc.
21617
21618 2005-05-11  Wim Taymans  <wim@fluendo.com>
21619
21620         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21621         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21622         (gst_element_link_pads), (gst_element_query_position),
21623         (gst_element_query_convert), (intersect_caps_func),
21624         (gst_pad_query_position), (gst_pad_query_convert):
21625         Fix refcounting in utils function.
21626         No point in trying to activate a pad when it's added, it could
21627         be added from the state change function and then we deadlock, the
21628         element has to decide what to do.
21629
21630 2005-05-10  Andy Wingo  <wingo@pobox.com>
21631
21632         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21633         *all* the arguments.
21634
21635         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21636         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21637         lock (according to the docs -- if this is wrong change the docs).
21638
21639         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21640         flush messages in the NULL state.
21641
21642         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21643         message immediately and return.
21644         (gst_bus_set_flushing): New function. If a bus is flushing, it
21645         flushes out any queued messages and immediately unrefs new
21646         messages. This is so when an element goes to NULL, all of the
21647         unhandled messages coming from it can be freed, and their
21648         references to the element dropped. In other words: message source
21649         ref considered harmful :P
21650
21651         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21652         we're finished with it.
21653
21654         * gst/gstmessage.c (gst_message_new_state_changed): 
21655
21656 2005-05-10  Wim Taymans  <wim@fluendo.com>
21657
21658         * gst/gstvalue.c: (gst_value_compare_flags),
21659         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21660         (_gst_value_initialize):
21661         Added flags serialize/deserialize/compare code.
21662
21663 2005-05-09  Andy Wingo  <wingo@pobox.com>
21664
21665         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21666         Intersect the peer's caps with our caps.
21667
21668 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21669
21670         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21671         * gst/elements/gsttypefindelement.c: (find_peek):
21672           Handle negative offsets better. Fixes decodebin.
21673
21674 2005-05-09  Wim Taymans  <wim@fluendo.com>
21675
21676         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21677         (gst_base_transform_event):
21678         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21679         Implement accept_caps.
21680         Fix silly lock/unlock mismatch in base class.
21681
21682 2005-05-09  Wim Taymans  <wim@fluendo.com>
21683
21684         * docs/design/draft-push-pull.txt:
21685         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21686         * gst/elements/gstfilesink.c: (gst_filesink_init),
21687         (gst_filesink_query):
21688         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21689         (gst_type_find_handle_src_query), (find_element_get_length):
21690         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21691         * gst/gstelement.h:
21692         * gst/gstmessage.c:
21693         * gst/gstmessage.h:
21694         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21695         (gst_real_pad_get_caps_unlocked),
21696         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21697         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21698         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21699         (gst_real_pad_dispose), (gst_real_pad_finalize),
21700         (gst_pad_load_and_link), (gst_pad_save_thyself),
21701         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21702         (gst_pad_check_pull_range), (gst_pad_pull_range),
21703         (gst_pad_template_get_type), (gst_pad_template_class_init),
21704         (gst_pad_template_init), (gst_pad_template_dispose),
21705         (name_is_valid), (gst_static_pad_template_get),
21706         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21707         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21708         (gst_pad_get_element_private), (gst_pad_start_task),
21709         (gst_pad_pause_task), (gst_pad_stop_task),
21710         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21711         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21712         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21713         (gst_ghost_pad_new):
21714         * gst/gstpad.h:
21715         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21716         (gst_query_new_position), (gst_query_set_position),
21717         (gst_query_parse_position), (gst_query_new_convert),
21718         (gst_query_set_convert), (gst_query_parse_convert):
21719         * gst/gstquery.h:
21720         * gst/gstqueryutils.c:
21721         * gst/gstqueryutils.h:
21722         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21723         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21724         (gst_queue_handle_src_query):
21725         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21726         (gst_element_query_position), (gst_element_query_convert),
21727         (intersect_caps_func), (gst_pad_query_position),
21728         (gst_pad_query_convert):
21729         * gst/gstutils.h:
21730         * tools/gst-inspect.c: (print_pad_info):
21731         * tools/gst-xmlinspect.c: (print_element_info):
21732         Remove old query functions. Ported old code.
21733         Added position/convert helper functions to gstutils.
21734         Reordered gstpad.c code, grouping relevant things.
21735         Remove gst_message_new(), always need to speficy a specific
21736         message.
21737
21738
21739 2005-05-09  Andy Wingo  <wingo@pobox.com>
21740
21741         * gst/gstiterator.h: Add some includes.
21742
21743         * gst/gstqueryutils.h: Include more headers.
21744
21745         * gst/gstpad.h:
21746         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21747         some uses of gst_pad_query.
21748
21749         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21750         NULL out parameters.
21751         (gst_query_new_position): New proc, allocates a new position
21752         query.
21753
21754         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21755         gstqueryutils.c to the build.
21756
21757         * gst/gststructure.c (gst_structure_set_valist): Implement with
21758         the generic G_VALUE_COLLECT.
21759         
21760 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21761
21762         * gst/Makefile.am: (gst_headers):
21763         Added gstqueryutils.h to the list of headers to install, that was
21764         a 'nachty' move wingo :)
21765
21766 2005-05-06  Andy Wingo  <wingo@pobox.com>
21767
21768         * gst/gstquery.h
21769         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21770         GstData, init a memchunk.
21771         (standard_definitions): Add a few query types, deprecate a few.
21772         (gst_query_get_type): New proc.
21773         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21774         implementation.
21775         (gst_query_new_application, gst_query_get_structure): New public
21776         procs.
21777
21778         * docs/design/draft-query.txt: Removed LINKS from the query types,
21779         because all the rest can be dispatched to other pads -- seemed
21780         ugly to have a query that couldn't be dispatched. internal_links
21781         is fine as a pad method.
21782
21783         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21784         in gstpad.c, but maintain binary compatibility for the moment.
21785         Will fix before 0.9 is out.
21786
21787         * gst/gstqueryutils.c: 
21788         * gst/gstqueryutils.h: New files, implement 3 methods for each
21789         query type: parse_query, parse_response, and set. Probably need an
21790         allocator as well.
21791
21792         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21793
21794         * gst/elements/gstfilesink.c (gst_filesink_query2):
21795         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21796         query_types, and formats methods.
21797
21798         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21799         (gst_pad_set_query2_function): New functions.
21800         (gst_real_pad_init): Set query2_default as the default query2
21801         function. Basically just dispatches to internally linked pads.
21802
21803         Needs review!
21804         
21805         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21806         without using the atomic operations. Only one thread can possibly
21807         be accessing the data at this point. Changed so as to avoid
21808         gst_atomic operations.
21809
21810 2005-05-06  Wim Taymans  <wim@fluendo.com>
21811
21812         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21813         Also set caps if we use the fallback buffer alloc.
21814
21815 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21816
21817         * docs/gst/Makefile.am:
21818         * docs/gst/gstreamer-docs.sgml:
21819         * docs/gst/gstreamer-sections.txt:
21820         * docs/gst/tmpl/gstatomic.sgml:
21821         * docs/gst/tmpl/gstmemchunk.sgml:
21822         * testsuite/elements/struct_i386.h:
21823         * win32/GStreamer.vcproj:
21824         * win32/Makefile:
21825           Purge GstAtomic stuff from docs and win32 makefiles as well
21826
21827 2005-05-06  Wim Taymans  <wim@fluendo.com>
21828
21829         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21830         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21831         * gst/gstpad.c: (gst_pad_peer_get_caps):
21832         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21833         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21834         (gst_queue_src_activate), (gst_queue_change_state):
21835         * gst/gstqueue.h:
21836         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21837         (intersect_caps_func):
21838         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21839         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21840         Some fixes for the peer_get_caps() change.
21841
21842 2005-05-06  Wim Taymans  <wim@fluendo.com>
21843
21844         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21845         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21846         (gst_basesink_activate):
21847         Actually do something with error codes returned from the push
21848         functions.
21849
21850 2005-05-06  Wim Taymans  <wim@fluendo.com>
21851
21852         * docs/design/part-element-sink.txt:
21853         * docs/design/part-element-source.txt:
21854         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21855         (gst_basesink_event), (gst_basesink_activate):
21856         * gst/base/gstbasesink.h:
21857         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21858         (gst_basesrc_activate):
21859         * gst/base/gstbasesrc.h:
21860         * gst/gstelement.c: (gst_element_pads_activate):
21861         Some more documentation.
21862         Fixed scheduling decision in _pads_activate().
21863
21864 2005-05-05  Andy Wingo  <wingo@pobox.com>
21865
21866         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21867         the test suite.
21868
21869 2005-05-05  Wim Taymans  <wim@fluendo.com>
21870
21871         * gst/base/Makefile.am:
21872         * gst/base/gstbasesink.h:
21873         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21874         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21875         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21876         (gst_collectpads_class_init), (gst_collectpads_init),
21877         (gst_collectpads_finalize), (gst_collectpads_new),
21878         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21879         (find_pad), (gst_collectpads_remove_pad),
21880         (gst_collectpads_is_active), (gst_collectpads_collect),
21881         (gst_collectpads_collect_range), (gst_collectpads_start),
21882         (gst_collectpads_stop), (gst_collectpads_peek),
21883         (gst_collectpads_pop), (gst_collectpads_available),
21884         (gst_collectpads_read), (gst_collectpads_flush),
21885         (gst_collectpads_chain):
21886         * gst/base/gstcollectpads.h:
21887         * gst/elements/Makefile.am:
21888         * gst/elements/gstelements.c:
21889         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21890         (gst_fakesink_get_times), (gst_fakesink_event),
21891         (gst_fakesink_preroll), (gst_fakesink_render):
21892         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21893         (gst_filesink_init), (gst_filesink_set_location),
21894         (gst_filesink_open_file), (gst_filesink_close_file),
21895         (gst_filesink_pad_query), (gst_filesink_event),
21896         (gst_filesink_render), (gst_filesink_change_state):
21897         * gst/elements/gstfilesink.h:
21898         Added object to help in making collect pad based elements.
21899         Ported filesink.
21900         Make event function in sink baseclass return gboolean.
21901
21902 2005-05-05  Wim Taymans  <wim@fluendo.com>
21903
21904         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21905         (gst_bin_get_by_name):
21906         * gst/gstbuffer.h:
21907         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21908         (gst_clock_finalize):
21909         * gst/gstdata.c: (gst_data_replace):
21910         * gst/gstdata.h:
21911         * gst/gstelement.c: (gst_element_request_pad),
21912         (gst_element_pads_activate):
21913         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21914         (gst_object_unref):
21915         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21916         (gst_pad_set_checkgetrange_function),
21917         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21918         (gst_pad_check_pull_range), (gst_pad_pull_range),
21919         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21920         (gst_pad_pause_task), (gst_pad_stop_task):
21921         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21922         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21923         Fix name lookup in GstBin.
21924         Added _data_replace() function and _buffer_replace()
21925         Use finalize method to clean up clock.
21926         Fix refcounting on request pads.
21927         Fix pad schedule mode error.
21928         Some more object refcounting debug info,
21929
21930
21931 2005-05-04  Andy Wingo <wingo@pobox.com>
21932
21933         * check/Makefile.am:
21934         * docs/gst/tmpl/gstatomic.sgml:
21935         * docs/gst/tmpl/gstplugin.sgml:
21936         * gst/base/gstbasesink.c: (gst_basesink_activate):
21937         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21938         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21939         (gst_basesrc_query), (gst_basesrc_set_property),
21940         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21941         (gst_basesrc_activate):
21942         * gst/base/gstbasesrc.h:
21943         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21944         (gst_base_transform_src_activate):
21945         * gst/elements/gstelements.c:
21946         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21947         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21948         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21949         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21950         (gst_type_find_element_checkgetrange),
21951         (gst_type_find_element_activate):
21952         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21953         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21954         (gst_caps_load_thyself):
21955         * gst/gstelement.c: (gst_element_pads_activate),
21956         (gst_element_save_thyself), (gst_element_restore_thyself):
21957         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21958         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21959         * gst/gstpad.h:
21960         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21961         (gst_xml_parse_file), (gst_xml_parse_memory),
21962         (gst_xml_get_element), (gst_xml_make_element):
21963         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21964         (_file_index_id_save_xml), (gst_file_index_commit):
21965         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21966         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21967         (load_paths):
21968         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21969         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21970         * tools/gst-complete.c: (main):
21971         * tools/gst-compprep.c: (main):
21972         * tools/gst-inspect.c: (print_element_properties_info):
21973         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21974         * tools/gst-xmlinspect.c: (print_element_properties):
21975         GCC 4 fixen.
21976         
21977 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21978
21979         * gst/gstplugin.c: (gst_plugin_check_module),
21980         (gst_plugin_check_file), (gst_plugin_load_file):
21981             apply patch from #172526 to make register work on MacOSX
21982
21983 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21984
21985         * docs/gst/tmpl/gstconfig.sgml:
21986         * gst/gstconfig.h.in:
21987           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21988         * testsuite/debug/printf_extension.c: (main):
21989           Do not use GST_PTR_FORMAT on pointers to types with
21990           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21991         * testsuite/elements/property.h:
21992           use correct printf format
21993
21994 2005-05-02  Wim Taymans  <wim@fluendo.com>
21995
21996         * docs/design/draft-push-pull.txt:
21997         * docs/design/draft-query.txt:
21998         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21999         (gst_basesrc_start):
22000         Added draft for new query API.
22001         Added draft for better selecting scheduling methods.
22002         Make basesrc ignore length if the subclass does not support
22003         it.
22004
22005 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22006
22007         * gst/Makefile.am:
22008           possible fixes for automake-1.5 - _LIBADD is reserved
22009
22010 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22011
22012         * docs/faq/Makefile.am:
22013         * docs/manual/Makefile.am:
22014         * docs/manuals.mak:
22015         * docs/pwg/Makefile.am:
22016         * gst/Makefile.am:
22017           possible fixes for automake-1.5
22018
22019 2005-04-28  Wim Taymans  <wim@fluendo.com>
22020
22021         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22022         (gst_basesink_pad_getcaps), (gst_basesink_init),
22023         (gst_basesink_do_sync):
22024         * gst/gstclock.c: (gst_clock_entry_new):
22025         * gst/gstevent.c: (gst_event_discont_get_value):
22026         * gst/gstpipeline.c: (pipeline_bus_handler),
22027         (gst_pipeline_change_state):
22028         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22029         Better debugging of clocking info.
22030         Allow NULL values when getting discont values.
22031
22032 2005-04-27  Wim Taymans  <wim@fluendo.com>
22033
22034         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22035         * check/gst/gstpad.c: (gst_pad_suite):
22036         Increase timeout for checks.
22037
22038 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22039
22040         * check/Makefile.am:
22041           fix the broken rule for cleanup.  Apparently this rule is
22042           only needed on FC2, so maybe this warrants further autotool
22043           inspection.
22044
22045 2005-04-26  Wim Taymans  <wim@fluendo.com>
22046
22047         * gst/gsttrashstack.h:
22048         Ooohh. a nasty one! After having a failed pop() from the stack,
22049         it's possible that the stack is empty. In that case, don't
22050         follow the NULL pointer.
22051
22052 2005-04-25  Wim Taymans  <wim@fluendo.com>
22053
22054         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22055         (gst_pad_set_checkgetrange_function),
22056         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22057         (gst_pad_check_pull_range), (gst_pad_pull_range),
22058         (gst_static_pad_template_get_caps), (gst_pad_start_task),
22059         (gst_pad_pause_task), (gst_pad_stop_task):
22060         * gst/gstplugin.c: (gst_plugin_load):
22061         * gst/gstplugin.h:
22062         Remove gst_library_load as it does more harm than good with
22063         the new g_module flags.
22064         Revert bogus caps template check in pad linking, pad caps
22065         are important when linking not the template, which is more
22066         general than the current caps.
22067
22068 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22069
22070         * gst/autoplug/.cvsignore:
22071         * gst/autoplug/Makefile.am:
22072         * gst/autoplug/gstsearchfuncs.c:
22073         * gst/autoplug/gstsearchfuncs.h:
22074         * gst/autoplug/gstspider.c:
22075         * gst/autoplug/gstspider.h:
22076         * gst/autoplug/gstspideridentity.c:
22077         * gst/autoplug/gstspideridentity.h:
22078         * gst/autoplug/spidertest.c:
22079           Die, spider, die.
22080
22081 2005-04-25  Wim Taymans  <wim@fluendo.com>
22082
22083         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22084         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22085         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22086         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22087         * gst/gstpad.h:
22088         Added stubs for unimplemented functions. 
22089
22090 2005-04-24  David Schleef  <ds@schleef.org>
22091
22092         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
22093         please fix.
22094
22095 2005-04-24  David Schleef  <ds@schleef.org>
22096
22097         Convert everything from GstAtomicInt to g_atomic_int_*, and
22098         remove gstatomic.
22099         * gst/Makefile.am:
22100         * gst/gstatomic.c:
22101         * gst/gstatomic.h:
22102         * gst/gstatomic_impl.h:
22103         * gst/gstbuffer.c:
22104         * gst/gstcaps.c:
22105         * gst/gstcaps.h:
22106         * gst/gstclock.c:
22107         * gst/gstclock.h:
22108         * gst/gstdata.c:
22109         * gst/gstdata.h:
22110         * gst/gstdata_private.h:
22111         * gst/gstevent.c:
22112         * gst/gstinfo.c:
22113         * gst/gstinfo.h:
22114         * gst/gstmessage.c:
22115         * gst/gstobject.c:
22116         * gst/gstobject.h:
22117         * gst/gststructure.c:
22118         * gst/gststructure.h:
22119         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22120         * gst/gstutils.h:
22121
22122 2005-04-24  David Schleef  <ds@schleef.org>
22123
22124         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22125         make the regressions tests work.  Remove some code that is no
22126         longer true.
22127         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22128         Disable warning for pads without templates.
22129
22130 2005-04-24  David Schleef  <ds@schleef.org>
22131
22132         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
22133         functions that handle filtered links.
22134         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22135         removed functions.
22136         * gst/gstutils.c: Fix/remove utility functions that handle
22137         filtered caps.
22138         * gst/gstutils.h:
22139         * gst/gstvalue.c: Add serialization/deserialization of caps
22140         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
22141         requires fixing so that the filter caps notation creates
22142         a capsfilter element and sets the filter_caps property.  I
22143         think everyone probably wants to keep the shorthand notation.
22144         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22145         * docs/gst/tmpl/gstpad.sgml:
22146
22147         * gst/elements/gstelements.c: Register capsfilter element.
22148         * gst/Makefile.am: fix spacing
22149         * docs/random/ds/0.9-suggested-changes: random
22150
22151 2005-04-23  David Schleef  <ds@schleef.org>
22152
22153         * gst/elements/Makefile.am:
22154         * gst/elements/gstcapsfilter.c: New element that acts like an
22155         identity, but filters caps.  Will eventually replace filtered
22156         caps in pad linking.
22157         * gst/gstutils.c: (gst_element_create_all_pads): New function
22158         to create all the ALWAYS pads that are registered with an
22159         element class.  This functionality should eventually be
22160         merged in with GstElement initialization.
22161         * gst/gstutils.h:
22162         * testsuite/trigger/README: part of trigger test code that should
22163         have been checked in a long time ago.
22164
22165 2005-04-23  David Schleef  <ds@schleef.org>
22166
22167         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
22168         needed with new versions of libtool (nobody will confirm this),
22169         and hard to carry around.
22170         * gst/autoplug/Makefile.am:
22171         * gst/base/Makefile.am:
22172         * gst/elements/Makefile.am:
22173         * gst/indexers/Makefile.am:
22174         * gst/schedulers/Makefile.am:
22175         * libs/gst/bytestream/Makefile.am:
22176         * libs/gst/control/Makefile.am:
22177         * libs/gst/dataprotocol/Makefile.am:
22178         * libs/gst/getbits/Makefile.am:
22179
22180 2005-04-21  Wim Taymans  <wim@fluendo.com>
22181
22182         * docs/design/draft-push-pull.txt:
22183         * docs/design/part-MT-refcounting.txt:
22184         * docs/design/part-TODO.txt:
22185         * docs/design/part-caps.txt:
22186         * docs/design/part-events.txt:
22187         * docs/design/part-gstbus.txt:
22188         * docs/design/part-gstpipeline.txt:
22189         * docs/design/part-messages.txt:
22190         * docs/design/part-push-pull.txt:
22191         * docs/design/part-query.txt:
22192         Some more docs.
22193
22194 2005-04-21  Wim Taymans  <wim@fluendo.com>
22195
22196         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22197         (gst_message_new), (gst_message_new_error),
22198         (gst_message_new_warning), (gst_message_new_tag),
22199         (gst_message_new_state_changed), (gst_message_new_application),
22200         (gst_message_get_structure):
22201         * gst/gstmessage.h:
22202         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22203         (gst_structure_copy_conditional):
22204         Use parent refcount in GstMessage to ensure GstStructure
22205         consistency.
22206         Cleaned up headers a bit.
22207         
22208
22209 2005-04-20  Wim Taymans  <wim@fluendo.com>
22210
22211         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22212         (gst_basesink_pad_getcaps), (gst_basesink_init),
22213         (gst_basesink_chain_unlocked):
22214         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22215         (gst_type_find_helper):
22216         * gst/elements/gsttypefindelement.c:
22217         (gst_type_find_element_have_type), (gst_type_find_element_init),
22218         (stop_typefinding), (gst_type_find_element_handle_event),
22219         (find_suggest), (gst_type_find_element_chain),
22220         (gst_type_find_element_checkgetrange),
22221         (gst_type_find_element_getrange), (do_typefind),
22222         (gst_type_find_element_activate):
22223         * gst/gstbuffer.c: (_gst_buffer_sub_free),
22224         (gst_buffer_default_free), (gst_buffer_default_copy),
22225         (gst_buffer_set_caps):
22226         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22227         (gst_caps_replace):
22228         * gst/gstmessage.c: (gst_message_new),
22229         (gst_message_new_state_changed):
22230         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22231         (gst_pad_set_checkgetrange_function),
22232         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22233         (gst_pad_set_caps), (gst_pad_check_pull_range),
22234         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22235         * gst/gstpad.h:
22236         * gst/gsttypefind.c: (gst_type_find_register):
22237         Make gst_caps_replace() work like other _replace() functions.
22238         Use _caps_replace() where possible.
22239         Make sure _message_new() initialises its field.
22240         Add gst_static_pad_template_get_caps()
22241
22242
22243 2005-04-18  Andy Wingo  <wingo@pobox.com>
22244
22245         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22246         on the peer, not the pad. I think that was a typo. Pass an extra
22247         arg to see if random access is possible. Activate the pads as
22248         PULL_RANGE if possible.
22249
22250         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22251
22252         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
22253         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22254         to PROP_....
22255
22256 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22257
22258         * docs/faq/using.xml:
22259           Add note on gstreamer-properties (#154996).
22260
22261 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22262
22263         * docs/random/bbb/optional-properties:
22264           Some analysis on optional properties.
22265
22266 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22267
22268         * docs/gst/tmpl/gstelementfactory.sgml:
22269         * gst/gstelement.h:
22270         * gst/gstelementfactory.c: (gst_element_factory_init),
22271         (gst_element_factory_cleanup), (gst_element_register),
22272         (__gst_element_factory_add_static_pad_template),
22273         (gst_element_factory_get_static_pad_templates),
22274         (gst_element_factory_can_src_caps),
22275         (gst_element_factory_can_sink_caps):
22276         * gst/registries/Makefile.am:
22277         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22278         (gst_xml_registry_class_init), (gst_xml_registry_init),
22279         (gst_xml_registry_new), (gst_xml_registry_set_property),
22280         (gst_xml_registry_get_property), (get_time), (make_dir),
22281         (gst_xml_registry_get_perms_func),
22282         (plugin_times_older_than_recurse), (plugin_times_older_than),
22283         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22284         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22285         (add_to_char_array), (read_string), (read_uint), (read_enum),
22286         (load_pad_template), (load_feature), (load_plugin), (load_paths),
22287         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22288         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22289         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22290         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22291         (gst_xml_registry_rebuild):
22292         * gst/registries/gstlibxmlregistry.h:
22293         * tools/gst-compprep.c: (main):
22294         * tools/gst-inspect.c: (print_pad_templates_info):
22295         * tools/gst-xmlinspect.c: (print_element_info):
22296           Use libxml2 for registry parsing, use staticpadtemplates in
22297           elementfactories. Makes gst_init() +/- 10x faster.
22298
22299 2005-04-12  Wim Taymans  <wim@fluendo.com>
22300
22301         * gst/base/Makefile.am:
22302         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22303         (gst_basesink_pad_getcaps), (gst_basesink_init),
22304         (gst_basesink_event), (gst_basesink_change_state):
22305         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22306         (gst_basesrc_init), (gst_basesrc_query),
22307         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22308         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22309         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22310         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22311         (gst_basesrc_stop), (gst_basesrc_activate),
22312         (gst_basesrc_change_state):
22313         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22314         (helper_find_suggest), (gst_type_find_helper):
22315         * gst/base/gsttypefindhelper.h:
22316         * gst/elements/Makefile.am:
22317         * gst/elements/gstelements.c:
22318         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22319         (gst_fakesink_get_times), (gst_fakesink_event),
22320         (gst_fakesink_preroll), (gst_fakesink_render):
22321         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22322         (gst_fakesrc_init), (gst_fakesrc_event_handler),
22323         (gst_fakesrc_get_property), (gst_fakesrc_create),
22324         (gst_fakesrc_start), (gst_fakesrc_stop):
22325         * gst/elements/gstfakesrc.h:
22326         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22327         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22328         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22329         (gst_filesrc_create_read), (gst_filesrc_create),
22330         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22331         (gst_filesrc_start):
22332         * gst/elements/gsttypefindelement.c:
22333         (gst_type_find_element_have_type), (gst_type_find_element_init),
22334         (start_typefinding), (stop_typefinding), (push_buffer_store),
22335         (gst_type_find_element_handle_event),
22336         (gst_type_find_element_chain),
22337         (gst_type_find_element_checkgetrange),
22338         (gst_type_find_element_getrange), (do_typefind),
22339         (gst_type_find_element_activate),
22340         (gst_type_find_element_change_state):
22341         * gst/elements/gsttypefindelement.h:
22342         * gst/gstpipeline.c: (pipeline_bus_handler):
22343         Added typefind helper.
22344         Small preroll fix in the base sink.
22345         Disable typefind code in basesrc.
22346         Crude port of typefindelement.
22347         Fakesrc cleanups.
22348
22349
22350 2005-04-11  Wim Taymans  <wim@fluendo.com>
22351
22352         * check/gst/gstbus.c: (gstbus_suite):
22353         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22354         * check/gstcheck.h:
22355           Fix up the timeout so that the test does not fail.
22356
22357 2005-04-06  Wim Taymans  <wim@fluendo.com>
22358
22359         * gst/base/README:
22360         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22361         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22362         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22363         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22364         (gst_basesrc_check_get_range), (gst_basesrc_loop),
22365         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22366         (gst_basesrc_stop), (gst_basesrc_activate),
22367         (gst_basesrc_change_state), (basesrc_find_peek),
22368         (basesrc_find_suggest), (gst_basesrc_type_find):
22369         * gst/base/gstbasesrc.h:
22370         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22371         (gst_filesrc_class_init), (gst_filesrc_init),
22372         (gst_filesrc_finalize), (gst_filesrc_set_location),
22373         (gst_filesrc_set_property), (gst_filesrc_get_property),
22374         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22375         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22376         (gst_filesrc_create_read), (gst_filesrc_create),
22377         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22378         * gst/elements/gstfilesrc.h:
22379         * gst/gstelement.c: (gst_element_get_state_func),
22380         (gst_element_lost_state), (gst_element_pads_activate):
22381         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22382         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22383         (gst_pad_pull_range):
22384         * gst/gstpad.h:
22385         More work on the generic source base class, implement seeking,
22386         query.
22387         Make filesrc extend the base source class.
22388         Added gst_pad_set_checkgetrange_function to GstPad.
22389
22390 2005-04-06  Andy Wingo  <wingo@pobox.com>
22391
22392         * pkgconfig/gstreamer-base.pc.in:
22393         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22394
22395         * pkgconfig/Makefile.am:
22396         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22397
22398 2005-04-04  Wim Taymans  <wim@fluendo.com>
22399
22400         * gst/base/Makefile.am:
22401         * gst/base/README:
22402         * gst/base/gstbasesink.c: (gst_basesink_base_init),
22403         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22404         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22405         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22406         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22407         (gst_basesrc_base_init), (gst_basesrc_class_init),
22408         (gst_basesrc_init), (gst_basesrc_get_formats),
22409         (gst_basesrc_get_query_types), (gst_basesrc_query),
22410         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22411         (gst_basesrc_set_property), (gst_basesrc_get_property),
22412         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22413         (gst_basesrc_loop), (gst_basesrc_activate),
22414         (gst_basesrc_change_state):
22415         * gst/base/gstbasesrc.h:
22416         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22417         (gst_fakesrc_class_init), (gst_fakesrc_init),
22418         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22419         (gst_fakesrc_get_property), (gst_fakesrc_create):
22420         * gst/elements/gstfakesrc.h:
22421         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22422         (gst_filesrc_open_file), (gst_filesrc_loop),
22423         (gst_filesrc_activate), (filesrc_find_peek),
22424         (gst_filesrc_type_find):
22425         Made base source class, make fakesrc extend it.
22426         Add comments to basesink class.
22427         Some filesrc cleanup.
22428
22429 2005-03-31  David Schleef  <ds@schleef.org>
22430
22431         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22432         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22433         expected to link against libgstreamer.
22434         * gst/base/Makefile.am: link against libgstreamer
22435         * gst/elements/Makefile.am: same
22436
22437 2005-03-31  Andy Wingo  <wingo@pobox.com>
22438
22439         * tests/instantiate/Makefile.am:
22440         * tests/instantiate/caps.c: Add test to test speed of caps copy
22441         and free.
22442
22443         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22444         GMemChunk to be fair.
22445
22446         * gst/gsttrashstack.h: Remove warning about using the fallback
22447         trash stack implementation, it's still faster than malloc.
22448
22449 2005-03-30  Andy Wingo  <wingo@pobox.com>
22450
22451         * tests/complexity.c: Add a copyright.
22452
22453 2005-03-31  Wim Taymans  <wim@fluendo.com>
22454
22455         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22456         (gst_base_transform_class_init), (gst_base_transform_init),
22457         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22458         (gst_base_transform_get_property),
22459         (gst_base_transform_sink_activate),
22460         (gst_base_transform_src_activate),
22461         (gst_base_transform_change_state):
22462         * gst/base/gstbasetransform.h:
22463         * gst/elements/gstidentity.c: (gst_identity_class_init),
22464         (gst_identity_event), (gst_identity_check_perfect),
22465         (gst_identity_transform), (gst_identity_start),
22466         (gst_identity_stop):
22467         Added start/stop methods to transform base class so subclasses 
22468         don't need to deal with state changes even.
22469
22470 2005-03-31  Wim Taymans  <wim@fluendo.com>
22471
22472         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22473         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22474         * gst/gstevent.h:
22475         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22476         (gst_pad_pull_range):
22477         Added rate to the discont event to prepare for variable speed
22478         and reverse playback.
22479
22480 2005-03-29  David Schleef  <ds@schleef.org>
22481
22482         * configure.ac:
22483         * testsuite/trigger/Makefile.am:
22484         * testsuite/trigger/trigger.c: A little example program to show
22485         how trigger-based elements can work.
22486
22487 2005-03-29  Wim Taymans  <wim@fluendo.com>
22488
22489         * gst/base/Makefile.am:
22490         * gst/base/README:
22491         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22492         (gst_basesink_base_init), (gst_basesink_class_init),
22493         (gst_basesink_pad_getcaps), (gst_basesink_init),
22494         (gst_basesink_activate), (gst_basesink_change_state):
22495         * gst/base/gstbasesink.h:
22496         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22497         (gst_base_transform_base_init), (gst_base_transform_finalize),
22498         (gst_base_transform_class_init), (gst_base_transform_init),
22499         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22500         (gst_base_transform_event), (gst_base_transform_getrange),
22501         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22502         (gst_base_transform_set_property),
22503         (gst_base_transform_get_property),
22504         (gst_base_transform_sink_activate),
22505         (gst_base_transform_src_activate),
22506         (gst_base_transform_change_state):
22507         * gst/base/gstbasetransform.h:
22508         * gst/elements/gstidentity.c: (gst_identity_finalize),
22509         (gst_identity_class_init), (gst_identity_init),
22510         (gst_identity_event), (gst_identity_check_perfect),
22511         (gst_identity_transform), (gst_identity_set_property),
22512         (gst_identity_get_property), (gst_identity_change_state):
22513         * gst/elements/gstidentity.h:
22514         * gst/gstelement.c: (gst_element_get_state_func),
22515         (gst_element_lost_state), (gst_element_pads_activate):
22516         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22517         (gst_pad_check_pull_range), (gst_pad_pull_range):
22518         * gst/gstpad.h:
22519         Simplify pad activation.
22520         Added function to check if pull_range can be performed.
22521         Error out when pulling inactive or flushing pads.
22522         Removed const from refcounted types as it does not make sense.
22523         Simplify pad templates in basesink
22524         Added base class for simple 1-to-1 transforms.
22525         Make identity subclass the base transform.
22526
22527 2005-03-29  Andy Wingo  <wingo@pobox.com>
22528
22529         * docs/libs/gstreamer-libs-overrides.txt: 
22530         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22531         really don't understand what's going on, but like whatever. I want
22532         green buildbot!
22533
22534         * docs/gst/Makefile.am:
22535         * docs/libs/Makefile.am: Dist the overrides files.
22536
22537         * check/Makefile.am (clean-local): Remove .libs directories.
22538
22539         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22540         elements to EXTRA_DIST, so po/ files are happy.
22541
22542         * po/POTFILES.in: Er, remove it here.
22543
22544         * po/POTFILES: Remove gstspider.c.
22545
22546         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22547
22548         * docs/libs/gstreamer-libs-docs.sgml: 
22549         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22550         bytestream.
22551
22552         * tests/complexity.c (main): Set the length of the preroll queue
22553         on the sinks to prevent a lockup.
22554
22555         * libs/gst/dataprotocol/Makefile.am: 
22556         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22557         the same as the one in check/gst-libs/gdp.c.
22558
22559         * po/, docs/gst/: Commit automatic changes to docs and po files.
22560
22561         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22562         the versioned libgstbase.
22563
22564         * check/Makefile.am: Depend on an unversioned gst-register, seems
22565         to make autoconf happier.
22566
22567         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22568
22569 2005-03-28  Wim Taymans  <wim@fluendo.com>
22570
22571         * configure.ac:
22572         * docs/design/part-gstelement.txt:
22573         * docs/design/part-negotiation.txt:
22574         * docs/design/part-preroll.txt:
22575         * docs/design/part-scheduling.txt:
22576         * docs/design/part-states.txt:
22577         * gst/Makefile.am:
22578         * gst/base/Makefile.am:
22579         * gst/base/README:
22580         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22581         (gst_basesink_base_init), (gst_basesink_class_init),
22582         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22583         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22584         (gst_basesink_set_pad_functions),
22585         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22586         (gst_basesink_set_property), (gst_basesink_get_property),
22587         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22588         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22589         (gst_basesink_preroll_queue_push),
22590         (gst_basesink_preroll_queue_empty),
22591         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22592         (gst_basesink_event), (gst_basesink_get_times),
22593         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22594         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22595         (gst_basesink_loop), (gst_basesink_activate),
22596         (gst_basesink_change_state):
22597         * gst/base/gstbasesink.h:
22598         * gst/elements/Makefile.am:
22599         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22600         (gst_fakesink_class_init), (gst_fakesink_init),
22601         (gst_fakesink_set_property), (gst_fakesink_get_property),
22602         (gst_fakesink_get_times), (gst_fakesink_event),
22603         (gst_fakesink_preroll), (gst_fakesink_render),
22604         (gst_fakesink_change_state):
22605         * gst/elements/gstfakesink.h:
22606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22607         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22608         * gst/gstelement.c: (gst_element_add_pad),
22609         (gst_element_get_state_func), (gst_element_abort_state),
22610         (gst_element_commit_state), (gst_element_lost_state),
22611         (gst_element_set_state), (gst_element_pads_activate):
22612         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22613         * gst/gstpipeline.c: (gst_pipeline_send_event),
22614         (gst_pipeline_change_state):
22615         Added state change code.
22616         Added/updated docs.
22617         Added sink base class, make fakesink extend the base class.
22618         Small cleanups in GstPipeline.
22619
22620 2005-03-26  David Schleef  <ds@schleef.org>
22621
22622         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22623         is broken and should be implemented in a different library.
22624         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22625         * gst/gst.h: remove gstcpu.h
22626         * gst/gstcpu.c: remove
22627         * gst/gstcpu.h: remove
22628         * gst/Makefile.am.future: Remove this file.  It's ancient.
22629
22630 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22631
22632         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22633         (gst_bin_send_event):
22634           Add default event/set_manager handlers. The set_manager handler
22635           takes care that the manager is distributed over kids that were
22636           already in the bin before the manager was set. The event handler
22637           is a utility virtual function that sends the event over all sinks,
22638           so that gst_element_send_event (bin, event); has the expected
22639           behaviour.
22640         * gst/gstpad.c: (gst_pad_event_default):
22641           Re-install default event handling for discontinuities, so that
22642           seeking works without requiring hacks in applications or extra
22643           code in sinks.
22644         * gst/gstpipeline.c: (gst_pipeline_class_init),
22645         (gst_pipeline_send_event):
22646           Half hack, half utility: set a pipeline to PAUSED for seek events,
22647           since that is the only way we can guarantee a/v sync. Means that
22648           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22649           and it "just works".
22650
22651 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22652
22653         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22654           Lock/unlock mismatch.
22655
22656 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22657
22658         * docs/faq/gst-uninstalled:
22659           add gst-plugins-base
22660         * docs/gst/Makefile.am:
22661           don't error out until docs are fixed
22662         * docs/gst/gstreamer.types:
22663           remove thread
22664
22665 2005-03-22  Wim Taymans  <wim@fluendo.com>
22666
22667         * check/Makefile.am:
22668         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22669         * gst/gststructure.c: (gst_structure_set_valist),
22670         (gst_structure_copy_conditional):
22671         Activated more tests.
22672         Added message test.
22673         Added G_TYPE_POINTER to GstStructure.
22674         
22675
22676 2005-03-22  Wim Taymans  <wim@fluendo.com>
22677
22678         * docs/design/part-TODO.txt:
22679         * docs/design/part-events.txt:
22680         * docs/design/part-gstbin.txt:
22681         * docs/design/part-gstbus.txt:
22682         * docs/design/part-gstpipeline.txt:
22683         * docs/design/part-messages.txt:
22684         * gst/gstbus.c:
22685         * gst/gstmessage.c:
22686         Docs updates
22687
22688 2005-03-21  Wim Taymans  <wim@fluendo.com>
22689
22690         * gst/gstbus.c: (gst_bus_post):
22691         Fix copy-and-paste error.
22692
22693 2005-03-21  Wim Taymans  <wim@fluendo.com>
22694
22695         * check/Makefile.am:
22696         * gst/Makefile.am:
22697         * gst/elements/Makefile.am:
22698         * gst/elements/gstelements.c:
22699         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22700         (gst_fakesink_event), (gst_fakesink_chain):
22701         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22702         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22703         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22704         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22705         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22706         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22707         (gst_fakesrc_loop), (gst_fakesrc_activate),
22708         (gst_fakesrc_change_state):
22709         * gst/elements/gstfakesrc.h:
22710         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22711         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22712         (gst_filesrc_open_file), (gst_filesrc_loop),
22713         (gst_filesrc_activate), (gst_filesrc_change_state),
22714         (filesrc_find_peek), (filesrc_find_suggest),
22715         (gst_filesrc_type_find):
22716         * gst/elements/gstidentity.c: (gst_identity_finalize),
22717         (gst_identity_class_init), (gst_identity_init),
22718         (gst_identity_proxy_getcaps), (identity_queue_push),
22719         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22720         (gst_identity_getrange), (gst_identity_chain),
22721         (gst_identity_sink_loop), (gst_identity_src_loop),
22722         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22723         (gst_identity_set_property), (gst_identity_get_property),
22724         (gst_identity_change_state):
22725         * gst/elements/gstidentity.h:
22726         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22727         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22728         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22729         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22730         (gst_tee_sink_activate):
22731         * gst/elements/gsttee.h:
22732         * gst/gst.c: (gst_register_core_elements), (init_post):
22733         * gst/gst.h:
22734         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22735         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22736         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22737         (gst_bin_change_state):
22738         * gst/gstbin.h:
22739         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22740         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22741         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22742         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22743         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22744         (bus_watch_callback), (bus_watch_destroy),
22745         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22746         (poll_timeout), (gst_bus_poll):
22747         * gst/gstbus.h:
22748         * gst/gstcaps.h:
22749         * gst/gstdata.h:
22750         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22751         (gst_element_post_message), (gst_element_message_full),
22752         (gst_element_get_state_func), (gst_element_get_state),
22753         (gst_element_abort_state), (gst_element_commit_state),
22754         (gst_element_lost_state), (gst_element_set_state),
22755         (gst_element_pads_activate), (gst_element_change_state),
22756         (gst_element_dispose), (gst_element_set_manager_func),
22757         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22758         (gst_element_set_manager), (gst_element_get_manager),
22759         (gst_element_set_bus), (gst_element_get_bus),
22760         (gst_element_set_scheduler), (gst_element_get_scheduler):
22761         * gst/gstelement.h:
22762         * gst/gstevent.c: (gst_event_new_segment_seek),
22763         (gst_event_new_flush):
22764         * gst/gstevent.h:
22765         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22766         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22767         (gst_message_new_eos), (gst_message_new_error),
22768         (gst_message_new_warning), (gst_message_new_tag),
22769         (gst_message_new_state_changed), (gst_message_new_application),
22770         (gst_message_get_structure), (gst_message_parse_tag),
22771         (gst_message_parse_state_changed), (gst_message_parse_error),
22772         (gst_message_parse_warning):
22773         * gst/gstmessage.h:
22774         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22775         (gst_real_pad_set_property), (gst_pad_set_active),
22776         (gst_pad_is_active), (gst_pad_set_blocked_async),
22777         (gst_pad_set_blocked), (gst_pad_is_blocked),
22778         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22779         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22780         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22781         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22782         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22783         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22784         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22785         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22786         (gst_pad_set_caps), (gst_pad_configure_sink),
22787         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22788         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22789         (gst_real_pad_dispose), (gst_real_pad_finalize),
22790         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22791         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22792         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22793         * gst/gstpad.h:
22794         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22795         (pipeline_bus_handler), (gst_pipeline_change_state),
22796         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22797         * gst/gstpipeline.h:
22798         * gst/gstprobe.h:
22799         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22800         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22801         (gst_queue_link_src), (gst_queue_bufferalloc),
22802         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22803         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22804         (gst_queue_loop), (gst_queue_handle_src_event),
22805         (gst_queue_handle_src_query), (gst_queue_src_activate),
22806         (gst_queue_change_state):
22807         * gst/gstqueue.h:
22808         * gst/gstscheduler.c: (gst_scheduler_init),
22809         (gst_scheduler_dispose), (gst_scheduler_create_task),
22810         (gst_scheduler_factory_create):
22811         * gst/gstscheduler.h:
22812         * gst/gststructure.c: (gst_structure_get_type),
22813         (gst_structure_copy_conditional):
22814         * gst/gststructure.h:
22815         * gst/gsttaginterface.h:
22816         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22817         (gst_task_init), (gst_task_dispose), (gst_task_create),
22818         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22819         (gst_task_pause):
22820         * gst/gsttask.h:
22821         * gst/gstthread.c:
22822         * gst/gstthread.h:
22823         * gst/gsttypes.h:
22824         * gst/schedulers/Makefile.am:
22825         * gst/schedulers/cothreads_compat.h:
22826         * gst/schedulers/entryscheduler.c:
22827         * gst/schedulers/faircothreads.c:
22828         * gst/schedulers/faircothreads.h:
22829         * gst/schedulers/fairscheduler.c:
22830         * gst/schedulers/gstbasicscheduler.c:
22831         * gst/schedulers/gstoptimalscheduler.c:
22832         * gst/schedulers/gthread-cothreads.h:
22833         * gst/schedulers/threadscheduler.c:
22834         (gst_thread_scheduler_task_get_type),
22835         (gst_thread_scheduler_task_class_init),
22836         (gst_thread_scheduler_task_init),
22837         (gst_thread_scheduler_task_start),
22838         (gst_thread_scheduler_task_stop),
22839         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22840         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22841         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22842         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22843         (plugin_init):
22844         * libs/gst/Makefile.am:
22845         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22846         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22847         (gst_file_pad_parent_set):
22848         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22849         (gst_dp_event_from_packet):
22850         * tests/complexity.c: (main):
22851         * tests/mass_elements.c: (main):
22852         * testsuite/states/locked.c: (message_received), (main):
22853         * testsuite/states/parent.c: (main):
22854         * tools/gst-inspect.c: (print_element_flag_info),
22855         (print_implementation_info), (print_pad_info):
22856         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22857         (main):
22858         * tools/gst-md5sum.c: (event_loop), (main):
22859         * tools/gst-typefind.c: (main):
22860         * tools/gst-xmlinspect.c: (print_element_info):
22861         Next big merge.
22862         Added GstBus for mainloop integration.
22863         Added GstMessage for sending notifications on the bus.
22864         Added GstTask as an abstraction for pipeline entry points.
22865         Removed GstThread.
22866         Removed Schedulers.
22867         Simplified GstQueue for multithreaded core.
22868         Made _link threadsafe, removed old capsnego.
22869         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22870         Added pad blocking functions.
22871         Reworked scheduling functions in GstPad to prepare for
22872         scheduling updates soon.
22873         Moved events out of data stream.
22874         Simplified GstEvent types.
22875         Added return values to push/pull.
22876         Removed clocking from GstElement.
22877         Added prototypes for state change function for next merge.
22878         Removed iterate from bins and state change management.
22879         Fixed some elements, disabled others for now.
22880         Fixed -inspect and -launch.
22881         Added check for GstBus.
22882
22883 2005-03-10  Wim Taymans  <wim@fluendo.com>
22884
22885         * docs/design/part-MT-refcounting.txt:
22886         * docs/design/part-clocks.txt:
22887         * docs/design/part-gstelement.txt:
22888         * docs/design/part-gstobject.txt:
22889         * docs/design/part-standards.txt:
22890         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22891         (gst_bin_remove_func), (gst_bin_remove):
22892         * gst/gstbin.h:
22893         * gst/gstbuffer.c:
22894         * gst/gstcaps.h:
22895         * testsuite/clock/clock1.c: (main):
22896         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22897         (main):
22898         * testsuite/dlopen/loadgst.c: (do_test):
22899         * testsuite/refcounting/bin.c: (add_remove_test1),
22900         (add_remove_test2), (main):
22901         * testsuite/refcounting/element.c: (main):
22902         * testsuite/refcounting/element_pad.c: (main):
22903         * testsuite/refcounting/pad.c: (main):
22904         * tools/gst-launch.c: (sigint_handler_sighandler):
22905         * tools/gst-typefind.c: (main):
22906         Doc updates.
22907         Added doc about clock.
22908         removed gst_bin_iterate_recurse_up(), marked methods
22909         for removal.
22910         Fix more testsuites.
22911
22912 2005-03-09  Wim Taymans  <wim@fluendo.com>
22913
22914         * gst/gstpad.c: (gst_pad_get_direction),
22915         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22916         (gst_pad_collect_valist):
22917         * testsuite/bins/interface.c: (main):
22918         * testsuite/caps/audioscale.c: (test_caps):
22919         * testsuite/caps/caps.c: (test1), (test2), (test3):
22920         * testsuite/caps/deserialize.c: (main):
22921         * testsuite/caps/enumcaps.c: (main):
22922         * testsuite/caps/filtercaps.c: (main):
22923         * testsuite/caps/intersect2.c: (main):
22924         * testsuite/caps/random.c: (main):
22925         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22926         * testsuite/caps/sets.c: (check_caps):
22927         * testsuite/caps/simplify.c: (check_caps), (main):
22928         * testsuite/caps/subtract.c: (check_caps):
22929         Fix _pad_get_direction wrt ghostpads.
22930         Fix caps testsuite.
22931
22932 2005-03-09  Wim Taymans  <wim@fluendo.com>
22933
22934         * check/Makefile.am:
22935         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22936         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22937         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22938         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22939         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22940         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22941         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22942         (bin_element_is_sink), (gst_bin_iterate_sinks),
22943         (gst_bin_iterate_all_by_interface):
22944         * gst/gstbin.h:
22945         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22946         (gst_element_change_state), (gst_element_dispose),
22947         (gst_element_finalize), (gst_element_set_loop_function):
22948         * gst/gstelement.h:
22949         * gst/gstiterator.c: (find_custom_fold_func):
22950         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22951         (gst_pad_collectv), (gst_pad_collect_valist),
22952         (gst_pad_template_new):
22953         * gst/gstpipeline.c: (gst_pipeline_class_init),
22954         (gst_pipeline_dispose), (gst_pipeline_set_property),
22955         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22956         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22957         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22958         * gst/gstutils.h:
22959         * gst/schedulers/entryscheduler.c:
22960         * gst/schedulers/gstbasicscheduler.c:
22961         (gst_basic_scheduler_cothreaded_chain),
22962         (gst_basic_scheduler_chain_add_element):
22963         * testsuite/bins/interface.c: (main):
22964         Added GstBin test.
22965         Added GstSystemClock test.
22966         Implemented clock distribution code in GstBin.
22967         Implemented iterate sinks method for future use.
22968         Rearranged gstelement.h
22969         Fix GstIterator comparison bug.
22970         Moved some code to GstPipeline, mostly clocking related.
22971
22972 2005-03-09  Wim Taymans  <wim@fluendo.com>
22973
22974         * configure.ac:
22975         * gst/gst_private.h:
22976         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22977         (gst_bin_remove_func), (gst_bin_remove),
22978         (gst_bin_get_by_name_recurse_up):
22979         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22980         (gst_clock_id_compare_func), (gst_clock_id_wait),
22981         (gst_clock_id_wait_async), (gst_clock_init),
22982         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22983         * gst/gstelement.h:
22984         * gst/gstinfo.c: (_gst_debug_init):
22985         * gst/gstobject.h:
22986         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22987         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22988         * gst/gstpad.h:
22989         Bump version number, we're now 0.9.0
22990         Add future debugging category.
22991         Fix NULL _unref() in _get_by_name_recurse_up
22992         Rearrange gstpad.h.
22993         Update some docs.
22994
22995 2005-03-08  Wim Taymans  <wim@fluendo.com>
22996
22997         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22998         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22999         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23000         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23001         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23002         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23003         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23004         * gst/elements/gstidentity.c: (gst_identity_class_init):
23005         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23006         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23007         * gst/elements/gstshaper.c: (gst_shaper_class_init):
23008         * gst/elements/gststatistics.c: (gst_statistics_class_init):
23009         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23010         (gst_tee_link):
23011         * gst/gstelement.c: (gst_element_class_init),
23012         (gst_element_base_class_init), (gst_element_init),
23013         (gst_element_get_random_pad), (gst_element_wait_state_change),
23014         (gst_element_change_state), (gst_element_dispose),
23015         (gst_element_finalize), (gst_element_set_loop_function):
23016         * gst/gstelement.h:
23017         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23018         * gst/gstthread.c: (gst_thread_class_init),
23019         (gst_thread_release_children_locks), (gst_thread_change_state):
23020         * gst/schedulers/gstbasicscheduler.c:
23021         (gst_basic_scheduler_loopfunc_wrapper),
23022         (gst_basic_scheduler_chain_wrapper),
23023         (gst_basic_scheduler_src_wrapper),
23024         (gst_basic_scheduler_remove_element):
23025         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23026         Remove threadsafe properties. Fix elements because GObject
23027         complains when installing a property before declaring a
23028         set/get_property handler.
23029         Rearrange gstelement.h file, use STATE macros for state locks.
23030         Free mutexes in the finalize method instead of dispose.
23031
23032 2005-03-08  Wim Taymans  <wim@fluendo.com>
23033
23034         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23035         * gst/gstthread.c: (gst_thread_release_children_locks):
23036         Added parentage check.
23037         Fix build og GstThread again.
23038
23039 2005-03-08  Wim Taymans  <wim@fluendo.com>
23040
23041         * docs/design/part-MT-refcounting.txt:
23042         * docs/design/part-conventions.txt:
23043         * docs/design/part-gstobject.txt:
23044         * docs/design/part-relations.txt:
23045         * docs/design/part-standards.txt:
23046         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23047         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23048         (gst_bin_get_by_name), (gst_bin_get_by_interface),
23049         (gst_bin_iterate_all_by_interface):
23050         * gst/gstbuffer.h:
23051         * gst/gstclock.h:
23052         * gst/gstelement.c: (gst_element_class_init),
23053         (gst_element_change_state), (gst_element_set_loop_function):
23054         * gst/gstelement.h:
23055         * gst/gstiterator.c:
23056         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23057         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23058         (gst_object_dispatch_properties_changed), (gst_object_set_name),
23059         (gst_object_set_parent), (gst_object_unparent),
23060         (gst_object_check_uniqueness):
23061         * gst/gstobject.h:
23062         Docs updates, clean up some headers.
23063
23064 2005-03-07  Wim Taymans  <wim@fluendo.com>
23065
23066         * check/.cvsignore:
23067         * check/Makefile.am:
23068         * check/gst-libs/.cvsignore:
23069         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23070         * check/gst/.cvsignore:
23071         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23072         (START_TEST), (gstbus_suite), (main):
23073         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23074         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23075         (gst_data_suite), (main):
23076         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23077         (add_fold_func), (gstiterator_suite), (main):
23078         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23079         (thread_name_object), (thread_name_object_default),
23080         (gst_object_name_compare), (gst_object_suite), (main):
23081         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23082         (gst_pad_suite), (main):
23083         * check/gstcheck.c: (gst_check_log_message_func),
23084         (gst_check_log_critical_func), (gst_check_init):
23085         * check/gstcheck.h:
23086         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23087         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23088         Added checks.
23089
23090 2005-03-07  Wim Taymans  <wim@fluendo.com>
23091
23092         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23093         (gst_list_iterator_next), (gst_list_iterator_resync),
23094         (gst_list_iterator_free), (gst_iterator_new_list),
23095         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23096         (gst_iterator_free), (gst_iterator_push), (filter_next),
23097         (filter_resync), (filter_uninit), (filter_free),
23098         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23099         (gst_iterator_foreach), (find_custom_fold_func),
23100         (gst_iterator_find_custom):
23101         * gst/gstiterator.h:
23102         Added missing files.
23103
23104 2005-03-07  Wim Taymans  <wim@fluendo.com>
23105
23106         * Makefile.am:
23107         * configure.ac:
23108         * docs/design/part-MT-refcounting.txt:
23109         * docs/design/part-conventions.txt:
23110         * docs/design/part-gstobject.txt:
23111         * docs/design/part-relations.txt:
23112         * examples/mixer/mixer.c: (main):
23113         * examples/thread/thread.c: (eos), (main):
23114         * gst/Makefile.am:
23115         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23116         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23117         (gst_spider_plug_from_srcpad):
23118         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23119         (gst_spider_identity_change_state),
23120         (gst_spider_identity_sink_loop_type_finding):
23121         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23122         * gst/elements/gstidentity.c: (gst_identity_init):
23123         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23124         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23125         * gst/elements/gsttypefindelement.c: (free_entry):
23126         * gst/gst.c:
23127         * gst/gst.h:
23128         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23129         (gst_bin_set_clock_func), (gst_bin_auto_clock),
23130         (gst_bin_set_index), (gst_bin_set_element_sched),
23131         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23132         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23133         (gst_bin_iterate_elements), (iterate_child_recurse),
23134         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23135         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23136         (compare_interface), (gst_bin_get_by_interface),
23137         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23138         * gst/gstbin.h:
23139         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23140         (gst_buffer_default_free), (gst_buffer_default_copy),
23141         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23142         (gst_buffer_create_sub):
23143         * gst/gstbuffer.h:
23144         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23145         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23146         (gst_caps_unref), (gst_static_caps_get),
23147         (gst_caps_remove_and_get_structure), (gst_caps_append),
23148         (gst_caps_append_structure), (gst_caps_remove_structure),
23149         (gst_caps_copy_nth), (gst_caps_set_simple),
23150         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23151         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23152         (gst_caps_structure_intersect_field), (gst_caps_intersect),
23153         (gst_caps_structure_subtract_field), (gst_caps_subtract),
23154         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23155         (gst_caps_structure_figure_out_union),
23156         (gst_caps_switch_structures), (gst_caps_do_simplify),
23157         (gst_caps_replace), (gst_caps_from_string),
23158         (gst_caps_copy_conditional):
23159         * gst/gstcaps.h:
23160         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23161         (_gst_clock_id_free), (gst_clock_id_unref),
23162         (gst_clock_id_compare_func), (gst_clock_id_wait),
23163         (gst_clock_id_wait_async), (gst_clock_class_init),
23164         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23165         (gst_clock_get_time), (gst_clock_set_time_adjust),
23166         (gst_clock_set_property), (gst_clock_get_property):
23167         * gst/gstclock.h:
23168         * gst/gstcompat.h:
23169         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23170         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23171         * gst/gstdata.h:
23172         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23173         (gst_element_requires_clock), (gst_element_provides_clock),
23174         (gst_element_set_clock), (gst_element_clock_wait),
23175         (gst_element_wait), (gst_element_set_time_delay),
23176         (gst_element_is_indexable), (gst_element_add_pad),
23177         (gst_element_add_ghost_pad), (gst_element_remove_pad),
23178         (pad_compare_name), (gst_element_get_static_pad),
23179         (gst_element_request_pad), (gst_element_get_request_pad),
23180         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23181         (gst_element_class_get_pad_template_list),
23182         (gst_element_class_get_pad_template), (gst_element_error_func),
23183         (gst_element_get_random_pad), (gst_element_get_event_masks),
23184         (gst_element_send_event), (gst_element_seek),
23185         (gst_element_get_query_types), (gst_element_query),
23186         (gst_element_get_formats), (gst_element_convert),
23187         (gst_element_is_locked_state), (gst_element_set_locked_state),
23188         (gst_element_sync_state_with_parent), (gst_element_change_state),
23189         (gst_element_finalize), (gst_element_yield),
23190         (gst_element_interrupt), (gst_element_set_scheduler),
23191         (gst_element_get_scheduler), (gst_element_set_loop_function):
23192         * gst/gstelement.h:
23193         * gst/gstevent.h:
23194         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23195         (gst_format_get_by_nick), (gst_format_get_details),
23196         (gst_format_iterate_definitions):
23197         * gst/gstformat.h:
23198         * gst/gstindex.c: (gst_index_gtype_resolver):
23199         * gst/gstinfo.c:
23200         * gst/gstinfo.h:
23201         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23202         (gst_mem_chunk_free):
23203         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23204         (gst_object_ref), (gst_object_unref), (gst_object_sink),
23205         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23206         (gst_object_dispatch_properties_changed),
23207         (gst_object_set_name_default), (gst_object_set_name),
23208         (gst_object_get_name), (gst_object_set_name_prefix),
23209         (gst_object_get_name_prefix), (gst_object_set_parent),
23210         (gst_object_get_parent), (gst_object_unparent),
23211         (gst_object_check_uniqueness), (gst_object_save_thyself),
23212         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23213         (gst_object_set_property), (gst_object_get_property),
23214         (gst_object_get_path_string):
23215         * gst/gstobject.h:
23216         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23217         (gst_real_pad_init), (gst_real_pad_get_property),
23218         (gst_pad_custom_new), (gst_pad_get_direction),
23219         (gst_pad_set_active), (gst_pad_is_active),
23220         (gst_pad_set_event_function), (gst_pad_is_linked),
23221         (gst_pad_link_free), (gst_pad_link_intersect),
23222         (gst_pad_link_fixate), (gst_pad_set_caps),
23223         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23224         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23225         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23226         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23227         (gst_pad_get_caps), (gst_pad_peer_get_caps),
23228         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23229         (gst_pad_realize), (gst_pad_get_allowed_caps),
23230         (gst_real_pad_dispose), (gst_real_pad_finalize),
23231         (gst_pad_collectv), (gst_pad_collect_valist),
23232         (gst_pad_template_dispose), (gst_pad_template_new),
23233         (gst_pad_get_internal_links):
23234         * gst/gstpad.h:
23235         * gst/gstpipeline.c: (gst_pipeline_dispose),
23236         (gst_pipeline_change_state):
23237         * gst/gstpipeline.h:
23238         * gst/gstplugin.c:
23239         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23240         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23241         * gst/gstpluginfeature.h:
23242         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23243         * gst/gstquery.c: (_gst_query_type_initialize),
23244         (gst_query_type_register), (gst_query_type_get_by_nick),
23245         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23246         * gst/gstquery.h:
23247         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23248         * gst/gstscheduler.c: (gst_scheduler_add_element),
23249         (gst_scheduler_factory_create):
23250         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23251         (gst_structure_free), (gst_structure_set_name),
23252         (gst_structure_id_set_value), (gst_structure_set_value),
23253         (gst_structure_set_valist), (gst_structure_remove_field),
23254         (gst_structure_remove_fields),
23255         (gst_structure_remove_fields_valist),
23256         (gst_structure_remove_all_fields), (gst_structure_foreach),
23257         (gst_structure_map_in_place),
23258         (gst_caps_structure_fixate_field_nearest_int),
23259         (gst_caps_structure_fixate_field_nearest_double):
23260         * gst/gststructure.h:
23261         * gst/gstsystemclock.c: (gst_system_clock_class_init),
23262         (gst_system_clock_init), (gst_system_clock_dispose),
23263         (gst_system_clock_async_thread),
23264         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23265         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23266         * gst/gstsystemclock.h:
23267         * gst/gsttag.c: (gst_tag_list_add_value_internal),
23268         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23269         * gst/gsttaginterface.c:
23270         * gst/gstthread.c: (gst_thread_dispose),
23271         (gst_thread_release_children_locks), (gst_thread_change_state),
23272         (gst_thread_main_loop):
23273         * gst/gsttrashstack.h:
23274         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23275         * gst/gsttypes.h:
23276         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23277         (gst_element_request_pad), (gst_element_get_pad_from_template),
23278         (gst_element_request_compatible_pad),
23279         (gst_element_get_compatible_pad_filtered),
23280         (gst_element_get_compatible_pad), (gst_element_state_get_name),
23281         (gst_element_link_pads_filtered), (gst_element_link_filtered),
23282         (gst_element_link_many), (gst_element_link),
23283         (gst_element_link_pads), (gst_element_unlink_pads),
23284         (gst_element_unlink_many), (gst_element_unlink),
23285         (gst_pad_can_link_filtered), (gst_pad_can_link),
23286         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23287         (gst_object_default_error), (gst_bin_add_many),
23288         (gst_bin_remove_many), (gst_element_populate_std_props),
23289         (gst_element_class_install_std_props), (gst_buffer_merge),
23290         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23291         (link_fold_func), (gst_pad_proxy_setcaps):
23292         * gst/gstutils.h:
23293         * gst/gstvalue.c: (gst_value_deserialize_string):
23294         * gst/parse/grammar.y:
23295         * gst/schedulers/gstbasicscheduler.c:
23296         (gst_basic_scheduler_cothreaded_chain),
23297         (gst_basic_scheduler_chain_recursive_add),
23298         (gst_basic_scheduler_pad_link):
23299         * gst/schedulers/gstoptimalscheduler.c:
23300         (get_group_schedule_function),
23301         (gst_opt_scheduler_state_transition),
23302         (gst_opt_scheduler_add_element), (element_get_reachables_func):
23303         * libs/gst/bytestream/bytestream.c:
23304         * libs/gst/dataprotocol/dataprotocol.c:
23305         (gst_dp_header_from_buffer):
23306         * po/nb.po:
23307         * po/ru.po:
23308         * tests/threadstate/threadstate2.c: (eos):
23309         * tools/gst-compprep.c: (main):
23310         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23311         (print_pad_info), (print_children_info):
23312         * tools/gst-launch.c: (idle_func), (main):
23313         * tools/gst-md5sum.c: (idle_func), (main):
23314         * tools/gst-xmlinspect.c: (print_element_info):
23315         First THREADED backport attempt, focusing on adding locks and
23316         making sure the API is threadsafe. Needs more work. More docs
23317         follow this week.
23318
23319 2005-02-24  Andy Wingo  <wingo@pobox.com>
23320
23321         * tests/bench-complexity.scm:
23322         * tests/complexity.gnuplot: New files, good for running complexity
23323         benchmarks.
23324
23325         * tests/Makefile.am:
23326         * tests/complexity.c: New test, sets up N elements, at each level
23327         teeing into M streams per element. Eeeenteresting.
23328
23329         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23330         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23331         running bench-mass_elements.scm.
23332
23333         * tests/bench-mass_elements.scm: New script, runs mass_elements
23334         for various numbers of identities, outputting the results to a
23335         file. Requires guile 1.6. Just for testing.
23336
23337 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23338
23339         * gst/schedulers/fairscheduler.c:
23340           compile with debug disabled
23341
23342 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23343
23344         * configure.ac:
23345           hunting season on 0.9 is now OPEN