gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * gst/gstplugin.c: (_gst_plugin_initialize):
4           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5           again, which I broke two commits ago when changing the API
6           of gst_plugin_register_static(): the g_list_foreach() in
7           _gst_plugin_register_static still assumed the old function
8           signature and would therefore fail (re-fixes #510187).
9
10         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
11           (_gst_plugin_register_static), (gst_plugin_register_static):
12           Revert the (technically correct) change to call g_thread_init() from
13           the pre-main() constructor. This will break programs which call
14           g_thread_init() without an if (!g_thread_supported()) guard in their
15           main function. We could just blame it on GLib or the application, but
16           it's probably best to just avoid this altogether and simply not use
17           any GLib functions here and use plain old malloc() with a simple
18           array to store the plugins to register later when gst_init() is
19           finally called (re-fixes #510187).
20
21         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
22           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
23           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
24           (GST_START_TEST), (gst_plugin_suite):
25           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
26           works.
27
28 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
29
30         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
31           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
32           This makes gtk-doc complain, but results in slightly better
33           compiler errors. The old _gst_plugin_register_static() is
34           still guarded, so there'll be a compiler warning about that
35           instead. Fixes #510187 too.
36
37 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
38
39         * gst/gst.c: (init_post):
40         * gst/gstplugin.c: (_gst_plugin_register_static),
41           (gst_plugin_register_static), (_gst_plugin_initialize):
42         * gst/gstplugin.h: (GstPluginFilter):
43           Change API of gst_plugin_register_static() to not take
44           a GstPluginDesc, but rather just take all the arguments
45           in a GstPluginDesc directly. This is more intuitive and
46           avoids certain mistakes when porting code from
47           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
48           Fixes #510187.
49
50         * tests/check/gst/gstplugin.c:
51           Fix up for changed API.
52
53 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
54
55         * docs/faq/legal.xml:
56           Update FAQ, Totem actually has an exception these days.
57
58 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
59
60         * win32/common/libgstreamer.def:
61         Add new API declarations
62
63 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
64
65         * gst/gstminiobject.c:
66           Spelling fixes for the API docs.
67
68 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
69
70         * libs/gst/base/gstbasetransform.c:
71           Fix long property description for QoS.
72
73 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
74
75         * gst/gst.c:
76         _gst_trace_on is already provided by gsttrace.h, no need to declare
77         it ourselves.
78
79         * docs/libs/gstreamer-libs-sections.txt:
80         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
81         and remove strange tcase_add_test which is outputting a warning.
82
83         * libs/gst/check/gstcheck.c:
84         * libs/gst/check/gstcheck.h:
85         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
86         and define them in gstcheck.c instead of having every .c file whcih
87         includes gstcheck.h be defining its own copy and relying on symbol
88         interposing to marry them all, which doesn't work on Solaris.
89
90         * tests/check/elements/identity.c: (GST_START_TEST):
91         Don't define 'buffers' locally, it comes from libgstcheck.
92
93         * tests/check/generic/sinks.c: (send_buffer):
94         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
95
96         * tests/check/gst/gststructure.c: (GST_START_TEST):
97         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
98         * tests/check/gst/gstutils.c: (GST_START_TEST):
99         * tests/check/gst/gstvalue.c: (GST_START_TEST):
100         Add a bunch of casts to make various constants fit the types
101         they're being assigned to.
102
103 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
104
105         * gst/gstchildproxy.c:
106           Improve docs and add some ideas for making this more general-purpose.
107
108 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
109
110         * gst/gst_private.h: (GST_CAT_TYPES):
111           Add GST_CAT_TYPES, for consistency, and so that the other
112           debug categories don't make fun of it. Spotted by Saur on IRC.
113
114 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
115
116         * gst/parse/Makefile.am:
117           Move types.h from EXTRA_DIST to noinst_HEADERS.
118
119 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
120
121         * autogen.sh:
122           Add -Wno-portability to the automake parameters to stop warnings
123           about GNU make extensions being used. We require GNU make in almost
124           every Makefile anyway.
125
126         * configure.ac:
127           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
128           at the same time is required for per target flags.
129
130 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
131
132         * gst/gstmacros.h:
133           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
134           __GNUC__ is defined before using it.
135
136 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
137
138         * docs/gst/gstreamer-sections.txt:
139         * gst/gst.c: (init_post):
140         * gst/gstplugin.c: (_gst_plugin_register_static),
141           (gst_plugin_register_static), (_gst_plugin_initialize),
142           (gst_plugin_register_func):
143         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
144           API: add gst_plugin_register_static() and deprecate
145           GST_PLUGIN_DEFINE_STATIC, since it's not portable
146           (#498924).
147           Also, in _gst_plugin_register_static(), make sure to call
148           g_thread_init() before calling GLib functions such as
149           g_list_append() if we're not initialised yet, since that
150           may lead to random crashes with older GSlice/GLib versions.
151
152         * tests/check/gst/gstplugin.c:
153           Adapt unit test to above changes.
154
155 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
156
157         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
158         * gst/gstcaps.c: (gst_caps_to_string):
159         * gst/gststructure.c: (GST_ASCII_IS_STRING),
160           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
161           Yet another gratuitous GString micro-optimisation: add a (private)
162           function that serialises a structure appending to an existing
163           GString, so that when we serialise caps we don't need to alloc+free
164           a throwaway GString for each structure (each of which also entailing
165           multiple reallocs on the way); also use g_string_sized_new() in
166           various places with an approximate string length to avoid reallocs
167           within GString. See #500143.
168
169 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
170
171         * gst/gststructure.c: (gst_structure_id_set_value):
172           Always check UTF-8 conformance of structure strings and not only
173           if the debugging system is enabled; reasoning: the behaviour of
174           the actual code shouldn't really change depending on whether the
175           debugging system is enabled or not (#508291).
176
177 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
178
179         * Makefile.am:
180           Remove old coverage target in favour of "make lcov".
181
182 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
183
184         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
185         (gst_base_src_loop):
186         The start segment for reverse playback goes from start to last_stop.
187
188 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
189
190         Patch by: Peter Kjellerstedt <pkj axis com>
191
192         * gst/gstclock.h:
193         Cast the results from the timeval/spec_to_time macros to what the
194         docs say it casts to, a GstClockTime. fixes #508175.
195
196 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
197
198         * gst/gstbuffer.c:
199         Update some comments.
200
201         * tools/gst-inspect.c: (print_element_properties_info):
202         Improve printing of flags.
203
204 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
205
206         * libs/gst/base/gstbasetransform.c:
207           (gst_base_transform_transform_size):
208           Print element name with g_warning() if there's a problem
209           with the unit size.
210
211 2008-01-07  David Schleef  <ds@schleef.org>
212
213         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
214
215         * libs/gst/controller/gstcontroller.h:
216         * libs/gst/controller/gstcontrolsource.h:
217         * libs/gst/controller/gstinterpolationcontrolsource.h:
218         * libs/gst/controller/gstlfocontrolsource.h:
219         * libs/gst/dataprotocol/dataprotocol.h:
220           Fix empty prototypes.  Fixes bug #507957.
221
222 2008-01-07  David Schleef  <ds@schleef.org>
223
224         * docs/faq/dependencies.xml: Fix typo.
225
226 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
227
228         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
229         (gst_base_src_loop):
230         Don't update the last_stop position in do_seek, that's the position we
231         did a seek to.
232         Read backwards when we have a negative rate.
233
234         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
235         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
236         (filesrc_suite):
237         Add check for reverse reading.
238
239 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
240
241         Patch by: Alexis Ballier <aballier at gentoo org>
242
243         * tests/check/gst/gstabi.c:
244         * tests/check/gst/struct_ppc64.h:
245         * tests/check/libs/libsabi.c:
246         * tests/check/libs/struct_ppc64.h:
247           Decide which header to include based on the userland ABI target
248           and not the kernel/cpu. Fix up structure sizes of ppc64 header
249           for 64-bit userland (#503590).  Might need something similar for
250           x86 too.
251
252 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
253
254         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
255           Log the reason why fopen fails in addition to the fact that it failed.
256           
257 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
258
259         * gst/parse/parse.l:
260         Use "%option never-interactive" to prevent useless calls to isatty()
261         on every input when parsing. Also use "%option noinput" to not define
262         the static input/yyinput functions which we don't use anyway. This
263         removes a compiler warning with gcc 4.3 and saves some bytes in the
264         library.
265         
266         * gst/parse/lex._gst_parse_yy.pre.c:
267         Regenerated for the above change.
268
269 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
270
271         * gst/gstpad.c: (fixate_value):
272         Don't crash when trying to fixate and empty list.
273         Fixes #506643.
274
275 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
276
277         * docs/faq/gst-uninstalled:
278         Clarify the comments to make the usage of this script and what it
279         does easier to understand.
280
281 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
282
283         * tools/gst-plot-timeline.py:
284         Add more options to gst-plot-timeline
285
286 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
287
288         * docs/design/part-synchronisation.txt:
289         Some more info on how the stream_time in GstBaseSink is done.
290
291 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
292
293         * tests/check/generic/sinks.c: (gst_sinks_suite):
294           Put back the tcase_set_timeout(), apparently it's needed after
295           all; fix it up in a way that makes things work with valgrind too.
296
297 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
298
299         * gst/gstdebugutils.c:
300           Add warning when failed to open file for writing.
301
302 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
303
304         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
305
306         * gst/gstvalue.c: (gst_value_is_fixed):
307           Optimisation: bail out of the loop as early as possible (#500143).
308
309 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
310
311         * gst/gstcaps.c: (gst_caps_to_string):
312         * gst/gstinfo.c: (gst_debug_construct_term_color):
313         * gst/gstparse.c: (gst_parse_launchv):
314         * gst/gstutils.c: (gst_util_dump_mem):
315         * gst/gstvalue.c: (gst_value_serialize_any_list),
316           (gst_value_transform_any_list_string):
317           Bunch of gratuitous nano-optimisations.
318
319 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
320
321         * tests/check/generic/sinks.c: (async_done_func),
322           (async_done_eos_func):
323           Fix leak in unit test (bus sync handler must unref the message
324           if it returns GST_BUS_DROP). Don't fiddle with the default test
325           timeout, this is smaller than the current preconfigured value
326           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
327           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
328
329 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
330
331         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
332
333         * configure.ac:
334         Check for stdio_ext.h for the filesink changes.
335
336         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
337         (gst_file_sink_class_init), (gst_file_sink_init),
338         (gst_file_sink_dispose), (gst_file_sink_set_property),
339         (gst_file_sink_get_property), (gst_file_sink_open_file),
340         (gst_file_sink_close_file):
341         * plugins/elements/gstfilesink.h:
342         Add two properties to control the buffering mode and size.
343         API: GstFileSink::buffer-mode
344         API: GstFileSink::buffer-size
345         Fixes #500150.
346
347 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
348
349         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
350         Add some more docs to explain why a FIXME was wrongly added. 
351
352 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
353
354         * gst/gstobject.c:
355           Fix typo in the gst_object_{ref,unref} documentation.
356
357 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
358
359         * tests/check/libs/controller.c:
360         * tests/check/libs/typefindhelper.c:
361         * tests/check/pipelines/parse-launch.c:
362           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
363           going to be deprecated (see #498924).
364
365 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
366
367         * gst/gsttypefind.c: (gst_type_find_register):
368           Make gst_type_find_register work for static typefind functions,
369           ie. allow passing plugin == NULL (prerequisite for #498924).
370
371         * gst/gstelementfactory.c: (gst_element_register):
372           Small docs addition.
373
374 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
375
376         * gst/gstpad.c: (gst_pad_dispose):
377         Really unlink the peer pad instead of setting the peer pointer to NULL
378         when we dispose the pad.
379         This correctly calls the unlink functions and makes sure that the peer
380         does not have a handle to invalid memory. See #504671.
381
382         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
383         Add testsuite for above case.
384
385 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
386
387         Patch by: Peter Kjellerstedt <pkj axis com>
388
389         * libs/gst/check/gstcheck.h:
390           Fix detection of the check version we're compiling against (would
391           otherwise break if check goes v0.10.0); correctly report the
392           name of the failed test again in case of failure, instead of
393           just 'tf' (fixes #504499).
394
395 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
396
397         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
398         (gst_base_src_get_range), (gst_base_src_pad_get_range),
399         (gst_base_src_loop), (gst_base_src_set_flushing),
400         (gst_base_src_change_state):
401         Allow sending EOS to the source to make it send out an EOS event from
402         the streaming thread.
403         Update docs and deprecate the old NULL/READY shutdown method.
404
405         * tests/check/libs/basesrc.c: (GST_START_TEST),
406         (gst_basesrc_suite):
407         Add unit test for controlled shutdown.
408
409 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
410
411         * docs/design/part-synchronisation.txt:
412         Small updates.
413
414         * gst/gstsegment.c: (gst_segment_set_seek),
415         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
416         (gst_segment_to_running_time):
417         The seek format can be different from the segment format when the start
418         and stop values are not to be updated, when we only do a rate change for
419         example.
420
421         * tests/check/gst/gstsegment.c: (GST_START_TEST),
422         (gst_segment_suite):
423         Add a testcase for the rate-only seeks, checking that the format is
424         correctly ignored when start and stop are not updated.
425
426 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
427
428         Patch by: Matthias Bolte <photon at mail dot upb dot de>
429
430         * win32/vs8/grammar.vcproj:
431         * win32/vs8/libgstcontroller.vcproj:
432         * win32/vs8/libgstreamer.vcproj:
433         Fix compilation with VS8 and include some missing files.
434
435 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
436
437         * gst/gsttaglist.c:
438           Small docs addition: mention that the strings returned by
439           gst_tag_list_get_string*() are in UTF-8 encoding.
440
441 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
442
443         * Makefile.am:
444           The check-exports stuff moved to common/win32.mak, so include that.
445
446 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
447
448         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
449         (gst_base_src_perform_seek), (gst_base_src_get_range),
450         (gst_base_src_set_playing), (gst_base_src_change_state):
451         Make _wait_playing() not check any variables so that we can call this
452         function from subclasses. Move the checks elsewhere similar to
453         _wait_preroll() in basesink.
454         Add some debugging.
455         Only signal the LIVE cond when we are going back to PLAYING.
456
457 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
458
459         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
460           Use g_remove() and g_rename(). Check result of g_rename(), and
461           don't leak the open file descriptor if we error out when writing.
462
463         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
464           Must check the return value of close() after writing out the new
465           registry file.  Sometimes write problems such as out-of-diskspace
466           are only reported when the file is closed and not already during
467           the write.  This may have caused partial/broken registry files in
468           some rare circumstances. Should fix #503675.
469
470 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
471
472         * docs/gst/.cvsignore:
473         * docs/libs/.cvsignore:
474         * docs/plugins/.cvsignore:
475         Ignore files generated by new common/* modifications
476
477 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
478
479         * win32/common/libgstbase.def:
480           Yes, you can also have a <TAB> if you want.
481
482 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
483
484         * win32/common/libgstbase.def:
485           Add new basetransform API to win export file.
486
487 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
488
489         * tests/check/gst/gstbin.c:
490           Adjust the test to the refcount change two days ago.
491
492 2007-12-14  David Schleef  <ds@schleef.org>
493
494         * docs/faq/getting.xml: Fix typo.
495
496 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
497
498         * docs/libs/gstreamer-libs-sections.txt:
499         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
500           (gst_base_transform_prepare_output_buffer),
501           (gst_base_transform_set_gap_aware):
502         * libs/gst/base/gstbasetransform.h:
503           API: Add gst_base_transform_set_gap_aware() to control whether
504           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
505           get buffers with this flag at all. Fixes #503231.
506
507 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
508
509         * libs/gst/base/gstbasesink.c:
510         * libs/gst/base/gstbasesrc.c:
511         * libs/gst/base/gstbasetransform.c:
512           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
513           thread. Correct log message in gstbasesrc.c.
514
515 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
516
517         * gst/gstutils.c: (element_find_unconnected_pad):
518           Fix possible compiler warning (#503417).
519
520 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
521
522         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
523           Don't use GST_CAT_EVENT here for logging, it makes no sense.
524
525 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
526
527         * tools/gst-inspect.c: (print_element_properties_info):
528           Add support for GstFraction properties.
529
530 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
531
532         * Makefile.am:
533           Add check-exports target and run it as part of 'make check'
534           (see #499140 and #493983).
535
536         * gst/gst_private.h:
537         * gst/gstelementfactory.h:
538         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
539         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
540           (_priv_gst_in_valgrind):
541         * gst/gstinfo.h: (GstLogFunction):
542         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
543           (gst_type_find_register):
544         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
545           (gst_type_find_factory_get_type):
546         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
547           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
548           (gst_controller_new_valist), (gst_controller_new_list),
549           (_gst_controller_dispose), (_gst_controller_class_init):
550         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
551         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
552           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
553           (gst_object_get_controller), (gst_object_set_controller),
554           (gst_object_suggest_next_sync), (gst_object_sync_values),
555           (gst_object_set_control_source), (gst_object_get_control_source),
556           (gst_object_get_value_arrays), (gst_object_get_value_array),
557           (gst_object_get_control_rate), (gst_object_set_control_rate):
558         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
559         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
560           Make some functions that should be static static; rename some
561           private symbols so that they don't get exported; add some FIXME
562           comments so we can move accidentally exported functions into
563           our private section in 0.11.
564
565         * win32/common/libgstreamer.def:
566           Add gst_utils_get_timestamp().
567
568 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
569
570         * gst/gstvalue.c:
571         * gst/gstvalue.h:
572           Add more missing "Since:" tags to docs.
573
574 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
575
576         * gst/gstutils.c:
577           Add mising "Since:" to docs.
578
579 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
580
581         * gst/gstplugin.c:
582           Include "glib-compat-private.h" to fix the build on system with
583           glib < 2.10. Fixes #503131.
584
585 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
586
587         * gst/gstutils.c:
588         * gst/gstutils.h:
589           Actually its not PURE as it gets the time from elsewhere.
590
591 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
592
593         * docs/gst/gstreamer-sections.txt:
594         * gst/gstclock.h:
595         * gst/gstdebugutils.c:
596         * gst/gstinfo.c:
597         * gst/gstutils.c:
598         * gst/gstutils.h:
599         * libs/gst/base/gstbasesink.c:
600         * tools/gst-launch.c:
601           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
602           uses as we don't have HAVE_POSIX_TIMERS in public headers.
603           Thanks Tim for spotting.
604           API: gst_util_get_timestamp
605
606 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
607
608         * configure.ac:
609           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
610
611 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
612
613         * gst/gststructure.c: (gst_structure_validate_name),
614           (gst_structure_new_valist), (gst_structure_parse_value),
615           (gst_structure_from_string):
616           Don't crash in _from_string() if the structure name is not valid
617           (fixes #501560).  Allow structure names to start with a number
618           again (this apparently broke the ubuntu codec installer).
619
620         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
621           (GST_START_TEST):
622           Add unit test for the crash; update unit tests for new behaviour.
623
624 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
625
626         * gst/gstutils.c:
627         Clarify gst_element_get_compatible_pad() documentation.
628         Fixes #500919.
629
630 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
631
632         * tests/check/Makefile.am:
633           Don't forget to dist {gst,libs}/struct_hppa.h.
634
635 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
636
637         * libs/gst/base/gstbasesink.c:
638           Use new API to get elapsed time.
639
640 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
641
642         * gst/gstdebugutils.c:
643         * gst/gstinfo.c:
644           Fix wrong order of args in GST_CLOCK_DIFF() usage.
645
646         * tools/gst-launch.c:
647           Use new API to get elapsed time.
648
649 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
650
651         * docs/gst/gstreamer-sections.txt:
652         * gst/gstclock.h:
653         * gst/gstdebugutils.c:
654         * gst/gstinfo.c:
655           Rename new API + ChangeLog surgery to remove old name from last entry..
656
657 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
658
659         * docs/gst/gstreamer-sections.txt:
660         * gst/gstclock.h:
661         * gst/gstdebugutils.c:
662         * gst/gstinfo.c:
663           Now hide the different clock stuff behind a macro.
664
665 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
666
667         * configure.ac:
668         * gst/gstdebugutils.c:
669         * gst/gstinfo.c:
670           Apply the posix-timer check from #361155. Conditionally use the posix
671           timer for logging. This gives better timestamp precission, less
672           overhead and no ntp jitter.
673
674 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
675
676         * gst/gstminiobject.c: (gst_mini_object_get_type),
677         (gst_mini_object_class_init), (gst_mini_object_copy_default),
678         (gst_mini_object_finalize), (gst_mini_object_copy),
679         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
680         (gst_mini_object_replace), (param_mini_object_validate),
681         (gst_param_spec_mini_object_get_type):
682         Some cleanup and checking against invalid function parameters.
683
684 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
685
686         * docs/gst/gstreamer-sections.txt:
687         * gst/gstclock.h:
688         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
689         (gst_systemclock_suite):
690         Start merging in the easy bits of #361155, the monotonic clock patch.
691         This one adds a few handy macros with docs and a testsuite.
692
693 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
694
695         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
696         Be a bit smarter when seeking, like, don't try to do a seek when it's
697         not needed. This avoids errors when the file is not seekable.
698         Fixes #499771.
699
700 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
701
702         * docs/gst/gstreamer-docs.sgml:
703         * docs/gst/gstreamer-sections.txt:
704         * docs/gst/gstreamer.types.in:
705         * gst/Makefile.am:
706         * gst/gst.h:
707         * gst/gstpreset.c:
708         * gst/gstpreset.h:
709         * plugins/elements/gstqueue.c:
710           Due to popular request remove preset interface again. :-(.
711
712 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
713
714         * tools/gst-inspect.c:
715           Print 'default value' for enums and flags too.
716
717 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
718
719         * docs/random/ensonic/profiling.txt:
720           More ideas.
721
722         * gst/gstbin.c:
723           Fix typo and give better log output.
724
725         * gst/gstdebugutils.c:
726         * gst/gstdebugutils.h:
727           More ideas, make graphs a bit smaller and fix param name in macro.
728
729 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
730
731         * gst/gstpreset.c:
732           Try harder to use the return value from fgets().
733
734 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
735
736         * gst/gstpreset.c:
737           For theses two fgets we handle the error below.
738
739 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
740
741         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
742         Only send upstream events upstream. Fixes #498746.
743
744 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
745
746         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
747
748         * plugins/elements/gstidentity.c: (gst_identity_class_init),
749         (gst_identity_init), (gst_identity_transform_ip),
750         (gst_identity_set_property), (gst_identity_get_property):
751         * plugins/elements/gstidentity.h:
752         Add property to disable handoff signal emission. Fixes #498694.
753         API: GstIdentity::signal-handoffs
754
755 2007-11-21  Julien Moutte  <julien@fluendo.com>
756
757         * docs/faq/gst-uninstalled: Yet another missing library for the
758         uninstalled script (fft)
759
760 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
761
762         * docs/faq/developing.xml:
763         Add a question about how to submit new translations.
764
765         * docs/random/release:
766         Update the contact email address for the Translation Project
767
768         * plugins/elements/gstfdsrc.c:
769         The parent_class for fdsrc is pushsrc, not GstElement.
770
771 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
772
773         * gst/gstpreset.c:
774           Plug a leak and fix saving.
775
776 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
777
778         * docs/gst/gstreamer-sections.txt:
779         Add new gst_preset__get_property_names() function to the docs
780         to fix the build.
781
782 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
783
784         * gst/gstpreset.c:
785         * gst/gstpreset.h:
786           Change _get_preset_names API to return a strv with copies. Add
787           _get_property_names to allow implementations to filter and provide
788           good default implementation.
789
790 2007-11-20  Julien MOUTTE  <julien@moutte.net>
791
792         * docs/faq/gst-uninstalled: Add another library to the uninstalled
793         script (sdp).
794
795 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
796
797         * gst/gstpreset.c:
798           More cleanups, docs, and TODOs from comments that now slowly come in.
799
800 2007-11-19  Julien MOUTTE  <julien@moutte.net>
801
802         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
803         search path.
804
805 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
806
807         * gst/gstpreset.c:
808           Fix bogus warning and make the property type specific code more
809           similar.
810
811 2007-11-19  Julien MOUTTE  <julien@moutte.net>
812
813         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
814         it build on OS X.
815
816 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
817
818         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
819         (gst_bin_add_func), (gst_bin_remove_func),
820         (gst_bin_change_state_func), (gst_bin_continue_func):
821         Change email, cleanups add some more debug and comments.
822         Also set bus and clock on new elements when the pipeline was in error.
823
824 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
825
826         * gst/gstbin.c:
827         * gst/gstdebugutils.c:
828           Fix build with --disable-gst-debug. Fixes #497859.
829           Spotted by Sameer Naik.
830
831 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
832
833         * gst/gstevent.c:
834           Little documentation improvment.
835
836         * gst/gstpreset.c:
837           More TODO cleanups. Remove c++ comments.
838
839         * libs/gst/controller/gstcontroller.c:
840           Add TODO and use quark from static string.
841
842         * tests/check/gst/gstmessage.c:
843         * tests/check/gst/gststructure.c:
844           Use quark from static string.
845
846 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
847
848         * gst/gstpreset.c:
849           Add some comments and TODOs.
850
851         * gst/gstpreset.h:
852           Add padding for future changes.
853
854         * plugins/elements/gstqueue.c:
855           Implement the iface.    
856
857 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
858
859         * docs/gst/gstreamer-docs.sgml:
860         * docs/gst/gstreamer-sections.txt:
861         * docs/gst/gstreamer.types.in:
862         * gst/Makefile.am:
863         * gst/gst.h:
864         * gst/gstpreset.c:
865         * gst/gstpreset.h:
866           Add the preset interface (Fixes #396779). Do some doc cleanups along.
867
868 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
869
870         * configure.ac:
871
872         Back to CVS
873
874 === release 0.10.15 ===
875
876 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
877
878         * configure.ac:
879           releasing 0.10.15, "October"
880
881 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
882
883         * win32/vs6/libgstreamer.dsp:
884         Convert line endings back to DOS.
885
886 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
887
888         * docs/design/draft-tagreading.txt:
889         * docs/random/ensonic/profiling.txt:
890         Update fast tagreading draft and performance profiling ideas.
891
892 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
893
894         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
895         Don't hold the object lock when unreffing a buffer because it could
896         cause a deadlock when the finalize function wants to grab the object
897         lock too. Fixes #495133.
898
899 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
900
901         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
902         (gst_segment_to_stream_time), (gst_segment_to_running_time):
903         Also accumulate time correctly when doing reverse playback. Fixes
904         #488201,
905         When converting to running and stream time, use default values for
906         start/stop/time/accum when comparing different formats. Fixes #494245.
907
908         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
909         Do running/stream time in TIME format.
910
911         * tests/check/gst/gstsegment.c: (GST_START_TEST),
912         (gst_segment_suite):
913         2 new unit tests for segment accumulation.
914
915 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
916
917         * gst/gst.c: (init_pre):
918         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
919           (_gst_debug_bin_to_dot_file):
920           Move getenv() back into gst_init, so everyone can live happily
921           ever after. Make sure the symbol isn't exported though.
922
923 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
924
925         Patch by: Sebastien Moutte  <sebastien moutte net>
926
927         * win32/common/gstenumtypes.c:
928         * win32/common/gstenumtypes.h:
929           Update enum types.
930
931         * win32/vs6/libgstreamer.dsp:
932           Update vs6 project files (#494343).
933
934 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
935
936         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
937         (gst_base_src_perform_seek), (gst_base_src_default_event),
938         (gst_base_src_set_flushing), (gst_base_src_activate_push),
939         (gst_base_src_activate_pull):
940         Unify flushing code, remove some old unlock code that is no longer used.
941         Take the streaming lock when seeking to avoid races. Fixes #492729.
942         Added some more comments.
943
944 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
945
946         * gst/gst.c: (_gst_disable_segtrap):
947           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
948           we can use gst_segtrap_is_enabled() there now that we have that API.
949           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
950           to do the getenv here (and export the variable).
951
952         * gst/gstdebugutils.c: (debug_dump_element),
953           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
954           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
955
956         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
957           (gst_debug_log_default):
958           Rename _gst_info_start_time to priv_gst_info_start_time so it
959           doesn't get exported (was never in any header).
960
961         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
962           (gst_plugin_loading_mutex):
963           Make static mutex gst_plugin_loading_mutex really static (was never
964           in any header), and use gst_segtrap_is_enabled() instead of
965           _gst_disable_segtrap.
966
967         * gst/gsttrace.c: (_gst_trace_default):
968           Make local _gst_trace_default static (was never in any header).
969
970 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
971
972         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
973
974         * win32/common/libgstbase.def:
975         * win32/common/libgstcontroller.def:
976         * win32/common/libgstdataprotocol.def:
977         * win32/common/libgstnet.def:
978         * win32/common/libgstreamer.def:
979           Add more missing symbols, remove some duplicates, and sort
980           as the 'sort' command sorts it (partially fixes #493983).
981
982 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
983
984         * gst/gstelement.c: (gst_element_set_state_func):
985         Only change the state cookie if a different state was set on the
986         element. See #492729.
987
988 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
989
990         * gst/gstvalue.c:
991           Remove unused and uninitialised type variables that were still
992           exported for some reason (they were never in any header files
993           though).
994
995 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
996
997         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
998         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
999         (gst_base_sink_event), (gst_base_sink_get_position_last),
1000         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1001         (gst_base_sink_change_state):
1002         Don't try to report a 0 position when we don't know, return -1 and FALSE
1003         instead. This mostly happens when we are prerolling.
1004         Make sure we can report the right position before we post the ASYNC_DONE
1005         message so that a message handler can query position without races.
1006
1007         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1008         (async_done_handoff), (async_done_func), (send_buffer),
1009         (async_done_eos_func), (gst_sinks_suite):
1010         Add two tests for the above.
1011
1012 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1013
1014         * MAINTAINERS:
1015         Update with new email address.
1016
1017         * docs/design/part-TODO.txt:
1018         Add some more info about future pad-block and negotiation changes.
1019
1020         * docs/design/part-buffering.txt:
1021         Add some ideas about buffering reporting.
1022
1023 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
1024
1025         * tests/check/gst/gstobject.c:
1026         Disable silly racy test that always fails on this combination of CPU
1027         and kernel.
1028
1029 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1030
1031         Patch by: Murray Cumming  <murrayc@murrayc.com>
1032
1033         * gst/gstobject.c:
1034           Corrected the registration of the parent-set and parent-unset
1035           signals: The parameter is a GstObject, not a GObject (#493134).
1036
1037 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1038
1039         * gst/gst_private.h:
1040         * gst/gstbuffer.h:
1041         * gst/gstevent.h:
1042         * gst/gstformat.h:
1043         * gst/gstmessage.h:
1044         * gst/gstplugin.h:
1045         * gst/gstquery.h:
1046         * gst/gsttaglist.h:
1047         * gst/gstvalue.h:
1048           Move declaration of private _gst_foo_initialize() functions into
1049           our private header file where they should have been all along.
1050
1051 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1052
1053         * docs/plugins/gstreamer-plugins-sections.txt:
1054         * gst/gstdebugutils.h:
1055         * gst/gstxml.h:
1056         * plugins/elements/gstqueue.c:
1057           gtk-doc fixes; trailing-comma-in-enum fix.
1058
1059 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1060
1061         * gst/gst.c: (gst_deinit):
1062           Clean up on deinit (not the external ones though, doesn't seem to be
1063           needed for some reason).
1064
1065 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1066
1067         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1068           Remove __declspec(dllimport) for MSVC that was copied over into core
1069           from a plugin, obviously without ever having been tested (note the
1070           single underscore in _declspec in the initial commit), and that doesn't
1071           really make sense.  See #492077.
1072
1073 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1074
1075         * gst/gst.c: (init_post):
1076         * gst/gstevent.c: (_gst_event_initialize):
1077         * gst/gstquery.c: (_gst_query_initialize):
1078         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1079           g_type_class_ref() other types as well, see #349410 and #64764.
1080
1081         * gst/gstbuffer.c: (_gst_buffer_initialize):
1082         * gst/gstmessage.c: (_gst_message_initialize):
1083           Simplify existing g_type_class_ref().
1084
1085 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1086
1087         * gst/gstformat.c: (_gst_format_initialize):
1088           g_type_class_ref() our GstFormat type to make sure we avoid the
1089           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1090           bug #64764. Should fix intermittent tee unit test failures (#474823).
1091
1092 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1093
1094         * tests/check/elements/tee.c: (test_num_buffers):
1095           Simplify, simplify, simplify - or not.  Rewrite unit test
1096           not to use gst_parse_launch(); allow N sub-streams. Increasing
1097           the number of sub-streams seems to reproduce #474823 more easily.
1098
1099 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1100
1101         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1102
1103         * gst/gsttrace.c:
1104         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1105         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1106         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1107           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1108           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1109           so use _pipe() directly (#492077).
1110
1111         * win32/common/dirent.c: (_treaddir):
1112           Add a couple of casts to make it build without warnings with MSVC.
1113
1114         * win32/common/libgstreamer.def:
1115           Add some more symbols that need to be exported.
1116
1117 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1118
1119         * tests/examples/metadata/read-metadata.c: (message_loop):
1120           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1121           arriving in a second or third tag message are added to
1122           the tag list as well.
1123
1124 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
1125
1126         * libs/gst/base/gstbasesrc.c:
1127           Its "Since:" and not "@Since:". And remove an superflous cast.
1128
1129 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
1130
1131         * docs/libs/gstreamer-libs-sections.txt:
1132         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1133         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1134         (gst_base_sink_get_property), (gst_base_sink_render_object),
1135         (gst_base_sink_preroll_object),
1136         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1137         (gst_base_sink_change_state):
1138         * libs/gst/base/gstbasesink.h:
1139         Add a new last-buffer property that contains the last buffer used in
1140         basesink for preroll or rendering. useful for making snapshots.
1141         API: gst_base_sink_get_last_buffer()
1142         API: GstBaseSink::last-buffer
1143
1144 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1145
1146         * docs/gst/running.xml:
1147         * gst/gst.c:
1148         * gst/gstdebugutils.c:
1149         * gst/gstdebugutils.h:
1150         * tools/gst-launch.c:
1151           Improve bin graph dumping, by using the envvar to specify a path.
1152           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1153
1154 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
1155
1156         * plugins/elements/gsttypefindelement.c:
1157           (gst_type_find_element_handle_event),
1158           (gst_type_find_element_activate):
1159           Post special error message if we can't determine the type of a stream
1160           because it's empty.
1161
1162 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1163
1164         * docs/gst/running.xml:
1165         * gst/gstdebugutils.c:
1166           Document new env-var. Add one log-line after dumpng a graph.
1167
1168 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
1169
1170         * configure.ac:
1171           Ugly hack to put the (recently removed and non-portable, apparently)
1172           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1173           GNU ld, because without that 'make check' fails miserably on my debian
1174           stable box.  Someone with more knowledge of linker intricacies and
1175           portability issues than me fix this properly please.
1176
1177 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
1178
1179         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1180         Reset last seen position after flushing so that we don't report the old
1181         position anymore.
1182
1183 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1184
1185         * gst/gstelementfactory.c: (gst_element_register):
1186         * gst/gsturi.h:
1187         Patch from Alessandro Decina adding get_type_full and
1188         get_protocols_full private vfuncs to the URIHandler interface
1189         to allow bindings to support creating URI handlers. 
1190         Partially fixes: #339279
1191         API: GstURIHandlerInterface::get_type_full
1192         API: GstURIHandlerInterface::get_protocols_full
1193
1194 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1195
1196         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1197         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1198         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1199         Make it so that pads are considered linked until a buffer is pushed
1200         and discovered otherwise. This avoids problems with decodebin2 hanging
1201         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1202         case.
1203
1204         Make sure we lock the multiqueue when updating the max-size properties.
1205         
1206         Fix a crash on Solaris in a debug statement in get_request_pad that
1207         passes a NULL string to GST_DEBUG. 
1208
1209         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1210         (run_output_order_test):
1211         Fix the test to allow the first buffer on not-linked pads to come out
1212         of sequence while multiqueue discovers that they are not-linked.
1213
1214 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1215
1216         * configure.ac:
1217         * libs/gst/check/Makefile.am:
1218         Use a custom export symbol regex for libgstcheck, as it needs
1219         to export symbols that don't match the standard GStreamer gst_*
1220         pattern, and  --export-dynamic is not portable (only works on 
1221         GNU ld)
1222
1223         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1224         (gst_check_setup_sink_pad):
1225         Make sure to pass a message parameter to the fail_* macros.
1226
1227         * tests/check/gst/gstinfo.c: (GST_START_TEST):
1228         Fix some compiler warnings.
1229
1230 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
1231
1232         * tests/check/gst/gststructure.c: (test_to_string):
1233           Disable test that checks that white spaces are not allowed
1234           in structure names or field names, since we need to
1235           support that for now for backwards compatibility reasons.
1236
1237 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1238
1239         * docs/gst/gstreamer-sections.txt:
1240         * gst/gsttaglist.c:
1241         * gst/gsttaglist.h:
1242           API: add GST_TAG_ARTIST_SORTNAME
1243           API: add GST_TAG_ALBUM_SORTNAME
1244           API: add GST_TAG_TITLE_SORTNAME
1245           Add tag variants for sorting (#414539).
1246
1247 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * gst/gststructure.c:
1250           Also allow white space for names so we don't break
1251           backwards compatibility.
1252
1253 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
1254
1255         * docs/design/part-TODO.txt:
1256         * docs/design/part-segments.txt:
1257         * docs/design/part-streams.txt:
1258         Small updates.
1259
1260 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1261
1262         * docs/gst/gstreamer-sections.txt:
1263          Fixed documentation from my previous commit (added new API add
1264          gst_value_set_structure(), add gst_value_get_structure() and
1265          GST_VALUE_HOLDS_STRUCTURE).
1266
1267 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
1268
1269         * gst/gstdebugutils.c:
1270           Reflow code to fix uninitialized variable warning.
1271
1272 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1273
1274         * gst/gstcaps.c: (gst_caps_to_string),
1275         (gst_caps_from_string_inplace):
1276         * gst/gststructure.c: (gst_structure_get_abbrs),
1277         (gst_structure_to_string), (gst_structure_from_string):
1278         * gst/gstvalue.c: (gst_value_set_structure),
1279         (gst_value_get_structure), (gst_value_serialize_structure),
1280         (gst_value_deserialize_structure), (_gst_value_initialize):
1281         * gst/gstvalue.h:
1282         * tests/check/gst/gststructure.c: (GST_START_TEST),
1283         (gst_structure_suite):
1284         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1285          Added GstStructure to gst_value_table and its related functions.
1286          Changed gst_structure_to_string to print ';' in the end.
1287          Changed gst_caps_to_string to not print ';' beteween its
1288          fields (structures) anymore and remove the lastes ';' from latest
1289          structure. Now it is possible to have nested structures.
1290          In addition, backward compatibilty is assured by accepting '\0' as
1291          end delimiter. Fixes: #487969.
1292          API: add gst_value_set_structure()
1293          API: add gst_value_get_structure()
1294          API: add GST_VALUE_HOLDS_STRUCTURE
1295
1296 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
1297
1298         * gst/gstbus.c:
1299           When no GSource callback has been set up, tell developer
1300           to use a function that actually exists.
1301
1302 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * docs/gst/gstreamer-sections.txt:
1305         * gst/Makefile.am:
1306         * gst/gst.c:
1307         * gst/gst.h:
1308         * gst/gstdebugutils.c:
1309         * gst/gstdebugutils.h:
1310         * gst/gstinfo.c:
1311         * gst/gstinfo.h:
1312         * tools/gst-launch.c:
1313           Allow dumping pipelines as dot graphs. Fixes #456573.
1314
1315 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1316
1317         * gst/gststructure.c:
1318           Allow '+' as well, it can be part of media or mime types
1319           such as image/svg+xml.
1320
1321 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1322
1323         * docs/gst/gstreamer-sections.txt:
1324         * gst/gstbus.c:
1325         * gst/gstbus.h:
1326           API: add gst_bus_pop_filtered
1327           API: add gst_bus_timed_pop_filtered
1328           Two new functions for waiting for specific message types on the
1329           bus for a specified amount of time without iterating any main
1330           loops or main contexts.
1331
1332         * tests/check/gst/gstbus.c:
1333           Some tests for the new functions.
1334
1335 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1336
1337         * docs/libs/gstreamer-libs-sections.txt:
1338           Make gtk-doc ignore stuff it should ignore.
1339
1340 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1341
1342         * libs/gst/check/gstcheck.c:
1343         * libs/gst/check/gstcheck.h:
1344           Allow runtime selection of unit tests to run via the GST_CHECKS
1345           environment variable (test case function names, comma-separated).
1346
1347 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1348
1349         * gst/gststructure.c:
1350         * tests/check/gst/gststructure.c:
1351           Revert serialisation change and constrain structure-names after
1352           consensus on irc. Update api documentation to reflect the change.
1353
1354 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1355
1356         * gst/gststructure.c:
1357           Improve serialization and fix tests.
1358
1359         * tests/check/gst/gststructure.c:
1360           Add another test that covers why I actually did the previous structure
1361           change.
1362
1363 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1364
1365         * tools/gst-inspect.c: (print_element_info):
1366         Don't crash when inspecting an element.
1367
1368 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1369
1370         * tests/check/gst/gststructure.c:
1371           Add unit test for escaping of structure name when serialising
1372           and deserialising to/from strings.
1373
1374 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1375
1376         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1377         (gst_single_queue_new):
1378         * plugins/elements/gstqueue.c: (gst_queue_init),
1379         (gst_queue_push_one):
1380         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1381         upstream is tricked into thinking it can suggest a format downstream
1382         while downstream does not support that format. The real problem is that
1383         core calls acceptcaps when pushing a buffer with new caps, for which we
1384         do a little workaround by setting the caps on the srcpad ourselves
1385         before pushing the buffer (until this is figured out). Fixes #486758.
1386
1387 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1388
1389         * gst/gststructure.c:
1390         * gst/gstvalue.c:
1391           Add some more comments and debug output. Quote structure name to fix
1392           deserialisation of some strings.
1393
1394 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1395
1396         * gst/gstbuffer.h:
1397           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1398           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1399
1400 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1401
1402         * tools/gst-inspect.c:
1403           Save approx. 400 1 byte allocs when printing. Use API to acces element
1404           details.
1405
1406         * tools/gst-run.c:
1407           Avoid a strdup.
1408
1409         * tools/gst-xmlinspect.c:
1410           Use API to acces element details.
1411
1412 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1413
1414         * gst/gstinfo.c:
1415           Fix some spelling errors.
1416
1417 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
1418
1419         * gst/gstbin.c: (bin_handle_async_done):
1420         Correctly set the next state if all of our async children commited their
1421         state. This makes sure we can actually cancel the state change in
1422         progress. Fixes a regression in Rhythmbox when seeking.
1423
1424 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1425
1426         * gst/gstbin.c:
1427           Don't shadow local variable.
1428
1429         * gst/gstinfo.c:
1430           Don't shadow global function name.
1431
1432 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1433
1434         * gst/gstelementfactory.c:
1435         * gst/gstpluginfeature.c:
1436         * gst/gstpluginfeature.h:
1437         * gst/gstregistrybinary.c:
1438         * gst/gstregistryxml.c:
1439         * gst/gsttypefind.c:
1440           Use already-interned string for the private GstPluginFeature
1441           plugin_name field.
1442
1443 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1444
1445         * docs/libs/gstreamer-libs-sections.txt:
1446           Add new API to docs; fixes the build.
1447
1448 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
1449         
1450         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1451
1452         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1453         (gst_base_sink_event):
1454         * libs/gst/base/gstbasesink.h:
1455         Add function to wait for EOS, subclasses can use this to correctly wait
1456         for devices to drain before performing the EOS logic. Fixes #485343.
1457         API: gst_base_sink_wait_eos()
1458
1459 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1460
1461         * gst/gstplugin.h:
1462           Cast description string constants in GST_PLUGIN_DEFINE macros
1463           to a (gchar*) to make C++ code using these macros compile
1464           without warning with g++-4.2 (see #462737).  Even if slightly
1465           ugly, this seems preferable to putting the description strings
1466           into the GLib quark table or making the structure member a
1467           const gchar * and doing casts in core code that allocs and
1468           frees these strings, or requiring a cast in the C++ code.
1469
1470 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1471
1472         * gst/gstinfo.h:
1473           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1474           to print the entire class/function signature into the log
1475           file for C++ code.  This only affects C++ code, for C code
1476           everything remains the same.
1477
1478 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
1479
1480         * gst/gstbin.c: (remove_from_queue):
1481         Work around a problem with pipelines containing (semi)loops until a
1482         proper, more complicated solution is ready. See #475455.
1483
1484 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         * gst/gstplugin.c:
1487         * gst/gstplugin.h:
1488         * gst/gstregistrybinary.c:
1489         * gst/gstregistryxml.c:
1490           Put more strings into the GLib quark table. No need to keep
1491           a hundred-something copies of identical version strings,
1492           license strings, package name strings and package origin
1493           strings around. 
1494
1495 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1496
1497         * docs/manual/advanced-dataaccess.xml:
1498           Don't imply that it's okay to unconditionally change
1499           buffer data or buffer metadata in a pad probe callback,
1500           and a bunch of other comments. Fixes #430031.
1501
1502 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1503
1504         * win32/common/gstenumtypes.c:
1505         * win32/common/gstenumtypes.h:
1506         * win32/common/gstversion.h:
1507           Update generated files.
1508
1509 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1510
1511         * docs/manual/advanced-autoplugging.xml:
1512           Prefix section with broken code with a warning (see #342432).
1513
1514 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1515
1516         * docs/manual/appendix-integration.xml:
1517         * docs/manual/basics-init.xml:
1518           Call g_thread_init() before g_option_context_new() to
1519           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1520
1521 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1522
1523         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1524         (gst_base_sink_queue_object_unlocked),
1525         (gst_base_sink_queue_object), (gst_base_sink_event),
1526         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1527         When we received EOS and are waiting for when to post the EOS message,
1528         our state is prerolled and we should not return ASYNC.
1529         Reorganize some code paths to implement this behavior.
1530
1531         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1532         (gst_sinks_suite):
1533         Add unit test to verify above EOS fix.
1534
1535 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1536
1537         * plugins/elements/gsttypefindelement.c:
1538         (gst_type_find_element_have_type), (gst_type_find_element_init),
1539         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1540         Move detecting the input caps of the sinkpad to the setcaps function.
1541         This allows us to update the output caps when we receive new input caps
1542         instead of always using the first detected caps.
1543
1544 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1545
1546         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1547         (gst_base_sink_get_position):
1548         Don't try to preroll non-async elements after a flush.
1549         Subtract latency form clock times when reporting position.
1550
1551 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1552
1553         * gst/gstpad.c: (gst_pad_pause_task):
1554         * gst/gstutils.c:
1555         Small comment and documentation update.
1556
1557 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1558
1559         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1560         (gst_base_src_set_live), (gst_base_src_is_live),
1561         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1562         (gst_base_src_default_event), (gst_base_src_wait),
1563         (gst_base_src_do_sync), (gst_base_src_get_range),
1564         (gst_base_src_pad_get_range), (gst_base_src_loop),
1565         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1566         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1567         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1568         (gst_base_src_change_state):
1569         Rework the locking of basesrc in a similar fashion to basesink. We
1570         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1571         us to handle live sources and semi live ones much better.
1572         Simplify flushing.
1573         Fix unlocking when seeking, shutting down and pausing in live sources.
1574
1575 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1576
1577         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1578         Fix compilation again.
1579
1580 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1581
1582         * gst/gstelement.c:
1583           Use meaningful categories for the logs to clean the default one.
1584
1585 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1586
1587         * tests/check/pipelines/cleanup.c:
1588           Print message name and not just number.
1589
1590 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1591
1592         * docs/design/draft-tagreading.txt:
1593           Add some more thoughts.
1594
1595 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1596
1597         * tests/check/pipelines/simple-launch-lines.c:
1598           Print message name and not just number.
1599
1600 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1601
1602         * libs/gst/base/gsttypefindhelper.c:
1603           Speedup typefinding. This is work in progress (see #459862).
1604
1605 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1606
1607         * gst/gstplugin.c:
1608           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1609           Spotted by Josep Torra Valles <josep@fluendo.com>.
1610
1611 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1612
1613         * gst/gstclock.h:
1614           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1615           field has moved to GstObject.
1616
1617 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1618
1619         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1620         (gst_base_src_get_range), (gst_base_src_change_state):
1621         Call unlock for live sources so that they can't get stuck in _create and
1622         produce a buffer before they are set back to PLAYING.
1623
1624 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1625
1626         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1627         (gst_queue_locked_dequeue):
1628         Comment the segment-related code... in the PROPER function.
1629         See #482147 and my commit from yesterday.
1630
1631 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1632
1633         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1634         Also initialize the counter that calculates the first timestamp on a
1635         buffer correctly for non-live sources.
1636
1637 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1638
1639         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1640         Disable code that's breaking the current-time-level reporting.
1641         See #482147
1642
1643 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1644
1645         * docs/gst/gstreamer-sections.txt:
1646         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1647         as they shouldn't show up. Fixes the docs build.
1648
1649 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1650         
1651         * gst/gstinfo.h:
1652         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1653         Define M_PI which is used in files which are including gstinfo.h. 
1654         VS6 includes doesn't define it.
1655         * win32/common/libgstbase.def:
1656         * win32/common/libgstcontroller.def:
1657         * win32/common/libgstreamer.def:
1658         Add new exported functions and variables.
1659         * win32/vs6/libgstcontroller.dsp:
1660         * win32/vs6/libgstreamer.dsp:
1661         Update the list of files to build.
1662         
1663 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1664
1665         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1666
1667         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1668         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1669         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1670         Improve debugging. Fixes #480858.
1671
1672 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1673
1674         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1675
1676         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1677         First patch of code cleanups, use the macros and right arguments in the
1678         macros to signal and lock the queue. See #480858.
1679
1680 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1681
1682         * gst/gstbus.c: (poll_func):
1683         Improve debugging when dealing with _poll().
1684
1685 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1686
1687         * gst/gstregistryxml.c:
1688           Fix memory leak I introduced a few days ago.
1689
1690 2007-09-26  Michael Smith <msmith@fluendo.com>
1691
1692         * gst/gstbuffer.c: (gst_buffer_finalize):
1693           Make it once again possible to free GstBuffers in the default
1694           build.
1695           The poisoning scribbles on parts of the miniobject we need in
1696           order to free it.
1697           Fixes #480341
1698
1699 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1700
1701         * docs/gst/gstreamer-sections.txt:
1702         * gst/gsttaglist.c:
1703         * gst/gsttaglist.h:
1704         API: add GST_TAG_COMPOSER, fixes #459809.
1705
1706 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1707
1708         * gst/gstplugin.c:
1709         * gst/gstplugin.h:
1710         Add the 3-clause BSD license and the MIT/X11 license to the license
1711         list. Fixes #479784.
1712
1713 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1714
1715         * docs/faq/getting.xml:
1716           Add Q+A about different GStreamer versions (#364056).
1717
1718 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1719
1720         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1721         (gst_base_sink_event), (gst_base_sink_change_state):
1722         Return correct gboolean from query function.
1723
1724 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1725
1726         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1727         (gst_base_sink_event), (gst_base_sink_query),
1728         (gst_base_sink_change_state):
1729         Simplify latency query.
1730         When not synchronizing, we can report latency without querying the peer
1731         element.
1732
1733 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1734
1735         * gst/gstobject.h:
1736         * gst/gstvalue.c:
1737         Fix small typos in the docs.
1738
1739 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1740
1741         * docs/design/draft-latency.txt:
1742         * docs/design/draft-push-pull.txt:
1743         * docs/design/draft-tagreading.txt:
1744         * docs/design/part-MT-refcounting.txt:
1745         * docs/design/part-activation.txt:
1746         * docs/design/part-block.txt:
1747         * docs/design/part-element-source.txt:
1748         * docs/design/part-events.txt:
1749         * docs/design/part-gstbin.txt:
1750         * docs/design/part-gstelement.txt:
1751         * docs/design/part-gstobject.txt:
1752         * docs/design/part-gstpipeline.txt:
1753         * docs/design/part-messages.txt:
1754         * docs/design/part-preroll.txt:
1755         * docs/design/part-push-pull.txt:
1756         * docs/design/part-qos.txt:
1757         * docs/design/part-query.txt:
1758         * docs/design/part-scheduling.txt:
1759         * docs/design/part-seeking.txt:
1760         * docs/design/part-segments.txt:
1761         * docs/design/part-states.txt:
1762         Documentation updates and typo fixes.
1763
1764 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1765
1766         * plugins/elements/gstfakesink.c:
1767           Add some debug text to error message to indicate that
1768           we errored out on request.
1769
1770         * tools/gst-launch.c:
1771           When the state change to PLAYING fails, check for an
1772           error message on the bus and print it.
1773
1774 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1775
1776         translated by: Jorge González González <aloriel@gmail.com>
1777
1778         * po/LINGUAS:
1779         * po/es.po:
1780           Added Spanish translation.
1781
1782 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1783
1784         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1785         Fix printf arguments.
1786
1787 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1788
1789         * tests/check/generic/states.c:
1790           Improved state change unit test.
1791
1792 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1793
1794         * gst/gstbin.h:
1795           Move priv to the right place.
1796
1797         * gst/gstsystemclock.c:
1798           Add FIXME: and improve log.
1799
1800         * tests/check/Makefile.am:
1801         * tests/examples/manual/Makefile.am:
1802           Work with all types of registries.
1803
1804 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1805
1806         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1807         Don't unref the event after pushing it. Fixes #478401.
1808
1809 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1810
1811         * .cvsignore:
1812         * tests/examples/manual/.cvsignore:
1813           Ignore registries in any format.
1814
1815 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1816
1817         * gst/glib-compat-private.h:
1818           Add compatibility macro for g_intern_string() for
1819           GLib-2.8 (any reason we can't just bump the
1820           requirement to at least 2.10?)
1821
1822         * gst/gstpadtemplate.h:
1823         * gst/gstelementfactory.c:
1824         * gst/gstregistryxml.c:
1825         * gst/gstregistrybinary.c:
1826           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1827           up the internal code accordingly.  This shouldn't be a problem, since
1828           there is no reason external code could ever assume the string in such
1829           a structure is dynamically allocated unless it did that itself;  the
1830           use of g_strdup() is private to element factories.  The new code also
1831           saves some memory by putting pad template name strings into the GLib
1832           quark table instead of allocating them dynamically.
1833           Declaring this field constant fixes warnings with g++-4.2 when using
1834           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1835
1836 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1837
1838         * gst/gstelementfactory.c:
1839           Release static caps. Fixes #475723.
1840
1841 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1842
1843         * gst/gstinfo.c:
1844         * gst/gstinfo.h:
1845           Make some internal API take const gchar * instead of just
1846           gchar * to avoid compiler warnings with g++-4.2.2 when
1847           passing string constants (partially fixes #478092).
1848
1849 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1850
1851         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1852         A latency query fails when one of the sinks fail.
1853
1854         * gst/gstelement.c: (gst_element_set_base_time):
1855         Improve debugging.
1856
1857 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1858
1859         * gst/gstbin.c: (gst_bin_continue_func):
1860         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1862         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1863
1864         Fix minor compilation warnings shown with Forte.
1865
1866 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1867
1868         * plugins/elements/gstqueue.c: (apply_buffer),
1869         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1870         Measure queue level based on the diff between head and tail timestamps
1871         even when pushing the first buffer.
1872
1873 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1874
1875         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1876         (gst_base_sink_event), (gst_base_sink_change_state):
1877         Sinks that don't preroll can always be queried for the latency.
1878         Don't post ASYNC start when we are not async.
1879
1880 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1881
1882         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1883         (gst_queue_handle_sink_event), (gst_queue_chain),
1884         (gst_queue_push_one), (gst_queue_handle_src_query),
1885         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1886         * plugins/elements/gstqueue.h:
1887         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1888         push more buffers but allow pushing of EOS and NEWSEGMENT.
1889         Add some more debug info here and there. Fixes #476514.
1890
1891 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1892
1893         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1894         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1895         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1896         (gst_base_sink_set_flushing), (gst_base_sink_query),
1897         (gst_base_sink_change_state):
1898         Latency query is allowed after we are prerolled. Introduce a new flag
1899         for this and stop abusing other variables.
1900
1901 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1902
1903         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1904         Push OOB events downstream when we get them in send_event. This allows
1905         the application to insert events in the pipeline.
1906         Add some more comments.
1907
1908 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1909
1910         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1911         (do_bin_latency), (gst_bin_change_state_func):
1912         * gst/gstpipeline.c: (gst_pipeline_change_state):
1913         Move latency query from GstPipeline to GstBin so that we can also
1914         use it when async-handling is enabled on bins.
1915
1916 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1917
1918         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1919         (gst_base_src_do_sync), (gst_base_src_change_state):
1920         Update docs.
1921         Clean up the timestamping and syncing code for pseudo live sources.
1922
1923 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1924
1925         Patch by: Steve Fink  <sphink gmail com>
1926
1927         * docs/manual/appendix-checklist.xml:
1928           Mention less -R switch in the section about debug output (#474055).
1929
1930 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1931
1932         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1933         Queue can latency to the pipeline up to the configured max size in time.
1934         Report this fact in the latency query.
1935
1936 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1937
1938         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1939
1940         * libs/gst/controller/gstinterpolation.c:
1941         * libs/gst/controller/gstlfocontrolsource.c:
1942         Use gst_guint64_to_gdouble() when converting from a uint64 or
1943         GstClockTime to double to fix the build on win32. Fixes #474371.
1944
1945 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1946
1947         * gst/gstbuffer.c: (gst_buffer_finalize):
1948         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1949         When finalizing a buffer the complete struct is filled with 0xff,
1950         thus making a use of the buffer after the final unref impossible.
1951
1952 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1953
1954         * tests/check/libs/controller.c: (GST_START_TEST):
1955         Use fail_unless_equals_int(a, b) instead of
1956         fail_unless_equals (a == b) to get better output on failures.
1957
1958 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1959
1960         * tests/check/gst/gsturi.c:
1961           Also check for the other file URI variant on win32.
1962
1963 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1964
1965         * gst/gsturi.c: (gst_uri_get_location):
1966           If there's no hostname, we want to return 'c:/foo/bar.txt'
1967           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1968
1969         * tests/check/gst/gsturi.c:
1970           Unit test for the above and a few more things.
1971
1972 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1973
1974         * docs/design/part-live-source.txt:
1975         Add docs on how live sources should timestamp.
1976
1977         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1978         Add some more debug info.
1979         For subclasses that are live and like to sync, add aditional startup
1980         latency to sync time and timestamps so that we timstamp according to the
1981         design doc.
1982
1983 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1984
1985         * gst/gstbuffer.c:
1986           Also do a g_type_class_ref() for the subbuffer type in
1987           the init function.
1988
1989 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1990
1991         * docs/gst/gstreamer-sections.txt:
1992         * gst/gstpad.c: (gst_pad_peer_query):
1993         * gst/gstpad.h:
1994         Add function to perform a query on the peer of a pad.
1995         API: gst_pad_peer_query()
1996
1997 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1998
1999         * tests/check/gst/gstsystemclock.c:
2000           Cleanup the test a little (use gst-logging and not g_message). Improve
2001           test to check if a wait reached the target.
2002
2003 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2004
2005         * docs/libs/gstreamer-libs-sections.txt:
2006           Add new API to docs and fix the build.
2007
2008 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
2009
2010         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2011         (gst_base_src_init), (gst_base_src_set_do_timestamp),
2012         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2013         (gst_base_src_get_property), (gst_base_src_do_sync):
2014         * libs/gst/base/gstbasesrc.h:
2015         Add property to make the basesrc timestamp buffers based on the current
2016         running time.
2017         API: GstBaseSrc::do-timestamp
2018         API: gst_base_src_set_do_timestamp()
2019         API: gst_base_src_get_do_timestamp()
2020
2021 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
2022
2023         * docs/random/release:
2024           Really make sure translations are up-to-date before
2025           a release (#465010).
2026
2027 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
2028
2029         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2030         Always destroy the timer, also in error cases.
2031
2032 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2033
2034         * docs/manual/highlevel-xml.xml:
2035         Fix XML example code. Fixes #472714.
2036
2037 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2038
2039         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2040         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2041         (gst_base_sink_query):
2042         Protect eos and have_preroll with the OBJECT lock so we don't need to
2043         take the PREROLL lock when querying the latency. Fixes #473846.
2044
2045 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
2046
2047         * gst/gstelement.c:
2048           Give some log-messages a category.
2049
2050 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
2051
2052         * gst/gststructure.c:
2053         (gst_structure_fixate_field_nearest_fraction):
2054         Fix fraction list fixation code. Take the fraction with the smallest
2055         difference with the target instead of the first one in the list.
2056
2057         * tests/check/gst/gststructure.c: (GST_START_TEST),
2058         (gst_structure_suite):
2059         Added test to verify correct fraction list fixation behaviour.
2060
2061 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
2062
2063         * win32/common/libgstreamer.def:
2064           Export gst_bus_add_signal_watch too.
2065
2066 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
2067
2068         * docs/libs/gstreamer-libs-sections.txt:
2069         Add new methods to docs.
2070
2071         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2072         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2073         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2074         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2075         * libs/gst/base/gstbasesink.h:
2076         Add ts-offset property to fine-tune the synchronisation.
2077         API: GstBaseSink::ts-offset property
2078         API: gst_base_sink_set_ts_offset()
2079         API: gst_base_sink_get_ts_offset()
2080
2081 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
2082
2083         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2084         (gst_base_sink_init), (gst_base_sink_set_sync),
2085         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2086         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2087         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2088         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2089         (gst_base_sink_get_property), (gst_base_sink_change_state):
2090         * libs/gst/base/gstbasesink.h:
2091         Add async property to instruct the sink never to inform the parent about
2092         ASYNC state changes, update docs.
2093         Check argument with g_return_* for the public functions.
2094         API: GstBaseSink::async property
2095         API: gst_base_sink_set_async_enabled()
2096         API: gst_base_sink_is_async_enabled()
2097
2098 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
2099
2100         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2101         Improve debugging.
2102
2103         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2104         (gst_base_src_default_query), (gst_base_src_wait),
2105         (gst_base_src_do_sync), (gst_base_src_change_state):
2106         Rearrange some code so that we can add support for measuring the 
2107         startup latency.
2108
2109 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
2110
2111         * docs/random/ensonic/dynlink.txt:
2112           More thoughs on this.
2113
2114         * plugins/elements/gstcapsfilter.c:
2115           Add bugzilla ticket number to FIXME comment.
2116
2117 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
2118
2119         * docs/design/part-TODO.txt:
2120         * docs/design/part-block.txt:
2121         Update some docs.
2122
2123 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2124
2125         * gst/Makefile.am:
2126           Revert patch which uses $(gst_headers) instead of $^ because it
2127           breaks make dist.
2128
2129 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2130
2131         * tests/check/gst/gstbin.c: (GST_START_TEST):
2132           Fix leaks in the new unit test.
2133
2134 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
2135
2136         * gst/gst.c:
2137           Don't use GST_INFO before the debug system is actually initialised
2138           (shouldn't do any harm, but won't print anything either, so we can
2139           just as well remove it).
2140
2141         * gst/gstinfo.h:
2142           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2143           compilers that don't support variadic macros (such as MSVC), should
2144           check for debug_level <= __gst_debug_min as well, since that's the
2145           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2146           inline helper functions. Should improve performance a bit, but also
2147           makes sure uses of GST_INFO et.al are ignored if the debugging
2148           system isn't initialised yet (instead of printing an assertion
2149           failure).
2150
2151 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
2152
2153         patch by: David Nečas <yeti@physics.muni.cz>
2154
2155         * gst/Makefile.am:
2156           Replace some non portable makefile constructs.
2157
2158 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
2159
2160         * common/gtk-doc-plugins.mak:
2161           Grrrrr. Don't remove the types file on make clean.
2162
2163 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
2164
2165         * tools/gst-launch.1.in:
2166         Add colorspace to example pipeline. Fixes #458274.
2167
2168 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
2169
2170         * docs/random/release:
2171           The release manager should run 'make download-po' before making a
2172           release to make sure translations are up-to-date.
2173
2174         * po/LINGUAS:
2175         * po/be.po:
2176         * po/pl.po:
2177         * po/rw.po:
2178           Add some new translations.
2179
2180 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
2181
2182         * tools/gst-launch.c: (event_loop), (main):
2183         Don´t try to do any state management when a live pipeline posts
2184         buffering messages.
2185         Also make the buffering string translatable.
2186
2187 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2188
2189         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2190         (bin_handle_async_start), (gst_bin_handle_message_func):
2191         Improve debugging.
2192         When adding elements, insert messages into the bus of the newly added
2193         element and make sure the element is the source of the message. This
2194         allows the parent bin to intercept the message and do the
2195         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2196         messages to the app (which is not allowed).
2197         Update some docs.
2198
2199         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2200         Fix testsuite so that is does not work around messages that should not
2201         have been posted in the first place.
2202
2203 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2204
2205         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2206         (update_degree), (gst_bin_sort_iterator_next):
2207         Fix annoying bug in the sorted iterator where a sink that is not really
2208         a sink (when it has downstream links) screwed up the iterator.
2209
2210         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2211         Unit test to verify the fix.
2212
2213 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2214
2215         * gst/gstmessage.h:
2216         Add some more docs for the messages.
2217
2218         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2219         (gst_base_sink_query):
2220         Add some more debugging.
2221
2222         * tools/gst-launch.c: (event_loop):
2223         When interrupting, don't try to set pipeline to PAUSED twice.
2224
2225 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2226
2227         
2228         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2229         (bin_handle_async_start), (gst_bin_handle_message_func):
2230         Move ASYNC_START message posting to where it belongs, similar to
2231         async_done. 
2232         Don't post ASYNC_START when we are in error. 
2233         Post ASYNC_START when we added an async element to a bin.
2234
2235 2007-08-14  Julien MOUTTE  <julien@moutte.net>
2236
2237         * gst/gstindex.c: (gst_index_add_association): Fix index entry
2238         generation from vargs. Fixes #466595.
2239
2240 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2241
2242         * gst/gstbin.c: (gst_bin_element_set_state):
2243         Always change the state of a NO_PREROLL element even if it has ASYNC
2244         elements inside (in case of a bin).
2245
2246         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2247         Unit test for this case.
2248
2249 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
2250
2251         * libs/gst/check/gstbufferstraw.c:
2252         * libs/gst/check/gstcheck.h:
2253         * libs/gst/controller/gstcontroller.c:
2254         * libs/gst/controller/gstcontrolsource.h:
2255         * libs/gst/controller/gstlfocontrolsource.h:
2256         * plugins/elements/gstcapsfilter.h:
2257         * plugins/elements/gstfdsink.h:
2258         * plugins/elements/gstfdsrc.h:
2259           Add more missing docs.
2260
2261 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2262
2263         * gst/gststructure.c:
2264         Add Since tag to docs.
2265
2266 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2267
2268         * docs/gst/gstreamer-sections.txt:
2269         * gst/gststructure.c: (gst_structure_get_uint):
2270         * gst/gststructure.h:
2271         Add function to get uint from a structure.
2272         API: gst_structure_get_uint()
2273
2274 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2275
2276         * gst/gstcaps.c: (gst_caps_set_simple_valist),
2277         (gst_caps_intersect):
2278         Fix proper check for simple caps.
2279
2280 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
2281
2282         * docs/gst/Makefile.am:
2283         * docs/libs/Makefile.am:
2284           Remove cruft and do some cleanups.
2285
2286         * docs/gst/gstreamer-docs.sgml:
2287         * docs/libs/gstreamer-libs-docs.sgml:
2288           Prepare for comming gtkdoc features (rebase against online docs).
2289
2290 2007-08-10  Michael Smith <msmith@fluendo.com>
2291
2292         * docs/gst/gstreamer-sections.txt:
2293           Add gst_registry_add_path to docs.
2294
2295 2007-08-10  Michael Smith <msmith@fluendo.com>
2296
2297         * gst/gstregistry.h:
2298           Add gst_registry_add_path, which was missing from this header.
2299
2300 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2301
2302         * libs/gst/controller/gstlfocontrolsource.c:
2303           Printf format fix.
2304
2305 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2306
2307         * libs/gst/base/gstbasesink.c:
2308           Don't send an async_start message during downwards state change if 
2309           target state is less than READY
2310
2311 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2312
2313         translated by: Gabor Kelemen <kelemeng@gnome.hu>
2314
2315         * po/LINGUAS:
2316         * po/hu.po:
2317           Added Hungarian translation.
2318
2319 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2320
2321         * po/fi.po:
2322         * po/it.po:
2323         * po/nl.po:
2324         * po/sv.po:
2325         * po/uk.po:
2326           Updated translations.
2327
2328 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2329
2330         * libs/gst/controller/Makefile.am:
2331         Dist gstlfocontrolsourceprivate.h
2332
2333 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2334
2335         * docs/libs/gstreamer-libs.types:
2336         Don't register the enum type gst_lfo_waveform_get_type() in the
2337         .types file - only GObject derived types belong.
2338
2339 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2340
2341         Patch by: <arenevier at fdn dot fr>
2342
2343         * gst/gstbuffer.h:
2344         Remove comma from last element in enum to avoid compile errors when
2345         using -pendantic. Fixes #464366.
2346
2347 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2348
2349         * docs/design/part-TODO.txt:
2350         Add some more TODO items
2351
2352         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2353         Improve debugging.
2354
2355         * gst/gstcaps.c: (gst_caps_intersect):
2356         Optimize trivial intersection case between identical caps pointers.
2357
2358         * gst/gstelement.c: (gst_element_continue_state),
2359         (gst_element_set_state_func):
2360         * gst/gstpad.c:
2361         Fix spelling and grammar mistakes.
2362
2363 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
2364
2365         * po/POTFILES.in:
2366         * po/POTFILES.skip:
2367           Update POTFILES. Fixes #461599.
2368
2369 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2370
2371         * gst/gst.c:
2372         Fix confusing typo in debug output.
2373
2374 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2375
2376         reviewed by: Stefan Kost <ensonic@users.sf.net>
2377
2378         * libs/gst/controller/Makefile.am:
2379         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2380         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2381         (gst_lfo_control_source_new),
2382         (gst_lfo_control_source_set_waveform),
2383         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2384         (gst_lfo_control_source_finalize),
2385         (gst_lfo_control_source_dispose),
2386         (gst_lfo_control_source_set_property),
2387         (gst_lfo_control_source_get_property),
2388         (gst_lfo_control_source_class_init):
2389         * libs/gst/controller/gstlfocontrolsource.h:
2390         * libs/gst/controller/gstlfocontrolsourceprivate.h:
2391         API: Add GstLFOControlSource, a control source that gives values
2392         for specific timestamps based on several periodic waveforms.
2393         Fixes #459717.
2394
2395         * tests/check/libs/controller.c: (GST_START_TEST),
2396         (gst_controller_suite):
2397         * docs/libs/gstreamer-libs-docs.sgml:
2398         * docs/libs/gstreamer-libs-sections.txt:
2399         * docs/libs/gstreamer-libs.types:
2400         Add documentation and unit tests for GstLFOControlSource.
2401
2402 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
2403
2404         * configure.ac:
2405         Back to CVS
2406
2407 === release 0.10.14 ===
2408
2409 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
2410
2411         * configure.ac:
2412           releasing 0.10.14, "Breathing Vacuum"
2413
2414 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
2415
2416         * gst/gstelement.c: (gst_element_class_set_details_simple):
2417         * gst/gstelement.h:
2418           Make strings passed to gst_element_class_set_details_simple()
2419           constant, as they should be (#462752).
2420
2421 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
2422
2423         * gst/gstbin.c: (gst_bin_change_state_func),
2424         (bin_handle_async_done), (gst_bin_handle_message_func):
2425         Don't forget about the fact that some element went ASYNC even after a
2426         resync. This makes us post the ASYNC_DONE message correctly.
2427         Fixes #462558.
2428
2429 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2430
2431         * gst/gstregistry.c: (gst_registry_add_feature):
2432         When replacing an existing feature in the registry, make sure to
2433         continue holding a reference until we've replaced the name string
2434         within our feature hash table. Make sure to use g_hash_table_replace
2435         instead of g_hash_table_insert to ensure the new name string is used
2436         as a key instead of the old one that we're about to free.
2437         Fixes: #462085
2438
2439 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2440
2441         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2442         (gst_plugin_feature_set_name):
2443         Revert patch from #459466 until after the release and we can work
2444         out exactly what the problem is (if any).
2445
2446 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2447
2448         * docs/gst/gstreamer-sections.txt:
2449         * gst/gsttaglist.c:
2450         * gst/gsttaglist.h:
2451           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2452
2453 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2454
2455         * docs/libs/Makefile.am:
2456         Include our build-prefix libs and includes before the generic ones to
2457         avoid linking against the installed libs when we want the build-tree
2458         ones.
2459
2460 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2461
2462         Patch by: Steve Fink  <sphink gmail com>
2463
2464         * docs/pwg/building-testapp.xml:
2465           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2466           if people try to build or install the example from the plugin
2467           template against a GStreamer from package using the configure
2468           defaults.
2469
2470 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
2471
2472         Patch by: Steve Fink  <sphink gmail com>
2473
2474         * tools/gst-inspect.1.in:
2475           Document --print-all and --print-plugin-auto-install-info command
2476           line options in man page.
2477
2478 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2479
2480         * docs/gst/gstreamer-sections.txt:
2481         Add docs for new api function.
2482
2483 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2484
2485         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2486         * gst/gstelementfactory.h:
2487         API: gst_element_factory_has_interface()
2488         Added method to check if an element factory implements a named
2489         interface.
2490
2491 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
2492
2493         * configure.ac:
2494         * docs/gst/gstreamer.types.in:
2495           Another conditional doc check.
2496
2497         * gst/gstmessage.c:
2498         * gst/gstparamspecs.h:
2499         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2500         * gst/gstvalue.c:
2501         * gst/gstxml.h:
2502           API-doc fixes.
2503
2504 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2505
2506         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2507         (gst_registry_binary_load_feature),
2508         (gst_registry_binary_load_plugin),
2509         (gst_registry_binary_read_cache):
2510           Print error just once and with additional info.
2511
2512 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2513
2514         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2515         (helper_find_suggest), (helper_find_get_length),
2516         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2517         (gst_type_find_helper_for_buffer):
2518           Cleanup the typefindhelper code and add private doc comments.
2519
2520 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2521
2522         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2523         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2524         Fix capsfilter for cases where the caps set on capsfilter will provide
2525         additional information.
2526         Fixes #449197
2527
2528 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2529
2530         * gst/gsttypefindfactory.c:
2531           Fix docs that recommened wrong function to use.
2532
2533 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2534
2535         * tools/gst-inspect.c: (print_plugin_features):
2536           Also give media-type for typefinders in element output.
2537
2538 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2539
2540         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2541         (gst_registry_remove_features_for_plugin_unlocked),
2542         (gst_registry_add_feature), (gst_registry_remove_feature),
2543         (gst_registry_lookup_feature_locked):
2544         * gst/gstregistry.h:
2545           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2546           Fixes #459501.
2547
2548 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2549
2550         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2551         (gst_plugin_feature_set_name):
2552           Avoid double memory usage for pluginfeature names. Fixes #459466.
2553
2554 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2555
2556         * gst/gstpad.h:
2557           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2558           driving the pipeline may need to explicitly check for NOT_LINKED as
2559           well, since IS_FATAL doesn't cover that.
2560
2561 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2562
2563         * docs/pwg/advanced-types.xml:
2564           Fix typo and duplicate entry in video formats list.
2565
2566 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2567
2568         * libs/gst/controller/gstinterpolation.c:
2569         Also round to the nearest int when using cubic interpolation.
2570
2571 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2572
2573         * libs/gst/controller/gstinterpolation.c:
2574         When linearly interpolating integer types, round to the nearest int
2575         by adding 0.5. Don't do it for float/double types.
2576         Fixes the failing controller test on my machine, which is somehow
2577         rounding differently than on the buildbots.
2578
2579 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2580
2581         * tools/gst-plot-timeline.py:
2582           Better log parsing (categories can have -). Adjust text vs. lines, so
2583           that they span the same y-range.        
2584
2585 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2586
2587         * docs/random/ensonic/audiobaseclasses.txt:
2588         * docs/random/ensonic/dynlink.txt:
2589         * docs/random/ensonic/profiling.txt:
2590           Save my thoughts.
2591
2592         * docs/random/moving-plugins:
2593           Add note to use g_assert type macros.
2594
2595 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2596
2597         * configure.ac:
2598         * libs/gst/check/Makefile.am:
2599           Add libm check as we use in for plugins.
2600
2601 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2602
2603         * gst/gstbin.c: (gst_bin_continue_func):
2604         Check that the state_cookie hasn't changed since the continue_func
2605         was scheduled. Avoids problems where the state changes back to
2606         something it shouldn't be because it was changed in the meantime.
2607
2608 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2609
2610         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2611         (gst_registry_binary_save_string),
2612         (gst_registry_binary_save_pad_template),
2613         (gst_registry_binary_save_feature),
2614         (gst_registry_binary_save_plugin),
2615         (gst_registry_binary_load_feature),
2616         (gst_registry_binary_load_plugin),
2617         (gst_registry_binary_read_cache):
2618           Fix memory leak. Be less verbose in the log.
2619
2620 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2621
2622         * tests/check/elements/.cvsignore:
2623         Add file to cvsignore as commanded.
2624
2625 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2626
2627         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2628         (mq_dummypad_event), (run_output_order_test):
2629         Use a GStaticMutex to protect all cases where libcheck
2630         fail_if/fail_unless macros might be called from multiple threads
2631         simultaneously to avoid errors like:
2632           "check_pack.c:107: :-1081725400:Bad message type arg"
2633
2634 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2635
2636         * tests/check/pipelines/stress.c: (GST_START_TEST):
2637         Make sure we set the pipeline back to the NULL state before
2638         dropping our final reference.
2639
2640 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2641
2642         * tests/check/elements/tee.c: (GST_START_TEST):
2643         Make the tee stress-test a little less stressful so it doesn't just
2644         time out on slow-machines, and remove a small race when it's starting 
2645         up by adding a get_state() call.
2646
2647 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2648
2649         * gst/gst.c:
2650           Avoid reading registry twice on startup. Fixes #457322.
2651
2652 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2653
2654         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2655         * pkgconfig/gstreamer-check.pc.in:
2656         Substitute the CFLAGS for libcheck into our .pc file too so that
2657         dependent modules will pick it up properly if libcheck is installed
2658         into some other prefix.
2659
2660 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2661
2662         * configure.ac:
2663         Revert the pkg-config check for libcheck, since it pulls in the
2664         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2665         a proper solution, either from the check project, or something else.
2666
2667 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2668
2669         * configure.ac:
2670           Use pkg-config to locate check.
2671
2672 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2673
2674         * gst/gsttaglist.c:
2675           Fix doc syntax.
2676
2677         * gst/gstutils.c:
2678         * gst/gstutils.h:
2679           Add deprecation guards.
2680
2681         * libs/gst/base/gstcollectpads.h:
2682           Don't document object (this is implicitly private).
2683
2684 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2685
2686         * gst/gststructure.c: (gst_structure_parse_value):
2687           When deserialising foo=bar without a type cast, check if it's a
2688           boolean before falling back to a string type, otherwise things like
2689           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2690           because the filtercaps end up having a signed=(string)true field,
2691           which causes problems later when intersection caps.
2692
2693         * tests/check/gst/gststructure.c: (GST_START_TEST):
2694           Add a unit test for this.
2695
2696 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2697
2698         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2699
2700         * libs/gst/controller/Makefile.am:
2701         * libs/gst/controller/gstcontroller.c:
2702         (gst_controlled_property_add_interpolation_control_source),
2703         (gst_controlled_property_new), (gst_controlled_property_free),
2704         (gst_controller_find_controlled_property),
2705         (gst_controller_new_valist), (gst_controller_new_list),
2706         (gst_controller_new), (gst_controller_remove_properties_valist),
2707         (gst_controller_remove_properties_list),
2708         (gst_controller_remove_properties),
2709         (gst_controller_set_property_disabled),
2710         (gst_controller_set_disabled), (gst_controller_set_control_source),
2711         (gst_controller_get_control_source), (gst_controller_get),
2712         (gst_controller_sync_values), (gst_controller_get_value_array),
2713         (_gst_controller_dispose), (gst_controller_get_type),
2714         (gst_controlled_property_set_interpolation_mode),
2715         (gst_controller_set), (gst_controller_set_from_list),
2716         (gst_controller_unset), (gst_controller_unset_all),
2717         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2718         * libs/gst/controller/gstcontroller.h:
2719         * libs/gst/controller/gstcontrollerprivate.h:
2720         * libs/gst/controller/gstcontrolsource.c:
2721         (gst_control_source_class_init), (gst_control_source_init),
2722         (gst_control_source_get_value),
2723         (gst_control_source_get_value_array), (gst_control_source_bind):
2724         * libs/gst/controller/gstcontrolsource.h:
2725         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2726         (gst_object_get_control_source):
2727         * libs/gst/controller/gstinterpolation.c:
2728         (gst_interpolation_control_source_find_control_point_node),
2729         (gst_interpolation_control_source_get_first_value),
2730         (_interpolate_none_get), (interpolate_none_get),
2731         (interpolate_none_get_boolean_value_array),
2732         (interpolate_none_get_enum_value_array),
2733         (interpolate_none_get_string_value_array),
2734         (_interpolate_trigger_get), (interpolate_trigger_get),
2735         (interpolate_trigger_get_boolean_value_array),
2736         (interpolate_trigger_get_enum_value_array),
2737         (interpolate_trigger_get_string_value_array):
2738         * libs/gst/controller/gstinterpolationcontrolsource.c:
2739         (gst_control_point_free), (gst_interpolation_control_source_reset),
2740         (gst_interpolation_control_source_new),
2741         (gst_interpolation_control_source_set_interpolation_mode),
2742         (gst_interpolation_control_source_bind),
2743         (gst_control_point_compare), (gst_control_point_find),
2744         (gst_interpolation_control_source_set_internal),
2745         (gst_interpolation_control_source_set),
2746         (gst_interpolation_control_source_set_from_list),
2747         (gst_interpolation_control_source_unset),
2748         (gst_interpolation_control_source_unset_all),
2749         (gst_interpolation_control_source_get_all),
2750         (gst_interpolation_control_source_get_count),
2751         (gst_interpolation_control_source_init),
2752         (gst_interpolation_control_source_finalize),
2753         (gst_interpolation_control_source_dispose),
2754         (gst_interpolation_control_source_class_init):
2755         * libs/gst/controller/gstinterpolationcontrolsource.h:
2756         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2757         API: Refactor GstController into the core controller which can take
2758         a GstControlSource for providing actual values for timestamps.
2759         Implement a interpolation control source and use this for backward
2760         compatibility, deprecate a bunch of functions that are now handled
2761         by GstControlSource or GstInterpolationControlSource.
2762         Make it possible to disable the controller completely or only for
2763         specific properties. Fixes #450711.
2764         * docs/libs/gstreamer-libs-docs.sgml:
2765         * docs/libs/gstreamer-libs-sections.txt:
2766         * docs/libs/gstreamer-libs.types:
2767         Add new functions and classes to the docs.
2768         * tests/check/libs/controller.c: (GST_START_TEST),
2769         (gst_controller_suite):
2770         * tests/examples/controller/audio-example.c: (main):
2771         Port unit test and example to the new API and add some new
2772         unit tests.
2773
2774 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2775
2776         Patch by: Mark Nauwelaerts <manauw at skynet be>
2777
2778         * plugins/elements/gstmultiqueue.c:
2779         (gst_multi_queue_get_internal_links), (apply_buffer),
2780         (single_queue_overrun_cb), (gst_single_queue_new):
2781         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2782         the pipeline layout can be tracked correctly. Fixes #453732.
2783
2784 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2785
2786         * docs/gst/Makefile.am:
2787         * docs/libs/Makefile.am:
2788         * docs/plugins/Makefile.am:
2789           Simplify --extra-dir as gtkdoc scans recursively.
2790
2791 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2792
2793         * tools/gst-launch.c: (main):
2794         When we got an error, there is no point in waiting for preroll when
2795         shutting down.
2796
2797 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2798
2799         * plugins/elements/gsttee.c: (gst_tee_base_init),
2800         (gst_tee_request_new_pad), (gst_tee_release_pad),
2801         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2802         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2803         (gst_tee_chain):
2804         Be a lot smarter when deciding what srcpad to use for proxying
2805         the buffer_alloc. Also handle pad added/removed when doing so.
2806         Fixes #357959.
2807         Keep track of what pads we already pushed on in case we have pads
2808         added/removed while pushing. Fixes #374639 
2809
2810         * tests/check/Makefile.am:
2811         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2812         (tee_suite):
2813         Added unit test for pad resync.
2814
2815 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2816
2817         * po/nl.po:
2818         * po/sv.po:
2819           Updated translations.
2820
2821 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2822
2823         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2824
2825         * po/LINGUAS:
2826         * po/fi.po:
2827           Added new Finnish translation.
2828
2829 2007-06-28  Wim Taymans  <wim@fluendo.com>
2830
2831         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2832         (single_queue_overrun_cb):
2833         When figuring out when a queue is filled, use our internal time estimate
2834         based on segments, just like check_full does.
2835
2836 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2837
2838         * gst/gstminiobject.c: (gst_mini_object_get_type):
2839           Remove 3 do-nothing methods.
2840
2841 2007-06-27  Wim Taymans  <wim@fluendo.com>
2842
2843         Patch by: Tim Angus <tim at ngus dot net>
2844
2845         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2846         (gst_capsfilter_set_property):
2847         Take a reference instead of a copy when setting "caps".
2848         Fix documentation to clarify this behaviour. Fixes #449414.
2849
2850 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2851
2852         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2853         * gst/gstplugin.c: (gst_plugin_init):
2854         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2855         * gst/gstquery.c: (gst_query_get_type):
2856         * gst/gstregistry.c: (gst_registry_init):
2857         * gst/gsturi.c: (gst_uri_handler_base_init):
2858           Remove empty instance_init() functions to save relocs and lessen the
2859           noise. Remove some of the function prototypes that are doubled by
2860           G_DEFINE_TYPE.
2861           
2862 2007-06-27  Wim Taymans  <wim@fluendo.com>
2863
2864         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2865
2866         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2867         Add peer and direction in the XML serialisation of ghostpads.
2868         Fixes #449226.
2869
2870 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2871
2872         * configure.ac:
2873           Preserve useful information, thanks Tim.
2874
2875 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2876
2877         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2878         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2879         (gst_single_queue_push_one), (gst_multi_queue_loop),
2880         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2881         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2882         (compute_high_id), (gst_single_queue_new):
2883         * plugins/elements/gstmultiqueue.h:
2884         Take the multiqueue lock when updating the fill level so we don't get
2885         confused. 
2886
2887         After applying a buffer or event on the src pad segment, make sure to
2888         call gst_data_queue_limits_changed() to get the data queue to unblock
2889         and check the filled state again.
2890         
2891         Rework the not-linked pad handling so the logic is that not-linked 
2892         pads can push as fast as they like, but only so they never get 
2893         ahead of any linked pads.
2894
2895         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2896         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2897         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2898
2899         Add a test to check that not-linked pads always stay behind
2900         linked pads.
2901
2902         Fixes: #430682
2903
2904 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2905
2906         * docs/random/release:
2907           Some updates to the release procedure.
2908
2909 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2910
2911         * gst/gstelementfactory.c: (__gst_element_details_clear):
2912           Microoptimization that saves stunning 80 bytes.
2913
2914 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2915
2916         * docs/plugins/gstreamer-plugins.args:
2917         * docs/plugins/inspect/plugin-coreelements.xml:
2918         * docs/plugins/inspect/plugin-coreindexers.xml:
2919           Update docs with caps info.
2920
2921 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2922
2923         * po/it.po:
2924           Updated Italian translation.
2925
2926 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2927
2928         * ChangeLog:
2929         * po/vi.po:
2930           Update Vietnamese translations.
2931
2932 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2933
2934         * libs/gst/base/gstbasesink.c:
2935           Remove unused signal enum.
2936
2937 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2938
2939         * docs/gst/gstreamer-sections.txt:
2940         * gst/gstelement.c:
2941         * gst/gstutils.c: (gst_type_register_static_full):
2942         Beef up and include the docs for gst_type_register_static_full and
2943         gst_element_class_set_details_simple and add the API keyword
2944         in the ChangeLog.
2945
2946 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2947
2948         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2949         (update_time_level), (gst_single_queue_push_one),
2950         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2951         (single_queue_overrun_cb), (single_queue_underrun_cb),
2952         (single_queue_check_full):
2953         Fix setting max-* properties after adding queues.
2954         Use IS_FILLED for checking visible items.
2955         Signal overrun if multiple queues overrun.
2956         Add extra debug output.
2957         Patch by: Wim Taymans <wim@fluendo.com>
2958
2959 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2960
2961         * gst/gstelement.c: (gst_element_class_set_details_simple):
2962         * gst/gstelement.h:
2963         * gst/gstutils.c: (gst_type_register_static_full):
2964         * gst/gstutils.h:
2965         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2966         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2967         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2968         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2969         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2970         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2971         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2972         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2973         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2974         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2975         (apply_buffer), (gst_queue_chain):
2976         * plugins/elements/gsttee.c: (gst_tee_base_init):
2977         * plugins/elements/gsttypefindelement.c:
2978         (gst_type_find_element_base_init),
2979         (gst_type_find_element_class_init):
2980           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2981           API: add gst_type_register_static_full
2982           API: add gst_element_class_set_details_simple
2983
2984 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2985
2986         * docs/pwg/advanced-types.xml:
2987           Fix typo in iana.org URI.
2988
2989 2007-06-19  Andy Wingo  <wingo@pobox.com>
2990
2991         * tests/check/pipelines/simple-launch-lines.c
2992         (test_state_change_returns): Enable pull-mode tests now that
2993         basesink has been fixed.
2994
2995         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2996         Changed from gst_base_sink_is_prerolled, reversing the sense of
2997         the return value. Returns FALSE also if the sink is in pull mode,
2998         in which case it needs no preroll.
2999         (gst_base_sink_query, gst_base_sink_change_state): Update for
3000         needs_preroll change.
3001         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3002         chaining up, in which we return SUCCESS directly if we activated
3003         in pull mode instead of ASYNC. Involves countering an async_start
3004         message sent before chaining up; not sure if this is correct, in
3005         an ideal world we only send async-start when activating in push
3006         mode.
3007
3008         * tests/check/pipelines/simple-launch-lines.c
3009         (test_state_change_returns): New test, partially disabled until
3010         basesink is fixed.
3011
3012 2007-06-19  Wim Taymans  <wim@fluendo.com>
3013
3014         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3015         (gst_multi_queue_sink_event):
3016         Fix event leak.
3017
3018 2007-06-19  Wim Taymans  <wim@fluendo.com>
3019
3020         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3021         (gst_bin_change_state_func), (bin_push_state_continue),
3022         (bin_handle_async_start), (bin_handle_async_done),
3023         (gst_bin_handle_message_func):
3024         Move the common code for posting state-change messages into
3025         one function.
3026         Broadcast the state signal after we posted the messages.
3027         Mark the bin as busy when it's doing a state-change.
3028         Make sure async-start/done messages don't interfere with the bin's
3029         state when it's busy.
3030         After the state change, let the bin check which elements completed the
3031         state change while it was busy so that it can update its state.
3032
3033 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
3034
3035         * docs/random/release:
3036         Add a note about updating the doap file to the release checklist
3037
3038 2007-06-18  Wim Taymans  <wim@fluendo.com>
3039
3040         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3041         (gst_single_queue_push_one), (gst_multi_queue_chain),
3042         (gst_multi_queue_sink_event):
3043         Make sure we don't reference the buffer/event after we have given away
3044         ownership in the queue.
3045
3046 2007-06-18  Wim Taymans  <wim@fluendo.com>
3047
3048         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3049         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3050         Update queue state _after_ adding the item in the queue because else we
3051         could end up being full without the element added yet.
3052
3053 2007-06-18  Wim Taymans  <wim@fluendo.com>
3054
3055         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3056         (gst_bin_remove_func), (gst_bin_get_state_func),
3057         (gst_bin_element_set_state), (gst_bin_continue_func),
3058         (bin_push_state_continue), (bin_handle_async_start),
3059         (bin_handle_async_done), (gst_bin_handle_message_func):
3060         * gst/gstbin.h:
3061         Immediatly commit the toplevel bin state when receiving an async-done
3062         message. This enables us to avoid spawning a thread to commit the state
3063         in some common cases and it also avoids some races.
3064         Avoid spawning a state thread when adding/removing async elements to a
3065         toplevel bin. Instead we immediatly update the bin state.
3066         Get rid of iterating all the children when getting the state in the bin
3067         because it is now always up-to-date.
3068         Fix bug where locked elements would always return _SUCCESS even it they
3069         returned NO_PREROLL before being locked.
3070         Fix the order of the state_change, async-start/done messages that was
3071         sometimes incorrect.
3072         Mark the state_dirty field as deprecated, we don't need it anymore as we
3073         are always up-to-date.
3074
3075         * gst/gstelement.c: (gst_element_get_state_func),
3076         (gst_element_continue_state):
3077         Small debug inprovements.
3078         Return the previous element state return when nothing is pending instead
3079         of blindly returning SUCCESS.
3080
3081         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3082         (gst_sinks_suite):
3083         Add a whole bunch of new testcases.
3084
3085 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3086
3087         * po/uk.po:
3088         * po/vi.po:
3089           Update translations.
3090
3091 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
3092
3093         * gst/gstpad.c:
3094         Fix typo in the docs.
3095
3096 2007-06-15  Wim Taymans  <wim@fluendo.com>
3097
3098         * docs/libs/gstreamer-libs-sections.txt:
3099         Add docs for new methods.
3100
3101 2007-06-15  Wim Taymans  <wim@fluendo.com>
3102
3103         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3104         (gst_multi_queue_item_new):
3105         Don't use GSlice because we don't depend on >= 2.10 yet.
3106
3107 2007-06-15  Wim Taymans  <wim@fluendo.com>
3108
3109         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3110         (update_time_level), (apply_segment), (apply_buffer),
3111         (gst_single_queue_push_one), (gst_multi_queue_item_new),
3112         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3113         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3114         (single_queue_underrun_cb), (single_queue_check_full):
3115         Remove debug printf.
3116
3117 2007-06-15  Wim Taymans  <wim@fluendo.com>
3118
3119         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3120         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3121         (gst_data_queue_set_flushing), (gst_data_queue_push),
3122         (gst_data_queue_pop), (gst_data_queue_drop_head),
3123         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3124         * libs/gst/base/gstdataqueue.h:
3125         Various cleanups.
3126         Added methods to get the current levels and to inform the queue that the
3127         'full' limits changed.
3128
3129         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3130         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3131         (gst_single_queue_flush), (update_time_level), (apply_segment),
3132         (apply_buffer), (gst_single_queue_push_one),
3133         (gst_multi_queue_item_steal_object),
3134         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3135         (gst_multi_queue_loop), (gst_multi_queue_chain),
3136         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3137         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3138         (gst_multi_queue_src_query), (single_queue_overrun_cb),
3139         (single_queue_underrun_cb), (single_queue_check_full),
3140         (gst_single_queue_new):
3141         Keep track of time in the queue by measuring the difference between
3142         running_time on input and output. This gives more accurate results and
3143         can compensate for segments correctly.
3144         Make a queue by default only 5 buffers deep. We will now increase the
3145         buffer size depending on the filledness of the other queues.
3146         Factor out commong flush code.
3147         Make sure we don't add additional refcounts to buffers when we can avoid
3148         it.
3149         Propagate GstFlowReturn differently.
3150         Use GSlice for intermediate GstMultiQueueItems.
3151         Keep track of EOS.
3152         Resize queues on over and underruns based on filled level of other
3153         queues.
3154         When checking if the queue is filled, prefer to measure in time if we
3155         can and fall back to bytes when no time is known.
3156
3157         * plugins/elements/gstqueue.c:
3158         Fix return value.
3159
3160 2007-06-15  Wim Taymans  <wim@fluendo.com>
3161
3162         * libs/gst/base/gstbasetransform.c:
3163         (gst_base_transform_sink_event):
3164         Work around the brokenness of the event vmethod in basetransform. Prefer
3165         to return TRUE when the subclass returned FALSE (meaning don't forward
3166         the event). 
3167
3168         * libs/gst/base/gstbasetransform.h:
3169         Clarify the docs.
3170
3171 2007-06-15  Wim Taymans  <wim@fluendo.com>
3172
3173         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3174         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3175         (gst_base_src_default_query), (gst_base_src_get_range),
3176         (gst_base_src_start):
3177         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3178         Improve debugging.
3179
3180 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3181
3182         * docs/pwg/advanced-types.xml:
3183           Added more formats to caps table.
3184
3185 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3186
3187         * tools/gst-launch.c: (main):
3188           Remove crufy code. GOption does not need this workaround.
3189
3190 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3191
3192         * libs/gst/controller/gstcontroller.c:
3193         (gst_controlled_property_set_interpolation_mode):
3194           Fix wrong getter for enums in controller.
3195
3196 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3197
3198         * libs/gst/check/gstcheck.c: (gst_check_init):
3199           Intercept criticals and warnings in the Gst-Phonon log domain, so
3200           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3201           well.
3202         
3203 2007-06-14  Edward Hervey  <edward@fluendo.com>
3204
3205         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3206         Since this file doesn't include "gst.h" it will not go through the
3207         macros that disable GST_LOG if debugging was disabled.
3208
3209 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         * libs/gst/check/Makefile.am:
3212         * libs/gst/check/gstcheck.h:
3213         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3214         * pkgconfig/gstreamer-check.pc.in:
3215           Ugly 'fix' for the controller unit test on the p5 bot: in
3216           fail_unless_equals_float() check whether the values are 'almost
3217           equal' by allowing a small absolute error, which should be good
3218           enough for our use cases (normal numbers and values close to 0).
3219           Proper fixage left to floating point arithmetic aficionados.
3220
3221 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3222
3223         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3224         (gst_base_sink_render_object), (gst_base_sink_get_position):
3225           Add two breaks thats where missing.
3226
3227 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3228
3229         * docs/libs/gstreamer-libs-sections.txt:
3230         * libs/gst/check/gstcheck.h:
3231           API: add fail_unless_equals_float() and assert_equals_float().
3232           Add documentation for some of the macros.
3233
3234         * tests/check/libs/controller.c: (GST_START_TEST):
3235           Use newly-added asserts.
3236
3237 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3238
3239         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3240           Show the caps change in the log to help spotting the case of not
3241           exactly matching caps.
3242
3243 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3244
3245         * docs/pwg/building-boiler.xml:
3246           Fix typos, spotted by Thijs Vermeir (#447190).
3247
3248 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3249
3250         * docs/plugins/tmpl/.cvsignore:
3251         Ignore file to keep the buildbots happy
3252
3253 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3254
3255         * docs/plugins/Makefile.am:
3256         * docs/plugins/gstreamer-plugins-docs.sgml:
3257         * docs/plugins/gstreamer-plugins-sections.txt:
3258         Pull fdsink into the docs too.
3259
3260 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
3261
3262         * libs/gst/controller/gstinterpolation.c:
3263         Actually use the new functions with min/max checks for the trigger and
3264         none interpolation modes for get() and get_value_array() instead of
3265         just the latter.
3266
3267 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
3268
3269         * libs/gst/controller/gstcontroller.c:
3270         (gst_controlled_property_free):
3271         Unset the minimum and maximum GValues when freeing the corresponding
3272         GstControllerProperty struct.
3273
3274 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
3275
3276         * libs/gst/controller/gstcontroller.c:
3277         (gst_controlled_property_new):
3278         * libs/gst/controller/gstcontrollerprivate.h:
3279         * libs/gst/controller/gstinterpolation.c:
3280         (gst_controlled_property_find_control_point_node),
3281         (interpolate_none_get), (interpolate_none_get_enum_value_array),
3282         (interpolate_none_get_string_value_array),
3283         (interpolate_trigger_get),
3284         (interpolate_trigger_get_enum_value_array),
3285         (interpolate_trigger_get_string_value_array):
3286         Protect against values larger or smaller than the minimum or maximum
3287         allowed value for the property when using values that can be compared.
3288
3289         Optimize trigger interpolator a bit by taking the last requested value
3290         into account instead of always looping through the complete list.
3291
3292         Fix coding style a bit, everywhere else we use "return foo" instead
3293         of "return (foo)".
3294         
3295         * tests/check/libs/controller.c: (GST_START_TEST),
3296         (gst_controller_suite):
3297         Add unit test for the protection against too large or too small
3298         values.
3299
3300 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
3301
3302         * docs/random/slomo/controller.txt:
3303         Add some thoughts about the future of the controller.
3304
3305 2007-06-08  Wim Taymans  <wim@fluendo.com>
3306
3307         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3308         Don't overflow in retimestamping code.
3309
3310 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
3311
3312         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3313         Use gst_util_guint64_to_gdouble for conversions.
3314         * win32/common/libgstreamer.def:
3315         Add new exported functions.
3316
3317 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
3318
3319         * gst/gstutils.c:
3320           Small docs addition.
3321
3322 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * README:
3325           Remove that test line again.
3326
3327 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * README:
3330           Test commit mail sending.
3331
3332 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3333
3334         * configure.ac:
3335           Fix typo and test commit mail sending.
3336
3337 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3338
3339         * tests/examples/controller/audio-example.c:
3340           Improve comment and test commit mail sending.
3341
3342 2007-06-07  Wim Taymans  <wim@fluendo.com>
3343
3344         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3345         (gst_bin_remove_func), (gst_bin_element_set_state),
3346         (bin_handle_async_start), (bin_handle_async_done),
3347         (gst_bin_handle_message_func):
3348         Add helper function to find messages.
3349         Generate the async-done messages together with the state change
3350         messages.
3351         Small cleanups in handling toplevel bins.
3352
3353 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3354
3355         * libs/gst/base/gstdataqueue.c:
3356         * libs/gst/base/gstdataqueue.h:
3357         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3358         (gst_multi_queue_item_new), (gst_multi_queue_chain),
3359         (gst_multi_queue_sink_event):
3360         * tests/check/elements/multiqueue.c: (multiqueue_suite):
3361           Fix multiqueue leaking buffers and events when downstream or the
3362           queue are flushing. Make refcounting assumptions explicit and
3363           document them (shouldn't break existing code that uses it other than
3364           maybe leak miniobjects, but that already happens anyway). Add unit
3365           test for the most common flushing case. Fixes #423700.
3366           
3367 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3368
3369         * libs/gst/controller/gstcontroller.c:
3370         Clarify docs: The get_all, get_value_array(s) functions
3371         don't modify the GObject properties.
3372
3373 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3374
3375         * libs/gst/controller/gstcontroller.c:
3376         (gst_controlled_property_set_interpolation_mode),
3377         (gst_controlled_property_prepend_default),
3378         (gst_controlled_property_new), (gst_controller_set_unlocked),
3379         (gst_controller_set), (gst_controller_set_from_list),
3380         (gst_controller_unset), (gst_controller_unset_all):
3381         * libs/gst/controller/gstcontrollerprivate.h:
3382         * libs/gst/controller/gstinterpolation.c:
3383         Factor out the 'set' logic into gst_controller_set_unlocked for the
3384         gst_controller_set and gst_controller_set_from_list functions.
3385
3386         To make life of the interpolators easier always add a control point
3387         at timestamp zero with the default value.
3388
3389         In the linear interpolator make things more obvious by better variable
3390         naming (slope).
3391
3392         Implement cubic interpolation mode (by using a natural cubic spline)
3393         and map the quadratic interpolation mode to this too (as quadratic
3394         doesn't make much sense, see discussion on the list).
3395
3396         * tests/check/libs/controller.c: (GST_START_TEST),
3397         (gst_controller_suite):
3398         Add unit test for the cubic interpolation mode and check everywhere
3399         if the interpolation mode could be set as expected.
3400
3401 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3402
3403         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3404           Don't use GLib-2.10 functions, we still depend on
3405           GLib-how-old-is-it-again-2.8.
3406
3407 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3408
3409         * docs/gst/gstreamer-sections.txt:
3410         * gst/Makefile.am:
3411         * gst/gst.c:
3412         * gst/gst.h:
3413         * gst/gstparamspecs.c: (_gst_param_fraction_init),
3414         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3415         (_gst_param_fraction_values_cmp),
3416         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3417         * gst/gstparamspecs.h:
3418         * gst/gstvalue.c:
3419         * tests/check/Makefile.am:
3420         * tests/check/gst/.cvsignore:
3421         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3422         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3423         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3424         (GST_START_TEST), (gst_param_spec_suite):
3425           API: add GstParamSpecFraction, so elements can have fraction
3426           properties without lots of painful string parsing (#444648).
3427
3428 2007-06-05  Wim Taymans  <wim@fluendo.com>
3429
3430         * gst/gstobject.c: (gst_object_class_init):
3431         Fix signal signature.
3432
3433         * gst/gstsegment.c:
3434         Add small clarification in the api docs.
3435
3436         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3437         States are protected with object lock.
3438
3439 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3440
3441         * AUTHORS:
3442         I should probably be listed as an author by now.
3443
3444         * docs/random/release:
3445         Update the release doc
3446
3447 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
3448
3449         * gst/gstvalue.c:
3450           Make docs for gst_value_compare() mention return enums that
3451           actually exist.
3452
3453 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3454
3455         * configure.ac:
3456           Back to CVS
3457
3458 === release 0.10.13 ===
3459
3460 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
3461
3462         * configure.ac:
3463           releasing 0.10.13, "With or without you"
3464
3465 2007-05-25  Wim Taymans  <wim@fluendo.com>
3466
3467         * gst/gstbin.c: (bin_handle_async_done):
3468         Make sure that the child bin stops after completing the async state
3469         change so that the parent can continue the state change to PLAYING.
3470         Fixes #441159.
3471
3472 2007-05-25  Wim Taymans  <wim@fluendo.com>
3473
3474         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3475         (unref_data), (gst_collect_pads_remove_pad),
3476         (gst_collect_pads_check_pads):
3477         Use additional refcounting to avoid crashes when dynamically adding and
3478         removing pads. Fixes #420206.
3479
3480 2007-05-24  Wim Taymans  <wim@fluendo.com>
3481
3482         * tools/gst-launch.c: (event_loop):
3483         When buffering goes from a two digit to a single digit number, make sure
3484         to remove the old second digit by writing a blank over it.
3485
3486 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3487
3488         * libs/gst/base/gstdataqueue.c:
3489           Eliminate tabs and trailing comma in enum list; fix some typos.
3490
3491 2007-05-24  Wim Taymans  <wim@fluendo.com>
3492
3493         * tests/check/gst/gstbin.c: (GST_START_TEST):
3494         Allow refcount of 3 and 4 because some state thread might still be busy
3495         with it.
3496
3497 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3498
3499         * plugins/elements/Makefile.am:
3500         * plugins/elements/gstmultiqueue.h:
3501         * plugins/elements/gstqueue.h:
3502           These are not installed headers, no need for padding.
3503
3504 2007-05-24  Wim Taymans  <wim@fluendo.com>
3505
3506         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3507         (gst_bin_continue_func):
3508         Enable latency for next release.
3509         Restore STATE_LOCK around recalc_state that was left out during the
3510         rewrite and could result in racy behaviour when _get_state and
3511         recalc_state are run concurrently. See #440463.
3512
3513 2007-05-23  Wim Taymans  <wim@fluendo.com>
3514
3515         * tests/check/gst/gstsystemclock.c: (store_callback),
3516         (GST_START_TEST):
3517         Improve test_async_order to also work when both timers are already
3518         expired when we get scheduled to check it.
3519
3520 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3521
3522         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3523         (gst_bin_set_property), (gst_bin_get_property),
3524         (gst_bin_remove_func), (gst_bin_handle_message_func):
3525         * gst/gstbin.h:
3526           'private' is a c++ keyword, let's not use that in header files,
3527           otherwise c++ compilers will throw a tantrum.
3528
3529 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3530
3531         * plugins/elements/gstelements.c:
3532         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3533         (gst_file_sink_get_current_offset):
3534         * plugins/indexers/gstindexers.c: (plugin_init):
3535           Use #ifdef for HAVE_XYZ for consistency.
3536
3537         * tests/check/Makefile.am:
3538         * tests/check/elements/.cvsignore:
3539         * tests/check/elements/filesink.c: (setup_filesink),
3540         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3541           Add some unit tests for filesink.
3542
3543 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3544
3545         Patch by: Mark Nauwelaerts <manauw at skynet be>
3546
3547         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3548         (gst_file_sink_query), (gst_file_sink_do_seek),
3549         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3550         * plugins/elements/gstfilesink.h:
3551           Fix position reporting; rename data_written member to current_pos to
3552           reflect its real meaning (fixes #412648).
3553
3554 2007-05-22  Edward Hervey  <edward@fluendo.com>
3555
3556         * docs/gst/gstreamer-sections.txt:
3557         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3558         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3559         (gst_bin_remove_func), (gst_bin_handle_message_func):
3560         * gst/gstbin.h:
3561         Add a property for bins that handle the state change of their childs.
3562         Fixes #435880
3563
3564 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3565
3566         * libs/gst/controller/gstinterpolation.c:
3567         Use an array of the correct type when using _get_value_array with
3568         linear interpolation.
3569
3570 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3571
3572         * gst/gstelement.c (gst_element_requires_clock,
3573           gst_element_provides_clock, gst_element_request_pad,
3574           gst_element_class_set_details, gst_element_class_set_details_simple,
3575           gst_element_default_send_event, gst_element_abort_state,
3576           gst_element_continue_state, gst_element_set_state,
3577           gst_element_set_state_func, iterator_activate_fold_with_resync):
3578         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3579           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3580           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3581           gst_pad_get_range, gst_pad_pull_range):
3582         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3583           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3584           GstPadActivateModeFunction, GstPadChainFunction,
3585           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3586           GstPadFixateCapsFunction, GstPadTemplate):
3587         * gst/gstpipeline.c (gst_pipeline_change_state,
3588           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3589           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3590           gst_pipeline_get_delay):
3591           Whitespace and docs fixes.
3592
3593 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3594
3595         * libs/gst/controller/gstinterpolation.c:
3596         (interpolate_trigger_get_enum_value_array),
3597         (interpolate_trigger_get_string_value_array):
3598         Add support for retrieving value arrays when using the trigger
3599         interpolation mode. 
3600
3601 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3602
3603         * libs/gst/controller/gstcontroller.c:
3604         (gst_controller_get_value_array):
3605         * libs/gst/controller/gstcontroller.h:
3606         Clarify the docs of gst_controller_get_value_array(): The array where
3607         the values should be written to must be allocated as there seems to be
3608         no way to get the size of a random GType. This doesn't change any
3609         behaviour. Also fix some typos all over the place and remove an unused,
3610         commented function that is not necessary as g_object_set() could be
3611         used instead.
3612         * tests/check/libs/controller.c: (GST_START_TEST),
3613         (gst_controller_suite):
3614         Add unit test for gst_controller_get_value_array().
3615
3616 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3617
3618         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3619
3620         Disable part of the gst_buffer_try_new_and_alloc test, because
3621         it can happily succeed on 64-bit systems where there's more address
3622         space available.
3623
3624 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3625
3626         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3627         Add unit test for the improved caps checking from bug #421543.
3628
3629 2007-05-21  Wim Taymans  <wim@fluendo.com>
3630
3631         * docs/design/part-synchronisation.txt:
3632         Small addition.
3633
3634         * gst/gstbin.c: (gst_bin_query):
3635         * plugins/elements/gstqueue.c: (apply_segment):
3636         Improve debugging.
3637
3638         * gst/gstmessage.h:
3639         Improve docs.
3640
3641 2007-05-21  Wim Taymans  <wim@fluendo.com>
3642
3643         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3644         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3645         (gst_pad_configure_src):
3646         Added simple version of improved caps checking. It was previously
3647         assumed that a setcaps function would check the validity of the caps but
3648         people prefer us to check caps against the template automatically. 
3649         Fixes #421543.
3650
3651 2007-05-21  Wim Taymans  <wim@fluendo.com>
3652
3653         * libs/gst/base/gstbasetransform.h:
3654         Fix macro for locking/unlocking the transform lock.
3655
3656 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3657
3658         * docs/plugins/tmpl/.cvsignore:
3659           Ignore more.
3660
3661 2007-05-18  Edward Hervey  <edward@fluendo.com>
3662
3663         * plugins/elements/gstqueue.c: (gst_queue_loop):
3664         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3665         for the subtle art of warning a potentially blocking thread that it
3666         should check the source pad return value, and relay the information
3667         upstream.
3668
3669 2007-05-18  Edward Hervey  <edward@fluendo.com>
3670
3671         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3672         Release the queue lock !
3673
3674 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3675
3676         * docs/libs/gstreamer-libs-sections.txt:
3677         Add the two new controller functions to the appropiate places.
3678
3679 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3680
3681         reviewed by: Stefan Kost <ensonic@users.sf.net>
3682
3683         * libs/gst/controller/gstcontroller.c:
3684         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3685         (_gst_controller_get_property), (_gst_controller_set_property),
3686         (_gst_controller_init), (_gst_controller_class_init):
3687         * libs/gst/controller/gstcontroller.h:
3688         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3689         (gst_object_get_control_rate), (gst_object_set_control_rate):
3690         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3691         Add API that provides sync suggestion timestamps for elements that
3692         call gst_object_sync_values() from which those elements can subdivide
3693         their processing loop to get the best results for the controlled
3694         properties. For now it just suggests last_sync + control_rate as
3695         new timestamp but this will be improved in the future.
3696
3697         While doing that change the control-rate property to a GstClockTime
3698         from guint and change it's meaning from samples to nanoseconds as
3699         the GstController doesn't know anything about sampling rate. Strictly
3700         speaking this breaks ABI but as the control-rate property didn't do
3701         anything in the past and as such couldn't be used this should be no
3702         problem.        
3703
3704 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3705
3706         reviewed by: Stefan Kost <ensonic@users.sf.net>
3707
3708         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3709         (gst_controller_unset_all):
3710         * libs/gst/controller/gstcontrollerprivate.h:
3711         * libs/gst/controller/gstinterpolation.c:
3712         (gst_controlled_property_find_control_point_node):
3713         Save last synced value from the list to continue searching from there
3714         in future syncs. This speeds everything up a bit.
3715         
3716 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3717
3718         reviewed by: Stefan Kost <ensonic@users.sf.net>
3719
3720         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3721         (gst_control_point_find), (gst_controlled_property_new),
3722         (gst_control_point_free), (gst_controlled_property_free),
3723         (gst_controller_set), (gst_controller_set_from_list),
3724         (gst_controller_unset), (gst_controller_unset_all),
3725         (gst_controller_sync_values):
3726         * libs/gst/controller/gstcontroller.h:
3727         * libs/gst/controller/gstcontrollerprivate.h:
3728         * libs/gst/controller/gstinterpolation.c:
3729         (gst_controlled_property_find_control_point_node),
3730         (interpolate_none_get), (interpolate_trigger_get):
3731         Add a new private GstControlPoint struct which "inherits" from
3732         GstTimedValue to allow different interpolators to store internal
3733         values next to each control point. From the outside everything is
3734         still a GstControlPoint so we don't loose binary compatibility.
3735         Also fixup all the GValue handling to not leak GValues or list nodes.
3736         * tests/check/libs/controller.c: (GST_START_TEST):
3737         Free the list nodes and GValues in the controller_misc test.
3738
3739 2007-05-17  Edward Hervey  <edward@fluendo.com>
3740
3741         * gst/gstsegment.c:
3742         Small doc fix.
3743
3744 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3745
3746         * gst/gstplugin.c: (gst_plugin_load_file):
3747           If we fail to load a plugin because of unresolved symbols or missing
3748           libraries and spew a warning to stderr, we may just as well mention
3749           which plugin it was that failed to load.
3750
3751 2007-05-13  David Schleef  <ds@schleef.org>
3752
3753         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3754           handles the case when ENABLE_GTK_DOC is false, and installs
3755           the prebuilt documentation.  So gtk-doc subdirs are 
3756           unconditionally enabled.  Fixes: #349099.
3757
3758 2007-05-13  David Schleef  <ds@schleef.org>
3759
3760         * gst/gstutils.h: Reword some documentation.
3761
3762 2007-05-12  David Schleef  <ds@schleef.org>
3763
3764         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3765           do anything with the passed "module" parameter, so remove it.
3766           Allows removal of additional vestigal code.
3767
3768 2007-05-12  David Schleef  <ds@schleef.org>
3769
3770         * gst/gstplugin.c:
3771           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3772           Switch to using g_stat() because it's more portable.
3773
3774 2007-05-12  David Schleef  <ds@schleef.org>
3775
3776         * gst/gst.c:
3777           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3778           parsing for embedded systems.
3779         * gst/gstelementfactory.c:
3780           Allow gst_element_register() to be called with plugin==NULL.
3781           Did nobody notice that static elements were broken?
3782
3783 2007-05-12  Wim Taymans  <wim@fluendo.com>
3784
3785         * tools/gst-launch.c: (event_loop):
3786         Give more interesting info when buffering starts and stops.
3787         Fix case where buffering starts but we fail to update the buffering flag
3788         because the target state is not PLAYING.
3789
3790 2007-05-12  Wim Taymans  <wim@fluendo.com>
3791
3792         * plugins/elements/gstqueue.c: (gst_queue_init),
3793         (gst_queue_finalize), (update_time_level), (apply_segment),
3794         (apply_buffer), (gst_queue_locked_flush),
3795         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3796         (gst_queue_handle_sink_event), (gst_queue_chain),
3797         (gst_queue_push_one), (gst_queue_loop):
3798         * plugins/elements/gstqueue.h:
3799         Refactor an cleanup queue a bit.
3800         Do better time level calculations that also work when the srcpad is not
3801         yet running.
3802         Remove some unneeded debug lines.
3803
3804         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3805         Added testcase for time level measurement.
3806         Try to make some stuff more racefree.
3807
3808 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3809
3810         * gst/gsturi.c: (gst_element_make_from_uri):
3811           Don't leak plugin feature.
3812
3813         * tests/check/Makefile.am:
3814         * tests/check/gst/.cvsignore:
3815         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3816           Add brain-dead unit test.
3817
3818 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3819
3820         Patch by: Jeroen Wouters <woutersj at gmail com>
3821
3822         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3823           Treat protocol strings in a case-insensitive way (#437563).
3824
3825 2007-05-11  Michael Smith <msmith@fluendo.com>
3826
3827         * gst/gstplugin.c: (gst_plugin_load_file):
3828         * gst/gstregistry.c: (gst_registry_scan_path_level):
3829           Don't print a g_warning for any failure to load a shared object.
3830           Instead, push this down into gstplugin.c, and warn _only_ if we
3831           failed to open the module (i.e. failure to link).
3832           Avoids warnings on normal, working, non-plugin .so files.
3833
3834 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3835
3836         * gst/gstplugin.c (gst_plugin_load_file):
3837         * gst/gstregistry.c (GST_CAT_DEFAULT,
3838           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3839           Print a g_warning if there was an error when loading a plugins during
3840           registry scan. The shuld help beginners starting with gst-plugin
3841           template.
3842
3843 2007-05-10  Wim Taymans  <wim@fluendo.com>
3844
3845         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3846         (update_time_level), (gst_queue_locked_flush),
3847         (gst_queue_handle_sink_event), (gst_queue_chain),
3848         (gst_queue_push_one), (gst_queue_loop):
3849         * plugins/elements/gstqueue.h:
3850         Be smarter when calculating the current amount of data in the queue by
3851         measuring the difference between start and end timestamps (in running
3852         time) inside the queue. Fixes #432876.
3853         API: GstQueue::pushing to notify elements that we are pushing data again
3854         since the running signal is rather broken for this purpose.
3855
3856 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3857
3858         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3859           gst_queue_base_init, gst_queue_init):
3860           use GST_BOILERPLATE
3861
3862 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3863
3864         * win32/common/libgstreamer.def:
3865         Add new exported functions.
3866         * win32/vs6/grammar.dsp:
3867         Use grammar pre-generated files.
3868
3869 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3870
3871         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3872
3873         * gst/Makefile.am:
3874         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3875         * gst/gstparse.h:
3876         * gst/gstutils.c: (gst_parse_bin_from_description):
3877         * gst/gstutils.h:
3878           Maintain API and ABI when --disable-parse is used. Now that
3879           we have an appropriate error code, we can just return NULL and the
3880           appropriate error when gst_parse_launch() is used despite it having
3881           been disabled (#342564).
3882
3883         * tests/check/Makefile.am:
3884         * tests/check/pipelines/.cvsignore:
3885         * tests/check/pipelines/parse-disabled.c:
3886           Make sure these functions exist and return NULL plus a GError when
3887           --disable-parse is used.
3888
3889 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3890
3891         * tests/benchmarks/complexity.c: (main):
3892         * tests/benchmarks/mass-elements.c: (main):
3893           Set a good example and don't leak messages.
3894
3895 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3896
3897         * docs/gst/Makefile.am:
3898         * docs/libs/Makefile.am:
3899           Correct fixxrefs options.
3900
3901         * docs/plugins/Makefile.am:
3902         * docs/plugins/gstreamer-plugins-docs.sgml:
3903         * docs/plugins/gstreamer-plugins-sections.txt:
3904         * plugins/elements/Makefile.am:
3905         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3906         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3907           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3908           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3909           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3910           _GstCapsFilterClass, trans_class):
3911         * plugins/elements/gstelements.c (name, rank, type, _elements):
3912         * plugins/elements/gstidentity.c
3913           (gst_identity_check_imperfect_timestamp,
3914           gst_identity_check_imperfect_offset):
3915           Document capsfilter and add doc-blurb to identity.
3916
3917 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3918
3919         * libs/gst/controller/gstcontroller.c:
3920         (gst_controlled_property_set_interpolation_mode):
3921         * libs/gst/controller/gstinterpolation.c:
3922           Don't crash if someone tries to set an interpolation mode that
3923           is invalid or that isn't supported yet. Fixes #422295.
3924
3925         * tests/check/libs/controller.c: (GST_START_TEST),
3926         (gst_controller_suite):
3927           Add a test case for the above.
3928
3929 2007-05-03  Edward Hervey  <edward@fluendo.com>
3930
3931         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3932         Properly set the last_stop position on GstSegment. This will only happen
3933         if there is a buffer to push out.
3934
3935 2007-05-03  Wim Taymans  <wim@fluendo.com>
3936
3937         * libs/gst/base/gstbasetransform.c:
3938         (gst_base_transform_buffer_alloc):
3939         always_in_place does not mean that the sink and source caps are the
3940         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3941
3942 2007-05-03  Wim Taymans  <wim@fluendo.com>
3943
3944         * docs/libs/gstreamer-libs-sections.txt:
3945         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3946         (gst_base_src_default_query), (gst_base_src_get_range):
3947         * libs/gst/base/gstbasesrc.h:
3948         API: gst_base_src_query_latency(). Added method so that subclasses can
3949         easily get the latency values of the base source class.
3950
3951 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3952
3953         * tools/gst-inspect.c (print_implementation_info):
3954         Remove 0.8 cruft.
3955
3956 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3957
3958         * tools/Makefile.am:
3959         * tools/gst-launch.1.in:
3960           Don't create a customised man page based on the host architecture,
3961           describe the default registry path generically. That way the man
3962           page is the same for all architectures and packagers have one
3963           multilib issue less to deal with. Fixes #434926.
3964
3965 2007-05-02  Wim Taymans  <wim@fluendo.com>
3966
3967         * gst/gstpad.c:
3968         Fix documentation as spotted by rg on IRC. 
3969
3970 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3971
3972         * gst/gstutils.c:
3973           Improve docs for gst_element_{link,unlink}.
3974
3975 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3976
3977         * docs/design/part-events.txt:
3978         * docs/design/part-overview.txt:
3979         * gst/gstevent.c:
3980         * gst/gsturi.c:
3981         * gst/gsturi.h:
3982         * libs/gst/base/gstbasesink.c:
3983           Typo fixes; minor docs addition.
3984
3985 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3986
3987         * docs/gst/gstreamer-sections.txt:
3988         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3989         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3990         * gst/gsturi.h:
3991         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3992         or src that supports a given URI protocol exists.
3993
3994 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3995
3996         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3997         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3998         Set the location to NULL if "file://" is set as URI. Otherwise
3999         some random previous URI would still be set if "file://" is
4000         set on an already used filesink/filesrc.
4001
4002 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4003
4004         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4005         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4006         Special case the "file://" URI as as this is used by some
4007         applications to test with gst_element_make_from_uri if there's
4008         an element that supports the URI protocol.
4009         Also move the g_path_is_absolute() check for the location part
4010         of the URI to also check this for "file://localhost/bla" URIs.
4011
4012 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
4013
4014         * docs/gst/gstreamer-sections.txt:
4015         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4016         * gst/gstbuffer.h:
4017         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4018         (gst_buffer_suite):
4019           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4020
4021 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
4022
4023         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4024         (gst_registry_binary_load_pad_template),
4025         (gst_registry_binary_load_plugin),
4026         (gst_registry_binary_read_cache):
4027         * gst/gstregistrybinary.h:
4028           Implement no-mmap alternative for registry reading. Do code cleanups.
4029           Add more comments about avoiding strdups for all text data. Comments
4030           welcome.
4031
4032 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4033
4034         * gst/gstregistrybinary.h (GstBinaryPluginElement,
4035           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4036           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4037           Comment structs and reformat to fix the build (that stuff should go
4038           into a priv. header).
4039
4040 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4041
4042         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4043         (gst_registry_binary_load_feature):
4044         * gst/gstregistrybinary.h:
4045           Refactor so that we can implement multiple features. Add support for
4046           TypeFindFactory features.
4047
4048 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
4049
4050         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4051
4052         * configure.ac:
4053           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4054
4055 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
4056
4057         * gst/gstbin.c: (gst_bin_element_set_state),
4058         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4059         (bin_handle_async_done), (gst_bin_handle_message_func):
4060           Fix build with --gst-disable-gst-debug
4061
4062 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
4063
4064         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4065           Make sure streaming has finished before calling the ::stop() vfunc,
4066           since that vfunc might clear state which is being used in the
4067           streaming thread. This fixes a race that caused crashes in
4068           audioresample when shutting down a pipeline (#420106).
4069
4070 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4071
4072         * docs/gst/gstreamer-sections.txt:
4073           That was one byte missing.
4074
4075 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4076
4077         * configure.ac:
4078         * docs/gst/gstreamer-sections.txt:
4079         * gst/Makefile.am:
4080         * gst/gstconfig.h.in:
4081         * gst/gstobject.c: (gst_object_class_init),
4082         (gst_signal_object_class_init):
4083         * gst/gstobject.h:
4084           2nd attempt to have a xml-less build as a joined effort of #413123
4085           and #421480.
4086
4087 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4088
4089         * docs/design/draft-tagreading.txt:
4090           Added open issues/thoughts to draft.
4091
4092 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4093
4094         * gst/parse/grammar.tab.pre.c:
4095         * gst/parse/grammar.tab.pre.h:
4096         * gst/parse/lex._gst_parse_yy.pre.c:
4097         Update the prebuild parser sources.
4098
4099 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4100
4101         * gst/parse/Makefile.am:
4102         And now fix the building of the flex sources. Now everything should
4103         work as expected.
4104
4105 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4106
4107         * gst/parse/Makefile.am:
4108         Now hopefully fix the build failures by setting proper rule
4109         dependencies and moving instead of copying.
4110
4111 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4112
4113         * tests/benchmarks/complexity.gnuplot:
4114         * tests/benchmarks/complexity.scm:
4115         * tests/benchmarks/mass-elements.gnuplot:
4116         * tests/benchmarks/mass-elements.scm:
4117           Total licensification.
4118
4119 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4120
4121         * gst/parse/Makefile.am:
4122           Fix the build by correcting the rule that gave wrong files to flex.
4123
4124 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4125
4126         * tests/benchmarks/complexity.c:
4127         * tests/benchmarks/mass-elements.c:
4128           Change licence to LGPL as granted by Benjamin and Andy.
4129
4130 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4131
4132         * gst/parse/Makefile.am:
4133         Add correct grammar.tab.h dependency if compiling without new enough
4134         flex. Fixes #431150.
4135
4136 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4137
4138         * gst/parse/Makefile.am:
4139         Fix typo and use outdated sources if the flex/bison sources are newer
4140         than the pregenerated ones but flex is too old. Print a warning in
4141         that case. This should fix the build on the build bot.
4142
4143 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4144
4145         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4146         * gst/parse/Makefile.am:
4147         * gst/parse/grammar.y:
4148         * gst/parse/parse.l:
4149         Make the parser reentrant and recursively callable. This requires flex
4150         >= 2.5.31, for older versions pregenerated sources are used as we
4151         can't bump the build dependency. Finally fixes #349180.
4152
4153         * gst/gstparse.c: (gst_parse_launch):
4154         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4155         now anyway.
4156
4157         * docs/gst/Makefile.am:
4158         * docs/gst/Makefile.am:
4159         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4160         (__gst_parse_strfree), (__gst_parse_link_new),
4161         (__gst_parse_link_free), (__gst_parse_chain_new),
4162         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4163         (gst_parse_element_set), (gst_parse_free_link),
4164         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4165         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4166         (_gst_parse_launch):
4167         * gst/parse/grammar.tab.pre.h:
4168         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4169         (yy_get_previous_state), (yy_try_NUL_trans), (input),
4170         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4171         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4172         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4173         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4174         (_gst_parse_yypop_buffer_state),
4175         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4176         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4177         (yy_fatal_error), (_gst_parse_yyget_extra),
4178         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4179         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4180         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4181         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4182         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4183         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4184         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4185         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4186         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4187         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4188         (_gst_parse_yyfree):
4189         If the installed flex version is too old use pre-generated parser
4190         sources. These pre-generated parser sources are always updated when
4191         the actual flex/bison sources change but require everybody who wants
4192         to change something in the parser to have flex >= 2.5.31 installed.
4193
4194 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
4195
4196         * common/m4/gst-gettext.m4:
4197         * gst/gst-i18n-lib.h:
4198           Make --disable-nls to work
4199
4200 2007-04-17  Wim Taymans  <wim@fluendo.com>
4201
4202         * gst/gstconfig.h.in:
4203         Revert previous change that broke the build.
4204
4205 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
4206
4207         * configure.ac:
4208         * gst/Makefile.am:
4209         * gst/gstconfig.h.in:
4210           Drop libxml2 dependency when building with 
4211           --enable-binary-registry --disable-loadsave
4212
4213 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
4214
4215         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4216         (gst_registry_binary_read_cache):
4217         * gst/gstregistrybinary.h:
4218           Remove unnecessary <sys/mman.h> include which broke the win32 build
4219           with MingW; move includes from header file to .c file, even if the
4220           header file isn't installed; use g_strerror() where UTF-8 strings
4221           are expected, such as in GST_DEBUG messages.
4222
4223 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4224
4225         * docs/libs/gstreamer-libs-sections.txt:
4226         Remove bogus addition for API I didn't end up keeping.
4227
4228         * libs/gst/base/gstbasesrc.h:
4229         Mention Since: 0.10.13 in the documentation.
4230
4231         Add the API keyword to the previous ChangeLog entry.
4232
4233 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4234
4235         * docs/libs/gstreamer-libs-sections.txt:
4236         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4237         (gst_base_src_default_prepare_seek_segment),
4238         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4239         * libs/gst/base/gstbasesrc.h:
4240         Allow basesrc derived classes to execute seeks in other formats
4241         by providing a prepare_seek_segment vmethod. Sub-classes can choose
4242         to prepare the GstSegment in any format that their perform_seek method
4243         will be able to understand. The default implementation provides the
4244         old behaviour of attempting to convert the seek offsets to the 
4245         configured native format.
4246
4247         API: basesrc::prepare_seek_segment vmethod.
4248
4249 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4250
4251         * gst/gstelement.c: (gst_element_get_state_func):
4252         Don't output the same debug statement twice.
4253
4254         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4255         (gst_adapter_peek), (gst_adapter_take_buffer):
4256         Optimise the case where we have buffers at the head of the queue that
4257         can be joined quickly (because they're contiguous sub-buffers) by
4258         merging them together rather than copying data out into new memory.
4259
4260         * gst/parse/grammar.y:
4261         * tests/check/pipelines/parse-launch.c:
4262         Fix a leak in an error path for parse_launch, and add a check 
4263         for it to the testsuite.
4264
4265 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4266
4267         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4268           Don't deadlock when releasing a pad - gst_pad_set_active may try
4269           and take the multiqueue lock too.
4270
4271 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4272
4273         * gst/gsterror.c: (_gst_core_errors_init):
4274         * gst/gsterror.h:
4275           API: add GST_CORE_ERROR_DISABLED (#392804).
4276
4277 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4278
4279         * docs/faq/gst-uninstalled:
4280           don't get empty paths on the PATH variables
4281         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4282           Don't format for the uncommon terminal width of 84 characters.
4283
4284 2007-04-06  Wim Taymans  <wim@fluendo.com>
4285
4286         * gst/gstpipeline.c: (reset_stream_time),
4287         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4288         Only try to select a different pipeline clock when we went back to
4289         PAUSED and not when we merely got flushed.
4290
4291 2007-04-05  Michael Smith  <msmith@fluendo.com>
4292
4293         * tools/gst-launch.1.in:
4294           fractions are better supported in gstreamer than ractions, so
4295           suggest using those.
4296
4297 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4298
4299         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4300
4301         * po/LINGUAS:
4302         * po/da.po:
4303           Added Danish translation.
4304
4305 2007-04-05  Wim Taymans  <wim@fluendo.com>
4306
4307         * libs/gst/base/gstbasesink.c:
4308         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4309         Fix leak caused when refusing newsegment after EOS.
4310
4311         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4312         (gst_fake_sink_init), (gst_fake_sink_set_property),
4313         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4314         (gst_fake_sink_render), (gst_fake_sink_change_state):
4315         * plugins/elements/gstfakesink.h:
4316         Add num-buffers property to make the element generate EOS after a
4317         configurable amount of buffers.
4318         API: fakesink::num-buffers property.
4319
4320         * tests/check/elements/fakesink.c: (GST_START_TEST),
4321         (fakesink_suite):
4322         Fix GstBus leak in test.
4323         Test for fakesink num-buffers.
4324
4325 2007-04-05  Wim Taymans  <wim@fluendo.com>
4326
4327         * libs/gst/base/gstbasesink.c:
4328         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4329         (gst_base_sink_change_state):
4330         Don't accept anything after an EOS, return UNEXPECTED instead.
4331
4332         * tests/check/elements/fakesink.c: (GST_START_TEST),
4333         (fakesink_suite):
4334         Unit test for new EOS behaviour.
4335
4336 2007-04-05  Wim Taymans  <wim@fluendo.com>
4337
4338         * gst/gstelement.c: (gst_element_get_request_pad):
4339         Make padtemplates also work when they don't contain %s or %d.
4340
4341 2007-04-05  Wim Taymans  <wim@fluendo.com>
4342
4343         * docs/gst/gstreamer-sections.txt:
4344         * gst/gstclock.c: (gst_clock_adjust_unlocked),
4345         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4346         * gst/gstclock.h:
4347         Improve _adjust_unlocked() so that it overflows less.
4348         Add gst_clock_unadjust_unlocked to convert from external time to
4349         internal time based on calibration.
4350         Add some more debug.
4351         API: GstClock::gst_clock_unadjust_unlocked()
4352
4353 2007-04-03  Wim Taymans  <wim@fluendo.com>
4354
4355         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4356
4357         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4358         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4359         when releasing sink pad. Fixes #425400.
4360
4361 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
4362
4363         * docs/random/ensonic/dynlink.txt:
4364           More work on proposal for new core api.
4365
4366         * docs/libs/gstreamer-libs-sections.txt:
4367         * libs/gst/base/gstbasetransform.h:
4368           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4369           
4370         * libs/gst/controller/gstcontroller.c:
4371         (on_object_controlled_property_changed),
4372         (gst_controller_sync_values),
4373         (gst_controller_set_interpolation_mode):
4374         * libs/gst/controller/gstcontroller.h:
4375           Less verbose logging add docs for unimplemented parts and correctly
4376           return when using unavailable parts.
4377
4378 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4379
4380         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4381         Move all the debug to the CLOCK category, and associate it with
4382         the clock object.
4383
4384 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4385
4386         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4387         Make take_buffer a bit quicker by removing redundant checks
4388         caused by calling gst_adapter_take.
4389
4390 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4391
4392         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4393           Don't leak GCond.
4394
4395         * tests/check/Makefile.am:
4396         * tests/check/elements/.cvsignore:
4397         * tests/check/elements/multiqueue.c: (setup_multiqueue),
4398         (GST_START_TEST), (multiqueue_suite):
4399           Add some dead simple unit tests for the 'multiqueue' element
4400           (some bits don't work yet and are disabled for now).
4401
4402 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * gst/gstelement.c: (gst_element_get_request_pad),
4405         (gst_element_class_get_request_pad_template):
4406           Make gst_element_get_request_pad() create request pads only for
4407           request pad templates and not for, say, sometimes pad templates.
4408
4409 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
4410
4411         * docs/design/draft-klass.txt:
4412           Add example that needs more thinking.
4413         
4414         * docs/design/draft-missing-plugins.txt:
4415           More thoughts about wrapper plugins.
4416         
4417         * docs/random/ensonic/embedded.txt:
4418         * docs/random/ensonic/profiling.txt:
4419           More design work.
4420
4421 2007-03-25  Wim Taymans  <wim@fluendo.com>
4422
4423         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4424         (gst_base_src_loop):
4425         Only push the segment events in the PLAYING state for live sources.
4426
4427 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
4428
4429         * gst/gstpipeline.c: (gst_pipeline_change_state):
4430         Modify the clock distribution path in PAUSED->PLAYING so that we 
4431         never attempt to choose a new clock unless we're actually leaving
4432         the PAUSED state for the first time. This prevents choosing a
4433         different clock when the state_change gets called for a 2nd time due
4434         to some element doing an async state change.
4435
4436 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4437
4438         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4439         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4440         (gst_pad_chain_unchecked), (gst_pad_push):
4441         Revert last commit. This needs some more thoughts.
4442
4443 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4444
4445         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4446         (gst_pad_chain_unchecked), (gst_pad_push):
4447         Check in set_caps if the caps are compatible with the pad and remove
4448         two functions that are redundant now. Fixes #421543.
4449
4450 2007-03-22  Wim Taymans  <wim@fluendo.com>
4451
4452         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4453         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4454         Unref some more to make valgrind happy.
4455
4456 2007-03-22  Wim Taymans  <wim@fluendo.com>
4457
4458         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4459         (gst_system_clock_id_wait_jitter),
4460         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4461         Fix anoying regression that survived a few releases. When adding an
4462         async entry while blocking on a sync entry, the sync entry will unblock
4463         but still be busy, so it should continue to wait instead of returning
4464         _BUSY to the app.
4465         Add some comments here and there.
4466
4467         * tests/check/gst/gstsystemclock.c: (mixed_thread),
4468         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4469         Add testcase for this.
4470
4471 2007-03-22  Wim Taymans  <wim@fluendo.com>
4472
4473         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4474         Handle errors from the clock sync better, only UNSCHEDULED indicates a
4475         WRONG_STATE and can silently pause the task. All other cases should
4476         error out.
4477
4478 2007-03-22  Wim Taymans  <wim@fluendo.com>
4479
4480         Patch by: Ville Syrjala <syrjala at sci dot fi>
4481
4482         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4483         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
4484         Improve debugging.
4485
4486 2007-03-21  Michael Smith  <msmith@fluendo.com>
4487
4488         * docs/pwg/advanced-types.xml:
4489           Fix some errors in the typefinding docs pointed out on irc.
4490
4491 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
4492
4493         * libs/gst/base/gstbasesrc.c:
4494         Clarify FIXME comment in the face of having added unlock_stop()
4495
4496 2007-03-21  Wim Taymans  <wim@fluendo.com>
4497
4498         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4499         Prepare for release where we warn against possible app breakage in the
4500         case of live pipelines along with an env var to enable/disable live
4501         preroll mode (GST_COMPAT=[no-]live-preroll).
4502
4503 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4504
4505         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4506         So we should use correct constants for checking for None offset.
4507
4508 2007-03-20  Wim Taymans  <wim@fluendo.com>
4509
4510         * docs/design/part-block.txt:
4511         Mention the fact that the newly switched element should be set to at
4512         least PAUSED.
4513
4514 2007-03-20  Wim Taymans  <wim@fluendo.com>
4515
4516         * gst/gst.c:
4517         Fix compilation with registry disabled as spotted by Saur.
4518
4519 2007-03-20  Wim Taymans  <wim@fluendo.com>
4520
4521         Patch by: Olivier Crete <tester at tester dot ca>
4522
4523         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4524         Look at the pending state too when syncing the element state to the
4525         parent. Fixes #420133.
4526
4527 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4528
4529         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4530         (gst_base_sink_change_state):
4531         * libs/gst/base/gstbasesink.h:
4532         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4533         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4534         (gst_base_src_deactivate):
4535         * libs/gst/base/gstbasesrc.h:
4536         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4537         for sub-classes to correctly clear any state they set trying to
4538         unlock, such as clearing out unlock commands from a command fd.
4539         API: basesrc::unlock_stop
4540         API: basesink::unlock_stop
4541
4542         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4543         (gst_fd_sink_render), (gst_fd_sink_unlock),
4544         (gst_fd_sink_unlock_stop):
4545         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4546         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4547         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4548
4549         Implement unlock_stop in fdsrc and fdsink.
4550         Implement seeking in fdsrc when a seekable fd is passed, as in
4551         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4552
4553 2007-03-19  Wim Taymans  <wim@fluendo.com>
4554
4555         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4556
4557         * gst/gstelement.c: (gst_element_class_init):
4558         Fix pad-added and pad-removed signal signatures so that the pad type is
4559         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4560
4561 2007-03-19  Wim Taymans  <wim@fluendo.com>
4562
4563         * docs/gst/gstreamer-sections.txt:
4564         Add new element field and method.
4565
4566         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4567         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4568         (gst_bin_recalc_state), (gst_bin_get_state_func),
4569         (gst_bin_element_set_state), (gst_bin_change_state_func),
4570         (gst_bin_continue_func), (bin_bus_handler),
4571         (bin_push_state_continue), (bin_handle_async_start),
4572         (bin_handle_async_done), (gst_bin_handle_message_func):
4573         Make async state changes a bit smarter by using new ASYNC_START and
4574         ASYNC_DONE messages. This reduces the number of times we run the state
4575         recalculation thread.
4576         Don't change state of element with a pending ASYNC_START message.
4577         Deprecate STATE_DIRTY messages.
4578         
4579         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4580         (gst_element_get_state_func), (gst_element_continue_state),
4581         (gst_element_lost_state), (gst_element_set_state_func),
4582         (gst_element_change_state):
4583         * gst/gstelement.h:
4584         Keep the state that was last set by the app in a new element field.
4585         Don't allow state changes when handling an element event.
4586         Post ASYNC_START and ASYNC_DONE messages.
4587         Change lost_state so that we go to PAUSED and wait for the parent to set
4588         us to PLAYING again (so latency calculation can be performed)
4589         Export gst_element_change_state() method so that subclasses can use it.
4590         API: gst_element_change_state()
4591         API: GST_STATE_TARGET
4592
4593         * gst/gstpipeline.c: (gst_pipeline_class_init),
4594         (reset_stream_time), (gst_pipeline_change_state),
4595         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4596         Using the new ASYNC_START message we can reset the base_time when
4597         needed. This can then be used to implement base_time redistribution in
4598         flushing seeks so that we can remove the explicit seek handling.
4599         Perform latency query and configuration when going to PLAYING.
4600
4601         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4602         (gst_base_sink_query), (gst_base_sink_change_state):
4603         Post new ASYNC_START/ASYNC_DONE messages.
4604
4605         * tests/check/generic/sinks.c: (GST_START_TEST):
4606         Fix test because the bin will not set the async element to PLAYING right
4607         away.
4608
4609         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4610         Make the message check a little stronger.
4611         Handle ASYNC messages.
4612
4613         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4614         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4615         Expect ASYNC_DONE messages.
4616
4617 2007-03-19  Wim Taymans  <wim@fluendo.com>
4618
4619         * docs/gst/gstreamer-sections.txt:
4620         * gst/gstmessage.c: (gst_message_new_async_start),
4621         (gst_message_new_async_done), (gst_message_parse_info),
4622         (gst_message_parse_async_start):
4623         * gst/gstmessage.h:
4624         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4625         support.
4626
4627 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4628
4629         * tools/gst-inspect.c:
4630         (print_plugin_automatic_install_info_codecs):
4631           Now that we don't check for the 'Codec' keyword any longer in the
4632           klass, we shouldn't spew a warning if the klass isn't a decoder or
4633           encoder (since it might be a Source/Network, for example).
4634
4635 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4636
4637         * tools/gst-inspect.c:
4638         (print_plugin_automatic_install_info_codecs):
4639           Don't require decoder/demuxer/depayloader elements or
4640           encoder/muxer/paylader elements to have 'Codec' as part of their
4641           factory class string when introspecting a plugin's capabilities.
4642           draft-klass.txt mentions that it might be removed in future, and
4643           flump3dec doesn't have it as part of its class string, so chances
4644           are others might also not have it.
4645
4646 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4647
4648         * po/af.po:
4649         * po/az.po:
4650         * po/bg.po:
4651         * po/ca.po:
4652         * po/cs.po:
4653         * po/de.po:
4654         * po/en_GB.po:
4655         * po/fr.po:
4656         * po/it.po:
4657         * po/nb.po:
4658         * po/nl.po:
4659         * po/ru.po:
4660         * po/sq.po:
4661         * po/sr.po:
4662         * po/sv.po:
4663         * po/tr.po:
4664         * po/uk.po:
4665         * po/vi.po:
4666         * po/zh_CN.po:
4667         * po/zh_TW.po:
4668           Update translations from translation project
4669
4670 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4671
4672         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4673         (gst_child_proxy_set_property):
4674           Invert precondition check to be alike the ones in the mimiced gobject
4675           api.
4676
4677 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4678
4679         * docs/design/draft-tagreading.txt:
4680         * docs/random/ensonic/audiobaseclasses.txt:
4681           Do some Architect work.
4682
4683         * gst/gstobject.c: (gst_object_set_name):
4684           Add a WARNING.
4685
4686         * gst/gstpad.c:
4687           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4688
4689 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4690
4691         * gst/gstsystemclock.c: (gst_system_clock_init),
4692         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4693         Defer starting the async system clock thread until the first async
4694         wait is scheduled. Fixes #414986.
4695
4696 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4697
4698         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4699         (gst_single_queue_free):
4700           Fix small leak (free GstSingleQueue structure too, not only contents).
4701
4702 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4703
4704         * gst/gstbin.c:(gst_bin_add):
4705         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4706         * win32/common/libgstbase.def:
4707         * win32/common/libgstreamer.def:
4708         Add new exported functions.
4709
4710 2007-03-09  Wim Taymans  <wim@fluendo.com>
4711
4712         * docs/plugins/gstreamer-plugins-sections.txt:
4713         Fix GstTee docs.
4714
4715 2007-03-09  Wim Taymans  <wim@fluendo.com>
4716
4717         * docs/gst/gstreamer-sections.txt:
4718         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4719         * gst/gstbuffer.h:
4720         Add metadata copy functions. Fixes #393099.
4721         API: gst_buffer_copy_metadata()
4722
4723         * gst/gstutils.c: (gst_buffer_stamp):
4724         * libs/gst/base/gstbasetransform.c:
4725         (gst_base_transform_prepare_output_buffer):
4726         Use new metadata copy functions.
4727
4728 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4729
4730         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4731         (gst_identity_init), (gst_identity_check_perfect),
4732         (gst_identity_check_imperfect_timestamp),
4733         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4734         (gst_identity_set_property), (gst_identity_get_property):
4735         * plugins/elements/gstidentity.h:
4736         Separate out check-imperfect-timestamp and check-imperfect-offset.
4737         Put back check-perfect as it was to keep compatibility.
4738
4739 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4740
4741         * gst/gstelement.c: (gst_element_dispose):
4742         There's no need to warn if VOID_PENDING is not NONE here, as
4743         long as the state is NULL it's ok, and that's checked immediately
4744         above.
4745
4746 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4747
4748         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4749         Fix check for perfect stream to ignore buffers with -1 
4750         offsets/offset ends when checking data contiguity.
4751
4752 2007-03-08  Wim Taymans  <wim@fluendo.com>
4753
4754         * tools/gst-launch.c: (event_loop):
4755         Print INFO messages.
4756
4757 2007-03-08  Wim Taymans  <wim@fluendo.com>
4758
4759         * libs/gst/base/gstbasetransform.c:
4760         (gst_base_transform_sink_eventfunc),
4761         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4762         (gst_base_transform_activate):
4763         * libs/gst/base/gstbasetransform.h:
4764         Add support for dropping buffers with custom GstFlowReturn.
4765         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4766         buffers or dropped buffers.
4767
4768         * docs/libs/gstreamer-libs-sections.txt:
4769         docs for new custom return code.
4770
4771         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4772         Use drop support in base class to implement drop-probability.
4773
4774 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4775
4776         * gst/gst.c: (load_plugin_func):
4777         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4778         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4779         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4780           Remove newlines at end of debug log strings.
4781
4782 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4783
4784         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4785         Only post bus message at max, once per buffer received.
4786
4787 2007-03-07  Wim Taymans  <wim@fluendo.com>
4788
4789         * docs/design/Makefile.am:
4790         * docs/design/part-synchronisation.txt:
4791         Add doc about synchronisation
4792
4793         * docs/design/draft-latency.txt:
4794         * docs/design/part-TODO.txt:
4795         * docs/design/part-clocks.txt:
4796         * docs/design/part-events.txt:
4797         * docs/design/part-gstbus.txt:
4798         * docs/design/part-gstpipeline.txt:
4799         * docs/design/part-live-source.txt:
4800         * docs/design/part-messages.txt:
4801         * docs/design/part-overview.txt:
4802         * docs/design/part-streams.txt:
4803         * docs/design/part-trickmodes.txt:
4804         Documentation updates.
4805
4806 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4807
4808         * gstreamer.doap:
4809         Update the doap file.
4810
4811 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4812
4813         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4814         Rename non-perfect to imperfect for Mike and for the sanctity of the
4815         language.
4816         Also make sure bus message gets emitted for data-incontiguities.
4817
4818 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4819
4820         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4821         (gst_identity_start):
4822         * plugins/elements/gstidentity.h:
4823         Emit bus message if check-perfect is true and we encounter a
4824         non-perfect stream between 2 consecutive buffers.
4825         Fixes #415394.
4826
4827 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4828
4829         * configure.ac:
4830         Back to CVS
4831
4832 === release 0.10.12 ===
4833
4834 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4835
4836         * configure.ac:
4837           releasing 0.10.12, "Inevitable Demise"
4838
4839 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4840
4841         * configure.ac:
4842          Version 0.10.11.2 (0.10.12 pre-release)
4843          Bump libtool versioning.
4844
4845 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4846
4847         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4848           Log flow-names and not numbers.
4849
4850 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4851
4852         * configure.ac:
4853           Convert to new AG_GST style.
4854
4855 2007-02-28  Wim Taymans  <wim@fluendo.com>
4856
4857         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4858         Don't unref query twice.
4859
4860 2007-02-28  Wim Taymans  <wim@fluendo.com>
4861
4862         * gst/gstvalue.c: (gst_value_transform_object_string),
4863         (_gst_value_initialize):
4864         Implement GstObject -> string transform so we print object names
4865         when serializing GValues containing GstObjects.
4866
4867 2007-02-28  Wim Taymans  <wim@fluendo.com>
4868
4869         * docs/gst/gstreamer-sections.txt:
4870         Add new stuff to docs.
4871
4872 2007-02-28  Wim Taymans  <wim@fluendo.com>
4873
4874         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4875         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4876         (gst_base_sink_change_state):
4877         Improve latency query code.
4878         Don't leak latency events.
4879
4880         * tests/check/gst/gstbin.c: (GST_START_TEST):
4881         Improve debugging.
4882
4883 2007-02-28  Wim Taymans  <wim@fluendo.com>
4884
4885         * gst/gstelement.c: (gst_element_message_full),
4886         (gst_element_get_state_func):
4887         * gst/gstelement.h:
4888         Improve docs a little. Added Since: for new macro.
4889
4890         * gst/gstobject.c: (gst_object_sink):
4891         * gst/gstpipeline.c: (gst_pipeline_change_state),
4892         (gst_pipeline_set_new_stream_time):
4893         * gst/gstpipeline.h:
4894         Improve debugging and docs.
4895
4896         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4897         Improve debugging.
4898
4899 2007-02-28  Wim Taymans  <wim@fluendo.com>
4900
4901         * gst/gstelement.c: (gst_element_message_full),
4902         (gst_element_set_locked_state), (gst_element_get_state_func),
4903         (gst_element_change_state):
4904         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4905         Documentation updates.
4906         Small code cleanups.
4907
4908         * gst/gstmessage.c: (gst_message_new_info),
4909         (gst_message_parse_info):
4910         * gst/gstmessage.h:
4911         API: gst_message_new_info()
4912         API: gst_message_parse_info()
4913         Add INFO message create and parse code.
4914
4915 2007-02-28  Wim Taymans  <wim@fluendo.com>
4916
4917         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4918         (bin_query_latency_done):
4919         Also report the live parameter of a latency query.
4920
4921 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4922
4923         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4924           Copy the current generic/states example from -base and adapt so
4925           we can use the exact same code everywhere.
4926           Check a STATES_IGNORE_ELEMENTS env var which can be used
4927           to ignore certain element factories for this test, which is
4928           what is being done in -base
4929         * tests/check/Makefile.am:
4930           Mention this environment variable.
4931
4932 2007-02-27  Wim Taymans  <wim@fluendo.com>
4933
4934         * docs/gst/gstreamer-sections.txt:
4935         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4936         (gst_bus_timed_pop), (gst_bus_pop):
4937         * gst/gstbus.h:
4938         API: gst_bus_timed_pop()
4939         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4940         message to arrive on the bus.
4941
4942         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4943         (gst_bus_suite):
4944         Two unit tests for new _timed_pop() function.
4945
4946 2007-02-23  Wim Taymans  <wim@fluendo.com>
4947
4948         * gst/gstpipeline.c: (gst_pipeline_change_state),
4949         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4950         Don't ref a NULL clock in _provide_clock_func().
4951         Don't allow an INVALID delay.
4952         Don't try to calculate base_time with an invalid start_time.
4953         Also distribute and notify a NULL clock when it was selected.
4954
4955         * tools/gst-launch.c: (event_loop):
4956         Don't crash when a NULL clock was selected in the pipeline.
4957
4958 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4959
4960         * docs/design/Makefile.am:
4961         * docs/design/draft-missing-plugins.txt:
4962         * docs/random/draft-missing-plugins.txt:
4963           Some small updates: update plugin system identifier prefix
4964           ('gstreamer.net' to 'gstreamer'), mention our new install
4965           API in libgstbaseutils rather than libgimme-codec, add
4966           reference to the online docs.
4967
4968 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4969
4970         * win32/common/config.h:
4971           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4972           use moap cl ci to only check in what is mentioned in the ChangeLog.
4973
4974 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4975
4976         * docs/gst/gstreamer-sections.txt:
4977         * gst/gstelement.h:
4978           Fix up documentation to link to the correct GstGError section.
4979           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4980
4981 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4982
4983         * tools/gst-launch.c: (event_loop):
4984           Make sure that we actually show the important message part of a
4985           warning message.
4986           No need to check if the gerror is not NULL to free; first of all
4987           g_free accepts NULL; and second the default error handler would
4988           segfault if gerror was NULL.
4989
4990 2007-02-21  Wim Taymans  <wim@fluendo.com>
4991
4992         * docs/gst/gstreamer-sections.txt:
4993         Removed docs as well.
4994
4995 2007-02-21  Wim Taymans  <wim@fluendo.com>
4996
4997         * gst/gstmessage.c: (gst_message_parse_duration):
4998         * gst/gstmessage.h:
4999         Remove new messages for release.
5000
5001 2007-02-20  Wim Taymans  <wim@fluendo.com>
5002
5003         * docs/design/part-gstghostpad.txt:
5004         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5005         (gst_ghost_pad_new_full):
5006         Make the ghostpad a parent of the internal pad again for better backward
5007         compatibility. Don't write code that relies on this however.
5008
5009         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5010         (gst_pad_link_check_hierarchy):
5011         Require that parents should be GstElements in the hierarchy check.
5012
5013 2007-02-20  Wim Taymans  <wim@fluendo.com>
5014
5015         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5016         (gst_bin_change_state_func), (bin_query_min_max_init),
5017         (bin_query_latency_fold), (bin_query_latency_done),
5018         (gst_bin_query):
5019         Improve debug info.
5020         Implement latency query.
5021
5022 2007-02-20  Wim Taymans  <wim@fluendo.com>
5023
5024         * docs/design/part-gstghostpad.txt:
5025         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5026         (gst_ghost_pad_internal_do_activate_push),
5027         (gst_ghost_pad_internal_do_activate_pull),
5028         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5029         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5030         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5031         Do not set the internal pad as a parent anymore so we can avoid
5032         hierarchy linking errors when the ghostpad has no parent yet. This also
5033         fixes failed activation because of unlinked internal pads, which in
5034         turn fixes the impossible case where you have to activate a pad before
5035         you can add it to a running element.
5036         Also fix the docs.
5037
5038         * gst/gstpad.c: (pre_activate), (post_activate),
5039         (gst_pad_set_active), (gst_pad_activate_pull),
5040         (gst_pad_activate_push), (gst_pad_check_pull_range):
5041         Add some more debug info.
5042         Mark activation mode in pre_activate so that we don't try to activate in
5043         endless loops. Fixes #385084.
5044
5045 2007-02-19  Wim Taymans  <wim@fluendo.com>
5046
5047         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5048         (gst_base_transform_check_get_range):
5049         Implement a checkgetrange function instead of relying on the default
5050         core behaviour that assumes we can operate in pull mode if we have a
5051         getrange function. First step at fixing #385084.
5052
5053 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
5054
5055         * gst/gstchildproxy.h:
5056         * libs/gst/base/gstbasesink.h:
5057         * libs/gst/base/gstbasesrc.h:
5058         * libs/gst/base/gstbasetransform.h:
5059         More docs coverage and some ChangeLog surgery (add missing names)
5060
5061 2007-02-15  Wim Taymans  <wim@fluendo.com>
5062
5063         * docs/design/part-TODO.txt:
5064         * docs/design/part-activation.txt:
5065         * docs/design/part-block.txt:
5066         * docs/design/part-buffering.txt:
5067         * docs/design/part-clocks.txt:
5068         * docs/design/part-element-source.txt:
5069         * docs/design/part-events.txt:
5070         * docs/design/part-gstbin.txt:
5071         * docs/design/part-gstbus.txt:
5072         * docs/design/part-gstpipeline.txt:
5073         * docs/design/part-live-source.txt:
5074         * docs/design/part-messages.txt:
5075         * docs/design/part-overview.txt:
5076         * docs/design/part-qos.txt:
5077         * docs/design/part-query.txt:
5078         * docs/design/part-states.txt:
5079         * docs/design/part-trickmodes.txt:
5080         Some doc updates. Start renaming from stream_time to running_time where
5081         it was used wrongly.
5082
5083 2007-02-15  Wim Taymans  <wim@fluendo.com>
5084
5085         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5086         Answer LATENCY query.
5087
5088 2007-02-15  Wim Taymans  <wim@fluendo.com>
5089
5090         * tests/check/gst/gstevent.c: (event_probe), (test_event),
5091         (GST_START_TEST):
5092         Improve debugging.
5093
5094 2007-02-15  Wim Taymans  <wim@fluendo.com>
5095
5096         * gst/gstpad.c: (gst_pad_get_internal_links_default),
5097         (gst_pad_dispatcher):
5098         Improve debugging of default pad dispatcher and query functions.
5099
5100 2007-02-15  Wim Taymans  <wim@fluendo.com>
5101
5102         * docs/gst/gstreamer-sections.txt:
5103         Remove old unused method.
5104
5105 2007-02-13  Wim Taymans  <wim@fluendo.com>
5106
5107         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5108         Fix check
5109
5110 2007-02-13  Wim Taymans  <wim@fluendo.com>
5111
5112         * docs/design/part-seeking.txt:
5113         Some small update.
5114
5115         * gst/gstsegment.c: (gst_segment_set_seek):
5116         Revert old bogus change that should make seeking work again.
5117
5118 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5119
5120         * docs/random/ensonic/dynlink.txt:
5121         * docs/random/ensonic/interfaces.txt:
5122         * docs/random/ensonic/receipies.txt:
5123           Possible dynamic reconnection api, plus some type fixes the other two
5124           docs.
5125
5126 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
5127
5128         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5129         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5130         Also check for an absolute path following file:// in the filesrc
5131         element. Remove redundant check and call g_path_is_absolute() on the
5132         unescaped location.
5133
5134 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5135
5136         * docs/design/draft-klass.txt:
5137           Add existing category analysis.
5138           
5139         * gst/gstcaps.c:
5140           Fix doc example, framerate is a fraction.
5141
5142 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5143
5144         * configure.ac:
5145         * docs/gst/Makefile.am:
5146         * docs/gst/gstreamer-sections.txt:
5147         * docs/libs/Makefile.am:
5148           Erm, forgot a bunch of --extra-dir.
5149
5150 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5151
5152         * configure.ac:
5153         * docs/gst/Makefile.am:
5154         * docs/libs/Makefile.am:
5155         * docs/plugins/Makefile.am:
5156           Add crossreferences to glib/gobject docs.
5157
5158 2007-02-12  Wim Taymans  <wim@fluendo.com>
5159
5160         * docs/design/draft-latency.txt:
5161         Small update.
5162
5163         * docs/libs/gstreamer-libs-sections.txt:
5164         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5165         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5166         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5167         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5168         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5169         (gst_base_sink_get_position), (gst_base_sink_query),
5170         (gst_base_sink_change_state):
5171         * libs/gst/base/gstbasesink.h:
5172         API: gst_base_sink_query_latency() to let subclasses query the upstream
5173         latency.
5174         API: gst_base_sink_get_latency() to let subclasses query the configured
5175         latency in the sink.
5176         Implement query and set latency.
5177         Update some docs.
5178         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5179         don't continue preroll when we are flushing. Fixes #405284.
5180
5181         * tests/check/pipelines/stress.c: (change_state_timeout),
5182         (quit_timeout), (GST_START_TEST), (stress_suite):
5183         Test for #405284.
5184
5185 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5186
5187         Patch by: René Stadler <mail at renestadler de>
5188
5189         * docs/gst/gstreamer-sections.txt:
5190         * gst/gsttaglist.c: (_gst_tag_initialize):
5191         * gst/gsttaglist.h:
5192           API: add GST_TAG_REFERENCE_LEVEL (#403597).
5193
5194 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
5195
5196         * docs/libs/Makefile.am:
5197           Fix path to core docs.
5198
5199         * gst/gstbin.c: (gst_bin_get_by_interface),
5200         (gst_bin_iterate_all_by_interface):
5201           Refix docs by also renaming 'interface' to 'iface' in implementation.
5202
5203         * docs/gst/gstreamer-sections.txt:
5204         * gst/gstcaps.c:
5205         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5206         * gst/gstchildproxy.h:
5207         * gst/gstelementfactory.c:
5208         * gst/gstpadtemplate.h:
5209         * libs/gst/controller/gstcontroller.c:
5210         (gst_controlled_property_new):
5211           Document more.
5212
5213 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
5214
5215         * gst/gstbin.h:(gst_bin_get_by_interface),
5216         (gst_bin_iterate_all_by_interface):
5217         Replace interface parameter name by iface as interface is 
5218         a reserved keyword in Visual Studio for C++ projects so it removes
5219         a build error for application developpers using VS.
5220         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5221         Fix a bug on Windows in uri format check. Now the prefix checked
5222         is file:// and next we check if the path after file:// is absolute.
5223         * win32/common/libgstbase.def:
5224         * win32/common/libgstdataprotocol.def:
5225         * win32/common/libgstgstreamer.def:
5226         Add new exported functions.
5227
5228 2007-02-09  Andy Wingo  <wingo@pobox.com>
5229
5230         * tests/check/pipelines/simple-launch-lines.c
5231         (simple_launch_lines_suite, test_tee): Disable tee test until I
5232         have time to fix it :-(
5233
5234         * tests/check/Makefile.am (noinst_HEADERS): 
5235         * tests/check/libs/libsabi.c: 
5236         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5237         * tests/check/gst/gstabi.c: 
5238         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5239
5240         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5241         tests for push and pull tee behavior.
5242
5243         * plugins/elements/gsttee.h: 
5244         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5245         mark as deprecated as well as unimplemented. It was a crack idea.
5246         Add support for tee operating in pull mode, off by default.
5247
5248         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5249         normal-case logs down to LOG, raise errors to WARNING.
5250         (gst_registry_xml_read_cache): Don't log before calling a function
5251         that logs.
5252
5253         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5254         exit (registry finalize).
5255         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5256         DEBUG log when we emit signals that people don't even have the
5257         chance to connect to.
5258         (gst_registry_scan_path_level): Less logging in the normal case.
5259
5260 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5261
5262         Patch by: Michal Benes <michal dot benes at itonis dot tv>
5263
5264         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5265         Correctly generate EOS for non-seekable files. We don't have a total
5266         length for them and would get an unexpected end of file if we only
5267         special-cased for regular files. (Fixes: #404569)
5268
5269 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5270
5271         * tests/check/elements/filesrc.c: (GST_START_TEST),
5272         (filesrc_suite):
5273         Add unit test for the GstURIHandler interface in filesrc. This also
5274         tests the newly added file://localhost/foo/bar support.
5275
5276 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5277
5278         * gst/gstelementfactory.h:
5279           The klass string is not a hierarchy. Add reference to the design doc
5280           for more information and common types.
5281
5282 2007-02-02  Wim Taymans  <wim@fluendo.com>
5283
5284         * gst/gstquery.c: (gst_query_new_latency):
5285         Remove old structure field.
5286
5287 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
5288
5289         * tools/gst-launch.1.in:
5290           Give example for network streaming (#351998)
5291
5292 2007-02-02  Wim Taymans  <wim@fluendo.com>
5293
5294         * docs/gst/gstreamer-sections.txt:
5295         Add docs for new methods.
5296
5297         * gst/gstevent.c: (gst_event_new_latency),
5298         (gst_event_parse_latency):
5299         * gst/gstevent.h:
5300         Add new LATENCY event to configure latency in a pipeline.
5301         API: gst_event_new_latency
5302         API: gst_event_parse_latency
5303
5304         * gst/gstmessage.c: (gst_message_new_buffering),
5305         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5306         (gst_message_new_latency), (gst_message_parse_buffering),
5307         (gst_message_parse_lost_preroll):
5308         * gst/gstmessage.h:
5309         Added messages used in draft-latency.
5310         API: gst_message_new_lost_preroll
5311         API: gst_message_parse_lost_preroll
5312         API: gst_message_new_prerolled
5313         API: gst_message_new_latency
5314
5315         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5316         (gst_query_parse_latency):
5317         * gst/gstquery.h:
5318         Implemented new latency query as in design doc.
5319         API: gst_query_new_latency
5320         API: gst_query_set_latency
5321         API: gst_query_parse_latency
5322
5323 2007-02-02  Wim Taymans  <wim@fluendo.com>
5324
5325         * docs/design/draft-latency.txt:
5326         Slight redesign to allow for dynamic latency adjustments.
5327
5328         * docs/design/part-negotiation.txt:
5329         Fix some typos.
5330
5331 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5332
5333         reviewed by: Wim Taymans <wim@fluendo.com>
5334
5335         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5336         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5337         Allow file://localhost/foo/bar URLs and correctly fail for every other
5338         hostname that one sets. This was gnomevfssrc is linked for those if
5339         installed as it can handle it (#403172)
5340
5341 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5342
5343         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5344
5345         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5346         (unref_data), (gst_collect_pads_add_pad_full):
5347         * libs/gst/base/gstcollectpads.h:
5348         Don't put the previously added destroy notify in the GstCollectData
5349         struct as all it's padding is already used and we don't want to break
5350         ABI. Instead put in the pad's GObject data for now. This should be
5351         cleaned up for 0.11 (#402393).
5352
5353 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5354
5355         reviewed by: Wim Taymans <wim@fluendo.com>
5356
5357         * docs/libs/gstreamer-libs-sections.txt:
5358         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5359         (unref_data), (gst_collect_pads_add_pad),
5360         (gst_collect_pads_add_pad_full):
5361         * libs/gst/base/gstcollectpads.h:
5362         API: Add function to specify a destroy notification for custom
5363         GstCollectData when adding new pads in GstCollectPads (#402393).
5364
5365 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
5366
5367         * po/sv.po:
5368           Update Swedish translation (#378255).
5369
5370 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5371
5372         * docs/design/draft-klass.txt:
5373           Fix the previous change, this is a list of categories and not a hierarchy.
5374
5375 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5376
5377         * docs/design/draft-klass.txt:
5378           Add info about how to get a list of used classes.
5379
5380 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
5381
5382         * plugins/elements/gsttypefindelement.c:
5383         (gst_type_find_element_chain_do_typefinding),
5384         (gst_type_find_element_change_state):
5385           Don't leak found caps in chain function (no idea why that never
5386           showed up as a leak anywhere).
5387
5388 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
5389
5390         * gst/gstplugin.h:
5391           Fix and expand GstPluginDesc API docs.
5392
5393 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * gst/gstcaps.c:
5396         * gst/gstelementfactory.c:
5397         * gst/gstpadtemplate.h:
5398           api doc fixes
5399
5400         * libs/gst/controller/gstcontroller.c:
5401         (gst_controlled_property_new):
5402         * tests/examples/controller/audio-example.c:
5403           comment fixes
5404
5405 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5406
5407         * configure.ac:
5408           comment about refining the xml deps
5409
5410         * docs/manuals.mak:
5411           comments about moving away from jade for docs
5412         
5413         * gst/gst.c:
5414           recommit the ifdefs to use the binary registry
5415         
5416         * gst/gstbin.c: (gst_bin_change_state_func):
5417           this break is obsolete
5418
5419         * gst/gstelementfactory.h:
5420           better GST_ELEMENT_DETAILS docs, add comment about translation
5421
5422         * gst/gstinfo.h:
5423           remove eol slash
5424
5425         * gst/gstobject.c: (gst_signal_object_get_type):
5426           add G_UNLIKELY as usual
5427
5428         * gst/gstpad.c: (gst_pad_event_default):
5429           add fall trhu comment
5430
5431         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5432         (gst_registry_binary_initialize_magic),
5433         (gst_registry_binary_save_string),
5434         (gst_registry_binary_save_pad_template),
5435         (gst_registry_binary_save_feature),
5436         (gst_registry_binary_save_plugin),
5437         (gst_registry_binary_write_cache),
5438         (gst_registry_binary_check_magic),
5439         (gst_registry_binary_load_pad_template),
5440         (gst_registry_binary_load_feature),
5441         (gst_registry_binary_load_plugin),
5442         (gst_registry_binary_read_cache):
5443           comment typo and formatting
5444
5445         * gst/gstutils.c: (gst_element_state_get_name),
5446         (gst_element_state_change_return_get_name):
5447           remove obsolete breaks
5448
5449         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5450           add FIXME 0.11 and remove cpp comment
5451
5452 2007-01-29  Edward Hervey  <edward@fluendo.com>
5453
5454         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5455         Fix print statement in an even more portable way.
5456
5457 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * docs/gst/gstreamer-sections.txt:
5460         * gst/gstutils.h:
5461           API: add GST_ROUND_DOWN_* macros (#401781).
5462
5463 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
5464
5465         * docs/gst/gstreamer.types.in:
5466         * gst/gstregistry.c: (gst_registry_class_init):
5467           Document registry signals and make gtk-doc pick them up (#401381).
5468
5469 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5470
5471         * docs/pwg/building-testapp.xml:
5472           Add some audioconverts and audioresample to the pipeline, and some
5473           more comments and error handling.
5474
5475 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5476
5477         * docs/manual/manual.xml:
5478         * docs/pwg/pwg.xml:
5479           Fix typo (#400987).
5480
5481 2007-01-26  Wim Taymans  <wim@fluendo.com>
5482
5483         * gst/gstcaps.c: (gst_static_caps_get):
5484         Init caps flags too.
5485
5486 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
5487
5488         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5489
5490         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5491         If not using mmap'ed files try to seek to the end instead of the
5492         start to determine whether we can seek at all. This fixes the case
5493         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5494         seeks for everything afterwards fail. Fixes #400656
5495
5496 2007-01-25  Wim Taymans  <wim@fluendo.com>
5497
5498         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5499         Add some refcount debugging.
5500         Make gst_static_caps_get threadsafe, which is needed when autoplugging
5501         in multiple streaming threads.
5502
5503 2007-01-25  Wim Taymans  <wim@fluendo.com>
5504
5505         Patch by: David Schleef <ds at schleef dot org>
5506
5507         * docs/libs/gstreamer-libs-sections.txt:
5508         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5509         * libs/gst/base/gstadapter.h:
5510         API: gst_adapter_copy() that can reduce the amount of memcpy when
5511         getting data from the adapter. Fixes #388201.
5512
5513 2007-01-25  Edward Hervey  <edward@fluendo.com>
5514
5515         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5516         In print statements, "%x" is for guint. Fixes build on macosx.
5517
5518 2007-01-24  Edward Hervey  <edward@fluendo.com>
5519
5520         * plugins/elements/gstmultiqueue.c:
5521         (gst_multi_queue_loop):
5522         Small fix.
5523         (single_queue_overrun_cb), (single_queue_underrun_cb),
5524         (single_queue_check_full), (gst_single_queue_new):
5525         Implement single queue growth system.
5526         This uses the extra-size properties, and will grow single queues by
5527         that much if one goes full whereas there are others empty. This is
5528         called extra-mode in the code.
5529         When a single queue's levels go back below the initial max-size
5530         limits, it is no longer in extra-mode. This is to ensure we don't
5531         consume too much memory.
5532         Fixes #399875
5533
5534 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5535
5536         * gst/gst.c: (gst_init_get_option_group):
5537           Make warning about late g_thread_init() calls a bit more explicit,
5538           so that it's more obvious to application developers what they need
5539           to do if a user files a bug against their application.
5540
5541 2007-01-22  Edward Hervey  <edward@fluendo.com>
5542
5543         * plugins/elements/gstmultiqueue.c:
5544         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5545         Remove previous hack of unsetting the flushing flag for the source pad
5546         instead of activating it. Instead, fix the source pad activate function
5547         so that it no longer depends on having a parent set or not.
5548
5549 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5550
5551         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5552
5553         * docs/manual/basics-bus.xml:
5554           Fix example code, gst_element_unref() doesn't exist any longer.
5555
5556 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5557
5558         Patch by: Mark Nauwelaerts <manauw at skynet be>
5559
5560         * gst/gstpad.c:
5561           Fix two docs typoes (#399094).
5562
5563 2007-01-19  Edward Hervey  <edward@fluendo.com>
5564
5565         * docs/faq/gst-uninstalled:
5566         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5567         depending on libgstbaseutils can work in uninstalled environment.
5568
5569 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5570
5571         * gst/gsttaglist.h:
5572         * gst/gsttagsetter.c:
5573         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5574         statement for new tag.
5575
5576 2007-01-17  Edward Hervey  <edward@fluendo.com>
5577
5578         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5579         When dynamically creating single queues, activate sinkpad before adding
5580         it.
5581         We should be doing the same thing for the source pad, but we can't
5582         since it would call a method which needs the parent to be set in order
5583         to work propertly. Instead of activating the source pad, we just unset
5584         the flushing flag, which is the minimal requirement for adding a pad
5585         to an element in a state greater than READY.
5586
5587 2007-01-17  Edward Hervey  <edward@fluendo.com>
5588
5589         * docs/faq/gst-uninstalled:
5590         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5591         Mac OS X.
5592
5593 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5594
5595         * tests/check/gst/gstabi.c:
5596         * tests/check/gst/struct_hppa.h:
5597         * tests/check/libs/libsabi.c:
5598         * tests/check/libs/struct_hppa.h:
5599           Add ABI structs for HPPA (see #393796).
5600
5601 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5602
5603         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5604           Actually write ABI structs to the file specified in the GST_ABI
5605           environment variable, as the message we print claims we would.
5606
5607 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5608
5609         * tests/check/gst/gsttask.c:
5610           Fix header comment.
5611
5612 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5613
5614         * gst/gsttaglist.c: (_gst_tag_initialize):
5615           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5616           previous two entries.
5617
5618 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5619
5620         * docs/gst/gstreamer-sections.txt:
5621         * gst/gsttaglist.c: (_gst_tag_initialize):
5622         * gst/gsttaglist.h:
5623           Add tag support for beat-per-minute.
5624
5625 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5626
5627         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5628         (gst_registry_binary_initialize_magic),
5629         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5630         (gst_registry_binary_save_pad_template),
5631         (gst_registry_binary_save_feature),
5632         (gst_registry_binary_save_plugin),
5633         (gst_registry_binary_write_cache),
5634         (gst_registry_binary_check_magic),
5635         (gst_registry_binary_load_pad_template),
5636         (gst_registry_binary_load_feature),
5637         (gst_registry_binary_load_plugin),
5638         (gst_registry_binary_read_cache):
5639         * gst/gstregistrybinary.h:
5640           Use glib types, cleanup comments, impement interfaces and uri-types.
5641
5642 2007-01-13  Andy Wingo  <wingo@pobox.com>
5643
5644         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5645         getrange() to return buffers with other caps, while we fix
5646         demuxers and typefind, or otherwise change part-negotiation.txt.
5647
5648 2007-01-12  Andy Wingo  <wingo@pobox.com>
5649
5650         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5651         Factor start/stop into this private function instead of partially
5652         in activate functions and partially in the change_state function.
5653         Fixes setup before the element has changed from READY->PAUSED, as
5654         is the case in pull-mode pipelines.
5655         (gst_base_transform_sink_activate_push)
5656         (gst_base_transform_src_activate_pull): Refactor to use
5657         gst_base_transform_activate().
5658         (gst_base_transform_change_state): Removed, not needed any more.
5659
5660         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5661         Truncate before fixating.
5662         
5663         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5664         Don't set_caps() if the result of fixating is ANY, as it's not
5665         supported, and not necessary in the case of a link with no
5666         template caps on either side. Fixes tests/check/libs/basesrc in
5667         some pull-mode tests.
5668
5669         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5670         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5671         (gst_base_transform_src_activate_pull): 
5672         Track the activation mode.
5673         (gst_base_transform_setcaps): In pull mode, when activating the
5674         src pad, after activating the sink pad, activate the sink pad's
5675         peer, as discussed in part-negotiation.txt.
5676
5677         * libs/gst/base/gstbasesrc.h: 
5678         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5679         vmethod, as in basesink.
5680
5681         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5682
5683         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5684         mode, first proxy the setcaps to the peer pad.
5685         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5686         new fixate vmethod.
5687         (gst_base_sink_default_activate_pull): Rename from
5688         gst_base_sink_activate_pull.
5689         (gst_base_sink_negotiate_pull): New function, performs negotiation
5690         in pull mode before calling ::activate_pull().
5691         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5692         vmethod instead of the default implementation. I have no idea how
5693         this worked before. Negotiate before calling activate_pull.
5694
5695         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5696         sink pads in pull mode. In addition to being correct, fixes
5697         filesrc ! decodebin ! identity ! fakesink.
5698         (gst_pad_get_range, gst_pad_pull_range): Don't call
5699         gst_pad_set_caps() if the caps changes; instead error out with
5700         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5701
5702 2007-01-12  Andy Wingo  <wingo@pobox.com>
5703
5704         * docs/design/part-negotiation.txt: Update with more policy.
5705
5706 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5707
5708         * libs/gst/check/gstbufferstraw.h:
5709         * libs/gst/check/gstcheck.h:
5710           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5711           belongs.
5712
5713 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5714
5715         * tests/check/Makefile.am:
5716         * tests/check/gst/.cvsignore:
5717         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5718         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5719         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5720         (GST_START_TEST), (gst_tag_setter_suite):
5721           Add minimal unit test for beforementioned GstTagSetter bug.
5722
5723 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5724
5725         Patch by: René Stadler <mail at renestadler dot de>
5726
5727         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5728           gst_tag_list_merge() returns a new list, so it's not the best idea
5729           to ingore its return value. Effectively meant that tags could only
5730           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5731           Also add function guard to require a non-NULL taglist as input (has
5732           always been so due to gst_tag_list_copy(), just making it explicit).
5733
5734 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5735
5736         * docs/random/draft-missing-plugins.txt:
5737           Some additions: mention new API that is supposed to be used at the
5738           various stages; short blob about new gst-inspect introspection
5739           option; mention potential future problem with plugins that have
5740           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5741
5742 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5743
5744         * tools/gst-inspect.c:
5745         (print_plugin_automatic_install_info_codecs),
5746         (print_plugin_automatic_install_info_protocols),
5747         (print_plugin_automatic_install_info), (main):
5748         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5749         introspect plugin files and get machine-parsable output that corresponds
5750         to the last bit of the missing-plugin installer string (small gotcha:
5751         doesn't take into account ranks).
5752
5753 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5754
5755         * configure.ac:
5756         * docs/gst/gstreamer-sections.txt:
5757         * gst/Makefile.am:
5758         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5759         (gst_registry_lookup_locked):
5760         * gst/gstregistry.h:
5761         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5762         (gst_registry_binary_initialize_magic),
5763         (gst_registry_binary_save_string),
5764         (gst_registry_binary_save_pad_template),
5765         (gst_registry_binary_save_feature),
5766         (gst_registry_binary_save_plugin),
5767         (gst_registry_binary_write_cache),
5768         (gst_registry_binary_check_magic),
5769         (gst_registry_binary_load_pad_template),
5770         (gst_registry_binary_load_feature),
5771         (gst_registry_binary_load_plugin),
5772         (gst_registry_binary_read_cache):
5773         * gst/gstregistrybinary.h:
5774         * gst/gstregistryxml.c: (load_feature),
5775         (gst_registry_xml_read_cache):
5776           commit binary registry (disabled by default, see #359653)
5777
5778 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5779
5780         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5781           Fix 'make check' too.
5782
5783 2007-01-10  Andy Wingo  <wingo@pobox.com>
5784
5785         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5786         notes.
5787         
5788         * docs/design/part-negotiation.txt: Update with, um, one way that
5789         pull-mode negotiation might work?
5790
5791         * gst/gstpad.h: 
5792         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5793         that the pad must be a src pad; makes sense to call it the other
5794         way in pull mode, and the logic is symmetric anyway.
5795
5796 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5797
5798         * plugins/elements/gstfilesink.c:
5799           Include <stdio.h> for fseeko().
5800
5801 2007-01-10  Wim Taymans  <wim@fluendo.com>
5802
5803         * gst/gstevent.c:
5804         * gst/gstevent.h:
5805         Reserve LATENCY event.
5806
5807 2007-01-09  Wim Taymans  <wim@fluendo.com>
5808
5809         * docs/design/draft-latency.txt:
5810         Updates.
5811
5812 2007-01-09  Wim Taymans  <wim@fluendo.com>
5813
5814         * docs/design/draft-latency.txt:
5815         Updates.
5816
5817         * gst/gstelement.h:
5818         * gst/gststructure.c:
5819         * gst/gsttrace.c:
5820         Small typo fixes.
5821
5822 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5823
5824         * tests/check/.cvsignore:
5825           Ignore test-registry.xml as well.
5826
5827 2007-01-09  Wim Taymans  <wim@fluendo.com>
5828
5829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5830         unref data at the end when we are done with the pad.
5831
5832 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5833
5834         * docs/gst/gstreamer-sections.txt:
5835         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5836         (init_post), (gst_deinit), (gst_update_registry):
5837         * gst/gst.h:
5838           API: add gst_update_registry() (#391296).
5839
5840         * tests/check/Makefile.am:
5841         * tests/check/gst/gstregistry.c:
5842         * tests/check/gst/.cvsignore:
5843           Simple unit test for the above.
5844
5845 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5846
5847         * gst/gstregistry.c: (gst_registry_scan_path_level):
5848           Plugin extension on HP-UX is .sl, add that to the list of approved
5849           plugin extensions (see #393796).
5850
5851         * tests/check/gst/gstpad.c: (GST_START_TEST):
5852           ulong => gulong. Fixes compilation with HP-UX compiler.
5853
5854         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5855           Fix compilation if valgrind headers are not available.
5856
5857 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5858
5859         * win32/common/libgstreamer.def: 
5860           Add new exported function.
5861         * win32/vs6/libgstbase.dsp: 
5862           Add gstdataqueue.c to the build.
5863         * win32/vs6/libgstcoreelements.dsp:
5864           Add gstmultiqueue.c to the build.
5865         
5866 2007-01-06  Andy Wingo  <wingo@pobox.com>
5867
5868         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5869         activate_pull(), providing for a way to specialize the process of
5870         spawning a thread to pull on the sink pad. There is a default
5871         implementation.
5872
5873         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5874         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5875         (gst_base_sink_init): Renamed pad activation functions (inserting
5876         "_pad" in their names). Refactor to use the new activate_pull
5877         vmethod, as appropriate.
5878         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5879         default activate_pull function to start a task pulling from the
5880         sink pad, as before.
5881
5882         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5883         on the pads if necessary, as in push()/chain(). Update docs.
5884         Shouldn't affect existing pull() usage as it is currently only
5885         being used on buffers without caps.
5886
5887 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5888
5889         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5890         (init_pre):
5891           Call g_thread_init() first thing in gst_init() / gst_check_init().
5892           When initialisation is done via gst_init_get_option_group() and
5893           GOption parsing, issue a warning if the GLib thread system has not
5894           been initialised yet by the time gst_init_get_option_group() is
5895           called, as it's quite likely other GLib functions such as
5896           g_option_context_new() have been called already then, and
5897           g_thread_init() must be called before any other GLib function. The
5898           application in question must be fixed in that case, since memory
5899           corruption might happen otherwise.
5900           We issue the warning because even if the GLib folks decide to work
5901           around the problem on their end in future, this is still an issue
5902           with all GLib versions >= 2.10.0, so we should warn until we depend
5903           on a GLib version we know to be safe.
5904           Update documentation as well.
5905           Closes bug #391278.
5906
5907 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5908
5909         * tools/gst-inspect.c: (main):
5910         * tools/gst-launch.c: (main):
5911         * tools/gst-typefind.c: (main):
5912         * tools/gst-xmlinspect.c: (main):
5913           Call g_thread_init() really really early, before any other GLib
5914           function (see #342564 and recent discussion on gtk-devel-list).
5915
5916 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5919
5920         * gst/gst_private.h:
5921         * gst/gstconfig.h.in:
5922         * gst/gstinfo.h:
5923           On win32, all the __declspec stuff for symbol exporting is
5924           apparently only needed with MSVC, but doesn't work with MingW.
5925           Fixes compilation with MingW and #391909.
5926
5927 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5928
5929         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5930           Change some GST_ERROR_OBJECT that aren't really errors to
5931           GST_WARNING_OBJECT in order to reduce terminal spam.
5932
5933 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5934
5935         * tests/check/Makefile.am:
5936           disable test again, as there seem to be still race problems
5937
5938 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5939
5940         * tests/check/Makefile.am:
5941         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5942         (GST_START_TEST), (queue_suite):
5943           enable queue test again, add tests for the leaky behaviour
5944
5945 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947         * configure.ac:
5948         * tests/examples/Makefile.am:
5949           Compile adapter test/example only if the required headers are
5950           available (fixes #391915).
5951
5952 2007-01-01  David Schleef  <ds@schleef.org>
5953
5954         * gst/gstplugin.c:
5955           Restore the previous signal handler for SIGSEGV instead of
5956           setting to default, since we may have stolen it away from
5957           someone.  (i.e., Mono)
5958
5959 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5960
5961         * docs/random/draft-missing-plugins.txt:
5962           Some small additions and clarifications.
5963
5964 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5965
5966         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5967           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5968           since that can lead to random memory corruptions and crashes
5969           (may or may not be related to #383244, #386711, and #386711).
5970
5971 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5972
5973         * tests/check/.cvsignore:
5974         * tests/check/Makefile.am:
5975           sync .cvsignome and CLEANFILES
5976
5977 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5978
5979         * tests/check/Makefile.am:
5980           fix distcheck
5981
5982 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5983
5984         * docs/design/part-states.txt:
5985           two tiny additional comments
5986         
5987         * gst/gststructure.c:
5988           doc fixing
5989
5990         * tests/check/Makefile.am:
5991         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5992         (GST_START_TEST):
5993           disable test for now, unless it gets fixed
5994
5995 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5996
5997         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5998         (GST_START_TEST):
5999           fix race in underrun test
6000
6001 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6002
6003         * tests/check/elements/.cvsignore:
6004           ignore more
6005
6006         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6007         (GST_START_TEST):
6008           try to narrow test failure
6009
6010 2006-12-21  David Schleef  <ds@schleef.org>
6011
6012         * plugins/elements/gstfakesrc.c:
6013           Use g_random_int_range(), since it produces better random
6014           numbers in a range than almost-correct floating point code.
6015
6016 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6017
6018         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6019         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6020         (gst_check_teardown_sink_pad):
6021           do not automatically (de)activate pads
6022
6023         * tests/check/Makefile.am:
6024         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6025         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6026           add new, yet simple tests for queue
6027
6028         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6029         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6030         * tests/check/elements/filesrc.c: (cleanup_filesrc),
6031         (GST_START_TEST):
6032         * tests/check/elements/identity.c: (cleanup_identity):
6033           consistent pad (de)activation
6034
6035 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
6036
6037         Patch by: Sebastian Dröge  <slomo ubuntu com>
6038
6039         * libs/gst/base/gstcollectpads.c:
6040           Fix two doc typos (#387866).
6041
6042 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * docs/manual/advanced-dparams.xml:
6045           Fix typo (g_object_control_properties() doesn't exist).
6046
6047 2006-12-19  Edward Hervey  <edward@fluendo.com>
6048
6049         * gst/gstsegment.c: (gst_segment_set_seek):
6050         Fine tune the cases where the segment start/stop values are really
6051         updated.
6052         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6053         Add tests for the return values of gst_segment_set_seek().
6054
6055 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6056
6057         * gst/gst.c:
6058           Docs typo fix.
6059
6060         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6061         (gst_queue_init):
6062           Fix incorrect documentation and flesh it out a bit more.
6063           Set default values for the max properties on the GParamSpec as well,
6064           so it shows up correctly in gst-inspect.
6065
6066 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6069           Correct docs of queue, add more detail and crosslink it more.
6070
6071 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6074           Print additional debug info when the stream isn't perfectly
6075           timestamped; don't try to use invalid durations.
6076
6077 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6078
6079         * docs/design/Makefile.am:
6080           Dist new design docs.
6081
6082 2006-12-16  Wim Taymans  <wim@fluendo.com>
6083
6084         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6085
6086         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6087         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6088         (gst_collect_pads_stop), (gst_collect_pads_event),
6089         (gst_collect_pads_chain):
6090         * libs/gst/base/gstcollectpads.h:
6091         Add refcounting to the collectpads data so we can track when it's safe
6092         to free the data. Fixes #383382.
6093
6094 2006-12-15  Wim Taymans  <wim@fluendo.com>
6095
6096         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6097         (gst_collect_pads_remove_pad):
6098         Automatically activate/deactivate pads when they are added to a
6099         started/stoped collectpads.
6100
6101 2006-12-15  Wim Taymans  <wim@fluendo.com>
6102
6103         * gst/gstelement.c: (gst_element_add_pad):
6104         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6105         * gst/gstpad.c: (gst_pad_init):
6106         Set pads to FLUSHING when they are created. Check, warn and fix when a
6107         demuxer adds an inactive pad to itself when running. Fixes #339326.
6108
6109 2006-12-15  Wim Taymans  <wim@fluendo.com>
6110
6111         * gst/gstelement.c: (gst_element_class_init),
6112         (gst_element_default_send_event), (gst_element_send_event),
6113         (gst_element_default_query), (gst_element_query):
6114         Expose default element send_event and query handling as vmethods that
6115         subclasses can chain up to.
6116
6117 2006-12-15  Wim Taymans  <wim@fluendo.com>
6118
6119         * gst/gstelement.c: (gst_element_set_state_func):
6120         Small documentation fixes.
6121
6122 2006-12-15  Wim Taymans  <wim@fluendo.com>
6123
6124         * docs/design/draft-latency.txt:
6125         Checked in draft for handling latency in pipelines.
6126
6127 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6128
6129         * Makefile.am:
6130         * gstreamer.doap:
6131         * gstreamer.spec.in:
6132           adding .doap file
6133
6134 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * gst/gst.c: (init_pre), (init_post):
6137           init_pre() and init_post() might be called via our GOptionGroup or
6138           from gst_init(), and we should skip both of them if we've already
6139           been initialised, otherwise we will init some things twice or add
6140           two default log functions.
6141
6142 2006-12-13  Edward Hervey  <edward@fluendo.com>
6143
6144         * docs/manual/basics-bus.xml:
6145         No, gst_main_loop does not exist. Its g_main_loop.
6146         Discovered by somebody who abused the copy-paste technique of coding :)
6147
6148 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
6149
6150         * gst/gstghostpad.c:
6151           Log ghostpad debug stuff to the GST_PADS category as well rather
6152           than just to the default category.
6153
6154 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         * configure.ac:
6157         * gst/gst.c: (init_pre):
6158           Add some basic system details such as OS and architecture
6159           to the debug output if possible, courtesy of uname().
6160
6161 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6162
6163         * docs/gst/running.xml:
6164           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6165           environment variables.
6166
6167 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6168
6169         * tests/check/gst/gstbin.c: (GST_START_TEST):
6170         It is acceptable to have a refcount of 2 or 3 at this point in the
6171         test, because the pipeline might be just posting its state_change
6172         message. The next line then waits for that message to appear using
6173         bus_poll, so that should be fine too.
6174
6175 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6176
6177         * gst/gst.c: (ensure_current_registry_forking):
6178         Ignore EINTR when reading from the child registry pipe.
6179         Explicitly ignore the return value from close, since it makes no
6180         difference.
6181
6182         * gst/gstminiobject.c: (gst_mini_object_ref),
6183         (gst_mini_object_unref):
6184         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6185
6186         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6187         When removing cached plugins, remove their features too, so they're
6188         not visible after they've disappeared.
6189
6190         * gst/gstutils.c: (prepare_link_maybe_ghosting):
6191         In the unlikely case that we are linking pads with no parents, don't
6192         crash trying to get the non-existent parent bin.
6193
6194         * gst/parse/grammar.y:
6195         Output debug in the PIPELINE category
6196
6197 2005-03-08  Wim Taymans  <wim@fluendo.com>
6198
6199         Patch by: René Stadler <mail at renestadler dot de>
6200
6201         * gst/gstclock.c: (gst_clock_new_periodic_id):
6202         Reject invalid clock times for interval of periodic ids.
6203         Fixes ##383506.
6204
6205 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6206
6207         * gst/gstelementfactory.c: (gst_element_factory_create):
6208         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6209         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6210         * tools/gst-inspect.c: (print_element_info):
6211         Fix refcounting of gst_plugin_feature_load to match the docs. 
6212         Fixes: #380129
6213
6214 2006-12-07  Wim Taymans  <wim@fluendo.com>
6215
6216         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6217         (gst_base_sink_get_position):
6218         Improve debugging of events.
6219
6220 2006-12-07  Wim Taymans  <wim@fluendo.com>
6221
6222         Patch by: René Stadler <mail at renestadler dot de>
6223
6224         * gst/gstclock.c: (gst_clock_id_wait):
6225         Make period ids add the interval to the origial requested time instead
6226         of the possibly updated time which can be wrong when there are multiple
6227         waiters for the same id. Fixes #382592.
6228
6229         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6230         (gst_system_clock_id_wait_jitter_unlocked),
6231         (gst_system_clock_id_wait_jitter):
6232         Fix restart in the async notify thread when an async entry is added to
6233         the front of the list. Fixes #381492. 
6234
6235         * tests/check/gst/gstsystemclock.c: (store_callback),
6236         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6237         Added test for multiple async waits.
6238         Added test for async wait order.
6239
6240 2006-12-07  Wim Taymans  <wim@fluendo.com>
6241
6242         * gst/gstbin.c: (gst_bin_query):
6243         Add some more docs about the POSITION query.
6244
6245 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6246
6247         * configure.ac:
6248         Bump version nano - back to CVS.
6249
6250 === release 0.10.11 ===
6251
6252 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
6253
6254         * configure.ac:
6255           releasing 0.10.11, "Love never runs on time"
6256
6257 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
6258
6259         * win32/common/libgstbase.def:
6260         * win32/common/libgstreamer.def:
6261         * win32/vs8/libgstbase.vcproj:
6262         * win32/vs8/libgstcoreelements.vcproj:
6263         * win32/vs8/libgstreamer.vcproj:
6264         Fix compilation on win32 under VS8
6265         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6266         Partially fixes #381175
6267
6268 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6269
6270         * gst/gstvalue.c: (gst_value_compare_fraction):
6271         If someone is foolish enough to compare 2 fractions with denominator =
6272         0, return UNORDERED rather than aborting.
6273
6274 2006-11-28  Edward Hervey  <edward@fluendo.com>
6275
6276         * libs/gst/base/Makefile.am:
6277         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6278         (gst_data_queue_base_init), (gst_data_queue_class_init),
6279         (gst_data_queue_init), (gst_data_queue_new),
6280         (gst_data_queue_cleanup), (gst_data_queue_finalize),
6281         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6282         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6283         (gst_data_queue_is_empty), (gst_data_queue_is_full),
6284         (gst_data_queue_set_flushing), (gst_data_queue_push),
6285         (gst_data_queue_pop), (gst_data_queue_drop_head),
6286         (gst_data_queue_set_property), (gst_data_queue_get_property):
6287         * libs/gst/base/gstdataqueue.h:
6288         New GstDataQueue object for threadsafe queueing. Most useful for
6289         elements that need some queueing functionnality.
6290         * docs/libs/gstreamer-libs-docs.sgml:
6291         * docs/libs/gstreamer-libs-sections.txt:
6292         Insert documentation for GstDataQueue
6293         * plugins/elements/Makefile.am:
6294         * plugins/elements/gstelements.c:
6295         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6296         (gst_multi_queue_class_init), (gst_multi_queue_init),
6297         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6298         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6299         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6300         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6301         (gst_multi_queue_loop), (gst_multi_queue_chain),
6302         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6303         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6304         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6305         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6306         (wake_up_next_non_linked), (compute_next_non_linked),
6307         (single_queue_overrun_cb), (single_queue_underrun_cb),
6308         (single_queue_check_full), (gst_single_queue_new):
6309         * plugins/elements/gstmultiqueue.h:
6310         New multiqueue element, using GstDataQueue. Used for queuing multiple
6311         streams.
6312         Closes #344639 and #347785
6313
6314 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
6315
6316         * docs/pwg/advanced-types.xml:
6317           add more missing type details
6318
6319         * tools/gst-run.c: (main):
6320           remove unused variable
6321
6322 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
6323
6324         * docs/libs/Makefile.am:
6325         * docs/libs/gstreamer-libs.types:
6326           add types of base classes to enable gobject specific stuff in the docs
6327
6328         * docs/random/ensonic/embedded.txt:
6329           more ideas about isolating platform specific things
6330
6331 2006-11-20  Wim Taymans  <wim@fluendo.com>
6332
6333         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6334
6335         * libs/gst/check/gstcheck.h:
6336         Fix compilation and running against 0.9.4. Fixes #377332.
6337
6338 2006-11-20  Wim Taymans  <wim@fluendo.com>
6339
6340         * gst/gstsegment.c: (gst_segment_set_seek),
6341         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6342         (gst_segment_to_running_time):
6343         Fix boundary checking in to_running_time() and to_stream_time().
6344         Fixes #377183.
6345
6346         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6347         stream and running time can now be calculated for the complete
6348         clipped segment.
6349
6350 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
6351
6352         * gst/gstpad.c: (gst_pad_push_event):
6353           Can't access event structure after giving away ownership of
6354           the event.
6355
6356 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
6357
6358         * docs/random/ensonic/embedded.txt:
6359         * docs/random/ensonic/profiling.txt:
6360         * docs/random/ensonic/receipies.txt:
6361           more thinking
6362
6363 2006-11-13  Wim Taymans  <wim@fluendo.com>
6364
6365         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6366
6367         * gst/gstpad.c:
6368         Fix documentation for gst_pad_dispatcher. Fixes #374475.
6369
6370 2006-11-13  Wim Taymans  <wim@fluendo.com>
6371
6372         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6373
6374         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6375         Store new length in segment duration so we don't keep on calling the
6376         potentially expensize get_size() call. Fixes #370865.
6377
6378 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
6379
6380         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
6381
6382         * win32/common/libgstreamer.def:
6383           Add two missing symbols (#366492).
6384
6385 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
6386
6387         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6388         (gst_adapter_take_buffer):
6389         Fix format string to use all its arguments.
6390         Remove useless >= check on a guint
6391
6392 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6393
6394         * tests/examples/adapter/.cvsignore:
6395         Ignore build file as commanded by the build-bot
6396
6397 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6398
6399         * tests/examples/adapter/Makefile.am:
6400         * tests/examples/adapter/adapter_test.c: (run_test_take),
6401         (run_test_take_buffer), (run_tests), (main):
6402
6403         Add new files from the previous commit
6404
6405 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6406
6407         * Makefile.am:
6408         * configure.ac:
6409         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6410         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6411         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6412         * libs/gst/base/gstadapter.h:
6413         * tests/check/libs/adapter.c: (create_and_fill_adapter),
6414         (GST_START_TEST), (gst_adapter_suite):
6415         * tests/examples/Makefile.am:
6416         Do some optimisation work in GstAdapter to avoid copies in more cases.
6417         It could still do slightly better by merging buffers when
6418         gst_buffer_is_span_fast is true, but is already faster. 
6419
6420         Also, avoid traversing a single-linked list to append each incoming 
6421         buffer inside the adapter.
6422
6423         Add simple test app that times the adapter behaviour in different
6424         situations, and extend the unit test to check that bytes enter and
6425         exit the adapter in their original order.
6426
6427 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
6428
6429         * docs/random/draft-missing-plugins.txt:
6430           Update: use element message instead of adding a new message
6431           type to the core; don't provide GStreamer API to initiate the
6432           plugin download, just provide API to compose the strings needed
6433           and let an external libgimmestuff handle the rest.
6434
6435 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
6436
6437         * tools/gst-inspect.c: (print_element_properties_info):
6438         Print a string instead of 'unknown type' for GValueArray properties
6439
6440 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
6441
6442         * docs/random/draft-missing-plugins.txt:
6443         More small fixes.
6444
6445 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6446
6447         * tests/examples/typefind/typefind.c: (type_found), (main):
6448           Make typefind element example work again (#371894); add a
6449           license header.
6450
6451 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * docs/random/draft-missing-plugins.txt:
6454           Commit initial draft about how to deal with missing plugins,
6455           needs work (API too).
6456
6457 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
6458
6459         * docs/pwg/advanced-types.xml:
6460           documents the new caps elements (see #363118)
6461
6462 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * gst/gstplugin.c: (gst_plugin_load_file):
6465         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6466         (gst_file_src_map_region), (gst_file_src_start):
6467         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6468         (gst_file_index_commit):
6469           Use g_strerror() instead of strerror() - we want UTF-8.
6470
6471 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6472
6473         Patch by: Peter Kjellerstedt <pkj at axis com>
6474
6475         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6476           Another printf fix (#371493).
6477
6478 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6479
6480         * tests/check/gst/gsttag.c:
6481           relicence (okay with author=company)
6482
6483 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6484
6485         * gst/gstpad.c: (gst_pad_event_default_dispatch),
6486         (gst_pad_push_event):
6487           Enhance debug and improve docs
6488         
6489         * gst/gsturi.c:
6490           Fix docs
6491
6492 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6493
6494         * docs/random/ensonic/distributed.txt:
6495         * docs/random/ensonic/profiling.txt:
6496           more ideas
6497
6498 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6499
6500         * docs/gst/gstreamer-sections.txt:
6501           add new API and fix the build
6502           
6503         * gst/gstbin.c: (gst_bin_recalc_state):
6504         * gst/gstelement.c: (gst_element_message_full),
6505         (gst_element_get_state_func), (gst_element_set_state_func):
6506           use new API and improve logging
6507         
6508         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6509         * gst/gstutils.h:
6510           API: add function to get StateChangereturn names to improve logs 
6511
6512 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6513
6514         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6515           I'm considering shooting the next person to put strerror stuff
6516           in the translateable part of the message.
6517
6518 2006-11-03  Wim Taymans  <wim@fluendo.com>
6519
6520         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6521         Get the type and printf conversion specifiers right.
6522
6523 2006-11-03  Wim Taymans  <wim@fluendo.com>
6524
6525         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6526
6527         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6528         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6529         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6530         Some small cleanups. Improve debugging.
6531         * gst/gstpad.h:
6532         Signal all waiting threads with a broadcast instead of just one.
6533         Fixes #369942.
6534
6535 2006-11-03  Wim Taymans  <wim@fluendo.com>
6536
6537         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6538         (gst_fd_src_create):
6539         Add some debugging. 
6540         Only update fd when it's different from the old.
6541
6542 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6545           Printf fixes for PPC/OSX, take two (#369366).
6546
6547 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6550
6551         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6552         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6553         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6554           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6555           don't cast to long long for portability reasons, but use
6556           GLib's types instead.
6557
6558 2006-10-30  Michael Smith  <msmith@fluendo.com>
6559
6560         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6561           Get the arguments to lseek() the right way around.
6562           Fixes 367677.
6563
6564 2006-10-30  Wim Taymans  <wim@fluendo.com>
6565
6566         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6567
6568         * gst/gstinfo.h:
6569         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6570
6571 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6572
6573         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6574
6575         * docs/design/part-MT-refcounting.txt:
6576         * docs/random/wtay/capsnego2-docs:
6577         * gst/gstclock.c:
6578         * gst/gstxml.c:
6579           Typo fixes (#366212).
6580
6581 2006-10-28  Wim Taymans  <wim@fluendo.com>
6582
6583         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6584
6585         * gst/gst.c:
6586         * win32/common/libgstbase.def:
6587         * win32/common/libgstreamer.def:
6588         * win32/vs8/libgstbase.vcproj:
6589         * win32/vs8/libgstcontroller.vcproj:
6590         Add needed entries in .def files.
6591         Use HAVE_UNISTD_H.
6592         Rearrange def files in vs8 solutions. Fixes #366286.
6593
6594 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6595
6596         * win32/common/gstconfig.h:
6597           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6598           hand-made win32 gstconfig.h. Fixes #366321.
6599
6600 2006-10-27  Wim Taymans  <wim@fluendo.com>
6601
6602         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6603         (gst_ghost_pad_new_full):
6604         Make acceptcaps return TRUE when we don't have a target, just like
6605         setcaps does.
6606
6607 2006-10-27  Wim Taymans  <wim@fluendo.com>
6608
6609         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6610         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6611
6612 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6613
6614         * gst/gststructure.c: (gst_structure_id_set_value):
6615           If someone tries to set a non-UTF8 string field on a structure,
6616           don't just print a warning, but also ignore the request and do
6617           not change/add that field to the structure.
6618
6619         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6620           Test for the above.
6621
6622 2006-10-25  David Schleef  <ds@schleef.org>
6623
6624         * gst/gstinfo.c:
6625           g_hash_table_insert() needs a cast to a non-const pointer duh.
6626
6627 2006-10-25  David Schleef  <ds@schleef.org>
6628
6629         * gst/gstinfo.c:
6630         * gst/gstinfo.h:
6631           Change name parameter of _gst_debug_register_funcptr to const
6632           to reflect the constness of its use in the function as well
6633           as to quiet a gcc warning.
6634
6635 2006-10-25  Edward Hervey  <edward@fluendo.com>
6636
6637         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6638         Don't push the buffer if it's empty.
6639         Closes #363095
6640
6641 2006-10-24  Wim Taymans  <wim@fluendo.com>
6642
6643         * gst/gstevent.h:
6644         Add small comment.
6645
6646         * libs/gst/base/gstbasetransform.c:
6647         (gst_base_transform_sink_eventfunc):
6648         Debug segment values *after* updating them as this is more
6649         interesting.
6650
6651 2006-10-23  Wim Taymans  <wim@fluendo.com>
6652
6653         * docs/design/part-events.txt:
6654         Update some docs.
6655
6656         * docs/design/part-block.txt:
6657         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6658         (gst_pad_push_event):
6659         Revert BLOCKING patch, it tries to be smart without really having a
6660         clear idea what or how. So, now we discard all FLUSHING events again on
6661         a blocking pad. Should fix gnonlin again.
6662
6663 2006-10-23  Wim Taymans  <wim@fluendo.com>
6664
6665         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6666
6667         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6668         (gst_base_src_start), (gst_base_src_activate_push):
6669         Make sure size is always initialized. Fixes #364388.
6670
6671 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6672
6673         * docs/random/ensonic/distributed.txt:
6674           add some ideas about doing distributed processing
6675
6676         * docs/random/ensonic/profiling.txt:
6677           get_rusage look promising
6678
6679 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6680
6681         * docs/manual/basics-helloworld.xml:
6682           Add a cast in example to fix compile warning
6683
6684 2006-10-18  Wim Taymans  <wim@fluendo.com>
6685
6686         * gst/gstsegment.c: (gst_segment_set_last_stop),
6687         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6688         Relax arg checking again, -1 is allowed.
6689
6690 2006-10-18  Wim Taymans  <wim@fluendo.com>
6691
6692         * gst/gstsegment.c: (gst_segment_set_last_stop),
6693         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6694         _set_last_stop() must be with a value != -1
6695         A _TYPE_SET to -1 means seek to 0.
6696         Calc last_stop correctly for negative rates.
6697         Make sure we work with positive durations when updating a segment.
6698
6699 2006-10-18  Wim Taymans  <wim@fluendo.com>
6700
6701         * docs/design/part-live-source.txt:
6702         * gst/gstclock.h:
6703         Small docs fixes.
6704
6705 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6706
6707         * gst/gstbuffer.h:
6708           Add an explicit cast to GstBuffer** to keep old code that added an
6709           explicit cast to GstMiniObject** for gst_mini_object_replace()
6710           compiling without warning.
6711
6712 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6713
6714         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6715           check for validity of dates
6716
6717 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6718
6719         * docs/gst/gstreamer-sections.txt:
6720           Forgot this one, makes gtk-doc shut up.
6721
6722 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         Patch by: Peter Kjellerstedt <pkj at axis com>
6725
6726         * gst/gstobject.h:
6727           Don't define xmlNodePtr to gpointer if the core was built with
6728           --disable-loadsave and --disable-registry, this will break
6729           applications that want to use libxml2 but are buildling against a
6730           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6731           instead so we don't have to mess with the libxml2 namespace
6732           (#361675).
6733
6734 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * gst/gstbuffer.h:
6737           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6738           type-punned pointer warnings.
6739
6740 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6741
6742         * gst/gstelement.h:
6743           Add casts to the correct return type to state <=> state transition
6744           macros.
6745
6746 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6747
6748         * docs/design/part-live-source.txt:
6749           describe howto handle latency
6750         
6751         * docs/random/ensonic/profiling.txt:
6752           more ideas
6753
6754         * tools/gst-plot-timeline.py:
6755           fix log parsing for solaris, remove unused function
6756
6757 2006-10-16  Wim Taymans  <wim@fluendo.com>
6758
6759         * docs/design/part-trickmodes.txt:
6760         * gst/gstevent.c:
6761         Update some docs regarding reverse playback.
6762
6763 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6764
6765         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6766
6767         * win32/vs8/grammar.vcproj:
6768           Error out with a warning if glib-genmarshal.exe is not in path,
6769           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6770
6771 2006-10-13  Wim Taymans  <wim@fluendo.com>
6772
6773         * gst/gstsegment.c: (gst_segment_set_seek):
6774         When seeking to stop -1, set last_stop (current position) to the
6775         duration of the segment.
6776
6777 2006-10-13  Wim Taymans  <wim@fluendo.com>
6778
6779         * gst/gstelement.h:
6780         Clarify _NO_PREROLL a bit more.
6781
6782         * gst/gstevent.c:
6783         Fix docs.
6784
6785         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6786         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6787         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6788         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6789         due to wrong locking order. Fixes #361769.
6790         Remove some redundant/misplaced checks in pad_block.
6791
6792         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6793         For negative rates, count backwards from the duration.
6794
6795 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6796
6797         * gst/gsterror.c: (_gst_library_errors_init):
6798           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6799           up with something better).
6800
6801 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6802
6803         * win32/vs6/libgstreamer.dsp:
6804         * win32/vs7/libgstreamer.vcproj:
6805         * win32/vs8/libgstreamer.vcproj:
6806           Don't reference glib-compat.c which is currently not used and not
6807           disted; add gstquark.c which was recently added. Fixes #361730.
6808
6809 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6810
6811         * win32/common/libgstbase.def:
6812         * win32/common/libgstcontroller.def:
6813         * win32/common/libgstreamer.def:
6814           Add gst_caps_merge() and a bunch of other recently-added functions.
6815           Fixes #361732.
6816
6817 2006-10-11  Wim Taymans  <wim@fluendo.com>
6818
6819         * docs/plugins/gstreamer-plugins.args:
6820         * docs/plugins/inspect/plugin-coreelements.xml:
6821         * docs/plugins/inspect/plugin-coreindexers.xml:
6822         Update element args.
6823
6824         * gst/gstsystemclock.c:
6825         Small comment update.
6826
6827         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6828         (gst_tee_request_new_pad), (gst_tee_release_pad),
6829         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6830         (gst_tee_sink_activate_pull):
6831         * plugins/elements/gsttee.h:
6832         Some tee loving:
6833         Add default property defines.
6834         Implement release pad function.
6835         Give properties better blubs etc.
6836         Activate pads before adding them to a running tee.
6837         Do simple buffer_alloc on the first requested pad.
6838         Post error when activation fails.
6839
6840 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6841
6842         * gst/gst.c: (ensure_current_registry_forking):
6843           Check return value of write() to make compiler happy.
6844
6845 2006-10-11  Wim Taymans  <wim@fluendo.com>
6846
6847         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6848
6849         * plugins/elements/gstqueue.c: (gst_queue_chain):
6850         Recheck queue filledness after signalling the overrun when we're about
6851         to leak downstream because we released the lock when emitting the signal
6852         and the queue could be empty again. Fixes #352345.
6853
6854 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6855
6856         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6857           Fix refcounting here too, just like we did for _new_valist() a few
6858           days ago (#357180) (thanks to René Stadler). Also remove all those
6859           'Since: 0.9' from the gtk-doc blobs.
6860
6861         * tests/check/libs/controller.c: (controller_refcount_new_list),
6862         (gst_controller_suite):
6863           Unit test for the above.
6864
6865 2006-10-10  Wim Taymans  <wim@fluendo.com>
6866
6867         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6868
6869         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6870         (gst_pad_save_thyself):
6871         Update some docs.
6872         Write pad direction in XML output. Fixes #345496.
6873
6874 2006-10-10  Wim Taymans  <wim@fluendo.com>
6875
6876         Patch by: René Stadler <mail at renestadler dot de>
6877
6878         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6879         (gst_controller_new_list), (_gst_controller_dispose),
6880         (_gst_controller_finalize), (_gst_controller_class_init):
6881         Take ref to controlled object so that it cannot disappear. 
6882         Fixes #357432.
6883
6884 2006-10-10  Wim Taymans  <wim@fluendo.com>
6885
6886         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6887         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6888         (gst_check_teardown_sink_pad):
6889         Activate/deactivate pads in setup/teardown respectively.
6890
6891 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6892
6893         Patch by: Josep Torre Valles <josep@fluendo.com>
6894
6895         * gst/Makefile.am:
6896         Cast values when making gstenumtypes.h.  This pacifies Forte
6897         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6898         in the enumeration.
6899
6900 2006-10-09  Wim Taymans  <wim@fluendo.com>
6901
6902         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6903         Rename some more @cur to @start to fix docs. 
6904
6905         * gst/gstsegment.c: (gst_segment_set_seek):
6906         Fix typo.
6907         time and start must always stay in sync as defined in design doc.
6908
6909         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6910         Rename param to fix docs.
6911
6912         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6913         Check that start and time are in sync.
6914
6915         * tests/check/pipelines/parse-launch.c:
6916         (gst_parse_test_element_change_state):
6917         Activate pad before adding to the element.
6918
6919 2006-10-09  Wim Taymans  <wim@fluendo.com>
6920
6921         * docs/design/part-qos.txt:
6922         Fix typo.
6923
6924         * gst/gstevent.c:
6925         * gst/gstevent.h:
6926         Update seek event docs regarding negative rates.
6927         Rename @cur to @start. 
6928
6929         * gst/gstsegment.c: (gst_segment_set_seek):
6930         * gst/gstsegment.h:
6931         Update set_seek docs regarding negative rates.
6932         Correctly update last_stop to @stop when dealing with negative
6933         rates.
6934         Rename @cur to @start. 
6935
6936         * tests/check/gst/gstpad.c: (GST_START_TEST):
6937         Activate pads before trying to use them.
6938
6939         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6940         (gst_segment_suite):
6941         Add simple check for segments and negative rates.
6942
6943 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6944
6945         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6946         * gst/gsttaglist.h:
6947         * docs/gst/gstreamer-sections.txt:
6948           API: add gst_tag_list_is_empty() (#360467).
6949
6950         * tests/check/gst/gsttag.c: (GST_START_TEST):
6951           And a test case.
6952
6953 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6954
6955         * gst/gstmessage.h:
6956         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6957         a value that doesn't fit on enumeration.
6958
6959 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6960
6961         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6962         Remove local debugging system and use Gstreamer's instead.
6963
6964 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6965
6966         Patch by: Josep Torre Valles <josep@fluendo.com>
6967
6968         * common/m4/gst-error.m4:
6969         Disable warning of statement not reached on Forte.
6970         * gst/gstmessage.h:
6971         Fix warning on Forte (value doesn't fit on enumeration).
6972         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6973         Fix warning on Forte (value doesn't fit on enumeration).
6974         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6975         DEBUG macro says it takes minimum of 2 args and so Forte
6976         complains about the use with just 1 arg.
6977         * plugins/elements/gstfdsink.c:
6978         * plugins/elements/gstfdsrc.c:
6979         * plugins/elements/gstfilesink.c:
6980         * plugins/elements/gstfilesrc.c:
6981         Use correct return type for the uri handler implementations.
6982
6983         All these fix warnings in Forte.  Fixes bug #360860.
6984
6985 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6986
6987         * gst/gstelement.h:
6988           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6989           format string, so don't use G_GNUC_PRINTF for those versions.
6990
6991 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6992
6993         * gst/gsttaglist.c: (gst_is_tag_list):
6994         * gst/gsttaglist.h:
6995           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6996
6997         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6998           Small test for the above.
6999
7000 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * gst/gsttaglist.h:
7003           Less tabs, more spaces.
7004
7005 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
7006
7007         * gst/gstinfo.h:
7008           Those two function declarations do actually belong there, revert
7009           commit from yesterday that turned them intro macros.
7010
7011 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7012
7013         Patch by: Josep Torre Valles <josep@fluendo.com>
7014
7015         * gst/gst.c: (gst_init_get_option_group):
7016         Fix empty declaration and type mismatch.
7017         * gst/gstbin.c: (gst_bin_change_state_func):
7018         Fix type mismatch.
7019         * gst/gstelement.c: (gst_element_continue_state),
7020         (gst_element_set_state_func), (gst_element_change_state),
7021         (gst_element_change_state_func):
7022         Fix type mismatches.
7023         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7024         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7025         Cast as appropriate.
7026         * gst/gstobject.c: (gst_class_signal_connect):
7027         Cast as appropriate.  The function pointer parameter really
7028         has the wrong type but would break API if we change it.
7029         * gst/gstquery.c:
7030         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7031         order of including string.h.
7032         * gst/gstutils.c: (gst_element_state_get_name):
7033         Remove unreachable line.
7034         * gst/gstxml.c: (gst_xml_parse_doc):
7035         Fix type mismatch.
7036         All these caught by Forte.
7037
7038 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7039
7040         Patch by: Josep Torre Valles <josep@fluendo.com>
7041
7042         * common/m4/gst-error.m4:
7043         Fixed bug #360151.
7044         We need to disable warnings on Forte for empty declarations
7045         due to gst-indent adding ;s to lines that just use macros
7046         where the macro actually doesn't need a ; at end to end
7047         statement.
7048
7049 2006-10-06  Wim Taymans  <wim@fluendo.com>
7050
7051         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7052         (gst_file_sink_close_file), (gst_file_sink_event),
7053         (gst_file_sink_render):
7054         Add some FIXME for the NEWSEGMENT handling.
7055
7056 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7057
7058         * gst/parse/grammar.y:
7059         Remove static function gst_parse_element_lock as all it does
7060         is return.  Looks like cruft from 0.8.
7061
7062 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7063
7064         Patch by: Josep Torre Valles <josep@fluendo.com>
7065
7066         * common/m4/gst-error.m4:
7067         * configure.ac:
7068         * libs/gst/net/Makefile.am:
7069         Fix a compilation issue with Forte on Solaris.  inet_aton is in
7070         libresolv.
7071
7072 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7073
7074         * gst/gstpad.c: (pre_activate):
7075         * gst/gstregistry.c: (gst_registry_scan_path_level):
7076         * gst/gstregistryxml.c: (load_plugin):
7077         * libs/gst/controller/gstcontroller.c:
7078         (gst_controlled_property_set_interpolation_mode):
7079         * libs/gst/dataprotocol/dataprotocol.c:
7080         (gst_dp_packet_from_event_1_0):
7081         * libs/gst/net/gstnetclientclock.c:
7082         (gst_net_client_clock_observe_times):
7083         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7084           Printf fixes.
7085
7086 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7087
7088         * configure.ac:
7089         * docs/gst/gstreamer-sections.txt:
7090         * gst/gstconfig.h.in:
7091         * gst/gstelement.h:
7092         * gst/gstinfo.h:
7093           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7094           whether we can use G_GNUC_PRINTF in other header files and at
7095           least check the printf format/arguments of debug messages and
7096           GST_ELEMENT_ERROR messages when the printf extension is not
7097           being used.
7098           Replace more tabs with spaces in gstinfo.h and remove two spurious
7099           function declarations in GST_DISABLE_DEBUG part with macros.
7100
7101 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
7102
7103         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7104           More docs for the sync-message signal (mention that it is not
7105           emitted by default); log message structures of messages posted on
7106           the bus as well.
7107
7108 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
7109
7110         * gst/gst.c: (ensure_current_registry_forking):
7111         Use a pipe pair to receive status results from the forked child, and
7112         ignore the result from waitpid. Fixes #355499
7113
7114 2006-10-02  Wim Taymans  <wim@fluendo.com>
7115
7116         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7117         (gst_ghost_pad_suite):
7118         Fix leak in check.
7119
7120 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * gst/gstpad.c:
7123           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7124
7125 2006-10-02  Edward Hervey  <edward@fluendo.com>
7126
7127         * docs/design/part-block.txt:
7128         Further explain the use of flushing on blocked pads.
7129         * docs/gst/gstreamer-sections.txt:
7130         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7131         (gst_pad_push_event):
7132         * gst/gstpad.h:
7133         Added new GstPadFlag : GST_PAD_BLOCKING.
7134         Adds the notion of pads really blocking, which enables to properly
7135         handle FLUSH_START/FLUSH_STOP events on blocked pads.
7136         Fixes #358999
7137         API: gst_pad_is_blocking()
7138         API: GST_PAD_IS_BLOCKING() macro
7139         API: GST_PAD_BLOCKING GstPadFlag
7140         
7141 2006-10-02  Wim Taymans  <wim@fluendo.com>
7142
7143         Patch by: mrcgran <mrc.gran at gmail dot com>
7144
7145         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7146         Filter the proxied caps against the padtemplate if we have one.
7147
7148         * gst/gstquery.c: (gst_query_new_segment):
7149         Add include for gstinfo.h so that compilation with
7150         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7151
7152 2006-10-02  Wim Taymans  <wim@fluendo.com>
7153
7154         Patch by: Alessandro Decina  <alessandro at nnva org>
7155
7156         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7157         (gst_file_sink_set_location), (gst_file_sink_open_file),
7158         (gst_file_sink_close_file), (gst_file_sink_event),
7159         (gst_file_sink_render):
7160         Set file to NULL when closing filesink so that we can set a new filename
7161         in READY. Fixes #358613.
7162
7163 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7164
7165         Patch by: Alessandro Decina  <alessandro at nnva org>
7166
7167         * gst/gstevent.c: (_gst_event_copy):
7168           Fix gst_mini_object_make_writable() and gst_event_copy() for events
7169           with event structures by setting the parent refcount address of the
7170           copied structure to the address of the refcount member of the newly
7171           copied event rather than the address of the refcount member of the
7172           original event. Fixes #358737.
7173
7174         * tests/check/gst/gstevent.c: (GST_START_TEST):
7175           Unit test for the above.
7176
7177 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
7178
7179         * docs/design/Makefile.am:
7180           Dist some more files.
7181
7182 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7183
7184         * tests/check/libs/controller.c: (GST_START_TEST),
7185         (gst_controller_suite):
7186           Add test for the previous fix; add some more tests
7187           for correct refcounting behaviour; fix a few leaks
7188           in test cases; call gst_controller_init() at start
7189           of all tests.
7190
7191 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7192
7193         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7194         (gst_controller_set_from_list):
7195           Don't g_return_val_if_fail() on timed values with invalid timestamps
7196           inside a critical section without unlocking the mutex. Spotted by
7197           René Stadler. (#357617)
7198           Also, fix up refcounting properly: when returning an existing
7199           controller, we should increase the reference only once and not
7200           once per property and when trying to control a property again
7201           we should also increase the refcount.
7202
7203 2006-09-29  Wim Taymans  <wim@fluendo.com>
7204
7205         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7206         * libs/gst/net/gstnettimeprovider.c:
7207         (gst_net_time_provider_thread):
7208         Stop reading commands when EOF as well.
7209
7210         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7211         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7212         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7213         Unify description of the dump property.
7214
7215 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7216
7217         * tests/examples/manual/.cvsignore:
7218         OK, so it's actually cvsignore that needs changing. Stop laughing.
7219
7220 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7221
7222         * tests/examples/manual/Makefile.am:
7223         Gah, declare vars *before* using them
7224
7225 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7226
7227         * gst/gst.c: (init_pre), (scan_and_update_registry),
7228         (ensure_current_registry_nonforking),
7229         (ensure_current_registry_forking), (ensure_current_registry),
7230         (init_post), (gst_debug_help), (gst_deinit):
7231         * gst/gst_private.h:
7232         * gst/gstregistry.c: (gst_registry_finalize),
7233         (gst_registry_remove_features_for_plugin_unlocked),
7234         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7235         (gst_registry_scan_path),
7236         (_priv_gst_registry_remove_cache_plugins),
7237         (_priv_gst_registry_cleanup):
7238         * gst/gstregistry.h:
7239         Re-commit the registry changes, along with an extra fix:
7240           When a cached plugin is encountered at a different file path,
7241           update the stored path in the registry cache so that the parent
7242           process knows where it actually is now when it re-reads the registry
7243           cache. Fixes the thing that broke distcheck with the previous commit.
7244
7245         * tests/check/Makefile.am:
7246         Clean up files named 'core' too when running make clean.
7247
7248         * tests/examples/manual/Makefile.am:
7249         Set up a registry path for running these tests, and clean it properly
7250         for distcheck.
7251
7252 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7253
7254         * configure.ac:
7255         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7256         want gmodule-no-export-2.0.pc instead so that we don't drag in
7257         --export-dynamic on every project that links to GStreamer.
7258
7259         Also, make our export regex only match the start of symbols, rather 
7260         than any symbol that contains '_gst' somewhere.
7261
7262         * libs/gst/check/Makefile.am:
7263         The libgstcheck we build does however need export-dynamic, as it
7264         produces some symbols that don't match our _gst... style regex.
7265         Fixes: #318031
7266
7267 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7268
7269         * gst/gst.c: (init_pre), (scan_and_update_registry),
7270         (ensure_current_registry_nonforking),
7271         (ensure_current_registry_forking), (ensure_current_registry),
7272         (init_post), (gst_debug_help), (gst_deinit):
7273         * gst/gst_private.h:
7274         * gst/gstregistry.c: (gst_registry_finalize),
7275         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7276         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7277         (_gst_registry_cleanup):
7278         * gst/gstregistry.h:
7279           Revert previous change until I figure out why it breaks distcheck.
7280
7281 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7282
7283         * gst/gst.c: (init_pre), (scan_and_update_registry),
7284         (ensure_current_registry_nonforking),
7285         (ensure_current_registry_forking), (ensure_current_registry),
7286         (init_post), (gst_debug_help), (gst_deinit):
7287
7288           Make init_pre and init_post take the full complement of GOptionFunc
7289           args so they can return useful GErrors. Make the registry updating
7290           functions do so.
7291
7292           Call _priv_gst_registry_remove_cache_plugins after scanning files to
7293           ensure that the registry we're about to write out doesn't contain
7294           stale information about old-deleted plugin files.
7295
7296           Make _priv_gst_registry_remove_cache_plugins return a boolean so
7297           that deletion of plugin files is considered a registry change.
7298
7299         * gst/gst_private.h:
7300         * gst/gstregistry.c: (gst_registry_finalize),
7301         (gst_registry_remove_features_for_plugin_unlocked),
7302         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7303         (gst_registry_scan_path),
7304         (_priv_gst_registry_remove_cache_plugins),
7305         (_priv_gst_registry_cleanup):
7306         * gst/gstregistry.h:
7307         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7308         by adding _priv prefix, so that they won't appear in the global
7309         symbol table. They still do atm though because of #318031. Move the
7310         prototypes to gst_private.h
7311
7312         When removing a plugin, remove all features for that plugin too. 
7313         Fixes #340878.
7314
7315 2006-09-27  Wim Taymans  <wim@fluendo.com>
7316
7317         * docs/random/moving-plugins:
7318         Make it clear that the "compiled-in descriptions" really mean
7319         the element details.
7320
7321         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7322         (gst_base_sink_wait_preroll):
7323         Update docs.
7324
7325         * docs/libs/gstreamer-libs-sections.txt:
7326         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7327         (gst_base_src_get_range), (gst_base_src_activate_push):
7328         * libs/gst/base/gstbasesrc.h:
7329         Added function to block while waiting for PLAYING, this function
7330         is used by live sources that block on the clock.
7331         API: gst_base_src_wait_playing()
7332
7333 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7334
7335         Patch by: Peter Kjellerstedt <pkj at axis com>
7336
7337         * Makefile.am:
7338           gst-element-check.m4 is generated and should therefore be
7339           copied from the build dir rather than the source dir (#357593).
7340           'make distcheck' hasn't noticed this because we were disting
7341           the file as well, so stop doing that.
7342
7343 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7344
7345         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7346           Add some tests for gst_caps_intersect().
7347
7348         * tools/gst-launch.c: (event_loop):
7349           Print all buffering percentages we get, even the 100% one.
7350
7351 2006-09-26  Wim Taymans  <wim@fluendo.com>
7352
7353         * tools/gst-inspect.c: (print_element_properties_info),
7354         (print_signal_info):
7355         Fix printing of flags to match the look of enums.
7356
7357 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7358
7359         * gst/gstelementfactory.c:
7360           Fix typo in docs blurb.
7361
7362 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7363
7364         * gst/gsturi.c: (search_by_entry):
7365           Don't assert/crash here if a uri handler doesn't return any
7366           supported protocols. The list of protocols could be generated
7367           dynamically at runtime or at plugin registration, and an error
7368           in the underlying library shouldn't be fatal (#353301).
7369
7370 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7371
7372         * gst/gstinfo.c:
7373           Fix warning if HAVE_PRINTF_EXTENSION is undefined
7374           (spotted by Peter Kjellerstedt).
7375
7376 2006-09-23  Wim Taymans  <wim@fluendo.com>
7377
7378         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7379
7380         * libs/gst/base/gstbasesrc.c:
7381         (gst_base_src_default_check_get_range), (gst_base_src_start),
7382         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7383         (gst_base_src_change_state):
7384         Match _start/_stop calls in the activate functions. Remove redundant
7385         _stop call from the state change function. Fixes #356910.
7386         Turn failure DEBUG into ERROR. 
7387
7388 2006-09-22  Wim Taymans  <wim@fluendo.com>
7389
7390         * docs/design/part-buffering.txt:
7391         * gst/gstmessage.c: (gst_message_new_buffering),
7392         (gst_message_parse_buffering):
7393         Update docs about buffering.
7394
7395         * docs/design/part-trickmodes.txt:
7396         Fix typo.
7397
7398 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
7399
7400         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7401         (gst_controller_new_list):
7402           Ref instances when returning them again (fixes #357180)
7403
7404 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7405
7406         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7407           Don't forget to release proxy lock when there's an error.
7408
7409 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
7410
7411         * gst/gstcaps.h:
7412           Add extra initialisers for Caps things, to fix some plugin warnings
7413           when using -Wextra
7414
7415 2006-09-18  Wim Taymans  <wim@fluendo.com>
7416
7417         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7418           Also set template on the internal pad so that a getcaps from the 
7419           target pad returns the template caps.
7420
7421 2006-09-18  Wim Taymans  <wim@fluendo.com>
7422
7423         * gst/gstelement.c: (gst_element_post_message),
7424         (gst_element_dispose):
7425         Use _DEBUG_OBJECT some more.
7426
7427         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7428         Avoid typechecks.
7429
7430         * tools/gst-launch.c: (main):
7431         If the toplevel element is not a GstPipeline, it must be put in a
7432         pipeline so that a bus and clock is selected.
7433
7434 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7435
7436         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7437           JITTER, RATE, and LATENCY query should be handled by the
7438           default case and not by the CONVERT query code.
7439
7440 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7441
7442         * gst/gstformat.c: (gst_format_register):
7443           Fix locking order (must take lock before using n_values).
7444
7445         * gst/gstvalue.c: (gst_value_serialize_enum),
7446         (gst_value_deserialize_enum_iter_cmp),
7447         (gst_value_deserialize_enum):
7448           Fix serialisation/deserialisation of custom registered GstFormats.
7449
7450         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7451           Unit test for custom format serialisation/deserialisation.
7452
7453 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
7454
7455         * docs/pwg/building-boiler.xml:
7456         * plugins/elements/gstcapsfilter.c:
7457         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7458         section.
7459
7460 2006-09-16  Edward Hervey  <edward@fluendo.com>
7461
7462         * libs/gst/base/gstbasetransform.c:
7463         (gst_base_transform_buffer_alloc):
7464         Check if requested caps are the same as the sinks caps IF
7465         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7466         is FALSE.
7467         This fixes the renegotiation issues stated in #352827.
7468
7469 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7470
7471         * configure.ac:
7472         * docs/manual/advanced-autoplugging.xml:
7473         * tests/examples/Makefile.am:
7474         * tests/examples/manual/.cvsignore:
7475         * tests/examples/manual/Makefile.am:
7476         * tests/examples/manual/extract.pl:
7477           Extract the manual examples again like we used to do.
7478           Fix one of them.
7479
7480 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7481
7482         * win32/common/config.h:
7483           update for version
7484
7485 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
7486
7487         * gst/gsterror.c:
7488           Documents how to receive errors.
7489
7490 2006-09-15  Wim Taymans  <wim@fluendo.com>
7491
7492         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7493         (event_loop), (main):
7494         Added some comments here and there.
7495         Post an application message when an interrupt is caught instead of doing
7496         an uncontrolled state change.
7497         Clean up the event loop.
7498         Handle buffering messages, pause/resume the pipeline.
7499         Make shutdown because of an interrupt more reliable.
7500
7501 2006-09-15  Wim Taymans  <wim@fluendo.com>
7502
7503         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7504         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7505         (gst_base_sink_preroll_object):
7506         Make sure that our internal state is correct when we commit our state
7507         asynchronously. This solves a race where a state change to PLAYING
7508         could cause the sink to remain blocked in preroll in some situations.
7509
7510 2006-09-15  Wim Taymans  <wim@fluendo.com>
7511
7512         * tools/gst-inspect.c: (print_element_properties_info),
7513         (print_signal_info):
7514         List flags as hex so it's easier to deal with.
7515
7516 2006-09-15  Wim Taymans  <wim@fluendo.com>
7517
7518         * docs/libs/gstreamer-libs-sections.txt:
7519         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7520         (gst_base_sink_do_sync):
7521         * libs/gst/base/gstbasesink.h:
7522         Expose logic to wait for preroll so that subclasses such as audiosink
7523         can also use this method.
7524         API: gst_base_sink_wait_preroll()
7525
7526 2006-09-15  Wim Taymans  <wim@fluendo.com>
7527
7528         * gst/gstobject.c: (gst_object_set_parent):
7529         * gst/gstpipeline.c: (do_pipeline_seek):
7530         Small cleanups in docs and code.
7531
7532         * gst/gstsegment.c: (gst_segment_clip):
7533         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7534         if stop == start and start is in the segment, no clipping should be
7535         done. Also add a test for this.
7536
7537 2006-09-15  Wim Taymans  <wim@fluendo.com>
7538
7539         * docs/design/part-buffering.txt:
7540         * docs/gst/gstreamer-sections.txt:
7541         * gst/gstmessage.c: (gst_message_new_buffering),
7542         (gst_message_parse_buffering):
7543         * gst/gstmessage.h:
7544         Added methods to create and parse BUFFERING messages.
7545         Added preliminary docs about buffering.
7546         API: gst_message_new_buffering
7547         API: gst_message_parse_buffering
7548
7549 2006-09-06  Wim Taymans  <wim@fluendo.com>
7550
7551         * gst/gstbin.c:
7552         Update documentation.
7553
7554         * gst/gstelement.c: (gst_element_class_init),
7555         (gst_element_release_request_pad), (gst_element_set_clock),
7556         (gst_element_get_index), (gst_element_add_pad),
7557         (gst_element_remove_pad), (gst_element_get_random_pad),
7558         (gst_element_send_event), (gst_element_get_query_types),
7559         (gst_element_query), (gst_element_post_message),
7560         (gst_element_message_full), (gst_element_continue_state),
7561         (gst_element_lost_state), (gst_element_save_thyself),
7562         (gst_element_restore_thyself):
7563         Documentation updates.
7564         Rename last bit of the new-pad -> pad-added signal rename.
7565         Fix the case where an element query would only work if the source
7566         pad was linked.
7567         Avoid some useless type checking in message handling.
7568
7569         * gst/gstevent.c:
7570         * gst/gstevent.h:
7571         * gst/gstutils.c:
7572         Documentation updates.
7573
7574 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7575
7576         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7577           add an INFO line for when we actually update the fd
7578
7579 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * configure.ac:
7582           back to TRUNK
7583
7584 === release 0.10.10 ===
7585
7586 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7587
7588         * configure.ac:
7589           releasing 0.10.10, "Pais"
7590
7591 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7592
7593         * docs/manual/advanced-position.xml:
7594           Fix typo in sample code.
7595
7596 2006-09-05  Wim Taymans  <wim@fluendo.com>
7597
7598         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7599         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7600         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7601         * libs/gst/net/gstnetclientclock.h:
7602         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7603         * libs/gst/net/gstnettimepacket.h:
7604         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7605         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7606         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7607         * libs/gst/net/gstnettimeprovider.h:
7608         Make stuff compile on windows. Fixes #345295.
7609
7610 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7611
7612         * gst/gst.c: (ensure_current_registry_forking):
7613           Print better details when child was terminated by signal.
7614
7615 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7616
7617         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7618           Print a warning rather than g_assert() if a plugin feature
7619           is a URI handler but returns no protocols (#353976).
7620
7621 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7622
7623         * docs/random/moving-plugins:
7624         Fix two typos.         
7625
7626 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7629           Fix locking order, handle NULL function values properly.
7630
7631         * gst/gstinfo.h:
7632           Fix docs.
7633
7634         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7635           Initialise variable before using it and fix debug statement to
7636           print the address of the function rather than the address of the
7637           variable on the stack holding the address of the function.
7638
7639 2006-09-01  Wim Taymans  <wim@fluendo.com>
7640
7641         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7642         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7643         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7644         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7645         (gst_ghost_pad_parent_unset),
7646         (gst_ghost_pad_internal_do_activate_push),
7647         (gst_ghost_pad_internal_do_activate_pull),
7648         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7649         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7650         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7651         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7652         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7653         (gst_ghost_pad_new_no_target_from_template),
7654         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7655         More cleanups.
7656         Avoid needless typechecking in macros.
7657         Since the internal pad is always present and never changes, there is
7658         no need to locking or ref when retrieving it.
7659         Improve debugging a bit.
7660         Handle link errors when setting the target. Fixes #341029.
7661
7662 2006-09-01  Wim Taymans  <wim@fluendo.com>
7663
7664         * docs/libs/gstreamer-libs-sections.txt:
7665         * docs/plugins/gstreamer-plugins-sections.txt:
7666         Fix docs some more.
7667
7668         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7669         (gst_collect_pads_event):
7670         * libs/gst/base/gstcollectpads.h:
7671         Documentation updates.
7672         Free queued buffer when removing a pad.
7673
7674 2006-08-31  Michael Smith  <msmith@fluendo.com>
7675
7676         * gst/gstutils.c: (gst_element_link_pads),
7677         (gst_element_link_pads_filtered):
7678           Ensure that we set a capsfilter to NULL if we failed to link it
7679           when doing filtered linking, to avoid criticals.
7680
7681           No need to check for unreffing srcpad, which is explicly NULLed
7682           above (a trivial code cleanup).
7683
7684 2006-08-31  Wim Taymans  <wim@fluendo.com>
7685
7686         * docs/design/part-gstghostpad.txt:
7687         Update ascii art in documentation.
7688
7689         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7690         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7691         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7692         (gst_ghost_pad_internal_do_activate_push),
7693         (gst_ghost_pad_internal_do_activate_pull),
7694         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7695         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7696         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7697         (gst_ghost_pad_set_target):
7698         Small cleanups and leak fixes.
7699         Remove some checks now that the internal pad is never NULL.
7700         Fix the case where linking pads without a target would create nasty
7701         criticals. Fixes #341029.
7702         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7703         value of _set_target().
7704
7705         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7706         (gst_ghost_pad_suite):
7707         Some more tests for creating and linking untargeted ghostpads.
7708
7709 2006-08-31  Edward Hervey  <edward@fluendo.com>
7710
7711         * docs/gst/gstreamer-sections.txt:
7712         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7713         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7714         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7715         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7716         (gst_ghost_pad_new_from_template),
7717         (gst_ghost_pad_new_no_target_from_template):
7718         * gst/gstghostpad.h:
7719         Refactored *_new() functions.
7720         Templates are now used as a g_object_new() parameter.
7721         Use template in _do_getcaps() if we don't have a target.
7722         Small documentation cleanups.
7723         Added two new constructors:
7724         gst_ghost_pad_new_from_template()
7725         gst_ghost_pad_new_no_target_from_template()
7726         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7727         (gst_ghost_pad_suite):
7728         Added tests for new ghostpad instanciation functions.
7729
7730         API additions: gst_ghost_pad_new_from_template,
7731         gst_ghost_pad_new_no_target_from_template
7732
7733 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7734
7735         * docs/random/ensonic/profiling.txt:
7736           Ideas about qos profiling.
7737
7738 2006-08-29  Wim Taymans  <wim@fluendo.com>
7739
7740         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7741         Code cleanups.
7742         Fix memleak.
7743
7744 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7745
7746         * gst/gstxml.c:
7747           Improve and detypofy docs.
7748
7749         * tests/check/Makefile.am:
7750         * tests/check/gst/.cvsignore:
7751         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7752           Add a basic test suite for GstXML.
7753
7754 2006-08-29  Wim Taymans  <wim@fluendo.com>
7755
7756         * gst/gstelement.c: (activate_pads), (clear_caps),
7757         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7758         Clear the pad caps when the element shut down all of the pads and
7759         is not streaming data that could modify the caps. 
7760         Fixes #352958.
7761
7762 2006-08-28  Michael Smith  <msmith@fluendo.com>
7763
7764         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7765           Revert previous change; I misunderstood single-segment mode.
7766
7767 2006-08-28  Michael Smith  <msmith@fluendo.com>
7768
7769         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7770           Unset DISCONT on buffers when using single-segment mode.
7771
7772 2006-08-28  Wim Taymans  <wim@fluendo.com>
7773
7774         * gst/gstcaps.c: (gst_caps_merge_structure):
7775         * gst/gstcaps.h:
7776         Fix docs and indentation again.
7777
7778         * tests/check/gst/gstquery.c: (GST_START_TEST):
7779         Fix leak in tests and add some more tests.
7780
7781 2006-08-28  Edward Hervey  <edward@fluendo.com>
7782
7783         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7784         Inform GstSegment of the last stop position in order for the current
7785         segment to have a proper duration if it doesn't have a specific stop
7786         position from which a duration could be calculated.
7787         This bug was noticeable when a non-flushing, non-update new segment was
7788         followed by another segment (all buffers from the new segment were being
7789         dropped).
7790
7791 2006-08-28  Wim Taymans  <wim@fluendo.com>
7792
7793         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7794         Small comment update.
7795
7796         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7797         (gst_identity_transform_ip):
7798         Drop-probability is broken, mention this in the code with a 
7799         FIXME and also in the property description.
7800         Make silent also be silent about the drop messages.
7801
7802 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7803
7804         * docs/manual/appendix-win32.xml:
7805           Remove mention of popt, we don't depend on that any
7806           longer (#353136). Add some comments pointing out that
7807           this section is slightly outdated.
7808
7809 2006-08-28  Wim Taymans  <wim@fluendo.com>
7810
7811         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7812
7813         * gst/gstquery.c: (gst_query_new_segment):
7814         * tests/check/gst/gstquery.c: (GST_START_TEST):
7815         Initialize variables when creating a new segment query.
7816         Fixes #353121.
7817
7818 2006-08-28  Wim Taymans  <wim@fluendo.com>
7819
7820         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7821
7822         * gst/gstelement.c: (gst_element_get_bus):
7823         * tests/check/gst/gstelement.c: (GST_START_TEST):
7824         Check for NULL before _reffing the bus. Fixes #353122.
7825
7826 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7827
7828         * docs/manual/basics-bus.xml:
7829           Docs update: fix wrong callback return value explanation; add
7830           some lines about the implicit relationship between main loop
7831           and main context; remove duplicate main loop variable declaration.
7832
7833 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7834
7835         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7836           Don't leak caps in unit test; add a few more simple
7837           checks. 
7838
7839 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * docs/gst/gstreamer-sections.txt:
7842         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7843         (gst_caps_structure_is_subset), (gst_caps_merge),
7844         (gst_caps_merge_structure):
7845         * gst/gstcaps.h:
7846         * libs/gst/base/gstbasetransform.c:
7847         (gst_base_transform_transform_caps):
7848         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7849           implement caps merging (fixes #352580)
7850
7851 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7852
7853         * tools/Makefile.am:
7854         * tools/gst-plot-timeline.py:
7855           add debug-log plotting developer tool (#340674)
7856
7857 2006-08-23  Wim Taymans  <wim@fluendo.com>
7858
7859         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7860         (gst_pad_stop_task):
7861         Improve debugging for task functions.
7862
7863         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7864         (gst_task_start), (gst_task_pause), (gst_task_join):
7865         Make sure that the task function started and finished after a 
7866         join(). 
7867         Don't try to push the task function on the threadpool multiple
7868         times.
7869         Improve the g_warning message with some useful suggestions
7870         about how to fix the problem. 
7871
7872 2006-08-23  Wim Taymans  <wim@fluendo.com>
7873
7874         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7875         Handle RESYNC correctly in _proxy_getcaps.
7876
7877 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7878
7879         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7880         (gst_xml_parse_memory), (gst_xml_get_element):
7881           Chain up to parent class in dispose function and also
7882           unref the elements in the toplevel_elements GList.
7883           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7884           Always return a reference in gst_xml_get_element() rather
7885           than only sometimes.
7886
7887         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7888           Don't leak GstXml object.
7889
7890 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7891
7892         * docs/gst/gstreamer-sections.txt:
7893         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7894         (gst_caps_merge):
7895         * gst/gstcaps.h:
7896         * libs/gst/base/gstbasetransform.c:
7897         (gst_base_transform_transform_caps):
7898           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7899           in a better way
7900
7901 2006-08-21  Edward Hervey  <edward@fluendo.com>
7902
7903         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7904         Implement GObject::dispose virtual method in GstXML so we can free the
7905         top_elements GList.
7906
7907 2006-08-21  Wim Taymans  <wim@fluendo.com>
7908
7909         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7910         (gst_buffer_create_sub):
7911         Copy duration/offset_end/caps when creating a subbuffer of the
7912         complete parent.
7913         Make the subbuffer read-only when we make the metadata writable for
7914         now. Fixes #351768.
7915
7916         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7917         Added check for metadata copy when creating subbuffers.
7918
7919 2006-08-21  Edward Hervey  <edward@fluendo.com>
7920
7921         * libs/gst/base/gstbasetransform.c:
7922         (gst_base_transform_buffer_alloc):
7923         Only call downstream buffer_alloc if transform element is passthrough
7924         or always_in_place. Closes #350449.
7925
7926 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7927
7928         * ChangeLog:
7929           ChangeLog surgery to add comments to previous changes
7930
7931 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7932
7933         * gst/gst.c:
7934           Add comments
7935
7936         * gst/gstpad.c: (gst_pad_set_active):
7937           Be more verbose in the log
7938
7939         * libs/gst/base/gstbasetransform.c:
7940         (gst_base_transform_transform_caps):
7941           Simplify caps to get rid of duplicates, fixes #345444
7942
7943 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7944
7945         * gst/gstvalue.c:
7946         * gst/gstvalue.h:
7947           Use these optimizations only internally.
7948
7949 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7950
7951         * gst/gstvalue.c: (gst_value_compare_list),
7952         (gst_value_compare_fraction_range),
7953         (gst_value_intersect_fraction_fraction_range),
7954         (gst_value_intersect_fraction_range_fraction_range),
7955         (gst_value_subtract_fraction_fraction_range),
7956         (gst_value_subtract_fraction_range_fraction_range),
7957         (gst_value_get_compare_func), (gst_value_compare),
7958         (gst_value_compare_with_func):
7959         * gst/gstvalue.h:
7960           Saves the expensive lookup of the compare function in many cases
7961          (#345444)
7962
7963 2006-08-18  Edward Hervey  <edward@fluendo.com>
7964
7965         * tests/check/gst/gstinfo.c: (gst_info_suite):
7966         Disable test that require gstdebug if it wasn't built in core.
7967
7968 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7969
7970         * docs/random/ensonic/logging.txt:
7971           update ideas
7972           
7973         * gst/gstinfo.c: (gst_debug_log_default):
7974           reorder fields, save some columns, add optional color codes for log
7975           levels
7976
7977 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7978
7979         * docs/random/ensonic/logging.txt:
7980           add ideas about making the logs a bit more useful
7981
7982 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7983
7984         * docs/pwg/advanced-events.xml:
7985         * docs/pwg/titlepage.xml:
7986           Update for 0.10 API (#340627). Add myself
7987           to authors list.
7988
7989 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7990
7991         * docs/libs/gstreamer-libs-docs.sgml:
7992         * docs/libs/gstreamer-libs-sections.txt:
7993         * libs/gst/check/gstbufferstraw.c:
7994           Make gstcheck stuff show up in docs (still needs to
7995           be documented properly though).
7996
7997 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7998
7999         * docs/gst/gstreamer-sections.txt:
8000         * gst/Makefile.am:
8001         * gst/gst.c: (init_post):
8002         * gst/gst_private.h:
8003         * gst/gstquark.c: (_priv_gst_quarks_initialize):
8004         * gst/gstquark.h:
8005         * gst/gstquery.c: (gst_query_new_position),
8006         (gst_query_set_position), (gst_query_parse_position),
8007         (gst_query_new_duration), (gst_query_set_duration),
8008         (gst_query_parse_duration), (gst_query_new_convert),
8009         (gst_query_set_convert), (gst_query_parse_convert),
8010         (gst_query_new_segment), (gst_query_set_segment),
8011         (gst_query_parse_segment), (gst_query_new_seeking),
8012         (gst_query_set_seeking), (gst_query_parse_seeking):
8013         Add internal helpers for pre-registering quarks from static strings
8014         and using the quark values directly instead of looking them up when
8015         creating and parsing queries. Can be used for event construction too.
8016         Closes #350432.
8017
8018 2006-08-16  Wim Taymans  <wim@fluendo.com>
8019
8020         * gst/gstbin.c:
8021         Fix bogus docs.
8022
8023 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8024
8025         * gst/gstutils.c: (gst_util_set_value_from_string):
8026           Fix memleak (#351502).
8027
8028         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8029           Add unit test for most of gst_util_set_value_from_string()
8030           (not that one would want to encourage use of this function).
8031
8032 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8033
8034         * libs/gst/check/gstcheck.h:
8035           Use const gchar * variables in fail_unless_equals_string
8036           macro to avoid compiler warnings (and don't use tabs for
8037           indenting).
8038
8039 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8040
8041         * tools/gst-launch.c: (print_tag):
8042           More space on the left for the tag names, to cater
8043           for the 'extended comment' tag (not touching the
8044           string for the first line since it's translated).
8045
8046 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8047
8048         * libs/gst/check/gstcheck.h:
8049           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8050           print something when they fail.
8051
8052 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8053
8054         * docs/gst/gstreamer-sections.txt:
8055         * gst/gsttaglist.c: (_gst_tag_initialize):
8056         * gst/gsttaglist.h:
8057           API: add GST_TAG_EXTENDED_COMMENT (#350935).
8058           Also change merge function for GST_TAG_COMMENT to
8059           use_first.
8060
8061 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8062
8063         * gst/gstinfo.c: (gst_debug_print_object):
8064           Make GST_PTR_FORMAT print messages as well.
8065
8066         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8067         (GST_START_TEST), (gst_info_suite):
8068           More tests.
8069
8070 2006-08-14  Edward Hervey  <edward@fluendo.com>
8071
8072         * gst/gstelementfactory.c: (gst_element_register):
8073         If the GstElementClass doesn't have a GstElementDetails with all fields
8074         filled up correctly (longname, description AND author), then error out
8075         nicely instead of crashing.
8076
8077 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8078
8079         * gst/gststructure.c:
8080           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8081
8082         * gst/gstvalue.h:
8083           Expand on the difference between arrays and lists as we use them.
8084           
8085 2006-08-14  Wim Taymans  <wim@fluendo.com>
8086
8087         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8088         If the parent state change function failed, don't assume we can safely
8089         stop the source, this will be done when the pads are deactivated.
8090
8091 2006-08-14  Wim Taymans  <wim@fluendo.com>
8092
8093         * gst/gstbuffer.c:
8094         * gst/gsttask.c: (gst_task_join):
8095         Small doc updates.
8096
8097         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8098         (gst_pad_stop_task):
8099         When pad (de)activation failed for some reason, restore the old
8100         activation mode and set the pad to flushing instead of assuming the
8101         pad is deactivated.
8102         If the _task_join() failed, reinstall the task on the pad so that it can
8103         be stopped later and return an error.
8104
8105 2006-08-11  Andy Wingo  <wingo@pobox.com>
8106
8107         * configure.ac:
8108         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8109         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8110         is only for users of API that don't want to see deprecated
8111         functions in the headers; people that want to compile out
8112         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8113         CFLAGS. Fixes the build of multifdsink, or will soon..
8114
8115 2006-08-11  Wim Taymans  <wim@fluendo.com>
8116
8117         * docs/gst/gstreamer-sections.txt:
8118         Add GstClockClass vmethod docs.
8119
8120         * gst/gstcaps.h:
8121         Mark #endif with comment for associated #if
8122
8123         * gst/gstclock.c: (gst_clock_id_wait):
8124         * gst/gstclock.h:
8125         Add vmethod wait_jitter to avoid an unneeded _get_time() for
8126         most clock implementations.
8127         Document vmethods.
8128         Flesh out docs about resolution methods.
8129         API: GstClockClass::wait_jitter
8130
8131         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8132         (gst_system_clock_async_thread),
8133         (gst_system_clock_id_wait_jitter_unlocked),
8134         (gst_system_clock_id_wait_jitter):
8135         Use base class wait_jitter variant for improved performance
8136         due to less clock polling.
8137
8138 2006-08-11  Edward Hervey  <edward@fluendo.com>
8139
8140         * gst/gst.c: (gst_init_check), (init_post):
8141         Set gst as being initialized before scanning/updating the registry,
8142         since there might be my python plugin loader that calls gst_init() and
8143         we don't want to loop back in.
8144         Closes #350879
8145
8146 2006-08-11  Wim Taymans  <wim@fluendo.com>
8147
8148         * docs/design/part-qos.txt:
8149         Bring docs in line with the code. Mostly the sign of the jitter was
8150         wrong in the docs. Fixes #349943.
8151
8152         * gst/gstclock.c:
8153         Fix the docs for the jitter.
8154
8155         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8156         (gst_event_parse_tag), (gst_event_new_buffer_size),
8157         (gst_event_parse_buffer_size), (gst_event_parse_qos),
8158         (gst_event_new_seek), (gst_event_parse_seek),
8159         (gst_event_new_navigation):
8160         Make sure the GstStructure has no parent when creating custom
8161         events.
8162         Add some more argument checking so that we avoid 0.0 rates.
8163         Flesh out the docs for the QoS event some more.
8164
8165 2006-08-11  Wim Taymans  <wim@fluendo.com>
8166
8167         * docs/gst/gstreamer-sections.txt:
8168         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8169         (ensure_current_registry_forking), (ensure_current_registry),
8170         (parse_one_option), (parse_goption_arg), (gst_deinit),
8171         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8172         * gst/gst.h:
8173         Doc updates.
8174         Added API and command line option to disable registry forking in
8175         addition to the environment variable.
8176         Constify some static arrays.
8177         Added some more debug.
8178         Don't deinit twice.
8179         API: gst_registry_fork_is_enabled()
8180         API: gst_registry_fork_set_enabled()
8181         API: --gst-disable-registry-fork command line option
8182         Fixes #348918.
8183
8184 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
8185
8186         * gst/gst.c: (gst_init):
8187           Fix typo in error message.
8188
8189 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8190
8191         * libs/gst/controller/gstcontroller.h:
8192           fix ABI size-correction
8193
8194         * tests/check/libs/gdp.c: (gst_dp_suite):
8195           make tests that use deprecated API conditional
8196
8197 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8198
8199         * docs/libs/gstreamer-libs-sections.txt:
8200         * libs/gst/controller/gstcontroller.c:
8201         (_gst_controller_get_property), (_gst_controller_set_property),
8202         (_gst_controller_init), (_gst_controller_class_init):
8203         * libs/gst/controller/gstcontroller.h:
8204         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8205         (gst_object_set_control_rate):
8206           API: add gst_object_{s,g}et_control_rate(), add private data section,
8207           fix docs
8208
8209         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8210         * libs/gst/dataprotocol/dataprotocol.h:
8211           add deprecation guards to make gtk-doc happy and allow disabling cruft
8212
8213 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8214
8215         * tests/check/Makefile.am:
8216         * tests/check/gst/.cvsignore:
8217           Let's enable the new unit test as well.
8218
8219 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8220
8221         * configure.ac:
8222         * docs/gst/gstreamer-sections.txt:
8223         * gst/gstconfig.h.in:
8224         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8225         (_gst_info_printf_extension_ptr),
8226         (_gst_info_printf_extension_segment):
8227           API: add GST_SEGMENT_FORMAT, which is a printf extension we
8228           register that lets us easily dump GstSegments into debug
8229           logs (#350419).
8230
8231         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8232         (info_segment_format_printf_extension), (gst_info_suite):
8233           Add simple unit test that logs a bunch of different segments (not
8234           valgrinded at the moment because of leaks in
8235           gst_debug_add_log_function).
8236
8237 2006-08-09  Edward Hervey  <edward@fluendo.com>
8238
8239         * libs/gst/base/gstbasetransform.c:
8240         (gst_base_transform_buffer_alloc):
8241         Even if we can't figure out the proper format to request downstream,
8242         call buffer_alloc() downstream with the input parameters without setting
8243         the caps on the srcpad. This will force negotiation in the chain
8244         function.
8245         Closes #350449
8246
8247 2006-08-08  Edward Hervey  <edward@fluendo.com>
8248
8249         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8250         Unlinking from a pad without a target is now a perfectly valid case
8251         which should NOT raise an assertion.
8252         This case would happen if a linked ghostpad its target set to NULL after
8253         it was previously linked.
8254
8255 2006-08-08  Edward Hervey  <edward@fluendo.com>
8256
8257         * tests/check/libs/gdp.c:
8258         Also comment out the test (see below).
8259
8260 2006-08-08  Edward Hervey  <edward@fluendo.com>
8261
8262         * tests/check/libs/gdp.c: (gst_dp_suite):
8263         Use the architecture information from config.h and not gcc macros
8264         in order to properly disable a test that fails on PPC64.
8265
8266 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
8267
8268         * gst/gstelement.c: (gst_element_remove_pad):
8269           Don't crash printing the warning if the pad has no parent.
8270
8271 2006-08-02  Wim Taymans  <wim@fluendo.com>
8272
8273         * libs/gst/dataprotocol/dataprotocol.c:
8274         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8275         (gst_dp_crc), (gst_dp_header_payload_length),
8276         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8277         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8278         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8279         (gst_dp_event_from_packet), (gst_dp_validate_header),
8280         (gst_dp_validate_payload):
8281         Make debug category static
8282         Constify the crc table.
8283         Do some more arg checking in public functions.
8284         Fix some docs and do some small cleanups.
8285
8286         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8287         Add some more checks to see if GDP deals with bogus input.
8288
8289 2006-07-31  Wim Taymans  <wim@fluendo.com>
8290
8291         * gst/gstvalue.c: (gst_value_compare_list):
8292         Fix GstValueList comparison code. Fixes #347293.
8293
8294         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8295         Check to test GstValueList comparison.
8296
8297 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8298
8299         * gst/gstelementfactory.c: (gst_element_factory_create):
8300         Remove unnecessary ref/unref pair
8301
8302         * gst/parse/grammar.y:
8303         Make sure to free the parse buffer on all code paths.
8304         Move a g_free up to the error handler where it's easier to see.
8305
8306         * tests/check/gst/gstevent.c: (test_event):
8307         Extending timeout for downstream travelling events to 10 seconds to
8308         hopefully avoid intermittent failure on the buildbots.
8309
8310         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8311         Don't manually set the state of the src element - it will happen as a
8312         natural consequence of the pipeline changing state, and that way it
8313         will do it in the right order too.
8314
8315 2006-07-31  Wim Taymans  <wim@fluendo.com>
8316
8317         * libs/gst/base/gstbasetransform.c:
8318         (gst_base_transform_buffer_alloc):
8319         Use OBJECT_LOCK and refcounting to get the pad caps in the
8320         buffer_alloc function because the caps could change while we are
8321         busy with them. Fixes #349105
8322
8323 2006-07-31  Wim Taymans  <wim@fluendo.com>
8324
8325         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8326         Protect _PAD_CAPS with OBJECT_LOCK.
8327
8328 2006-07-31  Wim Taymans  <wim@fluendo.com>
8329
8330         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8331         (gst_pad_get_property), (gst_pad_activate_pull),
8332         (gst_pad_activate_push), (gst_pad_set_blocked_async),
8333         (gst_pad_set_activate_function),
8334         (gst_pad_set_activatepull_function),
8335         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8336         (gst_pad_set_getrange_function),
8337         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8338         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8339         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8340         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8341         (gst_pad_set_acceptcaps_function),
8342         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8343         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8344         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8345         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8346         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8347         (gst_pad_configure_sink), (gst_pad_configure_src),
8348         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8349         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8350         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8351         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8352         (gst_pad_send_event):
8353         Use _DEBUG_OBJECT when it makes sense.
8354         Protect GST_PAD_CAPS with the OBJECT_LOCK.
8355         Small cleanups and code reflows.
8356         Avoid caps refcounting in _accept_caps.
8357         Refactor alloc_buffer so that the code performed on the peer is in a
8358         separate function. Also if the pad does not implement a buffer alloc
8359         function, we should still check if the pad is flushing before falling
8360         back to the default allocator.
8361
8362 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8363
8364         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8365         Make all uses of identity and fakesink have silent=true to avoid
8366         serialising every passing data structure, which is breaking tests
8367         on FC4 for some unknown reason.
8368
8369 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8370
8371         * gst/parse/Makefile.am:
8372         * gst/parse/grammar.y:
8373         * gst/parse/parse.l:
8374           Reverted previous patch as it required to bump the flex dependency to
8375           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8376
8377 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8378
8379         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8380
8381         * gst/parse/Makefile.am:
8382         * gst/parse/grammar.y:
8383         * gst/parse/parse.l:
8384           push & pop the state of the lexer for reentrant use case
8385           Fixes #349180
8386
8387 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         * libs/gst/base/gstbasesrc.h:
8390           Note in the docs that the ::newsegment vfunc is not actually used by
8391           GstBaseSrc.
8392
8393 2006-07-28  Wim Taymans  <wim@fluendo.com>
8394
8395         * libs/gst/base/gstcollectpads.c:
8396         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8397         (gst_collect_pads_clear), (gst_collect_pads_flush),
8398         (gst_collect_pads_event), (gst_collect_pads_chain):
8399         When flushing a pad, also clear the queued buffer so that we don't
8400         accidentally use it when we shouldn't.
8401         Fix leaks by inreffing incomming buffer.
8402         Flush out queued buffers in case of errors.
8403         Fixes #347452.
8404
8405 2006-07-28  Wim Taymans  <wim@fluendo.com>
8406
8407         * docs/random/phonon-gst:
8408         Random notes about a Phonon backend.
8409
8410 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8411
8412         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8413         Extra debug output
8414         * tests/check/libs/gdp.c: (gst_dp_suite):
8415         Take a whack at fixing the ppc compile using a different define to
8416         disable the broken test.
8417
8418         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8419         Remove excess g_print()
8420
8421 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8422
8423         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8424         Oops, meant to uncomment this line too to dampen the noise a bit.
8425
8426 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8427
8428         * gst/parse/grammar.y:
8429         * gst/parse/parse.l:
8430         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8431         (GST_START_TEST), (parse_suite):
8432         Fix some of the leaks exposed by extending the parse-launch testsuite,
8433         and move the 3 I can't figure out into a separate test that won't run
8434         the pipelines unless the appropriate line is uncommented.
8435
8436 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8437
8438         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8439           Requesting 0 bytes before the end of the file should result in
8440           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8441           unit test.
8442
8443 2006-07-27  Wim Taymans  <wim@fluendo.com>
8444
8445         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8446         Fix useless assert, a uint is always positive.
8447
8448         * gst/gststructure.c: (gst_structure_nth_field_name),
8449         (gst_structure_foreach), (gst_structure_map_in_place):
8450         Check input arguments for public functions to avoid obvious crashes.
8451
8452         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8453         * plugins/elements/gstfakesink.h:
8454         Do less useless typechecking.
8455
8456 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8457
8458         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8459           Do not use mmap() by default since there are a number of error
8460           conditions that we would like to handle in a non-fatal way that
8461           will result in a SIGBUS if we use mmap(). Examples: external
8462           devices (USB harddrive, portable music player) being unplugged
8463           while in use; file on mounted CD/DVD that can't be read because
8464           the medium is partly damaged. Fixes #348455 and #348475.
8465
8466 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8467
8468         * gst/gstquery.h:
8469         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8470         rates are a gdouble
8471
8472 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
8473
8474         * gst/gstregistry.c:
8475           Move big documentation comment into class section header, so that it
8476           appears in the API docs.
8477
8478 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8479
8480         * docs/gst/gstreamer-sections.txt:
8481         Oops. Commit the docs additions too for new API.
8482         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8483
8484 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8485
8486         * gst/gststructure.c: (gst_structure_id_set),
8487         (gst_structure_id_set_valist):
8488         * gst/gststructure.h:
8489         Add API for setting values into structures without performing
8490         a quark lookup, if the appropriate quark is already known.
8491
8492         API: gst_structure_id_set
8493         API: gst_structure_id_set_valist
8494
8495         * gst/parse/grammar.y:
8496         * gst/parse/parse.l:
8497         Remove some dead code shown by the coverage information.
8498         Don't throw a critical g_warning when encountering a syntax error,
8499         just warn and let the normal error path handle it.
8500
8501         * plugins/elements/gstelements.c:
8502         Bump the rank of filesink up to PRIMARY so that it is preferred over
8503         gnomevfssink for file:// sink uri's
8504
8505         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8506         (GST_START_TEST), (run_delayed_test),
8507         (gst_parse_test_element_base_init),
8508         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8509         (gst_parse_test_element_change_state),
8510         (gst_register_parse_element), (parse_suite):
8511         Beef up the tests for parse syntax to check that more error cases
8512         fail as they are supposed to. Increases the test coverage a bit.
8513
8514 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8515
8516         * docs/manual/basics-elements.xml:
8517           Fix gst_element_link() example.
8518
8519         * gst/gstutils.c:
8520           Mention in API docs that one should usually gst_bin_add()
8521           elements to a bin or pipeline before doing the linking.
8522           
8523 2006-07-26  Wim Taymans  <wim@fluendo.com>
8524
8525         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8526         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8527         Avoid function call for known types by keeping the buffer and
8528         subbuffer GType global.
8529
8530         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8531         Random silly optimisations in read() path.
8532
8533 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8534
8535         * tools/gst-launch.c: (main):
8536           If the top-level of the parse is a normal bin, it doesn't do the
8537           right logic to run as a top-level element, so place it inside a
8538           pipeline.
8539
8540 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8541
8542         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8543           Remove superfluous g_object_notify() calls, GObject does
8544           that for us automatically.
8545
8546 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8547
8548         * gst/gstinfo.h:
8549           on Win32, use dllspec to export the debug category symbols
8550
8551 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8552
8553         * gst/gsttaglist.c: (_gst_tag_initialize):
8554           Allow more than one GST_TAG_IMAGE per taglist.
8555
8556 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8557
8558         * gst/gstminiobject.c:
8559           update docs
8560         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8561         (gst_fd_src_create):
8562           log recurring events at LOG level
8563           add more debug for when the fd gets set
8564
8565 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8566
8567         * gst/gstparse.c: (gst_parse_launch):
8568           Also remove reentrance checks if flex is MT safe (#348179)
8569          Fix my empty ChangeLog entry below
8570
8571 2006-07-21  Andy Wingo  <wingo@pobox.com>
8572
8573         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8574
8575         * libs/gst/check/Makefile.am
8576         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8577         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8578         * libs/gst/check/gstbufferstraw.h:
8579         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8580         functions, thus proving I am still a GStreamer haxor. OK I wrote
8581         them a long time ago, but anyways.
8582
8583 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8584
8585         * configure.ac:
8586         * gst/gstparse.c: (gst_parse_launch):
8587           Check for flex version and omit mutex if we have a MT save flex
8588           (fixes #348179)
8589
8590 2006-07-21  Wim Taymans  <wim@fluendo.com>
8591
8592         * gst/gstparse.c: (gst_parse_launch):
8593         Protect recursive calls to _parse with a recursive mutex
8594         and busy flag.
8595
8596 2006-07-21  Wim Taymans  <wim@fluendo.com>
8597
8598         * tests/check/gst/gstpad.c: (GST_START_TEST):
8599         Fix leak in test.
8600
8601 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8602
8603         * gst/gstparse.c: (gst_parse_launch):
8604           Do not hang on recursive usage of gst_parse_launch()
8605
8606 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8607
8608         * gst/gsttaglist.c:
8609           Add some more docs, comments and FIXME 0.11s here and there
8610           and also fix some typos.
8611
8612 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         * gst/gstsegment.h:
8615           Convert tabs to spaces for better readability. 
8616
8617 2006-07-20  Edward Hervey  <edward@fluendo.com>
8618
8619         * tests/check/libs/gdp.c: (gst_dp_suite):
8620         the test_buffer test fails at line 140 on ppc64 at the following
8621         check:
8622         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8623                 GST_BUFFER_FLAG_IN_CAPS),
8624                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8625         See bug #348114 for more details.
8626
8627 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8628
8629         * docs/pwg/advanced-scheduling.xml:
8630         * gst/gstpad.c:
8631           Fix typos (#348000).
8632
8633 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * docs/pwg/intro-basics.xml:
8636           Fix wrong links (#347927).
8637
8638 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8639
8640         * gst/gstregistry.h:
8641         * gst/gstregistryxml.c: (load_feature),
8642         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8643         * win32/common/config.h:
8644           make --disable-index work (#342564)
8645
8646 2006-07-18  Wim Taymans  <wim@fluendo.com>
8647
8648         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8649
8650         * gst/Makefile.am:
8651         * gst/gsttrace.h:
8652         The attached patch adds two missing defines to gsttrace.h when tracing
8653         is disabled.  It also corrects one existing define.
8654         Fixes #347756.
8655
8656 2006-07-17  Wim Taymans  <wim@fluendo.com>
8657
8658         * docs/gst/gstreamer-sections.txt:
8659         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8660         * gst/gst.h:
8661         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8662         Add two functions to check and change the SIGSEGV behaviour
8663         when loading plugins.
8664         Don't mess with the SIGSEGV handler when we were told not to.
8665         Fixes #347794.
8666         API: gst_segtrap_is_enabled
8667         API: gst_segtrap_set_enabled
8668
8669 2006-07-14  Wim Taymans  <wim@fluendo.com>
8670
8671         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8672         * tests/check/elements/filesrc.c: (GST_START_TEST):
8673         Revert fix for regression in #347408 after release.
8674
8675 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8676
8677         Patch by: Antoine Tremblay <hexa00 at gmail com>
8678
8679         * gst/gstutils.c: (gst_element_unlink):
8680           Free iterator when done (#347311).
8681
8682         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8683           And add a test case for this.
8684
8685 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8686
8687         * configure.ac:
8688         Bump nano back to CVS
8689
8690 === release 0.10.9 ===
8691
8692 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8693
8694         * configure.ac:
8695           releasing 0.10.9, "On the road again"
8696
8697 2006-07-13  Wim Taymans  <wim@fluendo.com>
8698
8699         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8700         * tests/check/elements/filesrc.c: (GST_START_TEST):
8701         Revert pull-0 fix for release. Disable check. Fixes #347408.
8702
8703 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8704
8705         * libs/gst/dataprotocol/dataprotocol.c:
8706         (gst_dp_event_from_packet_1_0):
8707           Fixes #347337: failure to deserialize event packets with
8708           empty payload (only event type)
8709
8710 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8711
8712         * gst/Makefile.am:
8713           do not install a .c file in the header directory
8714
8715 2006-07-13  Edward Hervey  <edward@fluendo.com>
8716
8717         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8718         GhostPad no longer implicitely use the padtemplates of the targets.
8719         Fixes #347384
8720
8721 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8722
8723         * gst/gstvalue.c: (gst_value_compare_list),
8724         (gst_value_compare_array), (_gst_value_initialize):
8725         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8726         Make GstValueArray comparison be order dependent as designed.
8727         Add checks for value lists and value array comparisons.
8728         Fixes #347221
8729
8730 2006-07-11  Edward Hervey  <edward@fluendo.com>
8731
8732         * gst/gstbin.c: (activate_pads),
8733         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8734         (gst_bin_change_state_func):
8735         (de)activate src pads before calling state_change on the childs.
8736         This is to avoid the case where a src ghostpad is blocked (holding the
8737         stream lock), which would block the deactivation of the ghostpad's
8738         target pad.
8739         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8740         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8741         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8742         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8743         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8744         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8745         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8746         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8747         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8748         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8749         (gst_ghost_pad_class_init),
8750         (gst_ghost_pad_internal_do_activate_push),
8751         (gst_ghost_pad_internal_do_activate_pull),
8752         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8753         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8754         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8755         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8756         GhostPads now create their internal GstProxyPad at creation (and not
8757         when they're linked, as it was being done previously).
8758         The internal and target pads are linked straight away.
8759         The data will also travel through the other pad in order to make
8760         pad blocking and probes non-hackish (the probe/block now really happens
8761         on the GhostPad and not on the target).
8762         * gst/gstpad.c: (gst_pad_set_blocked_async),
8763         (gst_pad_link_prepare), (gst_pad_push_event):
8764         Remove previous ghostpad cruft.
8765         * gst/gstutils.c: (gst_pad_add_data_probe),
8766         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8767         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8768         (gst_pad_remove_buffer_probe):
8769         Remove previous ghost pad cruft.
8770         Added more detailed debug statements.
8771         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8772         Fix the testsuite for refcounting changes.
8773         The comments about who has references were correct, but the refcount
8774         being checked wasn't the same (!?!).
8775
8776         Fixes #341029
8777
8778 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8779
8780         * docs/gst/gstreamer-sections.txt:
8781         * gst/gstconfig.h.in:
8782         More docs for configuration options, add docs to gtk-doc.
8783
8784 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8785
8786         * gst/Makefile.am:
8787         * gst/gstconfig.h.in:
8788         * win32/common/config.h:
8789         Fix build when disabling tracing (fixes #344016). Also start to document
8790         the defines that disable the sub-systems.
8791
8792 2006-07-10  Edward Hervey  <edward@fluendo.com>
8793
8794         * gst/gst.c: (ensure_current_registry_forking):
8795         let's make valgrind happy...
8796
8797 2006-07-09  Wim Taymans  <wim@fluendo.com>
8798
8799         * gst/gstelement.c: (activate_pads),
8800         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8801         Better pad activation code: Reset the collect value too on resync.
8802         Add some comments.
8803
8804 2006-07-09  Wim Taymans  <wim@fluendo.com>
8805
8806         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8807         (gst_pad_activate_push):
8808         Use some more macros where it makes sense.
8809         Allow pad mode switching instead of asserting. When a pad
8810         is activated in one mode and we activate it in another, 
8811         deactivate it first before activating it in a different mode.
8812         Fixes #329198.
8813
8814 2006-07-08  Andy Wingo  <wingo@pobox.com>
8815
8816         * tools/gst-launch.c (main): Handle err == NULL.
8817
8818         * gst/gst.c (init_post, ensure_current_registry)
8819         (ensure_current_registry_forking)
8820         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8821         factoring out the registry scanning into separate functions. Don't
8822         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8823         Better environment var name/interface suggestions accepted.
8824
8825 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8826
8827         * gst/gstobject.c: (gst_object_set_name_default),
8828         (gst_object_set_name):
8829           Random micro-optimisation: don't use a hash table
8830           with strings as keys and the usual strdup/strcmp
8831           involved, but rather just use the GQuark of the
8832           type name as key, since it needs to be looked up
8833           anyway to get the type name string.
8834
8835         * tests/check/gst/gstobject.c: (GST_START_TEST):
8836           Fix various leaks.
8837
8838 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8839
8840         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8841         (gst_bin_iterate_all_by_interface):
8842           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8843           GTypes are gulongs and thus the top 4 bytes might be cut
8844           off on some platforms when doing GPOINTER_TO_INT, leading
8845           to invalid GTypes and bad things happening (see RH bug #179654).
8846           Also add a check to make sure the type passed in is really
8847           an interface type.
8848
8849 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8850
8851         * .cvsignore:
8852           Ignore more.
8853
8854 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8855
8856         * Makefile.am:
8857         * configure.ac:
8858         * gst-element-check.m4:
8859         * gst-element-check.m4.in:
8860           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8861           instead of the unversioned gst-inspect (#324176, #168659).
8862
8863 2006-07-06  Wim Taymans  <wim@fluendo.com>
8864
8865         * gst/gstmessage.h:
8866         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8867         warnings.
8868
8869 2006-07-06  Wim Taymans  <wim@fluendo.com>
8870
8871         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8872         (gst_base_src_wait), (gst_base_src_update_length),
8873         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8874         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8875         (gst_base_src_loop), (gst_base_src_start),
8876         (gst_base_src_activate_pull):
8877         Update docs.
8878         blocksize == 0 now means the default blocksize when working in push
8879         based mode.
8880         Remove some pointless asserts in _wait function.
8881         Fix offset/length calculations and EOS handling. We can now pull 0
8882         bytes as well, which is allowed.
8883         use _check_get_range() to decide if we can operate in _pull based
8884         mode.
8885         Fix refcounting leak when check_get_range function was not 
8886         implemented.
8887         API GstBaseSrc::blocksize range can be 0 too now (default)
8888
8889         * tests/check/elements/filesrc.c: (GST_START_TEST),
8890         (filesrc_suite):
8891         Added check to test _get_range() behaviour.
8892
8893 2006-07-06  Wim Taymans  <wim@fluendo.com>
8894
8895         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8896         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8897         (gst_pad_pull_range):
8898         * gst/gstpad.h:
8899         Lots of comments and docs added to the pad functions.
8900         Flesh out the expected behaviour of the get_range() functions.
8901
8902 2006-07-06  Wim Taymans  <wim@fluendo.com>
8903
8904         * gst/gstbus.h:
8905         * gst/gstclock.h:
8906         * gst/gstevent.h:
8907         * gst/gstiterator.h:
8908         * gst/gstpad.h:
8909         * gst/gstplugin.h:
8910         * gst/gsttask.h:
8911         Remove comma at end of enumerator list. 
8912
8913 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8914
8915         * win32/common/libgstbase.def:
8916         * win32/common/libgstdataprotocol.def:
8917         * win32/common/libsgtreamer.def:
8918         Add new exported functions.
8919
8920 2006-07-05  Wim Taymans  <wim@fluendo.com>
8921
8922         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8923         Add some more docs here and there.
8924
8925 2006-07-05  Wim Taymans  <wim@fluendo.com>
8926
8927         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8928         (gst_base_sink_loop), (gst_base_sink_get_position):
8929         When operating in pull mode update the offset so that we
8930         read sequentially.
8931
8932 2006-07-05  Wim Taymans  <wim@fluendo.com>
8933
8934         * gst/gstregistryxml.c: (read_string):
8935         Avoid strdup. (will happen in libxml, but hey!)
8936
8937         * gst/gsturi.c:
8938         Add some more docs.
8939
8940 2006-07-05  Wim Taymans  <wim@fluendo.com>
8941
8942         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8943         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8944         (gst_buffer_suite):
8945         No point in checking if the size of the subbuffer > 0, the
8946         code handles it correclty as demonstrated by unit test.
8947         Also add a unit test for the zero sized _new_and_alloc and
8948         _copy. Fixes #346663.
8949
8950 2006-07-05  Wim Taymans  <wim@fluendo.com>
8951
8952         * libs/gst/base/gstbasetransform.c:
8953         (gst_base_transform_prepare_output_buffer),
8954         (gst_base_transform_buffer_alloc),
8955         (gst_base_transform_handle_buffer):
8956         Make sure the buffer we pass to transform_ip has a refcount of
8957         1 and thus is writable. Fixes #343196
8958
8959 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8960
8961         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8962         (gst_file_src_init), (gst_file_src_set_property),
8963         (gst_file_src_get_property), (gst_file_src_map_region):
8964         * plugins/elements/gstfilesrc.h:
8965         Add "sequential" property, off by default, to use madvise and hint
8966         to the kernel that sequential access is desired.
8967         Touch all retrieved pages by default to ensure they are pulled
8968         into memory. (Closes #345720)
8969
8970 2006-07-03  Wim Taymans  <wim@fluendo.com>
8971
8972         * docs/design/part-block.txt:
8973         * docs/design/part-dynamic.txt:
8974         Small docs updates.
8975
8976 2006-07-03  Wim Taymans  <wim@fluendo.com>
8977
8978         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8979         (gst_caps_unref), (gst_static_caps_get),
8980         (gst_caps_append_structure):
8981         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8982         Use GSlice when the glib we build against is >= 2.10
8983
8984 2006-07-03  Wim Taymans  <wim@fluendo.com>
8985
8986         * gst/gstelement.c: (gst_element_pads_activate):
8987         Small cleanup in pad activation code.
8988
8989 2006-07-03  Wim Taymans  <wim@fluendo.com>
8990
8991         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8992
8993         * gst/gst-i18n-app.h:
8994         * gst/gst-i18n-lib.h:
8995         * tools/gst-inspect.c: (print_signal_info):
8996         The attached patch will make the inclusion of gettext.h unconditional in
8997         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8998         libintl.h in tools/gst-inspect.c.
8999         This allows use of --disable-nls again and fixes #344642.
9000
9001 2006-07-03  Edward Hervey  <edward@fluendo.com>
9002
9003         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9004         Implement pad blocking on events according to part-block.txt.
9005         More comments on behaviour.
9006         * tests/check/gst/gstevent.c: (test_event):
9007         Send event to peer pad of blocked pad (else it will block).
9008
9009 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9010
9011         * libs/gst/check/gstcheck.c: (gst_check_message_error),
9012         (gst_check_run_suite):
9013           if we get the wrong message, give us the types as string
9014         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9015           Fix a translatable
9016         * tests/check/elements/filesrc.c: (GST_START_TEST):
9017           add a test for trying to open a non-existing file
9018
9019 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9020
9021         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9022           add a test for adding self
9023
9024 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9025
9026         * libs/gst/check/gstcheck.h:
9027           add some assert_ as alias for fail_unless_*
9028         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9029           increase test coverage
9030
9031 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9032
9033         * Makefile.am:
9034           include lcov.mak for lcov coverage generation
9035         * tools/Makefile.am:
9036           add to CLEANFILES
9037
9038 2006-07-02  Edward Hervey  <edward@fluendo.com>
9039
9040         * tests/check/elements/.cvsignore:
9041         moaping
9042
9043 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9044
9045         * configure.ac:
9046           don't set CFLAGS and friends for gcov, done from GST_GCOV now
9047         * tests/check/Makefile.am:
9048           clean up gcov files
9049
9050 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9051
9052         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9053           remove gst_caps_simplify; it was not declared and not used
9054           and deprecated in 0.8
9055
9056 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9057
9058         * docs/faq/gst-uninstalled:
9059           don't put empty paths on PYTHONPATH
9060         * docs/gst/gstreamer-sections.txt:
9061           remove some symbols that are not there
9062
9063 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9064
9065         * gst/gstcaps.c: (gst_caps_compare_structures):
9066           whitespace fixes
9067         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9068         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9069           add more tests
9070
9071 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9072
9073         * libs/gst/dataprotocol/Makefile.am:
9074           build dataprotocol test by linking to the lib, instead of
9075           compiling the source, so we get coverage
9076         * tests/check/Makefile.am:
9077         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9078         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9079           add a test for filesrc
9080
9081 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9082
9083         * tests/check/gst/gststructure.c: (GST_START_TEST),
9084         (gst_structure_suite):
9085           Push coverage from 59.04% to 70.00%
9086
9087 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9088
9089         * tests/check/Makefile.am:
9090           gst-inspect every element; this makes sure that we also get
9091           coverage on element's get/set functions
9092
9093 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9094
9095         * configure.ac:
9096           set CFLAGS and friends to -O0 if gcov is being used
9097           add GCOV LIBS
9098         * gst/Makefile.am:
9099         * libs/gst/base/Makefile.am:
9100         * libs/gst/check/Makefile.am:
9101         * libs/gst/controller/Makefile.am:
9102         * libs/gst/dataprotocol/Makefile.am:
9103         * libs/gst/net/Makefile.am:
9104         * plugins/elements/Makefile.am:
9105         * plugins/indexers/Makefile.am:
9106           add makefile rules to generate gcov data and clean up
9107         * tests/check/Makefile.am:
9108           add a coverage target that generates an html overview
9109           of coverage data
9110
9111 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9112
9113         * tests/check/elements/fakesink.c:
9114         * tests/check/elements/fakesrc.c:
9115         * tests/check/elements/fdsrc.c:
9116         * tests/check/elements/identity.c:
9117         * tests/check/generic/sinks.c: (gst_sinks_suite):
9118         * tests/check/generic/states.c:
9119         * tests/check/gst/gst.c:
9120         * tests/check/gst/gstabi.c:
9121         * tests/check/gst/gstbin.c:
9122         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9123         * tests/check/gst/gstbus.c: (gst_bus_suite):
9124         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9125         * tests/check/gst/gstelement.c:
9126         * tests/check/gst/gstevent.c: (gst_event_suite):
9127         * tests/check/gst/gstghostpad.c:
9128         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9129         * tests/check/gst/gstmessage.c: (gst_message_suite):
9130         * tests/check/gst/gstminiobject.c:
9131         * tests/check/gst/gstobject.c:
9132         * tests/check/gst/gstpad.c:
9133         * tests/check/gst/gstpipeline.c:
9134         * tests/check/gst/gstplugin.c:
9135         * tests/check/gst/gstquery.c: (gst_query_suite):
9136         * tests/check/gst/gstsegment.c: (gst_segment_suite):
9137         * tests/check/gst/gststructure.c:
9138         * tests/check/gst/gstsystemclock.c:
9139         * tests/check/gst/gsttag.c:
9140         * tests/check/gst/gsttask.c: (gst_task_suite):
9141         * tests/check/gst/gstutils.c:
9142         * tests/check/gst/gstvalue.c:
9143         * tests/check/libs/adapter.c:
9144         * tests/check/libs/basesrc.c:
9145         * tests/check/libs/collectpads.c:
9146         * tests/check/libs/controller.c:
9147         * tests/check/libs/gdp.c: (gst_dp_suite):
9148         * tests/check/libs/gstnetclientclock.c:
9149         * tests/check/libs/gstnettimeprovider.c:
9150         * tests/check/libs/libsabi.c: (libsabi_suite):
9151         * tests/check/libs/typefindhelper.c:
9152         * tests/check/pipelines/cleanup.c:
9153         * tests/check/pipelines/parse-launch.c:
9154         * tests/check/pipelines/simple-launch-lines.c:
9155         * tests/check/pipelines/stress.c: (stress_suite):
9156           use the new macro
9157
9158 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9159
9160         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9161         * libs/gst/check/gstcheck.h:
9162           create a macro and function so that the simple unit test
9163           case can be just one macro to create main()
9164
9165 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
9166
9167         * gst/gstbin.c: (gst_bin_restore_thyself):
9168         * gst/gstxml.c: (gst_xml_make_element):
9169           Fix deserialisation from XML. Set parent manually
9170           instead of using gst_bin_add(), since gst_bin_add()
9171           will unlink all pads of the element being added.
9172           Fixes #341667.
9173
9174 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
9175
9176         Patch by: Peter Kjellerstedt <pkj at axis com>
9177
9178         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9179           Fix missing g_strdup() and double free when using the
9180           --gst-plugin-load command line option (#346097).
9181
9182 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9183
9184         * gst/gstinfo.c:
9185           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9186
9187         * libs/gst/net/gstnetclientclock.c:
9188         * libs/gst/net/gstnettimeprovider.c:
9189           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9190
9191 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9192
9193         * docs/manual/advanced-dataaccess.xml:
9194           Fix buffer probe example compilation in
9195           ADM (#345708).
9196         
9197 2006-06-22  Edward Hervey  <edward@fluendo.com>
9198
9199         * gst/gstelement.c: (gst_element_pads_activate):
9200         We need to deactivate src pads first and then sink pads.
9201         The reason is the src pads might be blocking while holding the streaming
9202         lock, so we need to deactivate them first so that deactivating the sink
9203         pads doesn't block (since it will require the streaming lock).
9204
9205 2006-06-22  Wim Taymans  <wim@fluendo.com>
9206
9207         * libs/gst/base/gstbasetransform.c:
9208         (gst_base_transform_buffer_alloc):
9209         Forgot to remove two unneeded unrefs.
9210         Simplify a check _is_equal allready checks the obvious case.
9211
9212 2006-06-22  Wim Taymans  <wim@fluendo.com>
9213
9214         * docs/design/part-block.txt:
9215         Some docs about what pad_block should do.
9216
9217 2006-06-22  Wim Taymans  <wim@fluendo.com>
9218
9219         * gst/gstcaps.c: (gst_caps_replace):
9220         Fix crasher when passed NULL. Doc clarification.
9221         Optimize for the trivial case.
9222
9223         * gst/gstpipeline.c: (gst_pipeline_change_state):
9224         Small cleanups.
9225
9226         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9227         Small documentation cleanup.
9228
9229         * libs/gst/base/gstbasetransform.c:
9230         (gst_base_transform_buffer_alloc):
9231         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9232         is what we need and it avoids a whole lot of redundant 
9233         refcount operations.
9234
9235 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
9236
9237         Patch by: Philip Jägenstedt  <philip at lysator liu se>
9238
9239         * docs/manual/advanced-dataaccess.xml:
9240           Fix 'Embedding static elements' section to use
9241           GST_PLUGIN_DEFINE_STATIC (#345607).
9242
9243 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9244
9245         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9246           Attempt to 'fix' spuriously failing test case: it seems like the
9247           timeout of half a second is simply too small when the system is under
9248           load otherwise, and the timeout doesn't really seem to serve any
9249           particular purpose here. Give the pipeline a few seconds to preroll
9250           first, and then give it another half a second to go from PAUSED to
9251           PLAYING and marshal the message into the main thread.
9252
9253 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9254
9255         * tools/gst-feedback-m.m:
9256           Don't only use unversioned tools, try versioned tools as well
9257           (#345086).
9258
9259 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9260
9261         * gst/gstbus.c: (gst_bus_class_init):
9262           Fix some typos, make docs more explicit.
9263
9264 2006-06-20  Wim Taymans  <wim@fluendo.com>
9265
9266         * tests/check/gst/gstghostpad.c: (block_callback),
9267         (GST_START_TEST), (gst_ghost_pad_suite):
9268         Added some more ghostpad tests, mainly blocking
9269         and probes.
9270
9271 2006-06-16  Wim Taymans  <wim@fluendo.com>
9272
9273         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9274         (gst_file_sink_close_file), (gst_file_sink_do_seek),
9275         (gst_file_sink_event), (gst_file_sink_render):
9276         * plugins/elements/gstfilesink.h:
9277         Check if we can seek in the file instead of assuming
9278         we always can. Post an error when we are asked to seek in a
9279         non-seekable file (like a fifo). Fixes #343312.
9280         Some cleanups.
9281
9282 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9283
9284         * tools/gst-launch.1.in:
9285           Un-garble (fourcc) bit in filtered caps section.
9286
9287 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9288
9289         * docs/manual/advanced-autoplugging.xml:
9290         * docs/manual/basics-helloworld.xml:
9291         * docs/manual/highlevel-components.xml:
9292           Don't leak bus reference in sample code.
9293
9294 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9295
9296         * autogen.sh:
9297           Add default for new --enable-plugin-docs switch.
9298
9299         * configure.ac:
9300           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9301           Fixes #344039.
9302
9303         * docs/Makefile.am:
9304           Use new ENABLE_PLUGIN_DOCS conditional.
9305
9306 2006-06-14  Wim Taymans  <wim@fluendo.com>
9307
9308         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9309         Make it clear with a FIXME and a real define what the #if 0
9310         previously disabled.
9311
9312 2006-06-14  Wim Taymans  <wim@fluendo.com>
9313
9314         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9315         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9316         * libs/gst/base/gstbasetransform.c:
9317         (gst_base_transform_sink_eventfunc):
9318         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9319         Don't randomly and silently reset a segment when the format 
9320         changes as this is a bug somewhere upstream. Fixes #330379.
9321
9322 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
9323
9324         Patch by: Wouter Paesen  <wouter at kangaroot net>
9325
9326         * libs/gst/controller/gstcontroller.c:
9327         (gst_controlled_property_new):
9328           Fix controlling of float properties (#344849).
9329
9330         * tests/check/libs/controller.c:
9331         (gst_test_mono_source_get_property),
9332         (gst_test_mono_source_set_property),
9333         (gst_test_mono_source_class_init), (GST_START_TEST):
9334           While we're at it, add some float stuff to unit test.
9335
9336 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9337
9338         * docs/README:
9339         * docs/images/gdp-header.svg:
9340           add a gdp image
9341         * docs/libs/Makefile.am:
9342         * docs/libs/gdp-header.png:
9343         * libs/gst/dataprotocol/dataprotocol.c:
9344           add it to the API docs
9345         * docs/manual/intro-motivation.xml:
9346           fix typo
9347
9348 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9349
9350         * gst/gst.c: (scan_and_update_registry), (init_post):
9351           If the fork()'ed child process can't write the updated registry cache
9352           file to disk for some reason, make it exit with a failure exit code,
9353           so that the parent can then re-scan the plugins itself and update the
9354           registry structures in memory and work with that (rather than failing
9355           when creating elements because seemingly no plugins are available).
9356           Refactor registry scanning code into separate function for this and
9357           also separate fork() and non-fork() code paths. Fixes #344748.
9358
9359 2006-06-13  Wim Taymans  <wim@fluendo.com>
9360
9361         * docs/manual/advanced-dataaccess.xml:
9362         Fix wrong PluginDesc. Fixes #344755.
9363
9364 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9365
9366         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9367           Fix silly bug that prevented us from creating
9368           ~/.gstreamer-0.10 and writing the registry in one
9369           go (the first call to g_mkstemp() would overwrite the
9370           placeholder in the template string, so the second call
9371           to g_mkstemp() after creating the missing directory
9372           would then error out with 'invalid argument').
9373
9374 2006-06-13  Edward Hervey  <edward@fluendo.com>
9375
9376         * gst/gst.c: (init_post):
9377         Free string.
9378
9379 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9380
9381         * gst/glib-compat-private.h:
9382         * gst/glib-compat.c:
9383         * gst/glib-compat.h:
9384         * gst/gstvalue.c: (gst_value_serialize_flags):
9385           remove GLib 2.6 compatibility code
9386
9387 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
9388
9389         * gst/parse/Makefile.am:
9390           Fix build with 'make -j N' even more (#340016).
9391
9392 2006-06-12  Wim Taymans  <wim@fluendo.com>
9393
9394         * docs/gst/gstreamer-sections.txt:
9395         Fix docs.
9396
9397 2006-06-12  Wim Taymans  <wim@fluendo.com>
9398
9399         * gst/gstsegment.c: (gst_segment_set_duration),
9400         (gst_segment_set_last_stop), (gst_segment_set_seek),
9401         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9402         (gst_segment_to_running_time), (gst_segment_clip):
9403         Use G_UNLIKELY to help the compiler a bit.
9404
9405 2006-06-12  Wim Taymans  <wim@fluendo.com>
9406
9407         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9408
9409         * gst/gstevent.c: (gst_event_get_type):
9410         * gst/gstmessage.c:
9411         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9412         (gst_pad_push):
9413         constify quark registration strings. Fixes #344115
9414         Avoid unneeded type checking is _pad_push() by internally
9415         calling gst_pad_chain_unchecked().
9416
9417 2006-06-12  Wim Taymans  <wim@fluendo.com>
9418
9419         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9420         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9421         (gst_subbuffer_finalize), (gst_buffer_create_sub),
9422         (gst_buffer_is_span_fast), (gst_buffer_span):
9423         Init _type for consistency.
9424         Use _FLAGS macro to avoid type check.
9425         Avoid unneeded type checks in subbufer code.
9426
9427 2006-06-12  Wim Taymans  <wim@fluendo.com>
9428
9429         * gst/gst.c: (gst_debug_help):
9430         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9431         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9432         (gst_plugin_feature_list_free):
9433         * gst/gstregistry.c: (gst_registry_add_plugin),
9434         (gst_registry_add_feature), (gst_registry_plugin_filter),
9435         (gst_registry_feature_filter), (gst_registry_find_plugin),
9436         (gst_registry_find_feature), (gst_registry_get_plugin_list),
9437         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9438         * gst/gstregistryxml.c: (load_feature),
9439         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9440         * gst/gstminiobject.c: (gst_mini_object_unref),
9441         (gst_mini_object_replace), (gst_value_mini_object_free),
9442         (gst_value_mini_object_copy):
9443         Use _CAST macros to avoid unneeded type checking.
9444         Added some more G_UNLIKELY.
9445
9446 2006-06-12  Wim Taymans  <wim@fluendo.com>
9447
9448         * gst/gstbuffer.h:
9449         Avoid unneeded type checking.
9450         API: GST_BUFFER_IS_DISCONT
9451
9452         * gst/gstminiobject.h:
9453         Avoid type check in flag accessor.
9454
9455         * gst/gstelementfactory.h:
9456         * gst/gstplugin.h:
9457         * gst/gstpluginfeature.h:
9458         Add _CAST macros.
9459         API: GST_ELEMENT_FACTORY_CAST
9460         API: GST_PLUGIN_CAST
9461         API: GST_PLUGIN_FEATURE_CAST
9462
9463 2006-06-12  Wim Taymans  <wim@fluendo.com>
9464
9465         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9466         (gst_object_unref):
9467         Add G_UNLIKELY in type registration.
9468         Avoid type check in _ref/_unref since that is also
9469         done in glib.
9470
9471 2006-06-12  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/gsterror.c: (gst_g_error_get_type):
9474         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9475         (gst_static_pad_template_get_type):
9476         * gst/gsttaglist.c: (gst_tag_list_get_type):
9477         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9478         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9479         * gst/gsturi.c: (gst_uri_handler_get_type):
9480         * gst/gstvalue.c: (gst_date_get_type):
9481         * gst/gstxml.c: (gst_xml_get_type):
9482         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9483         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9484         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9485         Add G_UNLIKELY in type registration.
9486
9487 2006-06-12  Wim Taymans  <wim@fluendo.com>
9488
9489         * tools/gst-inspect.c: (print_signal_info):
9490         Properly print enum values.
9491
9492 2006-06-12  Wim Taymans  <wim@fluendo.com>
9493
9494         * gst/gstinfo.c: (gst_debug_set_active),
9495         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9496         * gst/gstinfo.h:
9497         Add some G_[UN]LIKELY.
9498         Maintain __gst_debug_min to avoid formatting the arguments of
9499         debug messages that will be dropped anyway to avoid a lot of 
9500         overhead from the debugging system.
9501
9502 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9503
9504         * po/POTFILES.in:
9505         * po/POTFILES.skip:
9506           add missing files containing translatable strings, tell intltool about
9507           one exception
9508
9509 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9510
9511         * tests/check/libs/.cvsignore:
9512         add test-binary to ignore list
9513
9514 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9515
9516         * docs/libs/gstreamer-libs-docs.sgml:
9517         reorder (put dp into a chapter) and indent
9518
9519 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * configure.ac:
9522           back to HEAD
9523
9524 === release 0.10.8 ===
9525
9526 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9527
9528         * configure.ac:
9529           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9530
9531 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9532
9533         * gst/gst.c: (init_post):
9534           move pid declaration to declaration block
9535
9536 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9537
9538         * gst/gst.c: (init_post):
9539           use _exit() instead of exit() in our forked child; this ensures
9540           that none of the registered exit handlers from whatever is using
9541           GStreamer get executed.  This fixes gnome-mixer-applet failing
9542           to load, because ORBit would shut down.
9543           Spotted by: Edward Hervey  <edward@fluendo.com>
9544           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9545           Fixes #344474
9546
9547 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9548
9549         * configure.ac:
9550           back to TRUNK
9551
9552 === release 0.10.7 ===
9553
9554 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9555
9556         * configure.ac:
9557           releasing 0.10.7, "Soepeke, ik zie ou"
9558
9559 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9560
9561         * configure.ac:
9562         * po/af.po:
9563         * po/az.po:
9564         * po/bg.po:
9565         * po/ca.po:
9566         * po/cs.po:
9567         * po/de.po:
9568         * po/en_GB.po:
9569         * po/fr.po:
9570         * po/it.po:
9571         * po/nb.po:
9572         * po/nl.po:
9573         * po/ru.po:
9574         * po/sq.po:
9575         * po/sr.po:
9576         * po/sv.po:
9577         * po/tr.po:
9578         * po/uk.po:
9579         * po/vi.po:
9580         * po/zh_CN.po:
9581         * po/zh_TW.po:
9582         * win32/common/config.h:
9583           0.10.6.2 prerelease
9584
9585 2006-06-07  Wim Taymans  <wim@fluendo.com>
9586
9587         * gst/gstindex.c: (gst_index_gtype_resolver):
9588         * tools/gst-xmlinspect.c: (print_plugin_info):
9589         Fix leak spotted by coverity checker. Fixes #343827
9590         Fix another other leak found by paolo borelli.
9591
9592 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9593
9594         * libs/gst/dataprotocol/dataprotocol.c:
9595         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9596         (gst_dp_version_get_type), (gst_dp_init),
9597         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9598         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9599         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9600         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9601         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9602         (gst_dp_packetizer_free):
9603         * libs/gst/dataprotocol/dataprotocol.h:
9604           API: add a GstDPPacketizer object, and create/free functions
9605           API: add GstDPVersion enum
9606           Add 1.0 event function that uses the string serialization
9607           Serialize more useful buffer flags
9608           Fixes #343988
9609
9610 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9611
9612         * tests/check/Makefile.am:
9613         * tests/check/gst/gstabi.c:
9614         * tests/check/gst/struct_ppc64.h:
9615         * tests/check/libs/libsabi.c:
9616         * tests/check/libs/struct_ppc64.h:
9617           add ppc64 structure sizes
9618
9619 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9620
9621         * tests/check/Makefile.am:
9622         * tests/check/gst/gstabi.c:
9623         * tests/check/gst/struct_x86_64.h:
9624         * tests/check/libs/libsabi.c:
9625         * tests/check/libs/struct_x86_64.h:
9626           generate and add structure size lists for x86_64
9627
9628 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9629
9630         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9631         * libs/gst/check/gstcheck.h:
9632           factor out the method from tests that checks size of structures,
9633           and add code to generate the header containing these sizes
9634         * tests/check/gst/gstabi.c: (GST_START_TEST):
9635         * tests/check/gst/struct_i386.h:
9636         * tests/check/libs/libsabi.c: (GST_START_TEST):
9637         * tests/check/libs/struct_i386.h:
9638           use it
9639
9640 2006-06-06  Michael Smith  <msmith@fluendo.com>
9641
9642         * gst/gstsegment.h:
9643           Don't use c++-style comments, fixes #343929
9644
9645 2006-06-05  Edward Hervey  <edward@fluendo.com>
9646
9647         * gst/gst.c:
9648         plugin_paths is not used if we build without registry support.
9649
9650         * gst/gstsegment.c: (gst_segment_copy): 
9651         _copy() was always returning NULL...
9652
9653 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9654
9655         * libs/gst/dataprotocol/dataprotocol.c:
9656         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9657         (gst_dp_packet_from_event):
9658           factor out CRC code
9659
9660 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9663           make sure we unset caps
9664
9665 2006-06-02  Michael Smith  <msmith@fluendo.com>
9666
9667         * libs/gst/check/gstcheck.c: (gst_check_init),
9668         (gst_check_chain_func):
9669         * libs/gst/check/gstcheck.h:
9670           Add a cond/mutex to the check support lib, signal this whenever we
9671           add to the buffers list. This will allow tests to not busy-wait on
9672           the buffer-list.
9673
9674 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9675
9676         * libs/gst/dataprotocol/dataprotocol.c:
9677         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9678         (gst_dp_packet_from_event):
9679           factor out some common header init code
9680
9681 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9682
9683         * docs/libs/gstreamer-libs-sections.txt:
9684         * docs/libs/tmpl/gstdataprotocol.sgml:
9685         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9686         * libs/gst/dataprotocol/dataprotocol.h:
9687           API: make gst_dp_crc() public
9688
9689 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9690
9691         * plugins/indexers/gstindexers.c: (plugin_init):
9692         conditionally register fileindexer (fixes #343598)
9693
9694 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9695
9696         * gst/gsttagsetter.h:
9697         Can't cast ifaces to a class
9698
9699         * libs/gst/net/gstnetclientclock.h:
9700         * libs/gst/net/gstnettimeprovider.h:
9701         * plugins/elements/gstfakesink.h:
9702         * plugins/elements/gstfakesrc.h:
9703         * plugins/elements/gstfdsink.h:
9704         * plugins/elements/gstfdsrc.h:
9705         * plugins/elements/gstfilesink.h:
9706         * plugins/elements/gstfilesrc.h:
9707         * plugins/elements/gstidentity.h:
9708         * plugins/elements/gstqueue.h:
9709         * plugins/elements/gsttee.h:
9710         * plugins/indexers/gstfileindex.c:
9711         * plugins/indexers/gstmemindex.c:
9712         * tests/old/examples/plugins/example.h:
9713         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9714
9715 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9716
9717         * libs/gst/dataprotocol/dataprotocol.c:
9718         (gst_dp_header_from_buffer):
9719           make sure we zero the whole ABI-compatible area
9720
9721 2006-06-01  Wim Taymans  <wim@fluendo.com>
9722
9723         Patch by: Alessandro Decina <alessandro at nnva dot org>
9724
9725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9726         Make sure the EOS flag is cleared from pads after a flush
9727         or stop. Fixes #343538.
9728
9729         * tests/check/libs/collectpads.c: (GST_START_TEST),
9730         (gst_collect_pads_suite):
9731         Added test for collectpads reusage after EOS.
9732
9733 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9734
9735         * gst/gst.c:
9736          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9737         * win32/common/libgstbase.def:
9738          export gst_collect_pads_set_flushing
9739         * win32/common/libgstreamer.def:
9740          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9741          gst_value_fraction_multiply
9742         * win32/vs6/gst_inspect.dsp:
9743          add a link to intl.lib
9744
9745 2006-05-30  Wim Taymans  <wim@fluendo.com>
9746
9747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9748         (gst_collect_pads_chain):
9749         Handle the case where a pad is removed from the collection
9750         that could cause the other pads to become collectable.
9751
9752 2006-05-30  Wim Taymans  <wim@fluendo.com>
9753
9754         * gst/gstelement.c:
9755         Clarify the use of _release_request_pad() and
9756         _get_request_pad() a bit better.
9757
9758         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9759         (gst_adapter_take_buffer):
9760         Fix some doc and comment typos.
9761
9762 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9763
9764         * docs/gst/gstreamer-sections.txt:
9765         * docs/libs/gstreamer-libs-sections.txt:
9766           add declared symbols
9767
9768 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9769
9770         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9771         Add debug that can be enabled using a #define at the top of the file,
9772         for dumping stats about how late/early we were when waking up from
9773         waiting on the clock.
9774
9775 2006-05-30  Wim Taymans  <wim@fluendo.com>
9776
9777         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9778         When rebuilding the pad list, don't leak the previous list.
9779
9780 2006-05-30  Wim Taymans  <wim@fluendo.com>
9781
9782         Patch by: Lutz Mueller <lutz at topfrose dot de>
9783
9784         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9785         (gst_base_src_get_query_types), (gst_base_src_update_length):
9786         Publish supported query types.
9787         Update last_stop field in get_range mode so the position
9788         query works. Fixes #342321.
9789
9790 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9791
9792         * docs/gst/gstreamer-sections.txt:
9793         * gst/gsttaglist.c: (_gst_tag_initialize):
9794         * gst/gsttaglist.h:
9795           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9796
9797 2006-05-30  Wim Taymans  <wim@fluendo.com>
9798
9799         Patch by: Alessandro Decina <alessandro at nnva dot org>
9800
9801         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9802         Unlock mutex when removing an unknown pad.
9803         Fixes #343334.
9804
9805         * tests/check/Makefile.am:
9806         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9807         (push_event), (setup), (teardown), (GST_START_TEST),
9808         (gst_collect_pads_suite), (main):
9809         Added collecpads check, disabled for now as check crashes for
9810         some reason.
9811
9812 2006-05-29  Wim Taymans  <wim@fluendo.com>
9813
9814         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9815         Don't leak pads lists.
9816
9817 2006-05-29  Wim Taymans  <wim@fluendo.com>
9818
9819         * docs/libs/gstreamer-libs-sections.txt:
9820         * libs/gst/base/gstcollectpads.c:
9821         (gst_collect_pads_set_flushing_unlocked),
9822         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9823         (gst_collect_pads_stop):
9824         * libs/gst/base/gstcollectpads.h:
9825         API: gst_collect_pads_set_flushing()
9826         Added api to set the pads to flushing, useful for seeking
9827         code in elements using collectpads.
9828         Clear segment when receiving a flush.
9829
9830 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9831
9832         * gst/gst.c: (add_path_func), (init_post):
9833           Don't scan registry paths passed via --gst-plugin-path immediately
9834           (will crash, because absolutely nothing is set up and no types are
9835           registered etc.); do this later in init_post(). Fixes #343057.
9836
9837 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9838
9839         * gst/gst.c: (init_post):
9840           if we have fork, fork while reading/rebuilding the registry
9841           so the parent doesn't take the hit of having all plugins loaded
9842           in memory.  Fixes #342777.
9843         * configure.ac:
9844           Check if we have fork()
9845         * win32/common/config.h.in:
9846           no fork() on win32
9847
9848 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9849
9850         * plugins/elements/gstelements.c:
9851         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9852         (gst_file_src_init), (gst_file_src_set_property),
9853         (gst_file_src_get_property), (gst_file_src_start):
9854         * plugins/elements/gstfilesrc.h:
9855           API: GstFileSrc::use-mmap
9856
9857         Add a use-mmap property to enable easier testing of all code paths.
9858         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9859         in the absence of gnomevfssrc. (Closes #340501)
9860
9861 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9862
9863         * tools/gst-inspect.c:
9864         Add missing include, removes warning of ngettext not being defined on
9865         some arches.
9866
9867 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9868
9869         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9870         Handle NULL input and output pointers silently as a failed conversion,
9871         rather than g_warnings.
9872
9873 2006-05-25  Wim Taymans  <wim@fluendo.com>
9874
9875         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9876         Initialize variable before using. Fixes #342820.
9877
9878 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9879
9880         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9881           Fix off-by-one bug that would only allow peeks of N-1 bytes
9882           from the start even if the buffer to typefind on contains
9883           in fact N bytes of data (makes vorbis typefinding from a
9884           vorbis identification header buffer work).
9885
9886         * tests/check/Makefile.am:
9887         * tests/check/libs/.cvsignore:
9888         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9889         (gst_typefindhelper_suite), (main), (foobar_typefind),
9890         (plugin_init):
9891           Add very basic unit test for gst_type_find_helper_for_buffer()
9892           that checks for the problem fixed above.
9893
9894 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9895
9896         * tools/gst-inspect.c: (print_interfaces),
9897         (print_element_properties_info), (print_element_list), (main):
9898           add more translatable strings
9899
9900 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9901
9902         Patch by: Julien Moutte  <julien at moutte net>
9903
9904         * docs/gst/gstreamer-sections.txt:
9905           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9906           
9907         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9908         (gst_fake_sink_preroll):
9909         * plugins/elements/gstfakesink.h:
9910           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9911
9912 2006-05-23  Wim Taymans  <wim@fluendo.com>
9913
9914         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9915         * gst/gstpad.h:
9916         Added _CUSTOM error and success GstFlowReturn that can be
9917         used be elements internally. 
9918         Added macro to check for SUCCESS flowreturns.
9919         API: GST_FLOW_CUSTOM_SUCCESS
9920         API: GST_FLOW_CUSTOM_ERROR
9921         API: GST_FLOW_IS_SUCCESS
9922
9923         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9924         Added check for GstFlowReturn sanity.
9925
9926 2006-05-23  Wim Taymans  <wim@fluendo.com>
9927
9928         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9929
9930         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9931         (gst_collect_pads_event):
9932         clear/reset segment info in FLUSH_STOP.
9933         Fixes #336929.
9934
9935 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9936
9937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9938         (gst_collect_pads_check_collected):
9939         Flush queued buffer on _stop(), fixes playing again (#342454)
9940
9941 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * tests/check/gst/gststructure.c: (GST_START_TEST),
9944         (gst_structure_suite):
9945           add a test for a complete structure
9946
9947 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9948
9949         * docs/faq/developing.xml:
9950         * docs/faq/faq.xml:
9951         * docs/faq/troubleshooting.xml:
9952         * docs/faq/using.xml:
9953           Some minor FAQ updates that won't change the fact that
9954           our FAQ is badly structured, full of information hardly
9955           anyone new to GStreamer needs to know and lacking lots
9956           of information people constantly ask for.
9957           
9958 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9959
9960         * gst/gstpad.c: (gst_pad_set_caps):
9961           Short-circuit gst_pad_set_caps if setting the existing
9962           caps pointer again, and avoid printing debug and 
9963           reffing/unreffing the caps.
9964
9965         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9966           There's actually no need to set the caps before pushing -
9967           the acceptcaps method will handle it anyway.
9968
9969 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9970
9971         * docs/gst/gstreamer-sections.txt:
9972         * win32/common/libgstreamer.def:
9973         * gst/gstutils.c: (gst_element_seek_simple):
9974         * gst/gstutils.h:
9975           API: add gst_element_seek_simple() (#342238).
9976
9977 2006-05-18  Edward Hervey  <edward@fluendo.com>
9978
9979         * gst/gsttypefind.c: (gst_type_find_get_type):
9980         * gst/gsttypefind.h:
9981         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9982         registered for GstTypeFind pointers. This allows wrapping the structure
9983         in bindings (i.e. gst-python).
9984
9985 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9986
9987         * gst/gsttagsetter.c:
9988           Docs additions and fixes (see #339918).
9989
9990 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9991
9992         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9993         The caps intersection algorithm can produce multiple copies of the
9994         caps. Until that is fixed, we need to simplify the result to be
9995         sure whether the allowed caps are fixed or not.
9996
9997         * plugins/elements/gstqueue.c: (gst_queue_init),
9998         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9999         (gst_queue_push_one):
10000         Proxied buffer alloc should not set the caps on the source pad.
10001         When pushing buffers, we always accept the caps change that triggers.
10002         This prevents negotiation errors caused by caps changing mid-stream 
10003         and then being refused on our source pad (because upstream is now
10004         refusing those caps).
10005
10006 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10007
10008         * tests/examples/helloworld/helloworld.c: (main):
10009           Must plug audioconvert and audioresample between decoder
10010           and audio sink.
10011
10012 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
10013
10014         * gst/gstregistryxml.c: (read_string), (load_pad_template),
10015         (load_feature), (load_plugin):
10016         Allow empty strings for some of the plugin fields so we don't 
10017         drop valid plugin entries that were written out correctly
10018         (Fixes #341479)
10019
10020 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
10021         
10022         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10023           Use g_remove and g_rename instead of remove and rename that don't 
10024           handle utf8 characters. rename was failing for users who had specific
10025           characters in their name then the registry was built at each 
10026           gstreamer init.
10027         * win32/vs6/gst_inspect.dsp:
10028         * win32/vs6/gst_launch.dsp:
10029         * win32/vs6/libgstbase.dsp:
10030         * win32/vs6/libgstcoreelements.dsp:
10031         * win32/vs6/libgstreamer.dsp:
10032           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
10033           build of libgstreamer and clean unused libraries in projects link 
10034           settings.
10035
10036 2006-05-17  Edward Hervey  <edward@fluendo.com>
10037
10038         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10039         The queue is not responsible for pushing an EOS when receiving a fatal
10040         flow error. It's up to the real element driving the pipeline to do that.
10041
10042 2006-05-16  Edward Hervey  <edward@fluendo.com>
10043
10044         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10045         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10046         buffer returned a fatal error. It should just send an EOS and stop
10047         its task.
10048         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10049         when pushing buffers on the queue and will be able to handle the event.
10050
10051 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
10052
10053         * docs/manual/basics-bins.xml:
10054         * docs/manual/basics-init.xml:
10055           Fix typos and minor errors in sample code (#341856).
10056
10057 2006-05-16  Wim Taymans  <wim@fluendo.com>
10058
10059         * docs/design/part-qos.txt:
10060         Fix indexes in formulas to make more sense.
10061
10062 2006-05-15  Wim Taymans  <wim@fluendo.com>
10063
10064         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10065         Don't report POSITION based on clock time if sync is
10066         disabled in a sink.
10067
10068 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
10069
10070         * gst/gstobject.h:
10071           Add cast to make compiler happy - refcount variable was a gint
10072           in GstObject but is a guint in GObject and g_atomic_int_get()
10073           wants a gint *.
10074
10075 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10076
10077         * gst/parse/Makefile.am:
10078           chain commands using &&, which also makes parallel make work
10079
10080 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
10081
10082         * docs/gst/gstreamer-sections.txt:
10083         * gst/gstevent.c:
10084         * gst/gstevent.h:
10085         * gst/gstmessage.h:
10086           Minor docs fixes.
10087
10088 === release 0.10.6 ===
10089
10090 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
10091
10092         * configure.ac:
10093           releasing 0.10.6, "Take the cannoli"
10094
10095 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10096
10097         * tools/gst-launch.c: (print_tag):
10098           Fix use of uninitialized variable in the hypothetical
10099           case that some broken plugin creates a GST_TAG_IMAGE
10100           tag containing a NULL buffer (#341667).
10101
10102 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10103
10104         * tools/gst-launch.c: (print_tag):
10105           Print something more intelligible for image tags when
10106           using the -t switch (#341556).
10107
10108 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10109
10110         * Makefile.am:
10111           updates for win32
10112         * configure.ac:
10113           define GST_MAJORMINOR so we have it available in win32/common/config.h
10114           Possibly remove it from our Makefile.am files later
10115         * win32/common/config.h:
10116         * win32/common/config.h.in:
10117           added GST_MAJORMINOR
10118         * win32/common/gstenumtypes.c: (register_gst_resource_error):
10119         * win32/common/gstversion.h:
10120           updated
10121
10122 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
10123
10124         * win32/MANIFEST:
10125           Update win32 files listing.
10126         * win32/common/gstversion.h:
10127           Add GST_MAJORMINOR definition.
10128         * win32/common/libgstreamer.def:
10129           Add new exported functions.
10130           
10131 2006-05-12  Michael Smith  <msmith@fluendo.com>
10132
10133         * gst/gstplugin.c: (gst_plugin_load_file):
10134           If an so file has no plugin entry point, unload the module.
10135
10136 2006-05-11  Wim Taymans  <wim@fluendo.com>
10137
10138         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10139         (gst_queue_set_property):
10140         Don't forget to signal the _chain or _loop function 
10141         when the queue size or thresholds change since that might
10142         cause them to make progres again.
10143
10144 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
10145
10146         * gst/gstclock.c: (gst_clock_class_init):
10147         * gst/gstindex.c: (gst_index_class_init):
10148         * gst/gstobject.c: (gst_object_class_init):
10149         * gst/gstpad.c: (gst_pad_class_init):
10150         * gst/gstpipeline.c: (gst_pipeline_class_init):
10151         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10152         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10153         * libs/gst/base/gstbasetransform.c:
10154         (gst_base_transform_class_init):
10155         * libs/gst/net/gstnetclientclock.c:
10156         (gst_net_client_clock_class_init):
10157         * libs/gst/net/gstnettimeprovider.c:
10158         (gst_net_time_provider_class_init):
10159         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10160         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10161         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10162         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10163         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10164         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10165         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10166         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10167         * plugins/elements/gsttee.c: (gst_tee_class_init):
10168         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10169         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10170           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10171
10172 2006-05-11  Wim Taymans  <wim@fluendo.com>
10173
10174         * gst/gstbuffer.c: (_gst_buffer_initialize):
10175         Register subbufer along with the buffer type so that
10176         it does not accidentally gets registered from N
10177         different streaming threads in a non threadsafe way.
10178
10179 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10180
10181         * gst/gstbuffer.h:
10182         * gst/gstevent.h:
10183         * gst/gstmessage.h:
10184           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10185           gst_event_ref() and gst_message_ref() functions again
10186           (ugly hack, please do fix if there's a better way besides
10187           overrides.txt, which doesn't seem to work).
10188
10189 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10190
10191         * libs/gst/check/gstcheck.h:
10192           add an assert for setting state to avoid lots of repetitive code
10193           in the future
10194
10195 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10196
10197         * gst/gstvalue.c: (gst_value_serialize_flags):
10198           fix a leak if no flags are set
10199         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10200           fix leak in tests
10201
10202 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10203
10204         * docs/manual/basics-pads.xml:
10205           Expand a bit on caps and filtered links and update
10206           examples that were still using the no longer existing
10207           gst_pad_link_filtered() (#338206).
10208
10209 2006-05-10  Wim Taymans  <wim@fluendo.com>
10210
10211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10212         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10213         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10214         (gst_collect_pads_stop):
10215         * libs/gst/base/gstcollectpads.h:
10216         No need to call _stop in _finalize.
10217         Iterate the main pad list in _finalize.
10218         Added some more debug.
10219         Free lists and data in the right order.
10220         Also free data whem doing _remove_pad when stopped for
10221         backward compatibility protect ::started with PAD_LOCK as
10222         well.
10223
10224 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10225
10226         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10227         (gst_structure_parse_value):
10228           add some comments
10229           rename a method so that it actually says what it does better
10230
10231 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10232
10233         * gst/gstevent.c: (_gst_event_initialize):
10234         * gst/gstformat.c: (_gst_format_initialize):
10235           make sure some essential types used by events are registered
10236           as part of gst_init()
10237         * gst/gstvalue.c: (gst_value_serialize_flags):
10238           if no flags are set, serialize them to a value that represents NONE
10239           so that deserializing them works
10240         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10241           add tests for serialization and deserialization of flags
10242
10243 2006-05-10  Wim Taymans  <wim@fluendo.com>
10244
10245         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10246         (gst_collect_pads_collect_range), (gst_collect_pads_available),
10247         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10248         (gst_collect_pads_event), (gst_collect_pads_chain):
10249         Update docs.
10250         Better debug info.
10251         Catch and return errors from the collect function
10252         Refuse data on eos pads.
10253
10254 2006-05-10  Edward Hervey  <edward@fluendo.com>
10255
10256         * gst/gstinterface.h:
10257         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10258         GInterface type checking.
10259         They were previously using non-defined macros.
10260
10261 2006-05-09  Wim Taymans  <wim@fluendo.com>
10262
10263         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10264         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10265         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10266         (gst_collect_pads_start), (gst_collect_pads_stop),
10267         (gst_collect_pads_peek), (gst_collect_pads_pop),
10268         (gst_collect_pads_available), (gst_collect_pads_read),
10269         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10270         (gst_collect_pads_is_collected), (gst_collect_pads_event),
10271         (gst_collect_pads_chain):
10272         * libs/gst/base/gstcollectpads.h:
10273         Clean up the mess that is collectpads, add comments and
10274         FIXMEs where needed.
10275         Maintain a separate pad list so we can add pads while
10276         collecting the other ones. For this we need a new separate 
10277         lock (see comics).
10278         Fix memory leak in finalize.
10279         Refactor some weird code to set/unset pad flushing flags, mark
10280         with comments.
10281         Don't crash in _available, _read, _flush when we're EOS.
10282
10283         * tests/check/libs/.cvsignore:
10284         Ignore adapter check binary.
10285
10286 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10287
10288         * gst/gstindex.c: (gst_index_resolver_get_type):
10289         * plugins/elements/gstfakesink.c:
10290         (gst_fake_sink_state_error_get_type):
10291         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10292         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10293         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10294           Const-ify GEnumValue arrays.
10295
10296 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10297
10298         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10299           Add test case for flags + gst_buffer_make_metadata_writable().
10300
10301 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10302
10303         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10304           gst_buffer_make_metadata_writable() should maintain the
10305           buffer flags (those that make sense at least) (see #340859).
10306
10307 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10308
10309         * tools/gst-inspect.c:
10310         * tools/gst-launch.c:
10311         * tools/gst-typefind.c:
10312         * tools/gst-xmlinspect.c:
10313         * tools/tools.h:
10314           Fix up includes: need to include stdlib.h in tools.h for exit().
10315
10316 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10317
10318         * gst/gsttaglist.c: (_gst_tag_initialize):
10319         * gst/gsttaglist.h:
10320           API: add GST_TAG_IMAGE tag (#340721).
10321
10322 2006-05-08  Wim Taymans  <wim@fluendo.com>
10323
10324         * gst/gstquery.c:
10325         Added some docs for the segment query.
10326
10327 2006-05-08  Wim Taymans  <wim@fluendo.com>
10328
10329         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10330         (gst_base_src_loop), (gst_base_src_change_state):
10331         Always push non-flushing serialized events in the streaming 
10332         thread.
10333
10334 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10335
10336         * gst/gsterror.c: (_gst_stream_errors_init):
10337           Add a missing error string.
10338
10339 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
10340
10341         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10342         Add applied_rate to the debug
10343
10344         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10345         Copy applied_rate into the outgoing NEWSEGMENT event
10346
10347 2006-05-08  Wim Taymans  <wim@fluendo.com>
10348
10349         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10350
10351         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10352         (gst_base_sink_change_state):
10353         call ::unlock before taking the PREROLL_LOCK so we can safely
10354         handle elements that lock in ::render.
10355         Fixes #340174.
10356
10357 2006-05-08  Edward Hervey  <edward@fluendo.com>
10358
10359         * autogen.sh: (CONFIGURE_DEF_OPT): 
10360         Darwin's libtoolize is in fact called glibtoolize.
10361         Adding glibtoolize to the list of accepted names for libtoolize.
10362
10363 2006-05-08  Wim Taymans  <wim@fluendo.com>
10364
10365         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10366         Unify error handling, don't post an error message
10367         when a push() returns EOS but perform our normal EOS
10368         handling code. Fixes #340772.
10369
10370 2006-05-08  Wim Taymans  <wim@fluendo.com>
10371
10372         * docs/design/part-overview.txt:
10373         Make upsteam/downstream concepts more clear.
10374         Give an example of serialized/non-serialized events.
10375
10376         * docs/design/part-events.txt:
10377         * docs/design/part-streams.txt:
10378         Mention applied_rate.
10379
10380         * docs/design/part-trickmodes.txt:
10381         Mention applied rate, flesh out some more use cases.
10382
10383         * gst/gstevent.c: (gst_event_new_new_segment),
10384         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10385         (gst_event_parse_new_segment_full), (gst_event_new_tag),
10386         (gst_event_parse_tag), (gst_event_new_buffer_size),
10387         (gst_event_parse_buffer_size), (gst_event_new_qos),
10388         (gst_event_parse_qos), (gst_event_parse_seek),
10389         (gst_event_new_navigation):
10390         * gst/gstevent.h:
10391         Add applied_rate field to NEWSEGMENT event.
10392         API: gst_event_new_new_segment_full()
10393         API: gst_event_parse_new_segment_full()
10394
10395         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10396         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10397         (gst_segment_to_stream_time), (gst_segment_to_running_time):
10398         * gst/gstsegment.h:
10399         Add applied_rate to GstSegment structure.
10400         Make calculation of stream_time and running_time more correct
10401         wrt rate/applied_rate.
10402         Add some more docs.
10403         API: GstSegment::applied_rate field
10404         API: gst_segment_set_newsegment_full();
10405
10406         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10407         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10408         * libs/gst/base/gstbasetransform.c:
10409         (gst_base_transform_sink_eventfunc),
10410         (gst_base_transform_handle_buffer):
10411         Parse and use applied_rate in the GstSegment field.
10412
10413         * tests/check/gst/gstevent.c: (GST_START_TEST):
10414         Add check for applied_rate field.
10415
10416         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10417         (gstsegments_suite):
10418         Add more checks for various GstSegment operations.
10419
10420 2006-05-08  Wim Taymans  <wim@fluendo.com>
10421
10422         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10423         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10424         (gst_base_sink_get_position), (gst_base_sink_change_state):
10425         Store the sync time of the buffer end position separatly in a
10426         new variable eos_rtime so we can properly sync the EOS event.
10427         Fixes #340697.
10428         Fix the docs for gst_base_sink_set_qos_enabled().
10429         Don't set segment start to invalid value when we receive a 
10430         non TIME newsegment.
10431         get closer to handling position reporting for negative rates 
10432         correctly.
10433
10434 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10435
10436         * gst/gstcaps.c:
10437         Docs about how to print caps for debug purposes.
10438
10439         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10440         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10441
10442 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10443
10444         * gst/gstelement.c:
10445           use full enum names and preprend a '%' in docs strings to make recent 
10446           gtk-doc turn that into a link
10447
10448 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10449
10450         * docs/manual/basics-bins.xml:
10451         * docs/manual/basics-bus.xml:
10452         * docs/manual/basics-pads.xml:
10453           Some typo fixes, some additions, some clarifications. 
10454
10455 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10456
10457         * tools/gst-inspect.c: (main):
10458         * tools/gst-launch.c: (main):
10459         * tools/gst-run.c: (main):
10460         * tools/gst-typefind.c: (main):
10461         * tools/gst-xmlinspect.c: (main):
10462           Use the string passed to g_option_context_new() for
10463           what it's intended for - the program name is already
10464           printed elsewhere.
10465
10466 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10467
10468         * tools/Makefile.am:
10469         * tools/gst-inspect.c: (main):
10470         * tools/gst-launch.c: (main):
10471         * tools/gst-xmlinspect.c: (main):
10472         * tools/tools.h:
10473           Add back --version command line option (#340460).
10474
10475         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10476           Add --version option and use GOption for argument parsing; refactor a
10477           bit; accept directories as arguments and recurse into them; lastly,
10478           print a decent error message when things go wrong.
10479
10480 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10481
10482         * docs/manual/basics-bins.xml:
10483         Don't mention GstThread (#340611)
10484         * docs/manual/basics-elements.xml:
10485         Update link to GObject tutorial (#340607)
10486         
10487 2006-05-05  Wim Taymans  <wim@fluendo.com>
10488
10489         * gst/gstbuffer.h:
10490         * gst/gstminiobject.c:
10491         Add note about refcounting and miniobject/buffer writeability
10492         to docs. Fixes #340604
10493
10494         * gst/gstelementfactory.h:
10495         Added some explanation about @klass.
10496
10497 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10498
10499         * docs/manual/intro-motivation.xml:
10500         * docs/manual/manual.xml:
10501         Avoid CORBA & Bonobo references (#340598)
10502
10503 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10504
10505         * docs/manual/basics-bus.xml:
10506         * docs/manual/basics-pads.xml:
10507         Fix up some inaccuracies and omissions (#340609)
10508         
10509 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10510
10511         * gst/gstghostpad.c:
10512           Small typo in docs (#340625)
10513
10514 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * gst/parse/Makefile.am:
10517           Make 'make -j' proof (see #340698).
10518
10519 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10520
10521         * configure.ac:
10522           Require GLib-2.8 here as well.
10523
10524 2006-05-05  Wim Taymans  <wim@fluendo.com>
10525
10526         * gst/glib-compat.c:
10527         * gst/gst.c: (init_pre):
10528         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10529         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10530         (gst_object_dispatch_properties_changed):
10531         * gst/gstobject.h:
10532         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10533         * gst/gststructure.c: (gst_structure_set_valist):
10534         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10535         Remove pre glib2.8 compatibility, fixes #340508
10536
10537 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10538
10539         * gst/gsttaglist.h:
10540           Mention type of tags in doc blurbs.
10541
10542 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10543
10544         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10545         (gst_pad_configure_src), (gst_pad_push):
10546         Restore acceptcaps checking behaviour now that good plugins have
10547         been released.
10548
10549 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10550
10551         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10552
10553         * gst/gst.c:
10554         * gst/gstbus.c:
10555         * gst/gstclock.c:
10556         * gst/gstevent.c:
10557         * gst/gstformat.c:
10558         * gst/gstmessage.c:
10559         * gst/gstparse.c:
10560         * gst/gstquery.c:
10561         * gst/gstutils.c:
10562         * gst/parse/Makefile.am:
10563         * libs/gst/base/gstadapter.c:
10564         * libs/gst/base/gstbasesrc.c:
10565         * libs/gst/base/gstpushsrc.c:
10566         * libs/gst/base/gsttypefindhelper.c:
10567         * plugins/elements/gstfakesrc.c:
10568         * plugins/elements/gstidentity.c:
10569           Make sure gstprivate.h and/or config.h are
10570           always included first, otherwise some of our
10571           defines (like _FILE_OFFSET_BITS) might be
10572           redefined in the system headers. Fixes build
10573           on opensolaris (#340016).
10574
10575 2006-05-04  Wim Taymans  <wim@fluendo.com>
10576
10577         * docs/libs/gstreamer-libs-sections.txt:
10578         API: addition: gst_adapter_take_buffer()
10579         
10580         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10581         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10582         (gst_adapter_available_fast):
10583         * libs/gst/base/gstadapter.h:
10584         Prepare for optimizing the hell out of this hugely inefficient
10585         piece of code. 
10586         Added gst_adapter_take_buffer() so we can at least start thinking
10587         about subbuffering and merging.
10588         Added some comments.
10589
10590         * tests/check/Makefile.am:
10591         * tests/check/libs/adapter.c: (GST_START_TEST),
10592         (gst_adapter_suite), (main):
10593         Added GstAdapter check.
10594
10595 2006-05-04  Wim Taymans  <wim@fluendo.com>
10596
10597         * docs/design/part-overview.txt:
10598         Fix some typos, add blurb about buffer flags.
10599
10600 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10601
10602         * docs/libs/gstreamer-libs-sections.txt:
10603           make sure GstBaseTransformClass shows up in the docs
10604         * libs/gst/base/gstbasetransform.c:
10605         * libs/gst/base/gstbasetransform.h:
10606           move docs so gtk-doc picks it up now
10607
10608 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10609
10610         * docs/libs/gstreamer-libs-sections.txt:
10611           add missing symbols to docs
10612
10613 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10614
10615         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10616           back out the newsegment handling change, see #340060 for ongoing
10617           discussion
10618
10619 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * tools/gst-run.c: (get_candidates), (main):
10622           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10623           work); fix typo in error message. Fixes #340079.
10624
10625 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10626
10627         * common/Makefile.am:
10628         * docs/Makefile.am:
10629         * docs/faq/Makefile.am:
10630         * docs/gst/Makefile.am:
10631         * docs/libs/Makefile.am:
10632         * docs/manual/Makefile.am:
10633         * docs/plugins/Makefile.am:
10634         * docs/pwg/Makefile.am:
10635         * docs/slides/Makefile.am:
10636         * docs/upload.mak:
10637         * common/upload.mak:
10638           move upload.mak to common
10639
10640 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10641
10642         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10643           add more asserts on refcounts
10644           do more cleanup at end of tests
10645           fix test leaks showing in FC5
10646
10647 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10648
10649         * plugins/elements/gsttypefindelement.c:
10650         (gst_type_find_element_handle_event):
10651         reverted wrong change and reflowed code to avoid others falling into
10652         this trap
10653
10654 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10655
10656         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10657           fix changelog entry about last collectpads change,
10658           add notes about proper fix
10659
10660 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10661
10662         * gst/gst.c:
10663         * gst/gstregistry.c: (gst_registry_scan_path_level),
10664         (gst_registry_scan_path):
10665         * gst/gstregistry.h:
10666           only write out registry if it has changed, fixes #338339
10667
10668 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10669
10670         * gst/gstbin.c:
10671         * gst/gstpipeline.c:
10672         * plugins/elements/gstcapsfilter.c:
10673         * plugins/elements/gstfakesink.c:
10674         * plugins/elements/gstfakesrc.c:
10675         * plugins/elements/gstfdsink.c:
10676         * plugins/elements/gstfdsrc.c:
10677         * plugins/elements/gstfilesink.c:
10678         * plugins/elements/gstfilesrc.c:
10679         * plugins/elements/gstidentity.c:
10680         * plugins/elements/gstqueue.c:
10681         * plugins/elements/gsttee.c:
10682         * plugins/elements/gsttypefindelement.c:
10683         (gst_type_find_element_handle_event):
10684           make GstElementDetails const
10685
10686 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10687
10688         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10689         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10690         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10691           more detailed debug and formatting cleanup,
10692           forward newsegments to src-pad (so that e.g. adder not eats them)
10693
10694 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10695
10696         * gst/gstutils.c: (gst_element_link_pads):
10697           cleanup double code
10698
10699 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10700
10701         * libs/gst/controller/gstcontroller.c:
10702         (gst_controller_sync_values):
10703           some little tuning
10704         * tests/check/libs/controller.c: (GST_START_TEST),
10705         (gst_controller_suite):
10706           a new test for live value handling
10707
10708 2006-04-28  Wim Taymans  <wim@fluendo.com>
10709
10710         * gst/gstutils.c: (push_and_ref):
10711         Added some more docs.
10712         Fix refcount issue whith gst_element_found_tags() helper 
10713         function. Fixes #338335
10714
10715         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10716         Added testsuite for gst_element_found_tags().
10717
10718 2006-04-28  Michael Smith  <msmith@fluendo.com>
10719
10720         * gst/gstvalue.c: (gst_value_serialize_flags):
10721           Avoid NULL dereference when trying to serialize flags containing
10722           invalid values.
10723
10724 2006-04-28  Michael Smith  <msmith@fluendo.com>
10725
10726         * plugins/elements/gsttypefindelement.c:
10727         (gst_type_find_element_handle_event):
10728           If we get EOS before any data is accumulated, don't use
10729           uninitialised local variables.
10730
10731 2006-04-28  Michael Smith  <msmith@fluendo.com>
10732
10733         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10734         (gst_dp_event_from_packet):
10735           Fixes in reading/writing events over GDP (not currently used?) - 
10736           dereferencing NULL events for unknown/invalid event types, memory
10737           leak, and change g_warning to GST_WARNING.
10738
10739 2006-04-28  Wim Taymans  <wim@fluendo.com>
10740
10741         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10742         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10743         (gst_base_sink_get_position), (gst_base_sink_change_state):
10744         When frame dropping is enabled, we should not ignore frames
10745         without a duration.
10746         Update some documentation.
10747
10748 2006-04-28  Wim Taymans  <wim@fluendo.com>
10749
10750         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10751         (gst_base_src_send_event), (gst_base_src_change_state):
10752         Documentation updates.
10753
10754 2006-04-28  Wim Taymans  <wim@fluendo.com>
10755
10756         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10757         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10758         handle EAGAIN, EINTR and short writes correctly. Also clean
10759         up some error cases, avoid a deadlock on bad file descriptors and
10760         use GST_DEBUG_OBJECT.
10761         Fixes #339843
10762
10763 2006-04-28  Wim Taymans  <wim@fluendo.com>
10764
10765         * gst/gstvalue.c: (gst_value_serialize_buffer),
10766         (gst_value_deserialize_buffer):
10767         Don't try to serialize a GValue with a NULL buffer. 
10768         Fixes #339821.
10769
10770         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10771         Added check for serialisation of NULL buffers.
10772
10773 2006-04-28  Wim Taymans  <wim@fluendo.com>
10774
10775         * gst/gstminiobject.c: (gst_value_take_mini_object):
10776         Taking a NULL miniobject is valid, fix the case where
10777         we try to unref the NULL miniobject.
10778
10779 2006-04-28  Wim Taymans  <wim@fluendo.com>
10780
10781         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10782
10783         * gst/gstbin.c: (gst_bin_handle_message_func):
10784         Update docs.
10785         Don't leak bin refcount when a state recalc is
10786         in progress and we delay another one #339808.
10787
10788 2006-04-28  Wim Taymans  <wim@fluendo.com>
10789
10790         * docs/design/part-TODO.txt:
10791         Mention QoS as an ongoing work item.
10792
10793         * docs/design/part-buffering.txt:
10794         New doc about buffering that needs to be fleshed out
10795         at some point.
10796
10797         * docs/design/part-qos.txt:
10798         More QoS policy for decoders/demuxers/transforms
10799
10800         * docs/design/part-trickmodes.txt:
10801         Small update.
10802
10803 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10804
10805         * configure.ac:
10806           back to HEAD
10807
10808 === release 0.10.5 ===
10809
10810 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10811
10812         * configure.ac:
10813           releasing 0.10.5, "Fogo"
10814
10815 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10816
10817         patch by: Wim Taymans
10818
10819         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10820         (gst_pad_configure_src), (gst_pad_push):
10821         * gst/gstpipeline.c: (gst_pipeline_init):
10822           Fix internal data flow errors.  Fixes #338711.
10823
10824 2006-04-12  Wim Taymans  <wim@fluendo.com>
10825
10826         * tests/check/gst/gstelement.c: (GST_START_TEST):
10827         Don't leak the factory.
10828
10829 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10830
10831         * configure.ac:
10832         * win32/common/config.h:
10833           prerelease
10834
10835 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10836
10837         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10838         (gst_controller_unset_all):
10839           Free allocated GstTimedValues when freeing list nodes.
10840           Should fix leaks 'make check-valgrind' complains about.
10841
10842         * win32/common/libgstcontroller.def:
10843           Add gst_controller_unset_all.
10844
10845 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10846
10847         * docs/libs/gstreamer-libs-sections.txt:
10848         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10849         (gst_controller_unset_all):
10850         * libs/gst/controller/gstcontroller.h:
10851         API: Added new method gst_controller_unset_all()
10852         fixed gst_controller_unset()
10853         * tests/check/libs/controller.c: (GST_START_TEST),
10854         (gst_controller_suite):
10855         Added two testcases for new and fixed method
10856
10857 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10858
10859         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10860           MSG_DONTWAIT is not defined on Cygwin, so work
10861           around that (fixes #317048).
10862           
10863 2006-04-11  Wim Taymans  <wim@fluendo.com>
10864
10865         * gst/gstelementfactory.c: (gst_element_register),
10866         (gst_element_factory_create), (gst_element_factory_make):
10867         Some cleanups.
10868         Fixed a FIXME.
10869         Updated docs (Fixes #131079)
10870
10871         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10872         Small cleanups.
10873
10874         * tests/check/gst/gstelement.c: (GST_START_TEST),
10875         (gst_element_suite):
10876         Added testcase for elementfactory class field.
10877
10878 2006-04-10  Wim Taymans  <wim@fluendo.com>
10879
10880         * gst/gstsegment.c:
10881         Added some more docs.
10882
10883         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10884         (gst_base_sink_reset_qos):
10885         Calculate more accurate rate values.
10886
10887 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10888
10889         * gst/gst_private.h:
10890           add a new #ifdef to use __declspec(dllimport) only for
10891           other modules and not for gstreamer core
10892         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10893           use gst_guint64_to_gdouble for conversion
10894         * win32/common/libgstreamer.def:
10895           add new exported functions
10896         * win32/vs6/gst_inspect.dsp:
10897         * win32/vs6/gst_launch.dsp:
10898         * win32/vs6/libgstbase.dsp:
10899         * win32/vs6/libgstcontroller.dsp:
10900         * win32/vs6/libgstcoreelements.dsp:
10901         * win32/vs6/libgstdataprotocol.dsp:
10902         * win32/vs6/libgstnet.dsp:
10903           update project files
10904
10905 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10906
10907         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10908         * gst/gstclock.c: (gst_clock_class_init):
10909         * gst/gstelement.c: (gst_element_class_init):
10910         * gst/gstindex.c: (gst_index_class_init):
10911         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10912         * gst/gstobject.c: (gst_object_class_init),
10913         (gst_signal_object_class_init):
10914         * gst/gstpad.c: (gst_pad_class_init):
10915         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10916         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10917         * gst/gstregistry.c: (gst_registry_class_init):
10918         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10919         * gst/gsttask.c: (gst_task_class_init):
10920         * gst/gstxml.c: (gst_xml_class_init):
10921         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10922         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10923         (gst_base_src_loop):
10924         * libs/gst/controller/gstcontroller.c:/
10925         (_gst_controller_class_init):
10926         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10927         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10928         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10929         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10930         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10931         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10932
10933 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10934
10935         * gst/gstpad.c: (gst_pad_link):
10936           Must set peer pads before calling the link function, otherwise
10937           a task started from a link function might get a flow-not-linked
10938           result when trying to push because the other thread where the
10939           linking happens hasn't had a chance to set the peers yet. This
10940           might happen for example when a queue gets linked to a downstream
10941           element, as queue starts a streaming task when its source pad
10942           gets linked. Happens in real life when playing back flac/musepack
10943           files in playbin (#332390).
10944           
10945 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10946
10947         * gst/gstindex.h:
10948         * gst/gstxml.h:
10949         * libs/gst/base/gstadapter.h:
10950         * libs/gst/base/gstbasesink.h:
10951         * libs/gst/base/gstbasesrc.h:
10952         * libs/gst/base/gstbasetransform.h:
10953         * libs/gst/base/gstcollectpads.h:
10954         * libs/gst/base/gstpushsrc.h:
10955         Fix broken GObject macros
10956
10957 2006-04-07  Wim Taymans  <wim@fluendo.com>
10958
10959         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10960         Initialize start and stop times, thanks valgrind.
10961
10962 2006-04-07  Wim Taymans  <wim@fluendo.com>
10963
10964         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10965         Be a bit nicer to badly behaving upstream elements that expect
10966         us to deal with non TIME segments and timestamps (such as fakesrc
10967         in the testsuite).
10968
10969 2006-04-07  Wim Taymans  <wim@fluendo.com>
10970
10971         * gst/gstbus.c:
10972         Small documentation clarification about the signal watch.
10973
10974         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10975         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10976         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10977         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10978         (gst_base_sink_get_position_last),
10979         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10980         Convert and store timestamps in stream time and running time, the
10981         raw timestamps are not useful, also document this better.
10982         Use different window sizes for good and bad QoS observations so
10983         we react to badness a little quicker.
10984         Keep track of the amount of rendered and dropped buffers.
10985         Send QoS timestamps in running time.
10986
10987         * libs/gst/base/gstbasetransform.c:
10988         (gst_base_transform_sink_eventfunc),
10989         (gst_base_transform_handle_buffer):
10990         Compare QoS timestamps against running time.
10991
10992 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * gst/gstpad.c:
10995           Typo fixes in docs.
10996
10997 2006-04-06  Michael Smith  <msmith@fluendo.com>
10998
10999         * gst/gstpad.c: (gst_pad_set_property):
11000           Use g_value_get_object() instead of g_value_dup_gst_object(),
11001           to avoid double-reffing the pad template (which we then sink,
11002           so this worked previously if (and only if) the pad template
11003           was floating.
11004
11005         * gst/gstpadtemplate.c: (gst_pad_template_init),
11006         (gst_pad_template_pad_created):
11007           Never return floating references to pad templates, create
11008           them as initially-sunken.
11009
11010           Document an extra function (and make this stop sinking our
11011           pad template, since that is now guaranteed to do nothing,
11012           since we created it sunken).
11013
11014         * gst/gstghostpad.c:
11015           Fix docs typo.
11016
11017 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11018
11019         * gst/gstinfo.c: (__gst_in_valgrind):
11020           Add some newlines.
11021
11022         * plugins/elements/gsttypefindelement.c:
11023         (gst_type_find_element_chain):
11024           Don't leak buffer caps.
11025
11026 2006-04-06  Michael Smith  <msmith@fluendo.com>
11027
11028         * gst/parse/grammar.y:
11029           Fix a leak in parse-launch for any source-or-sink named element 
11030           references used.
11031
11032         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11033           Unref the pipeline if it exists after we've failed parsing.
11034
11035 2006-04-05  Michael Smith  <msmith@fluendo.com>
11036
11037         * gst/gstpipeline.c: (gst_pipeline_init):
11038           When we create a pipeline bus, initially create it in flushing mode.
11039           Fixes leaks in at least one test, and makes a new pipeline work the
11040           same as one that has gone to READY and then back to NULL.
11041
11042         * gst/gstelement.c:
11043           Typo fix in docs.
11044
11045 2006-04-05  Michael Smith  <msmith@fluendo.com>
11046
11047         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11048           Unref a pad we reffed.
11049         * tests/check/gst/gstutils.c: (GST_START_TEST):
11050           Unref bins
11051
11052 2006-04-05  Michael Smith  <msmith@fluendo.com>
11053
11054         * gst/gstquery.c: (gst_query_set_formats),
11055         (gst_query_set_formatsv):
11056           Fix leaking GValues in queries, as shown by valgrind/testsuite.
11057
11058 2006-04-05  Michael Smith  <msmith@fluendo.com>
11059
11060         * tests/check/generic/sinks.c: (GST_START_TEST):
11061           Fix a variety of memleaks in sinks check, which are only sometimes 
11062           shown by running the tests under valgrind (weird?).
11063
11064 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
11065
11066         * docs/version.entities.in:
11067           Fix the substituted entity name after thomas' changes on the
11068           weekend.
11069
11070 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11071
11072         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11073         VALGRIND_PRINTF
11074         
11075 2006-04-05  Andy Wingo  <wingo@pobox.com>
11076
11077         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11078
11079         * libs/gst/base/gstbasetransform.c
11080         (gst_base_transform_sink_eventfunc): When resetting our segment on
11081         FLUSH_STOP, also update the flag saying we haven't seen a
11082         newsegment.
11083
11084 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11085
11086         Patch by: Paolo Borelli  <pborelli at katamail dot com>
11087
11088         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11089         (gst_plugin_check_license):
11090           minor clean-ups: G_DEFINE_TYPE already takes care of the
11091           parent_class stuff, no need to do it twice. Mark array of
11092           license strings as constant. (#337103)
11093           
11094 2006-04-04  Michael Smith  <msmith@fluendo.com>
11095
11096         * tools/gst-inspect.c: (print_element_list):
11097           Free the right plugin list; fixes a memory leak.
11098
11099 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
11102
11103         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11104           Don't error out on empty buffers (#336945).
11105           
11106 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
11107
11108         * docs/libs/gstreamer-libs-sections.txt:
11109         * gst/gsttaglist.c:
11110         * libs/gst/base/gstbasesink.c:
11111         * libs/gst/base/gstbasesink.h:
11112         * libs/gst/base/gstbasesrc.c:
11113         * libs/gst/base/gstbasesrc.h:
11114           Documentation updates. Make BaseSink and BaseSrc docs contain the
11115           class structure so that people can actually see the prototypes for
11116           virtual functions they're supposed to be overriding.
11117
11118 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11119
11120         * plugins/elements/gsttypefindelement.c:
11121         (gst_type_find_element_chain):
11122           More debug info; when skipping typefinding, send cached
11123           events in all cases.
11124
11125 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11126
11127         * configure.ac:
11128           use new AS_VERSION and AS_NANO macros
11129         * gst/gst-i18n-lib.h:
11130         * gst/gst.c:
11131         * gst/gsterror.c:
11132         * gst/gstversion.h.in:
11133         * win32/common/config.h:
11134         * win32/common/config.h.in:
11135           update accordingly
11136
11137 2006-03-31  Michael Smith  <msmith@fluendo.com>
11138
11139         * plugins/elements/gsttypefindelement.c:
11140         (gst_type_find_element_chain):
11141           Do not typefind content if the buffers already have caps.
11142           Neccesary for icydemux (#333657), and the right thing to do anyway.
11143
11144 2006-03-30  Wim Taymans  <wim@fluendo.com>
11145
11146         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11147         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11148         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11149         (gst_base_sink_record_qos_observation),
11150         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11151         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11152         (gst_base_sink_change_state):
11153         More QoS measurements as described in the design doc.
11154         Get rid of ringbuffer with observations, running average is
11155         more simple and equally good.
11156         Calculates valid proportion now.
11157         Added beginning of flood measurement.
11158
11159 2006-03-29  Wim Taymans  <wim@fluendo.com>
11160
11161         * docs/design/part-qos.txt:
11162         * gst/gstclock.c:
11163         Small documentation updates and additions.
11164
11165 2006-03-29  Wim Taymans  <wim@fluendo.com>
11166
11167         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11168         (gst_base_src_send_event), (gst_base_src_loop),
11169         (gst_base_src_change_state):
11170         Perform the EOS logic when we reach the segment stop position.
11171         Fix compilation on gcc4.1
11172
11173 2006-03-29  Wim Taymans  <wim@fluendo.com>
11174
11175         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11176
11177         * plugins/elements/gstqueue.c: (gst_queue_init),
11178         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11179         (gst_queue_set_property):
11180         * plugins/elements/gstqueue.h:
11181         In queue, when EOS is received, if minimum threshold > max_size -
11182         current_level, there is chance that queue blocks forever in conditional
11183         item del wait. This is because the queue is not emptied completely due
11184         to minimum threshold.  Here is another approach. Instead of setting
11185         cur_levels to max in EOS, just zero all minimum threshold levels. This
11186         should make sure that queue gives out all data. When going to READY
11187         (stop) state, just reset the original minimum threshold levels.
11188         Fixes #336336.
11189
11190 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
11191
11192         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11193         (gst_type_find_element_handle_event),
11194         (gst_type_find_element_send_cached_events),
11195         (gst_type_find_element_change_state):
11196         * plugins/elements/gsttypefindelement.h:
11197           When typefinding is done in push mode, we should cache
11198           events we receive during typefinding instead of just
11199           dropping them (e.g. newsegment, custom events from
11200           dvdreadsrc etc.) and then send them out once we've
11201           determined the type of the stream (and decodebin
11202           has had a chance to plug in a decoder/demuxer).
11203           
11204 2006-03-27  Wim Taymans  <wim@fluendo.com>
11205
11206         * docs/design/part-qos.txt:
11207         First QoS ideas.
11208
11209 2006-03-27  Wim Taymans  <wim@fluendo.com>
11210
11211         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11212
11213         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11214         (gst_base_src_send_event), (gst_base_src_change_state):
11215         Handle element seek correctly when we are streaming.
11216         Fixes #326998.
11217
11218 2006-03-24  Michael Smith  <msmith@fluendo.com>
11219
11220         * docs/faq/gst-uninstalled:
11221           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11222           allow you to correctly run intalled applications built against old 
11223           core, using plugins that require updated core (e.g. running
11224           installed totem against a full uninstalled gstreamer stack)
11225
11226 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11227
11228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11229         more debug details
11230
11231 2006-03-24  Wim Taymans  <wim@fluendo.com>
11232
11233         * docs/gst/gstreamer-sections.txt:
11234         Rearrange the order of the methods so that related methods
11235         are grouped together in sections.
11236
11237 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11238
11239         * gst/gstelement.c:
11240           Little clarification in the docs
11241
11242 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11243
11244         * docs/README:
11245         formatting fix
11246         * plugins/elements/gstidentity.c:
11247         * plugins/elements/gstqueue.c:
11248         * plugins/elements/gsttee.c:
11249         * plugins/elements/gsttypefindelement.c:
11250         GST_ELEMENT_DETAILS formatting
11251
11252 2006-03-24  Wim Taymans  <wim@fluendo.com>
11253
11254         * libs/gst/base/gstbasesink.h:
11255         Only add fields, not insert or we break ABI.
11256
11257 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11258
11259         * win32/common/libgstbase.def:
11260         * win32/common/libgstreamer.def:
11261           Update, add recently added functions.
11262
11263 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * docs/gst/gstreamer-sections.txt:
11266         * gst/gstutils.c: (gst_pad_query_peer_position),
11267         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11268         * gst/gstutils.h:
11269           API: add some new utility functions:
11270            - gst_pad_query_peer_position()
11271            - gst_pad_query_peer_duration()
11272            - gst_pad_query_peer_convert()
11273           
11274 2006-03-23  Wim Taymans  <wim@fluendo.com>
11275
11276         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11277         (gst_base_sink_init), (gst_base_sink_finalize),
11278         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11279         (gst_base_sink_set_property), (gst_base_sink_get_property),
11280         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11281         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11282         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11283         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11284         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11285         (gst_base_sink_preroll_object), (gst_base_sink_event),
11286         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11287         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11288         (gst_base_sink_query), (gst_base_sink_change_state):
11289         Decouple max-lateness and the fact that QoS messages are generated
11290         with a new property (qos).
11291         added API: GstBaseSink::async_play()
11292         Add vmethod so subclasses can be notified of ASYNC playing
11293         state changes.
11294         Collect timestamp start and stop to report better current
11295         position in EOS/PLAYING/PAUSED/READY/NULL.
11296         Refactor QoS/frame dropping and other measurements.
11297         API: GstBaseSrc::qos
11298         Fixes #326311
11299
11300         * libs/gst/base/gstbasesink.h:
11301         Added Private struct.
11302         API: gst_base_sink_set_qos_enabled()
11303         API: gst_base_sink_is_qos_enabled()
11304
11305 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11306
11307         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11308           If compiling against GLib-2.8 or newer, try to read the
11309           registry file using GMappedFile first before falling back
11310           to fopen() + fread() (#332151).
11311
11312 2006-03-22  Wim Taymans  <wim@fluendo.com>
11313
11314         * gst/gstinfo.c: (gst_debug_set_active),
11315         (gst_debug_category_set_threshold):
11316         Disable debugging unless explicitly activated.
11317         Fixes #335480.
11318
11319 2006-03-22  Wim Taymans  <wim@fluendo.com>
11320
11321         * gst/gstelement.c: (gst_element_set_locked_state),
11322         (gst_element_dispose):
11323         Cleanup the error case.
11324
11325         * gst/gstobject.c: (gst_object_dispose):
11326         print a critical when some object was disposed with
11327         a parent, also revive the object since it might
11328         crash the parent.
11329
11330 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
11331
11332         * tools/gst-launch.1.in:
11333           Fix another typo.
11334
11335 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11336
11337         * configure.ac:
11338         * tests/check/Makefile.am:
11339           disable some tests when we don't have a registry
11340         * tests/check/gst/gstutils.c: (gst_utils_suite):
11341           don't build the part that needs parsing
11342
11343 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11344
11345         * gst/Makefile.am
11346         * tests/examples/Makefile.am:
11347           fix --disable-parse build
11348
11349 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11350
11351         * tools/gst-feedback.1.in:
11352           Fix typo: s/feeback/feedback/ (#133494).
11353
11354 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11355
11356         * tools/Makefile.am:
11357         * tools/gst-launch.1.in:
11358           Add FILES section and correct entry about GST_REGISTRY_PATH
11359           environment variable (#133495; #133494).
11360
11361 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11362
11363         * tools/Makefile.am:
11364         * tools/gst-md5sum.1.in:
11365         * tools/gst-md5sum.c:
11366           Remove gst-md5sum and man page (the md5sink element
11367           required was removed ages ago)
11368
11369 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11370
11371         * gst/gststructure.c: (gst_structure_id_set_value):
11372           Make sure that string fields in structures/taglists
11373           contain valid UTF-8 - we don't want to pass rubbish to
11374           applications because of a buggy plugin (cp. #334167).
11375
11376 2006-03-21  Edward Hervey  <edward@fluendo.com>
11377
11378         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11379         (gst_bin_handle_message_func):
11380         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11381         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11382         (gst_element_set_bus_func):
11383         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11384         * gst/gstminiobject.c: (gst_value_set_mini_object),
11385         (gst_value_take_mini_object):
11386         * gst/gstpad.c: (gst_pad_set_pad_template):
11387         * gst/gstpipeline.c: (gst_pipeline_dispose),
11388         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11390         (gst_collect_pads_chain):
11391         * libs/gst/net/gstnettimeprovider.c:
11392         (gst_net_time_provider_set_property):
11393         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11394         It's in fact all issues with gst_*object_replace().
11395
11396 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11397
11398         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
11399         
11400         * pkgconfig/gstreamer-check-uninstalled.pc.in:
11401         * pkgconfig/gstreamer-check.pc.in:
11402           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11403
11404 2006-03-21  Edward Hervey  <edward@fluendo.com>
11405
11406         * gst/gstbuffer.h:
11407         * gst/gstevent.h:
11408         * gst/gstmessage.h:
11409         gst_[buffer|event|message]_ref() macros are replaced by a static
11410         inline functions because gcc-4.1 will about if the return value
11411         isn't used.
11412         * tests/check/gst/gstevent.c: (event_probe):
11413         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11414
11415 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
11416
11417         * gst/gstutils.h:
11418         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11419         the type' case. (Closes: #335195 for now). In the future, when we
11420         depend on GLib 2.10, we could also intern the type name using
11421         g_intern_static_string()
11422
11423 2006-03-20  Wim Taymans  <wim@fluendo.com>
11424
11425         * gst/gstbin.c: (gst_bin_handle_message_func),
11426         (bin_query_max_init), (bin_query_position_fold),
11427         (bin_query_position_done), (gst_bin_query):
11428         Position query should also take max of all streams.
11429
11430 2006-03-20  Wim Taymans  <wim@fluendo.com>
11431
11432         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11433         (gst_fake_src_finalize):
11434         Fix leaks in fakesrc.
11435
11436         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11437         Fix leaks in the testcase.
11438
11439 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
11440
11441         * gst/gst_private.h:
11442           add win32 specific import decoration(__declspec(dllimport)) 
11443           for all extern GstDebugCategory * variables
11444         * win32/common/libgstbase.def:
11445         * win32/common/libgstcontroller.def:
11446         * win32/common/libgstreamer.def:
11447           Add some exports, remove empty lines
11448         * win32/common/libgstdataprotocol.def:
11449         * win32/common/libgstdataprotocol.dsp:
11450         * win32/common/libgstnet.def:
11451         * win32/common/libgstnet.dsp:
11452           new project files and exportation files added
11453         
11454 2006-03-19  Wim Taymans  <wim@fluendo.com>
11455
11456         * tests/check/libs/basesrc.c: (eos_event_counter):
11457         Use proper return value for probe.
11458
11459 2006-03-17  Wim Taymans  <wim@fluendo.com>
11460
11461         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11462         (gst_pad_push):
11463         Don't leak buffers, caps and pads on negotiation errors.
11464
11465 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
11466
11467         * docs/faq/cvs.xml:
11468         * docs/faq/dependencies.xml:
11469         * docs/faq/developing.xml:
11470         * docs/faq/faq.xml:
11471         * docs/faq/general.xml:
11472         * docs/faq/getting.xml:
11473         * docs/faq/legal.xml:
11474         * docs/faq/troubleshooting.xml:
11475         * docs/faq/using.xml:
11476         Faq review and update.
11477
11478 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
11479
11480         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11481         (gst_pad_push):
11482         Don't pound the cpu to pieces by checking get_caps when accept_caps
11483         is called with the same caps as the pad already has.
11484         Use GST_DEBUG_OBJECT when outputting caps change information.
11485
11486 2006-03-15  Wim Taymans  <wim@fluendo.com>
11487
11488         * gst/gstclock.c: (gst_clock_class_init):
11489         Fix docs.
11490
11491 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
11492
11493         * gst/gstbuffer.h:
11494         Documentation fix.
11495
11496         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11497         (gst_pad_accept_caps), (gst_pad_configure_sink),
11498         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11499         Make the default acceptcaps behaviour be to check the requested 
11500         caps against the gst_pad_get_caps output. 
11501
11502         Ensure that gst_pad_accept_caps is used to check caps when a pad
11503         doesn't have a setcaps function, so that pads automatically refuse 
11504         caps that they don't allow in their pad template. (Fixes #332986)
11505
11506         When a buffer with attached caps is pushed, ensure that the source 
11507         pad receives those caps even if the element didn't call
11508         gst_pad_set_caps first.
11509
11510 2006-03-15  Wim Taymans  <wim@fluendo.com>
11511
11512         * libs/gst/base/gstadapter.c:
11513         Add some docs.
11514
11515 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11516
11517         * win32/common/libgstbase.def:
11518         * win32/common/libgstcontroller.def:
11519         * win32/common/libgstreamer.def:
11520           Add a whole bunch of missing functions (#334434).
11521
11522 2006-03-14  Wim Taymans  <wim@fluendo.com>
11523
11524         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11525         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11526         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11527         Better debug info when we receive a segment event.
11528         Reorganize a bit so we can pass the get_times() results around.
11529         Use the segment format when calculating the running time.
11530         Don't do QoS is sync is disabled or we have no clock or the
11531         element does not want us to sync to the clock.
11532         Don't drop buffers if QoS is disabled for now.
11533
11534 2006-03-14  Wim Taymans  <wim@fluendo.com>
11535
11536         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11537         Marked the stats property as unimplemented so people don't get
11538         wild ideas.
11539         Add debug message when regression goes wrong.
11540         Added some more docs.
11541
11542 2006-03-14  Wim Taymans  <wim@fluendo.com>
11543
11544         * gst/gstsegment.c: (gst_segment_to_stream_time):
11545         Return correct return type in case of errors.
11546
11547 2006-03-14  Wim Taymans  <wim@fluendo.com>
11548
11549         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11550           Don't segfault on invalid formats.
11551
11552 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11553
11554         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11555           Can't use gst_segment_to_running_time() when the segment
11556           is not in GST_TIME_FORMAT (like with filesink, for example).
11557           Stops flac encoding pipelines from spewing critical warnings
11558           at EOS (#331248).
11559           
11560 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11561
11562         * gst/gstpipeline.c: (gst_pipeline_class_init):
11563           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11564
11565         * plugins/elements/gsttypefindelement.c:
11566         (gst_type_find_element_handle_event):
11567           Don't try to typefind empty streams.
11568
11569 2006-03-14  Wim Taymans  <wim@fluendo.com>
11570
11571         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11572         (gst_base_sink_do_qos):
11573         Separate QoS calculation.
11574         Only drop buffers when lateness is bigger than the 
11575         duration of the buffer.
11576
11577 2006-03-13  Wim Taymans  <wim@fluendo.com>
11578
11579         * gst/gstpipeline.c: (gst_pipeline_set_property),
11580         (gst_pipeline_get_property), (do_pipeline_seek),
11581         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11582         (gst_pipeline_get_delay):
11583         Don't deadlock when reading properties.
11584
11585 2006-03-13  Wim Taymans  <wim@fluendo.com>
11586
11587         * libs/gst/base/gstbasetransform.c:
11588         (gst_base_transform_class_init), (gst_base_transform_init),
11589         (gst_base_transform_sink_event),
11590         (gst_base_transform_sink_eventfunc),
11591         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11592         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11593         (gst_base_transform_set_property),
11594         (gst_base_transform_get_property),
11595         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11596         (gst_base_transform_set_qos_enabled),
11597         (gst_base_transform_is_qos_enabled):
11598         * libs/gst/base/gstbasetransform.h:
11599         Make basetransform virtual method for src events too.
11600         Handle QOS in basetransform.
11601         API: gst_base_transform_update_qos()
11602         API: gst_base_transform_set_qos_enabled()
11603         API: gst_base_transform_is_qos_enabled()
11604
11605 2006-03-13  Wim Taymans  <wim@fluendo.com>
11606
11607         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11608         (gst_base_sink_do_sync):
11609         Small cleanups.
11610         Use QOS debug category.
11611
11612 2006-03-13  Wim Taymans  <wim@fluendo.com>
11613
11614         * plugins/elements/gstqueue.c:
11615         Very small doc update.
11616
11617 2006-03-13  Wim Taymans  <wim@fluendo.com>
11618
11619         * gst/gst_private.h:
11620         * gst/gstinfo.c: (_gst_debug_init):
11621         Added QOS debug category
11622
11623 2006-03-13  Wim Taymans  <wim@fluendo.com>
11624
11625         * docs/gst/gstreamer-sections.txt:
11626         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11627         * gst/gstbin.h:
11628         * gst/gstbus.c: (gst_bus_class_init):
11629         * gst/gstbus.h:
11630         * gst/gstclock.c:
11631         * gst/gstelement.c: (gst_element_set_locked_state):
11632         * gst/gstsegment.c:
11633         Documentation updates.
11634
11635         * gst/gstpipeline.c: (gst_pipeline_get_type),
11636         (gst_pipeline_class_init), (gst_pipeline_init),
11637         (gst_pipeline_dispose), (gst_pipeline_set_property),
11638         (gst_pipeline_get_property), (do_pipeline_seek),
11639         (gst_pipeline_send_event), (gst_pipeline_change_state),
11640         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11641         (gst_pipeline_get_delay):
11642         * gst/gstpipeline.h:
11643         Added methods for setting the delay.
11644         API: gst_pipeline_set_delay()
11645         API: gst_pipeline_get_delay()
11646         Add pipeline debug category
11647         Various cleanups.
11648         Updated docs.
11649         Don't reset stream time when seek failed.
11650
11651 2006-03-13  Wim Taymans  <wim@fluendo.com>
11652
11653         * docs/design/draft-klass.txt:
11654         * docs/design/part-clocks.txt:
11655         * docs/design/part-events.txt:
11656         * docs/design/part-gstbin.txt:
11657         * docs/design/part-gstpipeline.txt:
11658         * docs/design/part-messages.txt:
11659         * docs/design/part-negotiation.txt:
11660         * docs/design/part-overview.txt:
11661         * docs/design/part-preroll.txt:
11662         * docs/design/part-seeking.txt:
11663         * docs/design/part-states.txt:
11664         * docs/design/part-streams.txt:
11665         Documentation updates.
11666
11667 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11668
11669         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11670         us to leak strings...
11671
11672 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11673
11674         * libs/gst/net/gstnettimeprovider.c:
11675           fix docs
11676         * win32/common/config.h:
11677           update
11678
11679 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11680
11681         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11682
11683         * configure.ac:
11684           Don't check for libgnomeui (leftover from old examples
11685           that aren't built or disted any longer) (#334303).
11686           
11687 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11688
11689         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11690         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11691           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11692           there's no space left on the device.
11693
11694 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11695
11696         * gst/gstclock.h:
11697           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11698           to cast the input to GstClockTime before comparing with
11699           another GstClockTime value.
11700
11701 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11702
11703         * configure.ac:
11704           back to trunk
11705
11706 === release 0.10.4 ===
11707
11708 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11709
11710         * configure.ac:
11711           releasing 0.10.4, "Light"
11712
11713 2006-03-10  Michael Smith  <msmith@fluendo.com>
11714
11715         * libs/gst/dataprotocol/dataprotocol.c:
11716           Fix docs for dataprocotol to not get the return types completely
11717           wrong for a few functions.
11718
11719 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11720
11721         * docs/gst/gstreamer-sections.txt:
11722         * gst/gstpipeline.c: (gst_pipeline_class_init),
11723         (gst_pipeline_init), (gst_pipeline_set_property),
11724         (gst_pipeline_get_property), (gst_pipeline_change_state),
11725         (gst_pipeline_set_auto_flush_bus),
11726         (gst_pipeline_get_auto_flush_bus):
11727         * gst/gstpipeline.h:
11728           Add new API: gst_pipeline_set_auto_flush_bus() and
11729           gst_pipeline_get_auto_flush_bus() to disable automatic
11730           flushing of the pipeline's GstBus when going from READY
11731           to NULL state (#332045).
11732
11733 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11734
11735         * docs/gst/gstreamer-sections.txt:
11736         * gst/gsturi.c: (gst_uri_has_protocol):
11737         * gst/gsturi.h:
11738            Add new API: gst_uri_has_protocol() (#333779).
11739
11740 2006-03-09  Wim Taymans  <wim@fluendo.com>
11741
11742         * gst/gstclock.c: (gst_clock_entry_new),
11743         (gst_clock_id_compare_func), (gst_clock_id_wait),
11744         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11745         (gst_clock_init), (gst_clock_get_internal_time),
11746         (gst_clock_set_master), (do_linear_regression),
11747         (gst_clock_add_observation), (gst_clock_set_property):
11748         * gst/gstclock.h:
11749         Review docs.
11750         Small cleanups.
11751         Fix a possible segfault when the window-size is made smaller.
11752         Calculate jitter before performing the clock wait. Ideally
11753         the clock implementation should calculate jitter but we need
11754         API breakage for that.
11755
11756         * gst/gstsystemclock.c: (gst_system_clock_init):
11757         Docs review.
11758         
11759         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11760         Remove leftover else
11761
11762         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11763         (gst_systemclock_suite):
11764         Added check to test GST_CLOCK_DIFF.
11765
11766 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11767
11768         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11769         (gst_type_find_helper_get_range):
11770           If we are provided with the size, we should implement
11771           GstTypeFind::get_length, so that typefind functions who
11772           want to can actually peek at the middle of a file.
11773
11774 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11775
11776         * docs/manual/advanced-dataaccess.xml:
11777           Add some very very basic error checking.
11778
11779         * docs/pwg/appendix-checklist.xml:
11780           Some updates to the list of things to check when writing an element.
11781
11782 2006-03-08  Wim Taymans  <wim@fluendo.com>
11783
11784         * docs/design/part-element-transform.txt:
11785         Added some docs about the design of tranform elements.
11786
11787         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11788         (gst_base_src_loop), (gst_base_src_change_state):
11789         Mark buffers with the DISCONT flag.
11790
11791 2006-03-08  Michael Smith  <msmith@fluendo.com>
11792
11793         * gst/gstregistry.h:
11794         * gst/gstregistryxml.c: (gst_registry_save),
11795         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11796         (gst_registry_xml_save_pad_template),
11797         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11798         (gst_registry_xml_write_cache):
11799           Rewrite registry-saving to avoid race conditions and check for
11800           failed writes.
11801
11802 2006-03-08  Wim Taymans  <wim@fluendo.com>
11803
11804         * libs/gst/base/gstbasetransform.c:
11805         (gst_base_transform_transform_caps),
11806         (gst_base_transform_transform_size),
11807         (gst_base_transform_prepare_output_buffer),
11808         (gst_base_transform_get_unit_size),
11809         (gst_base_transform_buffer_alloc),
11810         (gst_base_transform_handle_buffer),
11811         (gst_base_transform_change_state):
11812         Cleanups, separate normal flow from errors, add sensible
11813         DEBUG lines.
11814         Don't try to renegotiate when allocating an output buffer.
11815         Also copy DISCONT buffer flag when copying a buffer.
11816         Reset the transform after we finish streaming, not during.
11817
11818 2006-03-08  Wim Taymans  <wim@fluendo.com>
11819
11820         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11821         Use last buffer timestamp in qos message.
11822
11823 2006-03-07  Wim Taymans  <wim@fluendo.com>
11824
11825         Patch by: Christophe Fergeau
11826
11827         * docs/pwg/advanced-tagging.xml:
11828         * docs/pwg/building-pads.xml:
11829           fixes #333416
11830
11831 2006-03-07  Wim Taymans  <wim@fluendo.com>
11832
11833         * docs/libs/gstreamer-libs-sections.txt:
11834         Added basesink new methods.
11835
11836         * gst/gstevent.c:
11837         * gst/gstevent.h:
11838         Docs updates. Flesh out the QoS docs.
11839
11840         * libs/gst/base/gstadapter.c:
11841         Small doc clarification about ownership and flushing.
11842
11843         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11844         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11845         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11846         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11847         * libs/gst/base/gstbasesink.h:
11848         API additions: 
11849         Added new methods to allow subclass to control max-lateness 
11850         and sync.
11851         Generate very basic QoS events based on last sync observation.
11852         Updated docs, fix typo, added some QoS blurb.
11853
11854         * libs/gst/base/gstbasesrc.c:
11855         Remove obsolete _get_state() calls from docs.
11856
11857 2006-03-07  Wim Taymans  <wim@fluendo.com>
11858
11859         * docs/libs/gstreamer-libs-sections.txt:
11860         * libs/gst/base/gstbasetransform.h:
11861         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11862         Fix docs for GstBaseSrc.
11863
11864 2006-03-07  Wim Taymans  <wim@fluendo.com>
11865
11866         * docs/gst/gstreamer-sections.txt:
11867         * gst/gstbuffer.h:
11868         * gst/gstvalue.c:
11869         * libs/gst/base/gstbasetransform.h:
11870         Small documentation fixes.
11871
11872 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11873
11874         * gst/gstvalue.c:
11875           Document thread-unsafety of gst_value_register_foo_func()
11876           when used at the same time as gst_value_foo() (#322628).
11877
11878 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11881         (gst_push_src_check_get_range):
11882           Push sources don't support pull mode by default.
11883
11884 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11885
11886         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11887         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11888         (gst_base_src_default_check_get_range):
11889         * libs/gst/base/gstbasesrc.h:
11890           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11891           provide default implementation, and rename
11892           gst_base_src_check_get_range() to
11893           gst_base_src_pad_check_get_range() for clarity.
11894
11895 2006-03-06  Wim Taymans  <wim@fluendo.com>
11896
11897         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11898         Make property overridable.
11899
11900 2006-03-06  Wim Taymans  <wim@fluendo.com>
11901
11902         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11903         (gst_base_sink_init), (gst_base_sink_set_property),
11904         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11905         * libs/gst/base/gstbasesink.h:
11906         API addition: Make max-lateness a property.
11907
11908 2006-03-06  Wim Taymans  <wim@fluendo.com>
11909
11910         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11911         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11912         Don't ever draw a frame that is >10ms late.
11913
11914 2006-03-06  Michael Smith  <msmith@fluendo.com>
11915
11916         * gst/gstmessage.c: (_gst_message_copy):
11917           When copying a message, set the parent_refcount of the enclosed
11918           structure to point at the copy, not the original message.
11919
11920 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11921
11922         Patch by: Christophe Fergeau
11923
11924         * gst/gstutils.h:
11925           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11926           usable in c++ code (#333417)
11927
11928 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11929
11930         * gst/gstclock.h:
11931           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11932
11933 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11934
11935         * libs/gst/base/gstbasetransform.c:
11936         (gst_base_transform_transform_caps):
11937           Make sure caps are writable before passing them to
11938           gst_caps_append().
11939
11940 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11941
11942         * gst/gsterror.h:
11943           Fix some minor docs errors.
11944
11945 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11946
11947           Patch by: Ross Burton <ross at burtonini dot com>
11948
11949         * gst/gsterror.c: (_gst_resource_errors_init):
11950         * gst/gsterror.h:
11951           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11952
11953 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11954
11955         * gst/gst.c:
11956         Add a check and output a g_warning when GStreamer is built
11957         against GLib 2.6 but running against 2.8 or higher, and vice 
11958         versa. (Closes: #323542)
11959
11960 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11961
11962         * gst/parse/parse.l:
11963           Commit patch for parse_launch syntax from #331255. Removes 
11964           support for quoted strings and mimetypes when writing filtered 
11965           caps. See the bug report for more details - I'm pretty sure this
11966           obscure feature is not in use by _anyone_ anywhere.
11967
11968           With this simple change, the size of the gstreamer.so here 
11969           drops from 2193KB to 1565KB.
11970
11971 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11972
11973         * plugins/elements/gsttypefindelement.h:
11974         * plugins/elements/gsttypefindelement.c:
11975         (gst_type_find_element_src_event), (start_typefinding),
11976         (stop_typefinding), (gst_type_find_element_handle_event),
11977         (gst_type_find_element_chain),
11978         (gst_type_find_element_chain_do_typefinding):
11979           Use gst_type_find_helper_for_buffer() for chain-based
11980           typefinding.
11981
11982 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11983
11984         * plugins/elements/gsttypefindelement.c:
11985         (gst_type_find_element_class_init),
11986         (gst_type_find_element_set_property),
11987         (gst_type_find_element_get_property):
11988           Deprecate "maximum" property (not only was it only taken into
11989           account for typefinding in push-mode anyway, it also was never
11990           actually possible to set it in the first place because the
11991           property was registered with the numeric property ID for the
11992           "minimum" property). Register "maximum" property correctly,
11993           for the sake of future copy'n'pasters. Remove some cruft
11994           from property get/set functions.
11995
11996 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11997
11998         * plugins/elements/gsttypefindelement.c:
11999         (gst_type_find_element_activate):
12000           Use gst_type_find_helper_get_range() here, so we
12001           can honour the "minimum" property and also emit
12002           the signal with the correct probability of the found caps.
12003
12004 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
12005
12006         * docs/libs/gstreamer-libs-sections.txt:
12007         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12008         (helper_find_suggest), (gst_type_find_helper_get_range),
12009         (gst_type_find_helper):
12010         * libs/gst/base/gsttypefindhelper.h:
12011           New API: gst_type_find_helper_get_range() (#333042).
12012
12013 2006-03-02  Michael Smith  <msmith@fluendo.com>
12014
12015         * gst/gstregistryxml.c: (load_feature):
12016           Asserting on a failure to read part of the registry is Not Cool.
12017           Just log a warning and return NULL (which is already handled)
12018
12019 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
12020
12021         * win32/common/libgstbase.def:
12022           added export of gst_type_find_helper_for_buffer
12023         * win32/common/libgstbase.def:
12024           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12025           gst_ghost_pad_get_target
12026
12027 2006-02-28  Wim Taymans  <wim@fluendo.com>
12028
12029         * docs/design/draft-klass.txt:
12030         We use Filter now.
12031         Added Connector to mark elements that are only used to
12032         allow pipeline connections.
12033         Moved Debug to extra feature since most of them are 
12034         functionally something else.
12035
12036 2006-02-28  Wim Taymans  <wim@fluendo.com>
12037
12038         * docs/design/draft-klass.txt:
12039         Some updates and clarifications.
12040
12041 2006-02-28  Wim Taymans  <wim@fluendo.com>
12042
12043         * docs/design/draft-klass.txt:
12044         Proposal for klass field values.
12045
12046         * docs/design/part-streams.txt:
12047         Start of a doc describing stream anatomy.
12048
12049 2006-02-28  Wim Taymans  <wim@fluendo.com>
12050
12051         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12052         Help the compiler a bit with type registration.
12053         Use existing forward cod path instead of duplicating it when 
12054         handling a message.
12055         
12056         * gst/gstbus.c: (gst_bus_get_type):
12057         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12058         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12059         * gst/gstclock.c: (gst_clock_get_type):
12060         * gst/gstelement.c: (gst_element_get_type),
12061         * gst/gstelementfactory.c: (gst_element_factory_get_type):
12062         * gst/gstindexfactory.c: (gst_index_factory_get_type):
12063         * gst/gstminiobject.c: (gst_mini_object_get_type):
12064         * gst/gstpad.c: (gst_pad_get_type):
12065         * gst/gstsegment.c: (gst_segment_get_type):
12066         * gst/gststructure.c: (gst_structure_get_type):
12067         * gst/gstsystemclock.c: (gst_system_clock_get_type):
12068         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12069         * gst/gstvalue.c:
12070         Help compiler with type registration.
12071
12072         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12073         Small doc update.
12074
12075 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12076
12077         * plugins/elements/gsttypefindelement.c:
12078         (gst_type_find_element_handle_event):
12079           When we get an EOS event and have not found a type yet
12080           (most likely because we had not yet accumulated
12081           TYPE_FIND_MIN_SIZE of data yet), try to determine the
12082           type given the data we have so far. Fixes typefinding
12083           for very short streams again, most notably quicktime
12084           redirections as used on Apple's trailer site (#331701).
12085
12086 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12087
12088         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12089         (gst_type_find_helper):
12090           Try typefinding factories with the highest rank first.
12091
12092 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12093
12094         * docs/libs/gstreamer-libs-docs.sgml:
12095         * docs/libs/gstreamer-libs-sections.txt:
12096         * libs/gst/base/gsttypefindhelper.c:
12097           Add section for typefind helper and add documentation
12098           for the old and the new function.
12099
12100 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12101
12102         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12103         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12104         (gst_type_find_helper_for_buffer):
12105         * libs/gst/base/gsttypefindhelper.h:
12106           New API: gst_type_find_helper_for_buffer() (#332723).
12107           
12108 2006-02-27  Michael Smith  <msmith@fluendo.com>
12109
12110         Patch by: Loïc Minier
12111
12112         * configure.ac:
12113         * docs/Makefile.am:
12114         * docs/slides/Makefile.am:
12115           prevent CVS directories getting disted.
12116
12117 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12118
12119         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12120           Use the REFCOUNTING category for caps refcounting.
12121           
12122 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12123
12124         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12125           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12126
12127 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12128
12129         * plugins/elements/gsttypefindelement.c:
12130         (gst_type_find_element_activate):
12131           Use gst_pad_check_pull_range() before _activate_pull()
12132           to avoid unnecessary open/close (see #331690).
12133
12134 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12135
12136         * gst/gstutils.c:
12137           Docs enhancement: make it crystal clear what the
12138           gst_pad_add_*_probe() callbacks should look like.
12139
12140 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12141
12142         * libs/gst/base/gstbasesrc.c:
12143           Document how applications can stop recording from
12144           live sources (see #330996).
12145
12146 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12147
12148         * tests/check/Makefile.am:
12149         * tests/check/libs/basesrc.c: (eos_event_counter),
12150         (basesrc_eos_events_pull), (basesrc_eos_events_push),
12151         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12152         (gst_basesrc_suite), (main):
12153           ... and add some tests for the base source EOS stuff.
12154
12155 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12158           Test case originally showed the problem fixed below,
12159           but was then amended. Add checks back at the place
12160           where they used to be.
12161
12162 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12163
12164         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12165         (gst_base_src_init), (gst_base_src_loop),
12166         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12167         (gst_base_src_change_state):
12168         * libs/gst/base/gstbasesrc.h:
12169           Don't unconditionally send EOS when going from PAUSED to
12170           READY state, esp. make sure we don't send two EOS events
12171           in some cases (e.g. one when reaching EOS and one when
12172           going from PAUSED to READY). Also, we don't want to send
12173           EOS events when operating in pull mode. However, we do
12174           want to send an EOS event when shutting down a live
12175           source explicitly, for example (fixes #330996).
12176           
12177 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12178
12179         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12180           Update src->read_position after a seek when not using mmap.
12181           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12182
12183 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
12184
12185         * gst/Makefile.am:
12186         * gst/gstparse.h:
12187         * gst/gstutils.c:
12188         * gst/gstutils.h:
12189         Make things work with --disable-parse as they do with 
12190         --disable-load-save - the symbols involved disappear, but the
12191         header is still installed and GST_DISABLE_PARSE is included via
12192         gstconfig.h
12193
12194 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12195
12196         * libs/gst/base/gstbasetransform.c:
12197         (gst_base_transform_change_state): Fix a stupid bug. I was 
12198         sure I compiled that.
12199
12200 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12201
12202         * gst/gstpad.c: (gst_pad_set_blocked_async):
12203         * gst/gstutils.c: (gst_pad_add_data_probe),
12204         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12205         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12206         (gst_pad_remove_buffer_probe): Make those function act on the
12207         ghostpad target when it's a ghostpad. (Closes #331727)
12208
12209 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12210
12211         * libs/gst/base/gstbasetransform.c:
12212         (gst_base_transform_change_state): Make basetransform reusable.
12213         (Closes #331898)
12214
12215 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
12216
12217         * docs/random/release:
12218         Move the current documentation of how to do a release to the top
12219         of the file.
12220
12221         * gst/gstbin.c: (gst_bin_class_init),
12222         (gst_bin_handle_message_func):
12223         Allow multiple state-recalculation threads. (Closes #328873)
12224
12225 2006-02-19  Julien MOUTTE  <julien@moutte.net>
12226
12227         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12228         * gst/gstpad.c: (gst_pad_set_event_function),
12229         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12230         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12231         2 strings. You can't use the STR_NULL macro on that.
12232
12233 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
12234
12235         * gst/gstpad.c: (gst_pad_set_event_function),
12236         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12237         (gst_pad_set_getcaps_function)
12238         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12239           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12240           So now, we can use --gst-debug-level=5 on Windows
12241         * win32/common/libgstcontroller.def:
12242           Added export of gst_controller_init
12243         * win32/vs6/libgstcontroller.dsp:
12244           Fixed Release post build configuration
12245
12246 2006-02-17  Wim Taymans  <wim@fluendo.com>
12247
12248         * tests/check/gst/gstquery.c: (GST_START_TEST):
12249         Added another check.
12250
12251 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
12252
12253         * plugins/elements/gsttypefindelement.c: (find_peek):
12254           We can do peeks at non-zero offsets, as long as they
12255           fall within the buffer we have.
12256
12257 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
12258
12259         * tests/check/Makefile.am:
12260         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12261         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12262         (parse_suite), (main):
12263           Add testsuite for parse launch syntax
12264
12265 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * plugins/elements/gsttypefindelement.c:
12268         (gst_type_find_element_chain):
12269           When typefinding is unsuccessful in the chain function, don't
12270           error out immediately. Only error out with NO_CAPS_FOUND if
12271           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12272           otherwise simply wait for more data so we can try typefinding
12273           again with more data later. Also, don't attempt to typefind
12274           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12275           this should improve typefinding from network sources where the
12276           size of the first buffer can be somewhat random.
12277
12278 2006-02-14  Wim Taymans  <wim@fluendo.com>
12279
12280         * docs/gst/gstreamer-sections.txt:
12281         * gst/gstpadtemplate.c:
12282         * gst/gstpadtemplate.h:
12283         Fix padtemplate docs, fixes #328805.
12284
12285 2006-02-14  Wim Taymans  <wim@fluendo.com>
12286
12287         * tools/gst-launch.c: (main):
12288         NO_PREROLL is not an ERROR so don't send confusing messages
12289         to the user.
12290
12291 2006-02-14  Wim Taymans  <wim@fluendo.com>
12292
12293         Patch by: Torsten Schoenfeld
12294
12295         * gst/gstregistry.c: (gst_registry_get_default),
12296         (_gst_registry_cleanup):
12297         Protect default registry with lock and ref/sink it.
12298         Fixes #324818
12299
12300 2006-02-14  Wim Taymans  <wim@fluendo.com>
12301
12302         * gst/gstbuffer.c:
12303         * gst/gstquery.c: (gst_query_list_add_format),
12304         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12305         (gst_query_parse_formats_nth):
12306         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12307         Docs fixes.
12308
12309 2006-02-14  Wim Taymans  <wim@fluendo.com>
12310
12311         * docs/gst/gstreamer-sections.txt:
12312         Reworked query docs.
12313
12314         * gst/gstquery.c: (gst_query_new_formats),
12315         (gst_query_list_add_format), (gst_query_set_formats),
12316         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12317         (gst_query_parse_formats_nth):
12318         * gst/gstquery.h:
12319         Flesh out formats query, added some new methods.
12320         Fix part of #324398.
12321
12322         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12323         Added query creation tests.
12324
12325 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
12326
12327         * gst/gstpad.c: (fixate_value):
12328         Add a default fixation for fraction lists.
12329
12330 2006-02-13  Wim Taymans  <wim@fluendo.com>
12331
12332         * gst/gsttask.c: (gst_task_init), (gst_task_func),
12333         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12334         (gst_task_join):
12335         * gst/gsttask.h:
12336         Detect and warn for obvious deadlocks. fixes #320340
12337         Fix error case where lock was not released.
12338
12339         * tests/check/Makefile.am:
12340         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12341         (task_func), (gst_element_suite), (main):
12342         Add task check.
12343
12344 2006-02-13  Wim Taymans  <wim@fluendo.com>
12345
12346         * docs/gst/gstreamer-sections.txt:
12347         * gst/gstbus.c:
12348         Add new functions to docs.
12349
12350 2006-02-13  Wim Taymans  <wim@fluendo.com>
12351
12352         * docs/design/part-TODO.txt:
12353         Updated TODO list, basesrc supports seeking to non-bytes
12354         formats.
12355
12356         * docs/design/part-element-sink.txt:
12357         Update docs.
12358
12359         * gst/gstbin.c: (bin_replace_message),
12360         (gst_bin_handle_message_func):
12361         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12362         * gst/gstevent.c: (gst_event_finalize):
12363         * gst/gstpad.c: (gst_pad_event_default_dispatch),
12364         (gst_pad_send_event):
12365         Use shiny new _TYPE_NAME macros.
12366
12367         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12368         Move debug statement up.
12369
12370         * gst/gstelement.c: (gst_element_set_locked_state):
12371         Add some debugging.
12372
12373 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
12374
12375         * docs/gst/gstreamer-sections.txt:
12376         * gst/gstmessage.h:
12377         * gst/gstquery.h:
12378           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12379           macros (#330906). Also, document the already existing
12380           GST_QUERY_TYPE macro.
12381
12382 2006-02-13  Wim Taymans  <wim@fluendo.com>
12383
12384         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12385         (event_probe), (GST_START_TEST):
12386         Only events up to the pipeline EOS are counted, there are
12387         some more when going to NULL currently which we don't care
12388         about for now.
12389
12390 2006-02-13  Wim Taymans  <wim@fluendo.com>
12391
12392         * gst/gstpad.c: (gst_pad_send_event):
12393         Correctly check flushing and emit probes. fixes #330125
12394
12395 2006-02-10  Andy Wingo  <wingo@pobox.com>
12396
12397         * gst/gstbus.c (gst_bus_class_init): Declare our private data
12398         structure.
12399         (gst_bus_init): Cache the location of the private data in the
12400         instance structure.
12401         (gst_bus_enable_sync_message_emission) 
12402         (gst_bus_disable_sync_message_emission): Implement new public
12403         functions.
12404         (gst_bus_post): Emit the sync-message signal if the user asked for
12405         it. Fixes #330684.
12406
12407         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12408         location of the bus-private structure.
12409         (gst_bus_enable_sync_message_emission)
12410         (gst_bus_disable_sync_message_emission): API addition
12411
12412 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
12413
12414         Patch by: Vincent Torri
12415
12416         * docs/pwg/building-boiler.xml:
12417         PWG patch from #326800
12418
12419 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
12420
12421         * configure.ac:
12422         * docs/Makefile.am:
12423         * docs/design/Makefile.am:
12424           Dist design docs.
12425
12426 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12427
12428         * configure.ac:
12429           back to CVS
12430
12431 === release 0.10.3 ===
12432
12433 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
12434
12435         * configure.ac:
12436           releasing 0.10.3, "Like a virgin"
12437
12438 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12439
12440         * configure.ac:
12441           2nd prerelease of 0.10.3
12442           Bump libtool versioning.
12443
12444 2006-02-07  Andy Wingo  <wingo@pobox.com>
12445
12446         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12447         update last_stop if we're in TIME format and the timestamp is
12448         valid.
12449
12450         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
12451         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
12452         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12453         If we get a new newsegment with a different format, adapt
12454         accordingly.
12455
12456         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12457         of 0. Not a problem, really.
12458
12459         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12460         warn if sync=true.
12461
12462 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
12463
12464         * configure.ac:
12465           Prelease of 0.10.3
12466
12467 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
12468
12469         * win32/vs7:
12470           project files updated to the default vs7 configuration
12471         * win32/common/libgstbase.def:
12472         * win32/common/libgstreamer.def:
12473           added new symbols,
12474           removed empty lines,
12475           sorted all exported symbols alphabetically
12476         * win32/common/dirent.c:
12477         * win32/common/dirent.h:
12478         * win32/common/gchar.h:
12479           use windows line end.
12480           
12481 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12482
12483         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12484           Send EOS event when stopping.
12485
12486 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12487
12488         * docs/README:
12489           Tell folks what to do if the plugin-foobar.xml file
12490           hasn't been generated for a newly-added plugin.
12491
12492 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12493
12494         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12495         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12496         (gst_collect_pads_start), (gst_collect_pads_stop),
12497         (gst_collect_pads_event): Collectpads now holds a reference
12498         to the GstPad that was added. Indeed we don't want to look
12499         at pads that might just go away with no warning...
12500
12501 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12502
12503         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12504         (gst_collect_pads_start), (gst_collect_pads_stop),
12505         (gst_collect_pads_event), (gst_collect_pads_chain):
12506         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12507         Mark Nauwelaerts's patch on bug #328491.
12508
12509 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12510
12511         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12512         (gst_utils_suite):
12513           Add some simple tests for gst_parse_bin_from_description() and
12514           gst_bin_find_unconnected_pad() (#329069).
12515
12516 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12517
12518         * tools/gst-launch.c: (event_loop), (main):
12519           Catch errors during preroll (#320084).
12520
12521 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12522
12523         * plugins/elements/gsttypefindelement.c:
12524         (gst_type_find_element_activate):
12525           Post TYPE_NOT_FOUND error message when typefinding
12526           is unsuccessful in the activate function as well.
12527
12528 2006-02-02  Wim Taymans  <wim@fluendo.com>
12529
12530         * docs/design/part-element-sink.txt:
12531         Updated doc.
12532
12533 2006-02-02  Wim Taymans  <wim@fluendo.com>
12534
12535         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12536         (gst_base_sink_render_object),
12537         (gst_base_sink_queue_object_unlocked):
12538         Only keep track of prerollable items when we are 
12539         prerolling.
12540         Before rendering after preroll, always check if we
12541         have queued items.
12542         Added some more debugging.
12543
12544 2006-02-02  Wim Taymans  <wim@fluendo.com>
12545
12546         * gst/gstelement.c: (gst_element_continue_state),
12547         (gst_element_set_state_func), (gst_element_change_state):
12548         Fixed #326576, been running this for quite some time with
12549         no regressions at all.
12550
12551 2006-02-02  Wim Taymans  <wim@fluendo.com>
12552
12553         * common/gst.supp:
12554         Added more suppressions
12555
12556 2006-02-02  Wim Taymans  <wim@fluendo.com>
12557
12558         * docs/design/part-element-sink.txt:
12559         Updated document.
12560
12561         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12562         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12563         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12564         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12565         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12566         (gst_base_sink_preroll_object),
12567         (gst_base_sink_queue_object_unlocked),
12568         (gst_base_sink_queue_object), (gst_base_sink_event),
12569         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12570         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12571         (gst_base_sink_get_position), (gst_base_sink_change_state):
12572         * libs/gst/base/gstbasesink.h:
12573         Totally refactored matching the design doc.
12574         Use two segments, one to clip incomming buffers and another to
12575         perform sync.
12576         Handle queueing correctly, bypass the queue when playing.
12577         Make EOS cancelable.
12578         Handle errors correctly when operating in pull based mode.
12579
12580         * tests/check/elements/fakesink.c: (GST_START_TEST),
12581         (fakesink_suite):
12582         Added new check for sinks.
12583
12584 2006-02-02  Wim Taymans  <wim@fluendo.com>
12585
12586         * gst/gstsegment.c: (gst_segment_clip):
12587         No reason to refuse to clip when start == -1
12588
12589 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12590
12591         * docs/README:
12592         * docs/manual/intro-basics.xml:
12593         * docs/manual/intro-preface.xml:
12594         * docs/manual/manual.xml:
12595         * docs/pwg/advanced-dparams.xml:
12596         * docs/pwg/intro-basics.xml:
12597         * docs/pwg/intro-preface.xml:
12598         * docs/pwg/pwg.xml:
12599           describe dparams (controller) for plugins
12600           unify docs a little more
12601
12602 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12603
12604         * docs/gst/gstreamer-sections.txt:
12605         * gst/gstutils.c: (element_find_unconnected_pad),
12606         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12607         * gst/gstutils.h:
12608           Add new API: gst_parse_bin_from_description() and
12609           gst_bin_find_unconnected_pad() (#329069).
12610
12611 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12612
12613         * docs/manual/README:
12614           uncover a nasty detail of the docs build
12615
12616 2006-01-31  Wim Taymans  <wim@fluendo.com>
12617
12618         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12619         Don't cache duration messages if we're not going to use or
12620         free them.
12621
12622 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12623
12624         * docs/manual/advanced-dparams.xml:
12625         * docs/pwg/advanced-dparams.xml:
12626           more dparam docs
12627         * gst/gstindex.c:
12628           fix docs
12629         * libs/gst/controller/lib.c: (gst_controller_init):
12630           init just once
12631
12632 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12633
12634         * gst/gstelement.c: (gst_element_message_full):
12635           also show file/line/func if no additional debug was given
12636
12637 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12638         
12639         * win32/vs7/grammar.vcproj:
12640           activate copy of autogenerated files for Release mode
12641
12642 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12643         
12644         * win32/common/libgstreamer.def:
12645           export gst_value_compare
12646
12647 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12648
12649         * plugins/elements/Makefile.am:
12650         * plugins/elements/gstelements.c:
12651         * plugins/elements/gstfdsink.c: (_do_init),
12652         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12653         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12654         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12655         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12656         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12657         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12658         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12659         * plugins/elements/gstfdsink.h:
12660         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12661
12662 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12663
12664         * docs/manual/advanced-dparams.xml:
12665           describe controller
12666         * docs/manual/advanced-position.xml:
12667         * docs/manual/basics-init.xml:
12668         * docs/manual/manual.xml:
12669         * docs/manual/titlepage.xml:
12670         * docs/pwg/pwg.xml:
12671         * docs/pwg/titlepage.xml:
12672           cleanup xml (more to come)
12673         * libs/gst/controller/gstcontroller.c:
12674           fix typo
12675
12676 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12677         
12678         * win32/vs6/grammar.dsp:
12679           add autogen of gstmarshal.c,h for Release mode
12680                 
12681 2006-01-30  Wim Taymans  <wim@fluendo.com>
12682
12683         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12684         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12685         (gst_base_sink_handle_object), (gst_base_sink_event),
12686         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12687         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12688         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12689         (gst_base_sink_deactivate), (gst_base_sink_activate),
12690         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12691         (gst_base_sink_query), (gst_base_sink_change_state):
12692         Basesink cleanups, remove some old code.
12693         Handle the case where a subclass can preroll in the render
12694         method (mostly audiosinks).
12695         Handle more events.
12696         Remove some locks around variables that are now protected
12697         with the PREROLL_LOCK (clock_id, flushing, ..).
12698         Optimize position query some more, do correct locking.
12699         Remove old code to push queue in state change, this is not
12700         needed anymore since preroll blocks on all prerollable items 
12701         now.
12702         Almost implemented as described in design doc.
12703
12704 2006-01-30  Wim Taymans  <wim@fluendo.com>
12705
12706         * tests/check/gst/gstbin.c: (GST_START_TEST):
12707         Wait for refcount to settle down before checking.
12708
12709 2006-01-30  Wim Taymans  <wim@fluendo.com>
12710
12711         * docs/design/part-element-sink.txt:
12712         Pseudo code overview of desired sink behaviour regarding
12713         preroll.
12714
12715 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12716         * win32/vs6/grammar.dsp:
12717           fix some bugs in Release mode for autogenerated files
12718                 
12719 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12720         * win32/common/libgstbase.def:
12721         * win32/common/libgstreamer.def:
12722           export some new symbols: gst_base_src_set_format,
12723           gst_iterator_next, gst_structure_set_valist
12724
12725 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12726
12727         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12728         Set pad functions unconditionally. Fixes #329105.
12729
12730 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12731         * win32/vs8:
12732           add vs8 project files created by Sergey Scobich
12733
12734 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12735
12736         * gst/gstutils.c: (gst_element_unlink_pads):
12737         Don't leak pad references.
12738
12739         * tests/check/elements/fakesink.c: (GST_START_TEST):
12740         * tests/check/generic/sinks.c: (GST_START_TEST):
12741         * tests/check/generic/states.c: (GST_START_TEST):
12742         * tests/check/gst/gstbin.c: (GST_START_TEST):
12743         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12744         * tests/check/gst/gstelement.c: (GST_START_TEST):
12745         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12746         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12747         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12748         Fix a bunch of leaks. Make generic/sinks.c
12749         use a bit less cpu by slowing the buffer rate
12750         between fakesrc and fakesink.
12751         
12752 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12753         * gst/gstcaps.c:
12754         * gst/gstelement.c: (gst_element_send_event):
12755         * gst/gstevent.c:
12756         * gst/gstinfo.c:
12757         * gst/gstiterator.c:
12758         * gst/gstiterator.h:
12759         * gst/gstpad.c: (gst_pad_send_event):
12760         * gst/gststructure.c:
12761         * gst/gsturi.c:
12762         * gst/gstutils.c:
12763         * gst/gstvalue.c:
12764         * libs/gst/base/gstadapter.c:
12765           doc fixes, to link to function, just write gst_cool_function(), don't
12766           prefix with '#'
12767
12768 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12769
12770         * plugins/elements/gsttee.c: (gst_tee_do_push),
12771         (gst_tee_handle_buffer):
12772         Always prefer an actual return value from a src
12773         pad in place of NOT_LINKED. This means we return
12774         WRONG_STATE when all src pads are WRONG_STATE
12775         instead of NOT_LINKED.
12776
12777         Lock when replacing the last message to prevent
12778         racing with the get_property method.
12779
12780         Add debug output
12781
12782 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12783
12784         * tests/check/Makefile.am:
12785         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12786         (main):
12787         Add a very simple check that should have caught the memleak I fixed
12788         last night (if not for the slice allocator hiding it)
12789
12790 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12791
12792         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12793         (gst_bin_remove_func), (gst_bin_handle_message_func),
12794         (bin_query_duration_fold), (bin_query_generic_fold):
12795         Clean up references to the clock provider when disposed or when
12796         handling a clock-lost message from it.
12797
12798         Unref sinks when performing a query via gst_iterator_fold, as the
12799         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12800
12801         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12802         (gst_clock_set_master):
12803         Drop our reference to the master clock, if any, when we are disposed.
12804
12805         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12806         Chain up in dispose. 
12807
12808 2006-01-26  Wim Taymans  <wim@fluendo.com>
12809
12810         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12811         Add some debugging.
12812
12813 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12814
12815         * plugins/elements/gsttee.c: (gst_tee_do_push),
12816         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12817         handles pad being NOT_LINKED or in WRONG_STATE.
12818
12819 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12820
12821         * win32/MANIFEST:
12822           more updating
12823
12824 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12825
12826         * win32/MANIFEST:
12827           remove obsolete entry
12828
12829 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12830
12831         * docs/gst/gstreamer-sections.txt:
12832         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12833         (gst_bin_iterate_sources), (gst_bin_send_event):
12834         * gst/gstbin.h:
12835         * gst/gstelement.c: (gst_element_send_event):
12836         * gst/gstevent.c:
12837         * gst/gstpad.c: (gst_pad_send_event):
12838           added code for downstream events, reviewed docs in gstevent.c
12839
12840 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12841
12842         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12843         We only query position using the clock in the playing state.
12844         Query peer in the other cases.
12845         * win32/common/config.h: Updates.
12846
12847 2006-01-24  Wim Taymans  <wim@fluendo.com>
12848
12849         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12850         A clock entry that is scheduled for the exact time of the
12851         clock is still in time.
12852
12853         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12854         (gst_base_sink_do_sync):
12855         Add some more debug info.
12856
12857 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12858
12859         * win32/vs7:
12860           Add new vs7 project files and solution.
12861
12862 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12863
12864         * win32/vs7:
12865           all files removed as they were out-dated.
12866
12867 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12868
12869         * docs/random/release:
12870           update notes
12871         * gst/gstbin.c: (gst_bin_init):
12872         * gst/gstbus.c: (gst_bus_new):
12873         * gst/gstbus.h:
12874         * gst/gstpipeline.c: (gst_pipeline_init):
12875           use gst_bus_new(), improve logging, fix docs
12876         * win32/common/config.h:
12877           update for cvs build
12878
12879 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12880
12881         * autogen.sh:
12882           up required version of automake to 1.7
12883
12884 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12885
12886         * win32/common/libgstreamer.def:
12887           export gst_buffer_is_metadata_writable
12888
12889 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12890
12891         * docs/gst/gstreamer-sections.txt:
12892         * gst/gstevent.h:
12893           Add gst_event_replace() (#327001)
12894
12895 2006-01-20  Wim Taymans  <wim@fluendo.com>
12896
12897         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12898         Make it actually compile too..
12899
12900 2006-01-20  Wim Taymans  <wim@fluendo.com>
12901
12902         * gst/gstcaps.c:
12903         Clarify behaviour of _is_equal() when passing NULL parameters.
12904
12905         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12906         (gst_pad_set_caps):
12907         Cleanups. Don't unref NULL caps.
12908         When setting the same caps, protect caps of the pad with
12909         proper lock.
12910         Use full functionality of _is_equal() when comparing caps.
12911
12912 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12913
12914         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12915         Don't loop infinitely if there are no buffers to present. Partially
12916         fixes #327197, but collectpads is just broken for reusing elements
12917         to do multiple encodes atm.
12918
12919 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12920
12921         * tools/gst-inspect.c: (print_element_features):
12922         * tools/gst-xmlinspect.c: (main):
12923         URL_HANDLER is not a plugin feature we can search for in
12924         the registry.
12925
12926 2006-01-19  Edward Hervey  <edward@fluendo.com>
12927
12928         * gst/gstelement.c: (gst_element_pads_activate): 
12929         When activating, do src pads first, then sink pads.
12930         When de-activating, do sink pads first, then src pads.
12931
12932 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12933
12934         * docs/gst/gstreamer-sections.txt:
12935         Add gst_index_add_associationv to the docs
12936
12937 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12938
12939         * gst/gstevent.c:
12940           Fix docs typo
12941
12942         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12943         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12944           Do some refactoring. Doesn't actually change functionality,
12945           but makes landing the DRAIN event easier later.
12946
12947 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12948
12949         * docs/pwg/advanced-scheduling.xml:
12950           Update from 0.9.x to 0.10 API and make example a bit
12951           clearer.
12952
12953 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12954
12955         * docs/gst/gstreamer-sections.txt:
12956         Add gst_buffer_(is|make)_metadata_writable methods.
12957
12958 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12959
12960         * docs/design/part-sparsestreams.txt:
12961         Update sparse streams doc, hopefully for greater clarity
12962
12963 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12964
12965         * docs/design/part-events.txt:
12966         Remove mention of FILLER events.
12967         Add DRAIN event.
12968
12969         * docs/design/part-sparsestreams.txt:
12970         Write some things about using NEWSEGMENT to keep sparse streams
12971         flowing.
12972
12973 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12974
12975         * gst/gstbin.c: (gst_bin_dispose):
12976           Guard gst_object_unref call against a NULL object (dispose
12977           can theoretically be called multiple times).
12978           
12979 2006-01-18  Wim Taymans  <wim@fluendo.com>
12980
12981         * gst/gstbin.c: (gst_bin_element_set_state):
12982         * gst/gstclock.c: (gst_clock_id_wait):
12983         Added some more debug info.
12984
12985         * libs/gst/base/gstadapter.c:
12986         Added more docs.
12987
12988         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12989         (gst_base_sink_do_sync), (gst_base_sink_chain):
12990         Added some comments.
12991
12992 2006-01-18  Wim Taymans  <wim@fluendo.com>
12993
12994         * tests/check/Makefile.am:
12995         * tests/check/elements/fakesink.c: (chain_async_buffer),
12996         (chain_async), (chain_async_return), (GST_START_TEST),
12997         (fakesink_suite), (main):
12998         Added fakesink test that checks prerolling and clipping
12999         behaviour.
13000
13001         * tests/check/gst/gstutils.c: (GST_START_TEST):
13002         Make check run faster so that buildbots don't timeout.
13003
13004 2006-01-18  Wim Taymans  <wim@fluendo.com>
13005
13006         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13007         (gst_base_sink_do_sync):
13008         Some cleanups.
13009         When the sink finishes blocking on the preroll buffer, it can
13010         immediatly render it instead of rendering when the next buffer
13011         arrives.
13012
13013 2006-01-18  Wim Taymans  <wim@fluendo.com>
13014
13015         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13016         (gst_base_sink_get_property), (gst_base_sink_do_sync),
13017         (gst_base_sink_chain):
13018         Small cleanups.
13019         GST_ELEMENT_CLOCK and sync are protected with LOCK.
13020         Don't store _last_stop if the buffer is dropped.
13021
13022 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13023
13024         * plugins/elements/gsttypefindelement.c:
13025         (gst_type_find_element_class_init):
13026           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13027           object method handler that sets the caps on the pad and we want
13028           that to happen before we emit the signal (fixes e.g. feeding a
13029           plain text file to decodebin).
13030
13031 2006-01-18  Christian Schaller  <Christian@fluendo.com>
13032
13033         * gst/gstplugin.c: Add MPL and Proprietary as license options
13034
13035 2006-01-18  Andy Wingo  <wingo@pobox.com>
13036
13037         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13038         symbol was exported before, it appears this was just an oversight.
13039         Fixes #168703.
13040         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13041
13042         * gst/gstindex.c (gst_index_add_associationv): Changed int in
13043         prototype to gint. OK since this prototype was not in the header.
13044
13045 2006-01-17  Andy Wingo  <wingo@pobox.com>
13046
13047         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13048         registry while we remove plugins.
13049
13050         * tools/gst-inspect.c (print_element_info): Don't unref the
13051         factory arg, that should be the responsibility of whatever code
13052         received the ref. Fixes a double-free when called from
13053         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13054         (main): Unref the factory if we have one.
13055         (print_element_list): No change -- relies on the
13056         plugin_feature_list_free to free the list of features.
13057
13058 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
13059
13060         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13061         (gst_buffer_make_metadata_writable):
13062         * gst/gstbuffer.h:
13063         * libs/gst/base/gstbasetransform.c:
13064         (gst_base_transform_prepare_output_buf):
13065         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13066         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13067           Replace gst_buffer_(make|is)_metadata_writable patch now
13068           that the release is out.
13069
13070 2006-01-17  Andy Wingo  <wingo@pobox.com>
13071
13072         * gst/gstregistry.c: Reflow design comment. Update so as to speak
13073         in the present tense without reference to versions.
13074
13075         * gst/gstregistry.c (gst_registry_add_plugin)
13076         (gst_registry_remove_plugin, gst_registry_remove_feature)
13077         (gst_registry_find_feature, gst_registry_get_feature_list)
13078         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13079         (gst_registry_lookup, gst_registry_scan_path)
13080         (_gst_registry_remove_cache_plugins)
13081         (gst_registry_get_feature_list_by_plugin): Add argument
13082         validation.
13083
13084 === release 0.10.2 ===
13085
13086 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
13087
13088         * configure.ac:
13089           releasing 0.10.2, "If man is five"
13090
13091 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13092
13093         * gst/gstbuffer.c:
13094         * gst/gstbuffer.h:
13095         * libs/gst/base/gstbasetransform.c:
13096         (gst_base_transform_prepare_output_buf):
13097         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13098         * tests/check/gst/gstbuffer.c: (gst_test_suite):
13099           Back out patch until after the release.
13100
13101 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13102
13103         * gst/gstminiobject.c:
13104           Spelling fix in docs.
13105         * ChangeLog - remove conflict indicator
13106
13107 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13108
13109         Reviewed By: Andy Wingo
13110
13111         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13112         (gst_buffer_make_metadata_writable):
13113         * gst/gstbuffer.h:
13114           Add gst_buffer_(is|make)_metadata_writable as analogues of
13115           gst_buffer_(is|make)_writable.
13116
13117         * libs/gst/base/gstbasetransform.c:
13118         (gst_base_transform_prepare_output_buf):
13119         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13120           Use name gst_buffer_(is|make)_metadata_writable functions.
13121
13122         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13123           Test gst_buffer_(is|make)_metadata_writable
13124         
13125           (Closes: #324162)
13126
13127 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13128
13129         * docs/manual/Makefile.am:
13130           don't do parallel make
13131         * configure.ac:
13132           AC_SUBST HOST_CPU
13133         * win32/common/config.h.in:
13134           add generations for HOST_CPU and GST_MAJORMINOR
13135         * win32/common/config.h:
13136           commit generated result
13137
13138 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
13139
13140         * docs/manual/appendix-integration.xml:
13141           Update GNOME integration section to use gst_init_get_option_group()
13142           instead of the old popt stuff (#322911). Also, GNOME applications
13143           should  now use gconf*sink and gconf*src instead of the old gconf
13144           helper lib we had.
13145
13146 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
13147
13148
13149         * docs/gst/gstreamer-docs.sgml:
13150         * docs/gst/gstreamer-sections.txt:
13151         * docs/libs/gstreamer-libs-sections.txt:
13152           add new API entries to the docs
13153         * libs/gst/controller/Makefile.am:
13154         * libs/gst/controller/gstcontroller.c:
13155         * libs/gst/controller/gstcontroller.h:
13156         * libs/gst/controller/gstcontrollerprivate.h:
13157         * libs/gst/controller/gsthelper.c:
13158         * libs/gst/controller/gstinterpolation.c:
13159           move private structs to private header
13160         * po/README:
13161           gstreamer-0.7 -> gstreamer-0.10
13162         * tests/check/libs/struct_i386.h:
13163           remove private structs
13164
13165 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13166
13167         * plugins/indexers/Makefile.am:
13168           Fixes as part of #317048
13169
13170 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13171
13172         * plugins/indexers/Makefile.am:
13173           fix #316086 - compilation when mmap is missing
13174
13175 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
13176
13177         * libs/gst/base/gstbasesink.c:
13178           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
13179           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13180         * win32/common/config.h:
13181           added some defines GST_MAJORMINOR and HOST_CPU
13182         * win32/common/libgstbase.def:
13183         * win32/common/libgstreamer.def:
13184           added some exported functions.
13185
13186 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13187
13188         * libs/gst/controller/gstcontroller.c:
13189         (gst_controlled_property_set_interpolation_mode),
13190         (gst_controlled_property_new):
13191         * libs/gst/controller/gstcontroller.h:
13192         * libs/gst/controller/gstinterpolation.c:
13193         (interpolate_none_get_string_value_array):
13194           make G_TYPE_STRING controlable
13195
13196 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13197
13198         * tools/README:
13199         * tools/gst-feedback.1.in:
13200         * tools/gst-inspect.1.in:
13201         * tools/gst-launch.1.in:
13202         * tools/gst-md5sum.1.in:
13203         * tools/gst-typefind.1.in:
13204         * tools/gst-xmlinspect.1.in:
13205         * tools/gst-xmllaunch.1.in:
13206           cleanup man-pages, remove reference to gst-register, document env-vars
13207
13208 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
13209
13210         * gst/gstbuffer.c: (gst_buffer_span):
13211           gst_buffer_span should copy the timestamp of the first buffer
13212           if they were both originally overlapping subbuffers of the 
13213           same parent, using the same logic as the 'slow copy' case.
13214
13215 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
13216
13217         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13218           Need to awaken ALL the pads when we pop a buffer, otherwise
13219           collectpads only works when there is 2 input streams.
13220
13221 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
13222
13223         * docs/random/ensonic/media-device-daemon.txt:
13224           more ideas (dbus)
13225         * gst/gstbuffer.c:
13226           fix doc example, add clarification
13227         * tools/gst-launch.1.in:
13228           add initial info about GST_PLUGIN_PATH, needs more work
13229
13230 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
13231
13232         * docs/manual/basics-bins.xml:
13233         * docs/manual/basics-elements.xml:
13234         * docs/manual/intro-basics.xml:
13235           Some more minor docs additions and updates.
13236
13237 2006-01-11  Wim Taymans  <wim@fluendo.com>
13238
13239         * docs/manual/basics-bins.xml:
13240         * docs/manual/basics-elements.xml:
13241         Some small fixes as pointed out by Ser-ver on IRC.
13242
13243 2006-01-10  Edward Hervey  <edward@fluendo.com>
13244
13245         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13246         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13247         the single-segment mode.
13248
13249 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
13250
13251         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13252
13253         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13254         (gst_base_src_perform_seek), (gst_base_src_send_event),
13255         (gst_base_src_set_property), (gst_base_src_get_property),
13256         (gst_base_src_loop), (gst_base_src_start),
13257         (gst_base_src_activate_push):
13258         * libs/gst/base/gstbasesrc.h:
13259           Name (private) union; makes Sun's Forte compiler happy (#324900).
13260
13261 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
13262
13263         * README:
13264           gst-register is gone.
13265
13266 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13267
13268         * gst/gstvalue.c: (_gst_value_initialize):
13269           make the G_TYPE_DATE instantiation work if debug is disabled
13270
13271 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
13272
13273         * gst/gstmessage.c: (gst_message_parse_tag),
13274         (gst_message_parse_error), (gst_message_parse_warning):
13275           Don't crash when return location for error/warning debug
13276           string is NULL; add fact that return locations can be
13277           NULL to docs where appropriate.
13278
13279 2006-01-05  Wim Taymans  <wim@fluendo.com>
13280
13281         * gst/gstplugin.c: (gst_plugin_load_file):
13282         Replace strdup by g_strdup.
13283
13284 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13285
13286         * docs/pwg/advanced-types.xml:
13287           fix doc borkage
13288
13289 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13290
13291         submitted by: Abel Cheung
13292
13293         * po/LINGUAS:
13294         * po/zh_TW.po:
13295           Added Chinese (traditional) translation
13296
13297 2006-01-04  Wim Taymans  <wim@fluendo.com>
13298
13299         * docs/manual/basics-pads.xml:
13300         * docs/plugins/Makefile.am:
13301         * docs/plugins/gstreamer-plugins-docs.sgml:
13302         * docs/plugins/gstreamer-plugins-sections.txt:
13303         * docs/pwg/advanced-clock.xml:
13304         * docs/pwg/advanced-scheduling.xml:
13305         * docs/pwg/advanced-types.xml:
13306         * plugins/elements/gstfdsink.c:
13307         * plugins/elements/gstfdsrc.c:
13308         * plugins/elements/gstfdsrc.h:
13309         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13310         * plugins/elements/gstidentity.h:
13311         * plugins/elements/gstqueue.h:
13312         * plugins/elements/gsttee.c:
13313         * plugins/elements/gsttee.h:
13314         * plugins/elements/gsttypefindelement.c:
13315         (gst_type_find_element_class_init):
13316         * plugins/elements/gsttypefindelement.h:
13317         Small updates to various docs.
13318         Added core plugins to docs.
13319
13320 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13321
13322         * common/gst.supp:
13323           add a suppression for liboil's uninitialized variable
13324
13325 2006-01-02  James Livingston  <jrl at ids dot org dot au>
13326
13327         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13328
13329         * gst/gstutils.h:
13330           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13331           macro, so that gcc doesn't complain if the -Wmissing-prototypes
13332           compiler switch is being used (#325429).
13333
13334 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
13335
13336         * gst/gstbin.c: (gst_bin_query):
13337           Disable duration query caching in bins until it gets
13338           fixed (see #324807).
13339
13340 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13341
13342         * tools/gst-inspect.c: (print_element_properties_info):
13343           Handle properties of POINTER and BOXED type.
13344
13345 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13346
13347         * gst/gst.c: (init_post):
13348           Init tags stuff and some other things before loading
13349           any static plugins (there may be other static plugins
13350           than just the GStreamer ones, and they may want to
13351           register their own tags or formats or whatever, and
13352           preferably without segfaulting).
13353
13354         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13355           Print at least a warning in the debug logs if we drop a
13356           query just because we don't know how to adjust the value
13357           in the particular format.
13358
13359 2005-12-24  David Schleef  <ds@schleef.org>
13360
13361         * tools/gstreamer-completion:
13362           Replacement for gst-complete written in sh and sed.  Only
13363           completes names of features, but that's 90% of what I want
13364           it for.  Properties are not available in registry.xml.  (Maybe
13365           they should be...)
13366
13367 === release 0.10.1 ===
13368
13369 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
13370
13371         * configure.ac:
13372           releasing 0.10.1, "Nollaig chridheil"
13373
13374 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
13375
13376         * docs/faq/cvs.xml:
13377           Add missing quote, should be make ERROR_CFLAGS="".
13378
13379 2005-12-20  Wim Taymans  <wim@fluendo.com>
13380
13381         * docs/design/part-trickmodes.txt:
13382         More documentation on trickmodes.
13383
13384 2005-12-20  Edward Hervey  <edward@fluendo.com>
13385
13386         * gst/gstcaps.c: (gst_static_caps_get_type):
13387         * gst/gstcaps.h:
13388           API addition: GST_TYPE_STATIC_CAPS
13389         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13390         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13391         * gst/gstpadtemplate.h:
13392           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13393         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13394         bindings.
13395
13396 2005-12-18  Wim Taymans  <wim@fluendo.com>
13397
13398         * libs/gst/base/gstadapter.c:
13399         * libs/gst/base/gstadapter.h:
13400         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13401         (gst_base_sink_get_position):
13402         * libs/gst/base/gstbasesink.h:
13403         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13404         (gst_base_src_default_query), (gst_base_src_default_do_seek),
13405         (gst_base_src_do_seek), (gst_base_src_perform_seek),
13406         (gst_base_src_send_event), (gst_base_src_update_length),
13407         (gst_base_src_get_range), (gst_base_src_loop),
13408         (gst_base_src_start):
13409         * libs/gst/base/gstbasesrc.h:
13410         * libs/gst/base/gstbasetransform.h:
13411         * libs/gst/base/gstcollectpads.h:
13412         * libs/gst/base/gstpushsrc.c:
13413         * libs/gst/base/gstpushsrc.h:
13414         * libs/gst/dataprotocol/dataprotocol.c:
13415         * libs/gst/dataprotocol/dataprotocol.h:
13416         * libs/gst/net/gstnetclientclock.h:
13417         * libs/gst/net/gstnettimeprovider.h:
13418         Documentation updates.
13419
13420 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
13421
13422         * docs/manual/basics-helloworld.xml:
13423           Remove superfluous closing bracket in helloworld example.
13424
13425 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
13426
13427         * tools/gst-launch.1.in:
13428           Update gst-launch man page; add a section with useful
13429           environment variables. Fixes #323882.
13430
13431 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
13432
13433         * gst/gst.c:
13434         * gst/gst_private.h:
13435           change some char* into char[]
13436
13437 2005-12-16  Wim Taymans  <wim@fluendo.com>
13438
13439         * gst/gstregistryxml.c: (load_feature):
13440         Cleanups.
13441         Don't use g_object_unref on GstObjects so that we avoid
13442         leaks on unsafe glibs.
13443
13444 2005-12-16  Wim Taymans  <wim@fluendo.com>
13445
13446         * gst/gstbin.c: (gst_bin_recalc_state):
13447         Small doc updates.
13448
13449 2005-12-16  Wim Taymans  <wim@fluendo.com>
13450
13451         * common/check.mak:
13452         Added make forever target for check.
13453
13454 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13455
13456         * gst/gst.c: (init_post):
13457           make the registry cache file HOST_CPU-dependent
13458
13459 2005-12-16  Andy Wingo  <wingo@pobox.com>
13460
13461         * plugins/elements/gstbufferstore.c
13462         (gst_buffer_store_cleared_func): Pay attention to g_list_append
13463         return value.
13464
13465         * tests/check/gst/gstobject.c
13466         (test_fake_object_name_threaded_unique): Pay attention to
13467         g_list_sort return value.
13468
13469 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
13470
13471         * tools/gst-feedback-m.m:
13472           Update for 0.9/0.10 (fixes #323870).
13473
13474 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
13475
13476         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13477           Fix lcopy for mini objects, the mini object needs to be ref'ed.
13478           
13479         * tests/check/gst/gstminiobject.c: (my_foo_init),
13480         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13481         (test_value_collection), (gst_mini_object_suite):
13482           Add test to ensure refcounts end up as expected when passing
13483           GstMiniObjects through g_object_get() and g_object_set().
13484
13485 2005-12-14  Julien MOUTTE  <julien@moutte.net>
13486
13487         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13488         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13489         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13490         of collectpads. This version removes a lot of races without
13491         touching API/ABI. Yay !
13492
13493 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
13494
13495         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13496           Don't allow activation of a srcpad in pull_range if it has no
13497           getrange function.
13498           Change some debug statements to be a little clearer
13499
13500         * plugins/elements/gsttypefindelement.c:
13501         (gst_type_find_handle_src_query):
13502           Check that we have a peer before executing queries thereupon.
13503
13504         * tests/examples/metadata/read-metadata.c: (message_loop):
13505           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13506           immediately return us any available message with 0 timeout.
13507
13508 2005-12-12  Michael Smith  <msmith@fluendo.com>
13509
13510         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13511           Don't unref factories after calling them.
13512         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13513         * plugins/elements/gsttypefindelement.c:
13514         (gst_type_find_element_chain):
13515           Free lists of factories after using them. Fixing typefinding memory
13516           leaks.
13517
13518 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13519
13520         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13521         (gst_plugin_feature_load):
13522           more meaningful debug output
13523         * configure.ac:
13524         * tests/Makefile.am:
13525         * tests/old/examples/Makefile.am:
13526           make make distcheck happy again
13527
13528 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13529
13530         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13531           Catch the special case where we are operating chain-based,
13532           but the downstream peer pad has no chain function. Emit a
13533           custom error message in this case instead of letting the
13534           core generate one implying that this is some sort of core
13535           bug. It's not, it just means that whatever got plugged
13536           into the pipeline downstream when we announced the type
13537           can only operate pull-based, while our source can only
13538           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13539           Error string has not been marked for translation yet, as
13540           it probably needs some more work first.
13541
13542         (gst_type_find_element_get_best_possibility):
13543           Add helper function to find the best of all available
13544           found possibilities that qualify given the min. threshold.
13545
13546         (gst_type_find_element_handle_event):
13547           Fix the case where we get an EOS while still in TYPEFIND
13548           mode (we want to chose the best of all possible types,
13549           not just the first type that happens to be in our unsorted
13550           list of possible types).
13551
13552         (gst_type_find_element_chain):
13553           Make sure we return GST_FLOW_ERROR when we errored out
13554           in stop_typefinding(); also, don't just find the best of
13555           all found type entries and then use the last examined
13556           type entry, but actually use the best entry.
13557
13558 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13559
13560         * tests/examples/typefind/typefind.c: (type_found):
13561         * tests/examples/xml/runxml.c: (xml_loaded):
13562           More gcc4 fixes and a mem leak fix.
13563
13564 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13565
13566         * tests/examples/xml/createxml.c: (object_saved):
13567           gcc 4 fixes
13568
13569 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13570
13571         * tests/Makefile.am:
13572           enable the examples even more
13573
13574 2005-12-12  Andy Wingo  <wingo@pobox.com>
13575
13576         * libs/gst/net/gstnettimeprovider.c
13577         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13578         (gst_net_time_provider_set_property)
13579         (gst_net_time_provider_get_property):
13580         API addition: Export "active" as a GObject property.
13581         (gst_net_time_provider_thread): Only respond to time queries if
13582         the time provider is active.
13583
13584         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13585         NetTimeProvider, preserving binary compat.
13586
13587 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13588
13589         * tests/examples/controller/audio-example.c: (main):
13590         * tests/examples/launch/Makefile.am:
13591           convert comments again
13592
13593 2005-12-12  Wim Taymans  <wim@fluendo.com>
13594
13595         * libs/gst/base/gstpushsrc.c:
13596         Fix typo.
13597
13598 2005-12-12  Wim Taymans  <wim@fluendo.com>
13599
13600         * docs/libs/gstreamer-libs-sections.txt:
13601         Added new symbol to docs.
13602
13603         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13604         (gst_base_src_init), (gst_base_src_set_format),
13605         (gst_base_src_default_query), (gst_base_src_query),
13606         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13607         (gst_base_src_perform_seek), (gst_base_src_send_event),
13608         (gst_base_src_default_event), (gst_base_src_event_handler),
13609         (gst_base_src_set_property), (gst_base_src_get_property),
13610         (gst_base_src_wait), (gst_base_src_do_sync),
13611         (gst_base_src_update_length), (gst_base_src_get_range),
13612         (gst_base_src_check_get_range), (gst_base_src_loop),
13613         (gst_base_src_default_negotiate), (gst_base_src_start),
13614         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13615         (gst_base_src_change_state):
13616         * libs/gst/base/gstbasesrc.h:
13617         Implement seeking to other formats than _BYTES.
13618         Implement more seeking methods correctly.
13619         Doc updates.
13620         Added query vmethod.
13621         Added do_seek vmethod to make life easier for subclasses
13622         when seeking.
13623         API addition: gst_base_src_set_format()
13624
13625 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13626
13627         * tests/examples/Makefile.am:
13628           added that too
13629
13630 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13631
13632         * configure.ac:
13633         * docs/random/ensonic/media-device-daemon.txt:
13634         * tests/examples/controller/.cvsignore:
13635         * tests/examples/controller/Makefile.am:
13636         * tests/examples/controller/audio-example.c: (main):
13637         * tests/examples/helloworld/.cvsignore:
13638         * tests/examples/helloworld/Makefile.am:
13639         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13640         * tests/examples/launch/.cvsignore:
13641         * tests/examples/launch/Makefile.am:
13642         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13643         * tests/examples/metadata/.cvsignore:
13644         * tests/examples/metadata/Makefile.am:
13645         * tests/examples/metadata/read-metadata.c: (message_loop),
13646         (make_pipeline), (print_tag), (main):
13647         * tests/examples/queue/.cvsignore:
13648         * tests/examples/queue/Makefile.am:
13649         * tests/examples/queue/queue.c: (event_loop), (main):
13650         * tests/examples/typefind/.cvsignore:
13651         * tests/examples/typefind/Makefile.am:
13652         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13653         (main):
13654         * tests/examples/xml/.cvsignore:
13655         * tests/examples/xml/Makefile.am:
13656         * tests/examples/xml/createxml.c: (object_saved), (main):
13657         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13658         * tests/old/examples/Makefile.am:
13659         * tests/old/examples/TODO:
13660         * tests/old/examples/controller/.cvsignore:
13661         * tests/old/examples/controller/Makefile.am:
13662         * tests/old/examples/controller/audio-example.c:
13663         * tests/old/examples/helloworld/.cvsignore:
13664         * tests/old/examples/helloworld/Makefile.am:
13665         * tests/old/examples/helloworld/helloworld.c:
13666         * tests/old/examples/launch/.cvsignore:
13667         * tests/old/examples/launch/Makefile.am:
13668         * tests/old/examples/launch/mp3parselaunch.c:
13669         * tests/old/examples/launch/mp3play:
13670         * tests/old/examples/manual/Makefile.am:
13671         * tests/old/examples/metadata/Makefile.am:
13672         * tests/old/examples/metadata/read-metadata.c:
13673         * tests/old/examples/queue/.cvsignore:
13674         * tests/old/examples/queue/Makefile.am:
13675         * tests/old/examples/queue/queue.c:
13676         * tests/old/examples/typefind/.cvsignore:
13677         * tests/old/examples/typefind/Makefile.am:
13678         * tests/old/examples/typefind/typefind.c:
13679         * tests/old/examples/xml/.cvsignore:
13680         * tests/old/examples/xml/Makefile.am:
13681         * tests/old/examples/xml/createxml.c:
13682         * tests/old/examples/xml/runxml.c:
13683           applied some simple fixing to some examples
13684           re-enabled the working examples
13685
13686 2005-12-12  Wim Taymans  <wim@fluendo.com>
13687
13688         * gst/gstsegment.c: (gst_segment_init),
13689         (gst_segment_set_last_stop), (gst_segment_set_seek),
13690         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13691         (gst_segment_to_running_time):
13692         Added more documentation.
13693         Make sure the last_pos value is updated properly.
13694         Make sure to_stream_time and to_running_time don't
13695         operate on wrong values.
13696
13697         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13698         Update check.
13699
13700 2005-12-12  Michael Smith  <msmith@fluendo.com>
13701
13702         * plugins/elements/gsttypefindelement.c: (free_entry),
13703         (gst_type_find_element_chain):
13704           Now that we're not leaking factories, make sure we keep references
13705           to them while we need them.
13706
13707 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13708
13709         * tests/check/gst/struct_i386.h:
13710           ifdef out the XML structs
13711
13712 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13713
13714         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13715           floor is not needed, F is always positive; this obviates the
13716           need for adding -lm when building without libxml
13717
13718 2005-12-12  Wim Taymans  <wim@fluendo.com>
13719
13720         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13721         Take current playback rate into account when reporting
13722         the position.
13723
13724 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13725
13726         * docs/manual/mime-world.fig:
13727           Let's try this again, this time with a file that is
13728           actually in XFig format.
13729
13730 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13731
13732         * docs/manual/mime-world.fig:
13733           Add audioconvert element to diagram so that it
13734           matches the text and the code (fixes #319526).
13735
13736 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13737
13738         * docs/pwg/building-chainfn.xml:
13739         * docs/pwg/building-pads.xml:
13740         * docs/pwg/building-state.xml:
13741         * docs/pwg/other-source.xml:
13742           Update state change stuff for 0.10 (fixes #322969).
13743
13744 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13745
13746         * docs/manual/advanced-dataaccess.xml:
13747         * docs/manual/appendix-checklist.xml:
13748         * docs/manual/appendix-programs.xml:
13749         * docs/manual/basics-pads.xml:
13750         * docs/manual/highlevel-components.xml:
13751         * docs/manual/manual.xml:
13752           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13753           add converters in front of pipelines; remove curly
13754           brackets for threads stuff, they no longer exist; use
13755           GST_TYPE_FRACTION for framerates; update some pieces of
13756           code to 0.10, but there's plenty more to do.
13757
13758         * docs/manual/appendix-porting.xml:
13759           Expand on asynchroneous state changes; s/0.9/0.10/;
13760           mention disappearance of gst_init_get_popt_table()
13761           (fixes #322916).
13762
13763 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13764
13765         * docs/faq/using.xml:
13766           Spider no longer exists, and neither does gst-launch-ext.
13767           Update examples to use decodebin and playbin and put
13768           converters in front of sinks (fixes #323726).
13769
13770 2005-12-09  Michael Smith  <msmith@fluendo.com>
13771
13772         * plugins/elements/gsttypefindelement.c: (find_peek),
13773         (gst_type_find_element_chain):
13774           Fix leaking element factories in typefinding.
13775           Fix problem where we forgot about a probable type on non-seekable
13776           files, and thus later mis-typefound it.
13777
13778 2005-12-09  Michael Smith  <msmith@fluendo.com>
13779
13780         * common/m4/gst-makecontext.m4:
13781         * common/m4/gst-mcsc.m4:
13782         * configure.ac:
13783         * win32/common/config.h:
13784         * win32/common/config.h.in:
13785           Remove makecontext stuff; not used in 0.10 and causes problems on
13786           HPUX according to bug #322441
13787
13788 2005-12-07  Wim Taymans  <wim@fluendo.com>
13789
13790         * tests/check/Makefile.am:
13791         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13792         (main):
13793         * tests/check/libs/struct_i386.h:
13794         Added ABI check for libs
13795
13796 2005-12-07  Wim Taymans  <wim@fluendo.com>
13797
13798         * tests/check/Makefile.am:
13799         And add the struct_i386.h to dist.
13800
13801 2005-12-07  Wim Taymans  <wim@fluendo.com>
13802
13803         * tests/check/Makefile.am:
13804         * tests/check/gst/.cvsignore:
13805         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13806         (main):
13807         * tests/check/gst/struct_i386.h:
13808         Added check for ABI compatibility.
13809
13810 2005-12-07  Wim Taymans  <wim@fluendo.com>
13811
13812         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13813         (gst_fake_src_get_times), (gst_fake_src_create):
13814         Fix broken sync option, fixes #323259
13815
13816 2005-12-07  Wim Taymans  <wim@fluendo.com>
13817
13818         * gst/gstbuffer.c:
13819         Small docs update.
13820
13821         * gst/gstcaps.c: (gst_caps_is_equal):
13822         Don't assert on NULL <--> X. Fixes #323260
13823
13824         * gst/gstminiobject.c: (gst_mini_object_replace):
13825         If we're doing atomic operations, we might just as well use
13826         the proper way to get an atomic pointer.
13827
13828         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13829         Clean up debugging.
13830
13831 2005-12-07  Michael Smith  <msmith@fluendo.com>
13832
13833         * gst/parse/grammar.y:
13834           Remove handling of { } for threads.
13835
13836 2005-12-06  David Schleef  <ds@schleef.org>
13837
13838         * libs/gst/base/gstbasetransform.c: speling fix.
13839
13840 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13841
13842         * docs/libs/tmpl/gstdataprotocol.sgml:
13843         * docs/random/omega/testing/gstobject.c:
13844         * gst/gst.c:
13845         * gst/gstclock.c:
13846         * gst/gstelement.c:
13847         * gst/gstelementfactory.c:
13848         * gst/gsterror.c:
13849         * gst/gstevent.c:
13850         * gst/gstghostpad.c:
13851         * gst/gstinfo.c:
13852         * gst/gstpadtemplate.c:
13853         * gst/gstregistryxml.c:
13854         * gst/gsttaglist.c:
13855         * gst/gsttagsetter.c:
13856         * gst/gsttypefind.c:
13857         * gst/gstvalue.c:
13858         * libs/gst/base/gstbasesrc.c:
13859         * libs/gst/net/gstnetclientclock.c:
13860         * libs/gst/net/gstnettimeprovider.c:
13861         * plugins/elements/gstfakesrc.c:
13862         * plugins/elements/gstfdsrc.c:
13863         * plugins/elements/gstfilesrc.c:
13864         * plugins/elements/gstidentity.c:
13865         * plugins/elements/gstqueue.c:
13866         * plugins/elements/gsttypefindelement.c:
13867         * plugins/indexers/gstfileindex.c:
13868         * plugins/indexers/gstmemindex.c:
13869         * tests/check/gst/gsttag.c:
13870         * tests/old/examples/cutter/cutter.c:
13871         * tests/old/examples/mixer/mixer.c:
13872         * tests/old/examples/xml/runxml.c: (main):
13873         * tests/old/testsuite/caps/normalisation.c:
13874         * tests/old/testsuite/debug/global.c:
13875         * tests/old/testsuite/parse/parse1.c:
13876         * tools/gst-xmlinspect.c:
13877         * win32/common/dirent.c:
13878           expand tabs
13879
13880 === release 0.10.0 ===
13881
13882 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13883
13884         * configure.ac:
13885           releasing 0.10.0, "Maroilles"
13886
13887 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13888
13889         submitted by: Funda Wang <fundawang@linux.net.cn>
13890
13891         * po/LINGUAS:
13892         * po/zh_CN.po:
13893           added Chinese (Traditional) translation
13894
13895 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13896
13897         * docs/gst/gstreamer-sections.txt:
13898         * docs/libs/tmpl/gstdataprotocol.sgml:
13899         * docs/random/thomasvs/TODO:
13900         * gst/gstutils.c:
13901         * gst/gstutils.h:
13902           fix docs
13903
13904 2005-12-05  Andy Wingo  <wingo@pobox.com>
13905
13906         patch by: Wim Taymans <wim@fluendo.com>
13907
13908         * libs/gst/base/gstbasetransform.c
13909         (gst_base_transform_prepare_output_buf)
13910         (gst_base_transform_buffer_alloc):
13911         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13912         alloc_buffer_and_set_caps.
13913
13914         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13915         set_caps on the source pad.
13916         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13917         alloc_buffer used to do. Fixes #322874.
13918
13919         * docs/gst/gstreamer-sections.txt: 
13920         * docs/design/part-negotiation.txt: 
13921         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13922         changes.
13923
13924 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13925
13926         patch by: Sebastien Moutte
13927
13928         * win32/MANIFEST:
13929         * win32/common/config.h.in:
13930         * win32/vs6/libgstcontroller.dsp:
13931           win32 build fixes
13932
13933 2005-12-05  Wim Taymans  <wim@fluendo.com>
13934
13935         * gst/gstcaps.c: (gst_caps_is_equal):
13936         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13937         (gst_fake_src_create):
13938         Back out previous code changes, leave doc updates, file bugs 
13939         instead. 
13940
13941 2005-12-05  Wim Taymans  <wim@fluendo.com>
13942
13943         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13944         (gst_fake_src_get_times), (gst_fake_src_create):
13945         * plugins/elements/gstfakesrc.h:
13946         Fix broken sync code.
13947
13948 2005-12-05  Wim Taymans  <wim@fluendo.com>
13949
13950         * gst/gstcaps.c: (gst_caps_is_equal):
13951         Comparing NULL against !NULL yields different caps, not a
13952         failure.
13953
13954 2005-12-05  Wim Taymans  <wim@fluendo.com>
13955
13956         * gst/gstpipeline.c:
13957         Fix small typo in docs.
13958
13959 2005-12-05  Andy Wingo  <wingo@pobox.com>
13960
13961         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13962
13963         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13964         registries/plugins with a MAJORMINOR one.
13965         (plugin_desc): Rename library from gstcoreleements to
13966         staticelements. Fixes #323222.
13967
13968 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13969
13970         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13971           Change debug category to 'collectpads' from 'collect_pads'
13972           (fixes #323250).
13973
13974 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13975
13976         patch by: Sebastien Moutte
13977
13978         * libs/gst/controller/gstinterpolation.c:
13979           use convert function for uint64/double
13980         * win32/vs6/libgstcontroller.dsp:
13981           link to GLib
13982
13983 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13984
13985         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13986         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13987         * gst/gstutils.h:
13988         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13989           add tests that seem to show that the guint64/gdouble conversions
13990           are correct.
13991
13992 2005-12-02  Wim Taymans  <wim@fluendo.com>
13993
13994         * gst/gstregistry.c: (gst_registry_add_path):
13995         * gst/gstregistry.h:
13996         * gst/gstregistryxml.c:
13997         Fix docs again.
13998
13999 2005-12-02  Wim Taymans  <wim@fluendo.com>
14000
14001         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14002         (gst_util_uint64_scale_int):
14003         Small cleanup.
14004
14005         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14006         Add debug log line.
14007
14008         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14009         Add FIXME.
14010
14011 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14012
14013         * win32/MANIFEST:
14014         * win32/common/config.h:
14015         * win32/vs6/gstreamer.dsw:
14016         * win32/vs6/libgstcoreelements.dsp:
14017         * win32/vs6/libgstelements.dsp:
14018           renamed core elements plugin
14019
14020 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14021
14022         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14023         (get_candidates):
14024           do piece-wise major/minor comparison so 0.9 < 0.10
14025           also allow .exe extensions for tools
14026
14027 2005-12-02  Michael Smith  <msmith@fluendo.com>
14028
14029         * gst/gst.c:
14030           Escape a % to make gtkdoc happier; bug 322958.
14031
14032 === release 0.9.7 ===
14033
14034 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14035
14036         * configure.ac:
14037           releasing 0.9.7, "My Dog Has No Nose"
14038
14039 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14040
14041         * common/gst-xmlinspect.py:
14042         * configure.ac:
14043         * docs/libs/tmpl/gstdataprotocol.sgml:
14044         * docs/random/release:
14045         * po/af.po:
14046         * po/az.po:
14047         * po/bg.po:
14048         * po/ca.po:
14049         * po/cs.po:
14050         * po/de.po:
14051         * po/en_GB.po:
14052         * po/fr.po:
14053         * po/it.po:
14054         * po/nb.po:
14055         * po/nl.po:
14056         * po/ru.po:
14057         * po/sq.po:
14058         * po/sr.po:
14059         * po/sv.po:
14060         * po/tr.po:
14061         * po/uk.po:
14062         * po/vi.po:
14063         * win32/common/config.h:
14064         * win32/common/config.h.in:
14065         * win32/vs6/gst_inspect.dsp:
14066         * win32/vs6/gst_launch.dsp:
14067         * win32/vs6/libgstbase.dsp:
14068         * win32/vs6/libgstelements.dsp:
14069         * win32/vs6/libgstreamer.dsp:
14070         * win32/vs7/GStreamer.vcproj:
14071         * win32/vs7/gst-inspect.vcproj:
14072         * win32/vs7/gst-launch.vcproj:
14073         * win32/vs7/libgstbase.vcproj:
14074           bump GST_MAJORMINOR to 0.10
14075           reset libtool version
14076
14077 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14078
14079         * po/LINGUAS:
14080         * po/bg.po:
14081           Added Bulgarian translation by (Alexander Shopov)
14082
14083 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14084
14085         * tests/check/gst/gstplugin.c:
14086           fix test
14087
14088 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14089
14090         * common/gst-xmlinspect.py:
14091         * common/gtk-doc-plugins.mak:
14092         * configure.ac:
14093         * docs/Makefile.am:
14094         * docs/gst/Makefile.am:
14095         * docs/gst/gstreamer-docs.sgml:
14096         * docs/gst/gstreamer-sections.txt:
14097         * docs/gst/gstreamer.types:
14098         * docs/gst/gstreamer.types.in:
14099         * docs/plugins/Makefile.am:
14100         * docs/plugins/gstreamer-plugins-docs.sgml:
14101         * docs/plugins/gstreamer-plugins-sections.txt:
14102         * docs/plugins/gstreamer-plugins.types:
14103         * docs/plugins/inspect.stamp:
14104         * docs/plugins/inspect/plugin-coreelements.xml:
14105         * docs/plugins/inspect/plugin-coreindexers.xml:
14106         * docs/plugins/scanobj-build.stamp:
14107         * gstreamer.spec.in:
14108         * plugins/elements/Makefile.am:
14109         * plugins/elements/gstelements.c:
14110         * plugins/elements/gstfakesink.c:
14111         * plugins/elements/gstfakesrc.c:
14112         * plugins/elements/gstfilesink.c:
14113         * plugins/elements/gstfilesrc.c:
14114         * plugins/elements/gstqueue.c:
14115         * plugins/indexers/Makefile.am:
14116         * plugins/indexers/gstindexers.c:
14117           document core plugins in a separate document just like all the
14118           others
14119           rename these plugins to something starting with core
14120
14121 2005-12-01  Andy Wingo  <wingo@pobox.com>
14122
14123         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14124         padding here before, but it missed the commit.
14125
14126 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14127
14128         * libs/gst/controller/gstinterpolation.c:
14129           whitespace prices have crashed, we should feel free to use some now
14130           use gst_guint64_to_gdouble
14131
14132 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14133
14134         * libs/gst/controller/gstcontroller.c:
14135         * libs/gst/controller/gsthelper.c:
14136         * libs/gst/controller/gstinterpolation.c:
14137         * libs/gst/controller/lib.c:
14138           wrap config.h include
14139
14140 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14141
14142         * docs/gst/gstreamer-sections.txt:
14143           update docs
14144
14145 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14146
14147         * plugins/elements/gstelements.c:
14148         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14149         (gst_fd_sink__class_init), (gst_fd_sink__init),
14150         (gst_fd_sink__chain), (gst_fd_sink__set_property),
14151         (gst_fd_sink__get_property):
14152         * plugins/elements/gstfdsink.h:
14153         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14154         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14155         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14156         (gst_fd_src_unlock), (gst_fd_src_set_property),
14157         (gst_fd_src_get_property), (gst_fd_src_create),
14158         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14159         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14160         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14161         (gst_fd_src_uri_handler_init):
14162         * plugins/elements/gstfdsrc.h:
14163         * plugins/elements/gstqueue.c: (gst_queue_get_type):
14164           more anal cleanup
14165
14166 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14167
14168         * docs/gst/Makefile.am:
14169         * docs/gst/gstreamer.types.in:
14170         * gst/Makefile.am:
14171           fix the docs build
14172
14173 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14174
14175         * configure.ac:
14176         * gst/Makefile.am:
14177         * gst/gst.c:
14178         * gst/gstplugin.h:
14179         * gst/gstregistry.h:
14180         * tests/benchmarks/complexity.c:
14181         * tests/benchmarks/mass-elements.c:
14182         * tests/check/Makefile.am:
14183         * tools/Makefile.am:
14184         * tools/gst-inspect.c:
14185         * tools/gst-xmlinspect.c:
14186           various fixes to make
14187           --disable-nls --disable-registry --disable-loadsave
14188           --disable-parse --disable-gst-debug
14189           work and get the core .so down to 360444 bytes after stripping
14190
14191 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14192
14193         * Makefile.am:
14194         * configure.ac:
14195           descend into tests
14196         * docs/random/thomasvs/TODO:
14197         * tests/Makefile.am:
14198         * tests/README:
14199           add a README
14200
14201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14202
14203         * win32/GStreamer.vcproj:
14204         * win32/MANIFEST:
14205         * win32/Makefile:
14206         * win32/Makefile.inspect:
14207         * win32/Makefile.launch:
14208         * win32/Makefile.register:
14209         * win32/README.txt:
14210         * win32/gst-inspect.vcproj:
14211         * win32/gst-launch.vcproj:
14212         * win32/gst-register.vcproj:
14213         * win32/gstelements.vcproj:
14214         * win32/gstgetbits.def:
14215         * win32/gstgetbits.vcproj:
14216         * win32/gstreamer-dbg.def:
14217         * win32/gstreamer.def:
14218         * win32/libgstbase.def:
14219         * win32/libgstbase.vcproj:
14220         * win32/link_oldruntime.c:
14221         * win32/mman.c:
14222         * win32/mman.h:
14223         * win32/mman.inl:
14224         * win32/msvc71.sln:
14225           move even more stuff, win32/ is nice and clean now
14226
14227 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14228
14229         * libs/gst/control/.cvsignore:
14230         * win32/MANIFEST:
14231         * win32/config.h:
14232         * win32/dirent.c:
14233         * win32/dirent.h:
14234         * win32/gstbytestream.def:
14235         * win32/gstbytestream.vcproj:
14236         * win32/gstconfig.h:
14237         * win32/gstenumtypes.c:
14238         * win32/gstenumtypes.h:
14239         * win32/gstoptimalscheduler.vcproj:
14240         * win32/gstversion.h:
14241         * win32/gtchar.h:
14242         * win32/testsuite/bins.vcproj:
14243         * win32/testsuite/bytestream.vcproj:
14244         * win32/testsuite/caps.vcproj:
14245         * win32/testsuite/cleanup.vcproj:
14246         * win32/testsuite/clock.vcproj:
14247         * win32/testsuite/debug.vcproj:
14248         * win32/testsuite/dlopen.vcproj:
14249         * win32/testsuite/dynparams.vcproj:
14250         * win32/testsuite/elements.vcproj:
14251         * win32/testsuite/ghostpads.vcproj:
14252         * win32/testsuite/indexers.vcproj:
14253         * win32/testsuite/negotiation.vcproj:
14254         * win32/testsuite/parse.vcproj:
14255         * win32/testsuite/plugin.vcproj:
14256         * win32/testsuite/refcounting.vcproj:
14257         * win32/testsuite/schedulers.vcproj:
14258         * win32/testsuite/states.vcproj:
14259         * win32/testsuite/tags.vcproj:
14260         * win32/testsuite/threads.vcproj:
14261           remove old win32 stuff that isn't maintained and should be
14262           reorganized
14263
14264 2005-11-30  Andy Wingo  <wingo@pobox.com>
14265
14266         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14267         loading the gst.interfaces python module bork.
14268
14269         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14270         available since GLib 2.2. Fixes #318031.
14271
14272 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14273
14274         * Makefile.am:
14275         * check/.cvsignore:
14276         * check/Makefile.am:
14277         * check/elements/.cvsignore:
14278         * check/elements/fakesrc.c:
14279         * check/elements/fdsrc.c:
14280         * check/elements/identity.c:
14281         * check/generic/.cvsignore:
14282         * check/generic/states.c:
14283         * check/gst-libs/.cvsignore:
14284         * check/gst-libs/controller.c:
14285         * check/gst-libs/gdp.c:
14286         * check/gst/.cvsignore:
14287         * check/gst/capslist.h:
14288         * check/gst/gst.c:
14289         * check/gst/gstbin.c:
14290         * check/gst/gstbuffer.c:
14291         * check/gst/gstbus.c:
14292         * check/gst/gstcaps.c:
14293         * check/gst/gstelement.c:
14294         * check/gst/gstevent.c:
14295         * check/gst/gstghostpad.c:
14296         * check/gst/gstiterator.c:
14297         * check/gst/gstmessage.c:
14298         * check/gst/gstminiobject.c:
14299         * check/gst/gstobject.c:
14300         * check/gst/gstpad.c:
14301         * check/gst/gstpipeline.c:
14302         * check/gst/gstplugin.c:
14303         * check/gst/gstsegment.c:
14304         * check/gst/gststructure.c:
14305         * check/gst/gstsystemclock.c:
14306         * check/gst/gsttag.c:
14307         * check/gst/gstutils.c:
14308         * check/gst/gstvalue.c:
14309         * check/net/.cvsignore:
14310         * check/net/gstnetclientclock.c:
14311         * check/net/gstnettimeprovider.c:
14312         * check/pipelines/.cvsignore:
14313         * check/pipelines/cleanup.c:
14314         * check/pipelines/simple_launch_lines.c:
14315         * check/pipelines/stress.c:
14316         * check/states/.cvsignore:
14317         * check/states/sinks.c:
14318         * configure.ac:
14319         * examples/Makefile.am:
14320         * examples/appreader/.cvsignore:
14321         * examples/appreader/Makefile.am:
14322         * examples/appreader/appreader.c:
14323         * examples/controller/.cvsignore:
14324         * examples/controller/Makefile.am:
14325         * examples/controller/audio-example.c:
14326         * examples/cutter/.cvsignore:
14327         * examples/cutter/Makefile.am:
14328         * examples/cutter/cutter.c:
14329         * examples/cutter/cutter.h:
14330         * examples/events/Makefile.am:
14331         * examples/events/seek.c:
14332         * examples/helloworld/.cvsignore:
14333         * examples/helloworld/Makefile.am:
14334         * examples/helloworld/helloworld.c:
14335         * examples/helloworld2/.cvsignore:
14336         * examples/helloworld2/Makefile.am:
14337         * examples/helloworld2/helloworld2.c:
14338         * examples/launch/.cvsignore:
14339         * examples/launch/Makefile.am:
14340         * examples/launch/mp3parselaunch.c:
14341         * examples/launch/mp3play:
14342         * examples/manual/.cvsignore:
14343         * examples/manual/Makefile.am:
14344         * examples/manual/extract.pl:
14345         * examples/metadata/Makefile.am:
14346         * examples/metadata/read-metadata.c:
14347         * examples/mixer/.cvsignore:
14348         * examples/mixer/Makefile.am:
14349         * examples/mixer/mixer.c:
14350         * examples/mixer/mixer.h:
14351         * examples/pingpong/.cvsignore:
14352         * examples/pingpong/Makefile.am:
14353         * examples/pingpong/pingpong.c:
14354         * examples/plugins/.cvsignore:
14355         * examples/plugins/Makefile.am:
14356         * examples/plugins/example.c:
14357         * examples/plugins/example.h:
14358         * examples/pwg/.cvsignore:
14359         * examples/pwg/Makefile.am:
14360         * examples/pwg/extract.pl:
14361         * examples/queue/.cvsignore:
14362         * examples/queue/Makefile.am:
14363         * examples/queue/queue.c:
14364         * examples/queue2/.cvsignore:
14365         * examples/queue2/Makefile.am:
14366         * examples/queue2/queue2.c:
14367         * examples/queue3/.cvsignore:
14368         * examples/queue3/Makefile.am:
14369         * examples/queue3/queue3.c:
14370         * examples/queue4/.cvsignore:
14371         * examples/queue4/Makefile.am:
14372         * examples/queue4/queue4.c:
14373         * examples/retag/.cvsignore:
14374         * examples/retag/Makefile.am:
14375         * examples/retag/retag.c:
14376         * examples/retag/transcode.c:
14377         * examples/thread/.cvsignore:
14378         * examples/thread/Makefile.am:
14379         * examples/thread/thread.c:
14380         * examples/typefind/.cvsignore:
14381         * examples/typefind/Makefile.am:
14382         * examples/typefind/typefind.c:
14383         * examples/xml/.cvsignore:
14384         * examples/xml/Makefile.am:
14385         * examples/xml/createxml.c:
14386         * examples/xml/runxml.c:
14387         * tests/Makefile.am:
14388         * tests/check/Makefile.am:
14389         * testsuite/.cvsignore:
14390         * testsuite/Makefile.am:
14391         * testsuite/Rules:
14392         * testsuite/caps/.cvsignore:
14393         * testsuite/caps/Makefile.am:
14394         * testsuite/caps/app_fixate.c:
14395         * testsuite/caps/audioscale.c:
14396         * testsuite/caps/caps.c:
14397         * testsuite/caps/caps.h:
14398         * testsuite/caps/caps_strings:
14399         * testsuite/caps/compatibility.c:
14400         * testsuite/caps/deserialize.c:
14401         * testsuite/caps/enumcaps.c:
14402         * testsuite/caps/eratosthenes.c:
14403         * testsuite/caps/filtercaps.c:
14404         * testsuite/caps/fixed.c:
14405         * testsuite/caps/fraction-convert.c:
14406         * testsuite/caps/fraction-multiply-and-zero.c:
14407         * testsuite/caps/intersect2.c:
14408         * testsuite/caps/intersection.c:
14409         * testsuite/caps/normalisation.c:
14410         * testsuite/caps/random.c:
14411         * testsuite/caps/renegotiate.c:
14412         * testsuite/caps/sets.c:
14413         * testsuite/caps/simplify.c:
14414         * testsuite/caps/string-conversions.c:
14415         * testsuite/caps/structure.c:
14416         * testsuite/caps/subtract.c:
14417         * testsuite/caps/union.c:
14418         * testsuite/debug/.cvsignore:
14419         * testsuite/debug/Makefile.am:
14420         * testsuite/debug/category.c:
14421         * testsuite/debug/commandline.c:
14422         * testsuite/debug/global.c:
14423         * testsuite/debug/output.c:
14424         * testsuite/debug/printf_extension.c:
14425         * testsuite/dlopen/.cvsignore:
14426         * testsuite/dlopen/Makefile.am:
14427         * testsuite/dlopen/dlopen_gst.c:
14428         * testsuite/dlopen/loadgst.c:
14429         * testsuite/elements/.cvsignore:
14430         * testsuite/elements/Makefile.am:
14431         * testsuite/elements/gst-inspect-check.in:
14432         * testsuite/elements/struct_i386.h:
14433         * testsuite/elements/struct_size.c:
14434         * testsuite/indexers/.cvsignore:
14435         * testsuite/indexers/Makefile.am:
14436         * testsuite/indexers/cache1.c:
14437         * testsuite/indexers/indexdump.c:
14438         * testsuite/parse/.cvsignore:
14439         * testsuite/parse/Makefile.am:
14440         * testsuite/parse/parse1.c:
14441         * testsuite/parse/parse2.c:
14442         * testsuite/plugin/.cvsignore:
14443         * testsuite/plugin/Makefile.am:
14444         * testsuite/plugin/README:
14445         * testsuite/plugin/dynamic.c:
14446         * testsuite/plugin/linked.c:
14447         * testsuite/plugin/loading.c:
14448         * testsuite/plugin/registry.c:
14449         * testsuite/plugin/static.c:
14450         * testsuite/plugin/static2.c:
14451         * testsuite/plugin/testplugin.c:
14452         * testsuite/plugin/testplugin2.c:
14453         * testsuite/plugin/testplugin2_s.c:
14454         * testsuite/plugin/testplugin_s.c:
14455         * testsuite/refcounting/.cvsignore:
14456         * testsuite/refcounting/Makefile.am:
14457         * testsuite/refcounting/bin.c:
14458         * testsuite/refcounting/element.c:
14459         * testsuite/refcounting/element_pad.c:
14460         * testsuite/refcounting/mainloop.c:
14461         * testsuite/refcounting/mem.c:
14462         * testsuite/refcounting/mem.h:
14463         * testsuite/refcounting/object.c:
14464         * testsuite/refcounting/pad.c:
14465         * testsuite/refcounting/sched.c:
14466         * testsuite/refcounting/thread.c:
14467         * testsuite/states/.cvsignore:
14468         * testsuite/states/Makefile.am:
14469         * testsuite/states/bin.c:
14470         * testsuite/states/locked.c:
14471         * testsuite/states/parent.c:
14472         * testsuite/threads/.cvsignore:
14473         * testsuite/threads/159566.c:
14474         * testsuite/threads/159852.c:
14475         * testsuite/threads/Makefile.am:
14476         * testsuite/threads/queue.c:
14477         * testsuite/threads/signals.c:
14478         * testsuite/threads/staticrec.c:
14479         * testsuite/threads/thread.c:
14480         * testsuite/threads/threadb.c:
14481         * testsuite/threads/threadc.c:
14482         * testsuite/threads/threadd.c:
14483         * testsuite/threads/threade.c:
14484         * testsuite/threads/threadf.c:
14485         * testsuite/threads/threadg.c:
14486         * testsuite/threads/threadh.c:
14487         * testsuite/threads/threadi.c:
14488           move all of these under tests
14489
14490 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14491
14492         * configure.ac:
14493         * tests/Makefile.am:
14494           fix distcheck
14495
14496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14497
14498         * docs/gst/gstreamer-sections.txt:
14499         * tests/sched/.cvsignore:
14500         * tests/sched/Makefile.am:
14501         * tests/sched/cases/(fs-fs).xml:
14502         * tests/sched/cases/(fs-i-fs).xml:
14503         * tests/sched/cases/(fs-i-i-fs).xml:
14504         * tests/sched/cases/(fs-i-q[i-fs]).xml:
14505         * tests/sched/dynamic-pipeline.c:
14506         * tests/sched/interrupt1.c:
14507         * tests/sched/interrupt2.c:
14508         * tests/sched/interrupt3.c:
14509         * tests/sched/runtestcases:
14510         * tests/sched/runxml.c:
14511         * tests/sched/sched-stress.c:
14512         * tests/sched/sort.c:
14513         * tests/sched/testcases:
14514         * tests/sched/testcases1.tc:
14515         * tests/seeking/.cvsignore:
14516         * tests/seeking/Makefile.am:
14517         * tests/seeking/seeking1.c:
14518         * tests/threadstate/.cvsignore:
14519         * tests/threadstate/Makefile.am:
14520         * tests/threadstate/test1.c:
14521         * tests/threadstate/test2.c:
14522         * tests/threadstate/threadstate1.c:
14523         * tests/threadstate/threadstate2.c:
14524         * tests/threadstate/threadstate3.c:
14525         * tests/threadstate/threadstate4.c:
14526         * tests/threadstate/threadstate5.c:
14527           remove obsolete tests
14528         * configure.ac:
14529         * tests/bench-complexity.scm:
14530         * tests/bench-mass_elements.scm:
14531         * tests/complexity.c:
14532         * tests/complexity.gnuplot:
14533         * tests/instantiate/.cvsignore:
14534         * tests/instantiate/Makefile.am:
14535         * tests/instantiate/caps.c:
14536         * tests/mass_elements.c:
14537         * tests/network-clock-utils.scm:
14538         * tests/network-clock.scm:
14539         * tests/plot-data:
14540         First pass at cleaning up tests/ dir before moving the rest
14541         Combined with CVS surgery
14542
14543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14544
14545         * po/POTFILES.in:
14546           queue has moved, update
14547
14548 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14549
14550         * docs/gst/gstreamer-sections.txt:
14551           remove double entries from the docs
14552         * gst/gst_private.h:
14553         * gst/gstinfo.c: (_gst_debug_init):
14554           remove the THREAD debug category
14555         * gst/Makefile.am:
14556         * gst/gstqueue.c:
14557         * gst/gstqueue.h:
14558         * docs/gst/gstreamer.types:
14559         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14560         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14561           completely move queue and fix up debugging categories
14562
14563 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14564
14565         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14566           make initialization portable, using LL is not
14567
14568 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14569
14570         * win32/common/gstconfig.h:
14571           add large padding
14572
14573 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14574
14575         * win32/common/libgstreamer.def:
14576           rename symbols; sort base section
14577
14578 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14579
14580         * gst/gstclock.c: (do_linear_regression):
14581           remove crack non-portable handrolled DEBUG macro
14582
14583 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14584
14585         * docs/random/release:
14586           update notes
14587         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14588         (gst_object_flags_get_type), (register_gst_bin_flags),
14589         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14590         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14591         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14592         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14593         (gst_caps_flags_get_type), (register_gst_clock_return),
14594         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14595         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14596         (gst_clock_flags_get_type), (register_gst_state),
14597         (gst_state_get_type), (register_gst_state_change_return),
14598         (gst_state_change_return_get_type), (register_gst_state_change),
14599         (gst_state_change_get_type), (register_gst_element_flags),
14600         (gst_element_flags_get_type), (register_gst_core_error),
14601         (gst_core_error_get_type), (register_gst_library_error),
14602         (gst_library_error_get_type), (register_gst_resource_error),
14603         (gst_resource_error_get_type), (register_gst_stream_error),
14604         (gst_stream_error_get_type), (register_gst_event_type_flags),
14605         (gst_event_type_flags_get_type), (register_gst_event_type),
14606         (gst_event_type_get_type), (register_gst_seek_type),
14607         (gst_seek_type_get_type), (register_gst_seek_flags),
14608         (gst_seek_flags_get_type), (register_gst_format),
14609         (gst_format_get_type), (register_gst_index_certainty),
14610         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14611         (gst_index_entry_type_get_type),
14612         (register_gst_index_lookup_method),
14613         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14614         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14615         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14616         (gst_index_flags_get_type), (register_gst_debug_level),
14617         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14618         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14619         (gst_iterator_result_get_type), (register_gst_iterator_item),
14620         (gst_iterator_item_get_type), (register_gst_message_type),
14621         (gst_message_type_get_type), (register_gst_mini_object_flags),
14622         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14623         (gst_pad_link_return_get_type), (register_gst_flow_return),
14624         (gst_flow_return_get_type), (register_gst_activate_mode),
14625         (gst_activate_mode_get_type), (register_gst_pad_direction),
14626         (gst_pad_direction_get_type), (register_gst_pad_flags),
14627         (gst_pad_flags_get_type), (register_gst_pad_presence),
14628         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14629         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14630         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14631         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14632         (gst_plugin_flags_get_type), (register_gst_rank),
14633         (gst_rank_get_type), (register_gst_query_type),
14634         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14635         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14636         (gst_tag_flag_get_type), (register_gst_task_state),
14637         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14638         (gst_alloc_trace_flags_get_type),
14639         (register_gst_type_find_probability),
14640         (gst_type_find_probability_get_type), (register_gst_uri_type),
14641         (gst_uri_type_get_type), (register_gst_parse_error),
14642         (gst_parse_error_get_type):
14643         * win32/common/gstenumtypes.h:
14644         * win32/common/gstversion.h:
14645           update visual studio generated files
14646
14647 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14648
14649         * win32/vs6/libgstbase.dsp:
14650         * win32/vs6/libgstelements.dsp:
14651           update project files for new locations
14652
14653 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14654
14655         * Makefile.am:
14656           remove some files
14657         * README:
14658           reinstate and update
14659         * DEVEL:
14660         * REQUIREMENTS:
14661           removed
14662         * LICENSE:
14663         * docs/random/LICENSE:
14664           moved to random
14665
14666 2005-11-30  Edward Hervey  <edward@fluendo.com>
14667
14668         * gst/gsttypefind.c: (gst_type_find_register):
14669         * gst/gsttypefind.h:
14670         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14671         (gst_type_find_factory_dispose):
14672         * gst/gsttypefindfactory.h:
14673         Fix memory leak in GstTypeFindFactory.
14674
14675 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14676
14677         * gst/gst.c:
14678         * plugins/elements/Makefile.am:
14679         * plugins/elements/gstelements.c:
14680         * plugins/elements/gstqueue.c:
14681           move queue from core to the elements plugin
14682
14683 2005-11-29  Andy Wingo  <wingo@pobox.com>
14684
14685         * libs/gst/base/gstbasetransform.h: 
14686         * libs/gst/base/gstbasesrc.h: 
14687         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14688
14689         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14690         of pointers by which to pad very extensible base classes (like the
14691         ones in libs/gst/base).
14692
14693 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14694
14695         * docs/gst/gstreamer-docs.sgml:
14696         * docs/gst/gstreamer-sections.txt:
14697         * docs/libs/gstreamer-libs-docs.sgml:
14698         * docs/libs/gstreamer-libs-sections.txt:
14699           moving documentation from core to lib
14700
14701 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14702
14703         * check/Makefile.am:
14704         * configure.ac:
14705         * docs/gst/Makefile.am:
14706         * gst/Makefile.am:
14707         * gst/base/.cvsignore:
14708         * gst/base/Makefile.am:
14709         * gst/base/README:
14710         * gst/base/gstadapter.c:
14711         * gst/base/gstadapter.h:
14712         * gst/base/gstbasesink.c:
14713         * gst/base/gstbasesink.h:
14714         * gst/base/gstbasesrc.c:
14715         * gst/base/gstbasesrc.h:
14716         * gst/base/gstbasetransform.c:
14717         * gst/base/gstbasetransform.h:
14718         * gst/base/gstcollectpads.c:
14719         * gst/base/gstcollectpads.h:
14720         * gst/base/gstpushsrc.c:
14721         * gst/base/gstpushsrc.h:
14722         * gst/base/gsttypefindhelper.c:
14723         * gst/base/gsttypefindhelper.h:
14724         * gst/check/Makefile.am:
14725         * gst/check/gstcheck.c:
14726         * gst/check/gstcheck.h:
14727         * gst/net/Makefile.am:
14728         * gst/net/gstnet.h:
14729         * gst/net/gstnetclientclock.c:
14730         * gst/net/gstnetclientclock.h:
14731         * gst/net/gstnettimepacket.c:
14732         * gst/net/gstnettimepacket.h:
14733         * gst/net/gstnettimeprovider.c:
14734         * gst/net/gstnettimeprovider.h:
14735         * libs/gst/Makefile.am:
14736         * libs/gst/base/Makefile.am:
14737         * libs/gst/base/gstbasetransform.c:
14738         * libs/gst/check/Makefile.am:
14739         * plugins/elements/Makefile.am:
14740         * po/POTFILES.in:
14741           CVS surgery + support to move base, check, and net out of gst
14742           and into libs/gst
14743
14744 2005-11-29  Andy Wingo  <wingo@pobox.com>
14745
14746         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14747
14748         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14749         padding.
14750
14751         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14752
14753         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14754
14755         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14756
14757         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14758         padding; reduces object size by about 30%. We don't expect
14759         anything else to go into gstobject.
14760
14761         * gst/gstminiobject.h (struct _GstMiniObject)
14762         (struct _GstMiniObjectClass): Only one pointer of padding; the
14763         payload is only a pointer and two ints anyway. For the class there
14764         are only two methods as well.
14765         
14766         * gst/gstelement.h (struct _GstElementClass): Removed
14767         the state_changed signal callback, it is not used.
14768
14769 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14770
14771         * docs/gst/gstreamer.types:
14772           fix includes, though they are a little dinky
14773
14774 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14775
14776         * check/Makefile.am:
14777           look in the right place for elements, a lot more chance of
14778           success
14779         * gst/Makefile.am:
14780           remove indexers and elements subdirs
14781         * plugins/Makefile.am:
14782           make indexers conditional
14783
14784 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14785
14786         * Makefile.am:
14787         * configure.ac:
14788         * plugins/elements/Makefile.am:
14789         * plugins/elements/gstcapsfilter.c:
14790         * plugins/elements/gstfilesink.c:
14791         * plugins/elements/gstfilesrc.c:
14792         * plugins/elements/gstidentity.c:
14793         * plugins/indexers/Makefile.am:
14794           do CVS surgery and related build fixery to move elements
14795           and indexers in a new gstreamer/plugins directory, out of the
14796           gst/ directory
14797
14798 2005-11-29  Andy Wingo  <wingo@pobox.com>
14799
14800         * check/Makefile.am:
14801         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14802         * pkgconfig/gstreamer-net.pc.in:
14803         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14804         #322257.
14805
14806 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14807
14808         * tools/Makefile.am:
14809         * tools/gst-complete.1.in:
14810         * tools/gst-complete.c:
14811         * tools/gst-compprep.1.in:
14812         * tools/gst-compprep.c:
14813           removing -compprep and -complete
14814
14815 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14816
14817         * gst/gstevent.c: (gst_event_new_new_segment),
14818         (gst_event_parse_new_segment):
14819         * gst/gstevent.h:
14820           fix #320529 - clean up new_segment API and structure.
14821           Let's hope everyone was using the methods, and not the structure.
14822
14823 2005-11-29  Edward Hervey  <edward@fluendo.com>
14824
14825         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14826         (gst_base_sink_event), (gst_base_sink_do_sync),
14827         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14828         Properly handle non GST_FORMAT_TIME segment
14829         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14830         Properly handle non GST_FORMAT_TIME segment
14831         * gst/gstsegment.c:
14832         This function is valid if the accumulator is 0 and the format
14833         is different from the requested format.
14834         
14835 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14836
14837         * docs/gst/gstreamer-sections.txt:
14838         Add gst_query_new_seeking and gst_query_parse_seeking to the
14839         docs.
14840
14841 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14842
14843         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14844           Treat a pad alloc with new caps the same as if we were not
14845           negotiated, in order to allow a changing upstream output
14846           to produce a new format of data.
14847
14848 2005-11-29  Edward Hervey  <edward@fluendo.com>
14849
14850         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14851         (gst_base_transform_event), (gst_base_transform_eventfunc):
14852         The event virtual method is now properly implemented, with a default
14853         handler
14854         Sub classes should call the parent_class event method. They should
14855         return FALSE if they had a problem handling the given event, or don't
14856         want GstBaseTransform to send that even downstream
14857         * gst/elements/gstidentity.c: (gst_identity_class_init),
14858         (gst_identity_init), (gst_identity_event),
14859         (gst_identity_transform_ip), (gst_identity_set_property),
14860         (gst_identity_get_property):
14861         * gst/elements/gstidentity.h:
14862         Added the single-segment boolean property.
14863         If set to TRUE, it will output a single segment of data, starting from
14864         0, will eat up all incoming newsegment, and modify the timestamp of the
14865         buffers accordingly
14866
14867 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14868
14869         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14870           Don't ref NULL target pad (#322751). Improve docs.
14871
14872 2005-11-29  Michael Smith  <msmith@fluendo.com>
14873
14874         * gst/gstregistryxml.c: (load_plugin):
14875           Don't crash if we failed to load a feature from a plugin. 
14876
14877 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14878
14879         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14880         (GST_START_TEST):
14881           use more check API and less GLib API
14882
14883 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14884
14885         * Makefile.am:
14886           don't run checks if we don't have check
14887         * common/check.mak:
14888           remove the registry when running make torture
14889         * docs/gst/gstreamer-sections.txt:
14890           remove second multiply
14891         * gst/gstqueue.c: (gst_queue_loop):
14892           fix a compile warning when disabling debug
14893
14894 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14895
14896         * gst/gstinfo.h:
14897         Hey! Let's print the pad name if the pointer != NULL instead
14898         of when it == NULL :-)
14899
14900 2005-11-28  Wim Taymans  <wim@fluendo.com>
14901
14902         * check/gst/gstutils.c: (GST_START_TEST):
14903         Updated check, add some scaling accuracy checking code.
14904
14905         * gst/gstutils.c: (gst_util_div128_64),
14906         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14907         (gst_util_uint64_scale_int):
14908         Fix 6 times faster division code. Optimize for common 
14909         1/1 and less common X/1 cases.
14910
14911 2005-11-28  Wim Taymans  <wim@fluendo.com>
14912
14913         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14914         More checks.
14915
14916         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14917         (do_linear_regression), (gst_clock_add_observation):
14918         Cleanups.
14919         Release lock when the clock cannot be slaved.
14920         Catch the case where the regression returned an invalid denominator.
14921
14922         * gst/gstutils.c: (gst_util_div128_64_iterate),
14923         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14924         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14925         Add protentially more performant non-iterative 128/64 divide function
14926         that unfortunatly does not work yet.
14927         Shortcut the trivial 0/X = 0 case.
14928         Remove the warnings on overflow.
14929
14930 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14931
14932         * gst/gstplugin.c: (gst_plugin_register_func):
14933           everything causing a plugin not to load should be at least a WARNING
14934
14935 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14936
14937         * docs/random/ensonic/dparams.txt:
14938           some TODOs for the next dev cycle
14939         * libs/gst/controller/gstcontroller.c:
14940         (gst_controlled_property_set_interpolation_mode),
14941         (gst_controlled_property_new):
14942         * libs/gst/controller/gstcontroller.h:
14943           use base type to assign acccessor functions
14944
14945 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14946
14947         * check/Makefile.am:
14948         Oops, that should have been top_srcdir
14949
14950 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14951
14952         * check/Makefile.am:
14953         * check/elements/fdsrc.c: (GST_START_TEST):
14954         Use a cmdline define to specify the location of a file to use for
14955         testing, to avoid breaking distcheck.
14956
14957 2005-11-28  Andy Wingo  <wingo@pobox.com>
14958
14959         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14960
14961 2005-11-28  Edward Hervey  <edward@fluendo.com>
14962
14963         * tools/gst-launch.c: (main):
14964         Clarify the output strings, makes it easier to translate.
14965         Fixes #322626
14966
14967 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14968
14969         * gst/Makefile.am:
14970           don't try and build net if we don't even have <sys/socket.h>
14971
14972 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14973
14974         * check/Makefile.am:
14975         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14976         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14977           Add tests for fdsrc seekability
14978
14979         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14980         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14981         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14982         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14983         * gst/elements/gstfdsrc.h:
14984           fdsrc should not be a 'live' source.
14985           Implement seeking on seekable fd's.
14986
14987         * gst/gstquery.c: (gst_query_new_seeking),
14988         (gst_query_parse_seeking):
14989         * gst/gstquery.h:
14990           Implement SEEKING query functions: 
14991             *_new_seeking and *_parse_seeking
14992
14993 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14994
14995         * gst/gstelement.c: (gst_element_dispose):
14996           don't loop forever
14997
14998         * gst/gstiterator.c:
14999         * gst/gststructure.c:
15000           doc fixes
15001
15002         * libs/gst/controller/gstcontroller.c:
15003         (gst_controlled_property_set_interpolation_mode):
15004         * libs/gst/controller/gstcontroller.h:
15005         * libs/gst/controller/gstinterpolation.c:
15006         (interpolate_none_get_enum_value_array):
15007           support controlling enums
15008
15009 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15010
15011         * gst/gstvalue.c:
15012           Improve documentation for gst_value_union().
15013
15014         * gst/gstvalue.h:
15015           Change return value for union, intersect and subtract functions
15016           from gint to gboolean.
15017
15018 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15019
15020         * gst/gstvalue.c: (gst_value_serialize_any_list),
15021         (gst_value_transform_any_list_string),
15022         (gst_value_deserialize_list), (gst_value_deserialize_array),
15023         (gst_value_set_int_range), (gst_value_deserialize_int_range),
15024         (gst_value_set_double_range), (gst_value_deserialize_double_range),
15025         (gst_value_set_fraction_range_full),
15026         (gst_value_deserialize_fraction_range),
15027         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15028         (gst_value_deserialize_boolean),
15029         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15030         (gst_value_serialize_float), (gst_value_deserialize_float),
15031         (gst_string_wrap), (gst_value_deserialize_string),
15032         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15033         (gst_value_union_int_range_int_range),
15034         (gst_value_intersect_int_range_int_range),
15035         (gst_value_intersect_double_range_double_range),
15036         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15037         (gst_value_subtract_int_range_int_range),
15038         (gst_value_subtract_double_double_range),
15039         (gst_value_subtract_double_range_double_range),
15040         (gst_value_deserialize_fraction):
15041         * gst/gstvalue.h:
15042           Use gint, gdouble and gchar in our API instead of int, double and
15043           char (and make usage in gstvalue.c more consistent).
15044
15045 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15046
15047         * check/Makefile.am:
15048         * libs/gst/controller/Makefile.am:
15049         * libs/gst/dataprotocol/Makefile.am:
15050           fix up Makefile.am and remove GST_ENABLE_NEW
15051
15052 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15053
15054         * configure.ac:
15055         * gst/Makefile.am:
15056         * gst/base/Makefile.am:
15057         * gst/check/Makefile.am:
15058         * gst/elements/Makefile.am:
15059         * gst/net/Makefile.am:
15060           update LDFLAGS use some more
15061
15062 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15063
15064         * common/m4/gst-doc.m4:
15065           Fixes #312589
15066
15067 2005-11-26  Edward Hervey  <edward@fluendo.com>
15068
15069         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15070         This shouldn't issue a g_warning since it returns NULL if it
15071         couldn't find the plugin, and all functions using this behave
15072         properly on a NULL return. Switching to a GST_WARNING.
15073
15074 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
15075
15076         * gst/gstbin.c: (gst_bin_handle_message_func):
15077         Don't leak clock messages.
15078
15079 2005-11-25  Wim Taymans  <wim@fluendo.com>
15080
15081         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15082         (gst_util_uint64_scale_int):
15083         Optimisations, remove unneeded vars.
15084
15085 2005-11-25  Wim Taymans  <wim@fluendo.com>
15086
15087         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15088         Added more checks for the high precision uint64 cases.
15089
15090         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15091         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15092         Implement high precision (guint64 * guint64) / guint64.
15093
15094 2005-11-24  Wim Taymans  <wim@fluendo.com>
15095
15096         * gst/base/gstbasesrc.c: (gst_base_src_query):
15097         Fix wrong percentage query.
15098
15099         * gst/gstutils.c: (gst_util_uint64_scale),
15100         (gst_util_uint64_scale_int):
15101         Add some more common cases that can be handled 
15102         efficiently to _scale.
15103
15104 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15105
15106         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15107         (gst_mini_object_suite):
15108           don't use check calls from threads; check probably isn't
15109           threadsafe and using a lock to make it threadsafe would
15110           defeat the purpose of this check
15111         * gst/check/gstcheck.c:
15112         * gst/check/gstcheck.h:
15113           use GST_DEBUG some more
15114
15115 2005-11-24  Wim Taymans  <wim@fluendo.com>
15116
15117         * gst/gstutils.c: (gst_util_uint64_scale),
15118         (gst_util_uint64_scale_int):
15119         Chain trivial case to _scale_int.
15120
15121 2005-11-24  Wim Taymans  <wim@fluendo.com>
15122
15123         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15124         Added test for scaling.
15125
15126         * gst/gstclock.h:
15127         Small doc fix.
15128
15129         * gst/gstutils.c: (gst_util_uint64_scale_int):
15130         Implemented high precision scaling code.
15131
15132 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
15133
15134         * gst/gstinfo.h:
15135           do not crash on pad==NULL
15136
15137 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15138
15139         Patch by: Stefan Kost
15140
15141         * common/gtk-doc.mak:
15142         * docs/gst/Makefile.am:
15143         * docs/libs/Makefile.am:
15144           Fix distcheck issues for the libraries docs build
15145           Closes #319599.
15146
15147 2005-11-24  Michael Smith <msmith@fluendo.com>
15148
15149         * docs/manual/basics-helloworld.xml:
15150           Fix bug #315027: memory leak in example code in docs.
15151
15152 2005-11-24  Michael Smith <msmith@fluendo.com>
15153
15154         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15155           Unlock the PREROLL_LOCK in a failure case.
15156
15157 2005-11-24  Wim Taymans  <wim@fluendo.com>
15158
15159         * docs/gst/gstreamer-sections.txt:
15160         * gst/base/gstadapter.h:
15161         * gst/base/gstbasesink.h:
15162         * gst/base/gstbasesrc.h:
15163         * gst/base/gstbasetransform.h:
15164         * gst/base/gstpushsrc.h:
15165         * gst/elements/gstfakesink.h:
15166         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15167         * gst/elements/gstfakesrc.h:
15168         * gst/elements/gstfilesink.h:
15169         * gst/elements/gstfilesrc.h:
15170         * gst/gst.c:
15171         * gst/gstbin.c:
15172         * gst/gstbuffer.c: (_gst_buffer_copy):
15173         * gst/gstbus.h:
15174         * gst/gstcaps.c:
15175         * gst/gstchildproxy.c:
15176         * gst/gstclock.c:
15177         * gst/gstelement.c:
15178         * gst/gstelementfactory.c:
15179         * gst/gstelementfactory.h:
15180         * gst/gstevent.c:
15181         * gst/gstghostpad.h:
15182         * gst/gstindex.h:
15183         * gst/gstinterface.h:
15184         * gst/gstminiobject.c:
15185         * gst/gstminiobject.h:
15186         * gst/gstpad.c:
15187         * gst/gstpad.h:
15188         * gst/gstpadtemplate.h:
15189         * gst/gstpipeline.h:
15190         * gst/gstpluginfeature.h:
15191         * gst/gstquery.h:
15192         * gst/gstqueue.h:
15193         * gst/gsttaglist.c:
15194         * gst/gsttaglist.h:
15195         * gst/gsttagsetter.c:
15196         * gst/gsttagsetter.h:
15197         * gst/gsttrace.c:
15198         * gst/gsttrace.h:
15199         * gst/gsttypefind.h:
15200         * gst/gsturi.h:
15201         * gst/gstvalue.c:
15202         * gst/net/gstnetclientclock.c:
15203         * gst/net/gstnetclientclock.h:
15204         * gst/net/gstnettimepacket.c:
15205         * gst/net/gstnettimeprovider.c:
15206         * gst/net/gstnettimeprovider.h:
15207         Doc fixes.
15208
15209 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15210
15211         * configure.ac: back to HEAD
15212
15213 === release 0.9.6 ===
15214
15215 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
15216
15217         * configure.ac:
15218           releasing 0.9.6, "Always On Time"
15219
15220 2005-11-23  Wim Taymans  <wim@fluendo.com>
15221
15222         * docs/gst/gstreamer-sections.txt:
15223         * gst/glib-compat.c:
15224         * gst/gsttagsetter.c:
15225         * gst/gstvalue.c:
15226         * gst/net/gstnetclientclock.c:
15227         * gst/net/gstnettimepacket.h:
15228         Doc updates.
15229
15230 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15231
15232         * docs/faq/using.xml:
15233         * docs/libs/tmpl/gstcontrol.sgml:
15234         * docs/manual/advanced-dparams.xml:
15235         * docs/manual/appendix-checklist.xml:
15236         * docs/manual/basics-elements.xml:
15237         * docs/pwg/other-source.xml:
15238         * docs/random/moving-plugins:
15239         * gst/gstpad.c:
15240         * tools/gst-launch.1.in:
15241           remove mentions of sinesrc
15242
15243 2005-11-23  Michael Smith <msmith@fluendo.com>
15244
15245         * docs/gst/gstreamer-sections.txt:
15246           Update for new API and API changes.
15247         * gst/gstobject.h:
15248           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15249         * gst/gstvalue.c:
15250           Documentation typo fix.
15251         * gst/net/gstnettimepacket.c:
15252           Documentation fixes for arguments.
15253
15254 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
15255
15256         * gst/gststructure.c: (gst_structure_get_fraction),
15257         (gst_structure_parse_value),
15258         (gst_structure_fixate_field_nearest_fraction):
15259         * gst/gststructure.h:
15260         * gst/gstutils.c: (gst_util_uint64_scale_int):
15261         * gst/gstutils.h:
15262         * scripts/update-funcnames:
15263         API Changes. 
15264         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15265         Make gst_structure_fixate_field_nearest_fraction take a numerator
15266         and denominator argument instead of a GValue
15267         add gst_structure_get_fraction helper function.
15268
15269 2005-11-23  Wim Taymans  <wim@fluendo.com>
15270
15271         * docs/design/part-TODO.txt:
15272         Update TODO.
15273
15274         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15275         * gst/net/gstnetclientclock.h:
15276         Use parent fields for timeout and window_size.
15277
15278 2005-11-23  Andy Wingo  <wingo@pobox.com>
15279
15280         * check/net/gstnetclientclock.c (test_functioning): Adjust to
15281         rate_num/rate_denom change.
15282
15283         * gst/net/gstnetclientclock.c
15284         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15285         OBJECT_LOCK. Don't call add_observation with the lock.
15286
15287         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15288         fraction.
15289         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15290         rate fraction.
15291         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15292         deal with rate as a fraction whose numerator and denominator are
15293         GstClockTime values.
15294         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15295         master; the other fields are protected by the SLAVE_LOCK.
15296         (do_linear_regression): Note that this must be called with the
15297         SLAVE_LOCK.
15298         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15299         OBJECT_LOCK. Call set_calibration instead of touching the
15300         variables directly.
15301         (gst_clock_set_property, gst_clock_get_property): Protect
15302         master/slave parameters with the SLAVE_LOCK.
15303
15304         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15305         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15306         note that all of the instance variables that add_observation and
15307         the set_master functions use are protected by that lock and not
15308         the OBJECT_LOCK.
15309         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15310
15311         * gst/gstclock.c (gst_clock_add_observation): No longer requires
15312         the caller to take the object lock.
15313
15314 2005-11-23  Wim Taymans  <wim@fluendo.com>
15315
15316         * gst/gsterror.c: (_gst_core_errors_init):
15317         * gst/gsterror.h:
15318         Add error for clock stuff.
15319
15320         * gst/gstpipeline.c: (gst_pipeline_change_state),
15321         (gst_pipeline_set_clock):
15322         Post clock error when clock cannot be used in a pipeline.
15323
15324 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
15325
15326         * docs/gst/gstreamer-sections.txt:
15327           make two symbols from gstinfo private for the docs
15328         * gst/base/gstcollectpads.h:
15329         * gst/gstutils.c:
15330           fix doc typos, update docs
15331
15332 2005-11-22  Wim Taymans  <wim@fluendo.com>
15333
15334         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15335         (gst_base_sink_wait), (gst_base_sink_do_sync),
15336         (gst_base_sink_handle_event):
15337         * gst/base/gstbasesink.h:
15338         No need to store the clock, the parent element class already
15339         has it.
15340
15341         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15342         Updates for clock_set returning a gboolean
15343
15344         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15345         (gst_clock_id_wait_async), (gst_clock_class_init),
15346         (gst_clock_init), (gst_clock_finalize),
15347         (gst_clock_get_internal_time), (gst_clock_get_time),
15348         (gst_clock_slave_callback), (gst_clock_set_master),
15349         (gst_clock_get_master), (do_linear_regression),
15350         (gst_clock_add_observation), (gst_clock_set_property),
15351         (gst_clock_get_property):
15352         * gst/gstclock.h:
15353         Implement master/slave. When setting a clock as a slave, a
15354         periodic timeout is scheduled to sample master and slave times.
15355         Then the slave clock is recalibrated to match offset and rate
15356         of the master clock.
15357         Update logging a bit.
15358         Add flag so that a clock can state that is cannot be slaved to
15359         another clock.
15360
15361         * gst/gstelement.c: (gst_element_set_clock):
15362         * gst/gstelement.h:
15363         The set clock returns a gboolean for when an element cannot
15364         deal with the selected clock in the pipeline. 
15365
15366         * gst/gstpipeline.c: (gst_pipeline_change_state),
15367         (gst_pipeline_set_clock):
15368         * gst/gstpipeline.h:
15369         Handle the case where the selected clock cannot be set on
15370         the pipeline.
15371
15372         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15373         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15374         (gst_net_client_clock_set_property),
15375         (gst_net_client_clock_get_property),
15376         (gst_net_client_clock_observe_times):
15377         * gst/net/gstnetclientclock.h:
15378         Use regression code in GstClock parent, remove duplicated
15379         functionality.
15380
15381 2005-11-22  Michael Smith <msmith@fluendo.com>
15382
15383         * gst/gstutils.c: (gst_util_clock_time_scale):
15384         * gst/gstutils.h:
15385         * docs/gst/gstreamer-sections.txt:
15386           Rename method to have extra underscore.
15387
15388 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15389
15390         * gst/elements/Makefile.am:
15391         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15392         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15393         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15394         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15395         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15396         * gst/elements/gstfakesrc.h:
15397         * gst/gstqueue.c: (queue_leaky_get_type):
15398           correctly fix GEnumValues so that nick is the short lowercase
15399           dashed tag
15400         * tools/gst-inspect.c: (print_element_properties_info):
15401           also show the nick, since it's useful to use from parse_launch
15402           syntax
15403           Fixes #322139
15404
15405 2005-11-22  Michael Smith <msmith@fluendo.com>
15406
15407         * gst/gstutils.c: (gst_util_clocktime_scale):
15408         * gst/gstutils.h:
15409         * docs/gst/gstreamer-sections.txt:
15410           Add util method for scaling a clocktime by a fraction. Useful 
15411           implementation is left as an exercise for the reader.
15412
15413 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15414
15415         * gst/gstvalue.c: (gst_value_collect_fraction_range):
15416         If needed, allocate storage in the destination value during
15417         collection.
15418
15419 2005-11-22  Edward Hervey  <edward@fluendo.com>
15420
15421         * docs/gst/gstreamer-sections.txt:
15422         * gst/Makefile.am:
15423         * gst/gst.h:
15424         * gst/gsturitype.c:
15425         * gst/gsturitype.h:
15426         * gst/gstutils.c: (gst_util_set_object_arg):
15427         * tools/gst-compprep.c: (main):
15428         * tools/gst-inspect.c: (print_element_properties_info):
15429         Removed GstURI, closes bug #321061
15430
15431 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15432
15433         * check/gst/gststructure.c: (GST_START_TEST):
15434         * gst/gststructure.c: (gst_structure_parse_value):
15435           Oops, broke automatic string type parsing.
15436           Add a test to catch it in future.
15437
15438 2005-11-22  Andy Wingo  <wingo@pobox.com>
15439
15440         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
15441         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15442         Actually rename the function implementations. Grr.
15443
15444 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15445
15446         * check/gst/capslist.h:
15447           Comment test cases
15448         * check/gst/gststructure.c: (GST_START_TEST),
15449         (gst_structure_suite):
15450           Test automatic value type detection in gst_structure_from_string.
15451         * gst/gststructure.c: (gst_structure_parse_value):
15452           Add fraction as a type we try and guess automatically in
15453           caps/structure strings.
15454
15455 2005-11-22  Andy Wingo  <wingo@pobox.com>
15456
15457         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15458
15459         * gst/gsttagsetter.h:
15460         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15461         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15462         (gst_tag_setter_add_tag_valist)
15463         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15464         _add_values, _add_valist, and _add_valist_values. Since this is an
15465         interface the function suffixes should be more explicit so
15466         language binding don't end up with element.add_valist ->
15467         gst_tag_setter_add_valist, for example. Fixes #322069.
15468
15469 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15470
15471         * check/gst/gstcaps.c: (GST_START_TEST):
15472           Extend caps string tests to check that a caps to string
15473           conversion is reversible and produces the same caps.
15474
15475         * gst/gststructure.c: (gst_structure_value_get_generic_type):
15476           Output "fraction" as the generic type fraction range, so caps
15477           serialisation and deserialisation works.
15478         * check/gst/capslist.h:
15479         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15480           Support 'MIN' and 'MAX' for deserialising fractions.
15481
15482 2005-11-22  Andy Wingo  <wingo@pobox.com>
15483
15484         * gst/gstevent.h (gst_event_new_new_segment)
15485         (gst_event_parse_new_segment, gst_event_new_buffer_size)
15486         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15487         Renamed from *_newsegment, *_buffersize, *_notarget.
15488
15489         * scripts/update-funcnames: New script, performs the changes
15490         listed above.
15491
15492 2005-11-22  Wim Taymans  <wim@fluendo.com>
15493
15494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15495         Make sure the GstFlowReturn is returned.
15496
15497         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15498         (gst_bus_add_signal_watch):
15499         * gst/gstbus.h:
15500         add gst_bus_add_signal_watch_full.
15501
15502         * gst/gstplugin.c: (gst_plugin_load_file):
15503         Small style cleanup.
15504
15505 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15506
15507         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15508           Block the fakesrc srcpad when we send an event, to avoid
15509           contention on the stream_lock causing random test failures.
15510
15511 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15512
15513         * check/gst/gstvalue.c: (GST_START_TEST):
15514         * gst/gstvalue.c: (gst_value_fraction_subtract):
15515           Fix subtraction.
15516
15517 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15518
15519         * gst/gst.h:
15520           include "gstchildproxy.h"
15521         * gst/gstchildproxy.h:
15522         * libs/gst/controller/gstcontroller.h:
15523           use G_GNUC_NULL_TERMINATED
15524
15525 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15526
15527         * check/gst/capslist.h:
15528         * check/gst/gstcaps.c: (GST_START_TEST):
15529         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15530         * gst/gststructure.c: (gst_structure_parse_range),
15531         (gst_structure_fixate_field_nearest_fraction):
15532         * gst/gststructure.h:
15533         * gst/gstvalue.c: (gst_value_init_fraction_range),
15534         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15535         (gst_value_collect_fraction_range),
15536         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15537         (gst_value_set_fraction_range_full),
15538         (gst_value_get_fraction_range_min),
15539         (gst_value_get_fraction_range_max),
15540         (gst_value_serialize_fraction_range),
15541         (gst_value_transform_fraction_range_string),
15542         (gst_value_compare_fraction_range),
15543         (gst_value_deserialize_fraction_range),
15544         (gst_value_intersect_fraction_fraction_range),
15545         (gst_value_intersect_fraction_range_fraction_range),
15546         (gst_value_subtract_fraction_fraction_range),
15547         (gst_value_subtract_fraction_range_fraction),
15548         (gst_value_subtract_fraction_range_fraction_range),
15549         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15550         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15551         (gst_value_transform_string_fraction), (_gst_value_initialize):
15552         * gst/gstvalue.h:
15553           Implement fraction ranges and extend GstFraction to support
15554           arithmetic subtraction, as well as deserialization from integer
15555           strings such as "100"
15556           Add a testsuite as for int and double range set operations
15557
15558 2005-11-21  Andy Wingo  <wingo@pobox.com>
15559
15560         * gst/gsttaglist.h: 
15561         * gst/gstcaps.h: 
15562         * gst/gststructure.h: Add glib-compat.h.
15563
15564 2005-11-21  Wim Taymans  <wim@fluendo.com>
15565
15566         * gst/gstbin.c: (gst_bin_change_state_func):
15567         Fix for #321595
15568
15569 2005-11-21  Wim Taymans  <wim@fluendo.com>
15570
15571         * gst/gstsegment.h:
15572         And add a nice define too.
15573
15574 2005-11-21  Wim Taymans  <wim@fluendo.com>
15575
15576         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15577         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15578         (gst_segment_set_duration), (gst_segment_set_last_stop),
15579         (gst_segment_set_seek), (gst_segment_set_newsegment),
15580         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15581         (gst_segment_clip):
15582         * gst/gstsegment.h:
15583         Make binding friendly.
15584
15585 2005-11-21  Andy Wingo  <wingo@pobox.com>
15586
15587         * gst/gsttagsetter.h: 
15588         * gst/gsttaglist.h: 
15589         * gst/gststructure.h: 
15590         * gst/gstcaps.h: 
15591         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15592         #319940.
15593
15594         * gst/gsterror.c (_gst_core_errors_init):
15595         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15596         category.
15597
15598         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15599         (noinst_HEADERS): noinst the -private.
15600
15601 2005-11-21  Michael Smith <msmith@fluendo.com>
15602
15603         * gst/gstplugin.h:
15604         * gst/gstregistry.h:
15605           Remove unimplemented declarations for which we can see no sensible
15606           use.
15607
15608 2005-11-21  Andy Wingo  <wingo@pobox.com>
15609
15610         * gst/gst.h: Include glib-compat.h.
15611
15612         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15613
15614         * gst/glib-compat.c: Include the public and the private header.
15615
15616         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15617
15618         * gst/gstvalue.c: 
15619         * gst/gstpad.c: 
15620         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15621
15622         * check/gst/gstevent.c (create_custom_events): Check that
15623         FLUSH_STOP is serialized.
15624
15625         * check/elements/identity.c (event_func): 
15626         * check/elements/fakesrc.c (event_func): No stream lock, the core
15627         takes it.
15628
15629         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15630         stream lock taking, yay.
15631
15632         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15633         ensure that core takes the stream lock.
15634
15635         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15636         lock name change.
15637
15638         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15639         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15640         it already. For the flush start we do take it though so we get the
15641         right preroll state change messages.
15642
15643         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15644         the stream lock here, the core does it for us.
15645
15646         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15647         GST_STREAM_GET_LOCK.
15648         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15649         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15650         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15651         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15652         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15653         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15654
15655         * gst/gstpad.c: Update for stream lock name change.
15656
15657         * gst/base/gstbasesink.c: Update for preroll lock name change.
15658
15659 2005-11-21  Wim Taymans  <wim@fluendo.com>
15660
15661         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15662         (gst_clock_get_master):
15663         * gst/gstclock.h:
15664         * gst/gstsystemclock.c: (gst_system_clock_init):
15665         Convert Clock flags to object flags.
15666         Added methods to manage master/slave clocks.
15667
15668 2005-11-21  Wim Taymans  <wim@fluendo.com>
15669
15670         * check/gst/gstsegment.c: (GST_START_TEST):
15671         * docs/design/part-TODO.txt:
15672         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15673         (gst_base_sink_event), (gst_base_sink_do_sync),
15674         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15675         (gst_base_sink_query), (gst_base_sink_change_state):
15676         * gst/base/gstbasesink.h:
15677         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15678         (gst_base_src_default_newsegment),
15679         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15680         (gst_base_src_get_range), (gst_base_src_loop),
15681         (gst_base_src_change_state):
15682         * gst/base/gstbasesrc.h:
15683         * gst/base/gstbasetransform.c:
15684         (gst_base_transform_prepare_output_buf),
15685         (gst_base_transform_event), (gst_base_transform_change_state):
15686         * gst/base/gstbasetransform.h:
15687         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15688         (gst_collect_pads_event):
15689         * gst/base/gstcollectpads.h:
15690         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15691         (gst_fake_src_create):
15692         * gst/elements/gstfakesrc.h:
15693         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15694         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15695         (gst_segment_set_last_stop), (gst_segment_set_seek),
15696         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15697         (gst_segment_to_running_time), (gst_segment_clip):
15698         * gst/gstsegment.h:
15699         More segment updates, replace code in plugins with segment
15700         helper functions.
15701
15702 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15703
15704         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15705         Don't ignore sscanf results
15706
15707 2005-11-21  Andy Wingo  <wingo@pobox.com>
15708
15709         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15710
15711         * *.h:
15712         * *.c: Ran scripts/update-macros. Oh yes.
15713
15714         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15715         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15716         GST_GET_LOCK, etc.
15717
15718         * scripts/update-macros: New script. Run it on your files to
15719         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15720         well.
15721
15722 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15723
15724         * docs/gst/Makefile.am:
15725         * docs/gst/gstreamer-docs.sgml:
15726         * docs/gst/gstreamer-sections.txt:
15727         * docs/gst/gstreamer.types:
15728         * gst/gstinfo.h:
15729           more docs fixes, add new api to the docs
15730
15731 2005-11-21  Andy Wingo  <wingo@pobox.com>
15732
15733         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15734         state_broadcast call.
15735
15736         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15737
15738 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15739
15740         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15741         function calls for arrays.
15742
15743 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15744
15745         * docs/random/ensonic/media-device-daemon.txt:
15746           wild idea, can this be done?
15747         * docs/gst/gstreamer-sections.txt:
15748         * gst/gsterror.h:
15749         * gst/gstfilter.c:
15750         * gst/gstfilter.h:
15751         * gst/gstplugin.h:
15752         * gst/gstpluginfeature.c:
15753         * gst/gsttrace.c:
15754         * gst/gstvalue.c:
15755         * gst/gstvalue.h:
15756           doc fixes and additions
15757
15758 2005-11-21  Andy Wingo  <wingo@pobox.com>
15759
15760         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15761         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15762         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15763         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15764         private to the basesrc implementation.
15765
15766         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15767         behalf of event function if necessary. It should no longer be
15768         necessary to take the stream lock in pad's event functions. Fixes
15769         #320299.
15770
15771 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15772         * docs/gst/gstreamer-sections.txt:
15773         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15774         (gst_structure_fixate_field_nearest_double),
15775         (gst_structure_fixate_field_boolean):
15776         * gst/gststructure.h:
15777         * win32/common/libgstreamer.def:
15778         * win32/gstreamer.def:
15779
15780         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15781         (#322027)
15782
15783 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15784
15785         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15786         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15787         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15788         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15789         (gst_fdsrc_uri_handler_init):
15790         * gst/elements/gstfdsrc.h:
15791           Port fd:// URI handler from 0.8 to fdsrc
15792
15793 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15794
15795         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15796         (gst_value_serialize_fourcc):
15797         * gst/gstvalue.h:
15798           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15799           consistent with our other format defines (#320324).
15800
15801 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15802
15803         * gst/gstvalue.c: (gst_value_is_fixed):
15804           Revert previous commit. Value lists are by definition
15805           not fixed, as they are a list of possible values.
15806
15807 2005-11-21  Andy Wingo  <wingo@pobox.com>
15808
15809         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15810         during the stable series if we need it. Fixes #319178.
15811
15812         * gst/gstevent.c (gst_event_new_filler): Removed.
15813
15814         * check/gst/gstevent.c: Update comment about filler events.
15815
15816 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15817
15818         * gst/gstvalue.c: (gst_value_is_fixed):
15819           Should handle both value arrays and value lists.
15820
15821 2005-11-21  Andy Wingo  <wingo@pobox.com>
15822
15823         patch by: Alessandro Dessina <alessandro nnva org>
15824
15825         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15826         functions to access arrays. Fixes #321962.
15827
15828 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15829
15830         * docs/gst/gstreamer.types:
15831           gst_collectpads_get_type => gst_collect_pads_get_type.
15832           
15833         * gst/base/gstbasetransform.c:
15834           Remove unused SIGNAL_HANDOFF enum.
15835
15836 2005-11-21  Andy Wingo  <wingo@pobox.com>
15837
15838         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15839         the event type (upstream, downstream, serialized). Renamed
15840         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15841         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15842         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15843
15844         * gst/gstevent.c: Update for new CUSTOM event names.
15845
15846         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15847
15848         * gst/gstevent.h:
15849         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15850         bug #319392.
15851
15852 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15853
15854         * docs/gst/gstreamer-sections.txt:
15855         * win32/common/libgstbase.def:
15856         * win32/libgstbase.def:
15857         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15858         (gst_collect_pads_class_init), (gst_collect_pads_init),
15859         (gst_collect_pads_finalize), (gst_collect_pads_new),
15860         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15861         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15862         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15863         (gst_collect_pads_start), (gst_collect_pads_stop),
15864         (gst_collect_pads_peek), (gst_collect_pads_pop),
15865         (gst_collect_pads_available), (gst_collect_pads_read),
15866         (gst_collect_pads_flush), (gst_collect_pads_event),
15867         (gst_collect_pads_chain):
15868         * gst/base/gstcollectpads.h:
15869           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15870           unimplemented functions as unimplemented. Add padding to
15871           GstCollectData. (#320766, #320423)
15872
15873 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15874
15875         * gst/gstmessage.c:
15876           Improve docs for DURATION message (usage of duration parameter)
15877           (#320113)
15878
15879 2005-11-20  Wim Taymans  <wim@fluendo.com>
15880
15881         * check/Makefile.am:
15882         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15883         (main):
15884         * gst/Makefile.am:
15885         * gst/gst.h:
15886         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15887         (gst_segment_set_seek), (gst_segment_set_newsegment),
15888         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15889         (gst_segment_clip):
15890         * gst/gstsegment.h:
15891         Added segment helper structure and methods. Not fully implemented
15892         yet.
15893         Added segment check.
15894
15895 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15896
15897         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15898           Add a deserialisation test for fractions
15899         * examples/metadata/read-metadata.c: (message_loop),
15900         (make_pipeline), (main):
15901           Fix up metadata reading sample.
15902         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15903           Debug format fix
15904         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15905           Don't try and fixate empty caps
15906         * gst/gst_private.h:
15907           Wrap in G_BEGIN_DECLS/G_END_DECLS
15908         * gst/gstvalue.c: (gst_value_collect_fraction),
15909         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15910         (gst_value_transform_string_fraction),
15911         (gst_value_compare_fraction):
15912           Add some extra guards to ensure that we don't end up 
15913           with an invalid denominator of 0 in a gstfraction and
15914           that fractions always get reduced.
15915
15916 2005-11-20  Wim Taymans  <wim@fluendo.com>
15917
15918         * docs/gst/gstreamer-sections.txt:
15919         * gst/gstbuffer.h:
15920         * gst/gstelement.c:
15921         * gst/gstformat.c:
15922         * gst/gstformat.h:
15923         * gst/gstindex.h:
15924         * gst/gstquery.c:
15925         * gst/gstquery.h:
15926         * gst/gstvalue.c:
15927         Doc fixes.
15928
15929 2005-11-20  Wim Taymans  <wim@fluendo.com>
15930
15931         * docs/design/part-TODO.txt:
15932         * gst/gstcaps.h:
15933         Make a proper enum of the flag.
15934
15935 2005-11-19  Wim Taymans  <wim@fluendo.com>
15936
15937         * docs/design/part-TODO.txt:
15938         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15939         (gst_format_to_quark), (gst_format_register):
15940         * gst/gstformat.h:
15941         * gst/gstquery.c: (_gst_query_initialize),
15942         (gst_query_type_get_name), (gst_query_type_to_quark),
15943         (gst_query_type_register):
15944         * gst/gstquery.h:
15945         Add type to quark and type to string conversions.
15946
15947 2005-11-19  Andy Wingo  <wingo@pobox.com>
15948
15949         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15950         #320097.
15951
15952 2005-11-19  Wim Taymans  <wim@fluendo.com>
15953
15954         * docs/design/part-TODO.txt:
15955         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15956         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15957         (gst_bin_handle_message_func):
15958         * gst/gstbin.h:
15959         Make message handling overridable.
15960
15961 2005-11-19  Andy Wingo  <wingo@pobox.com>
15962
15963         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15964
15965         * gst/gstclock.h:
15966         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15967         be a GstClockTime.
15968         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15969         is a GstClockTime. Fixes #321710.
15970
15971         * gst/gstclock.h (GstClock): Remove offset property. Add
15972         internal_calibration and external_calibration. Fix padding. Pad
15973         also by GstClockTime so we don't run into problems.
15974
15975         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15976         (gst_clock_get_rate_offset): Remove.
15977         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15978
15979         * gst/gstutils.h:
15980         * gst/gstutils.c (g_static_rec_cond_wait)
15981         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15982
15983         * gst/gstbin.c: Remove terrible continue_state prototype.
15984
15985         * gst/gstelement.h (gst_element_continue_state): Make public.
15986
15987         * gst/gstelement.h:
15988         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15989         by continue_state. Fixes #319389.
15990
15991         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15992         Really fixes #168438. However I don't see anywhere where the
15993         filter function is called... stupid GStreamer...
15994         
15995         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15996         don't have a dispose function, so it won't get called when the
15997         object is unreffed, but oh well!
15998
15999         * gst/gstindex.c (gst_index_set_filter_full): New API function,
16000         allows a destroy function to be set so user_data can be freed.
16001         Fixes #168438.
16002         (gst_index_set_filter): Call gst_index_set_filter_full.
16003
16004         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16005
16006         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16007         string should produce an error, given the lack of a way to
16008         represent NULL strings. Fixes #165650.
16009         
16010         * gst/gstvalue.h: 
16011         * gst/gstvalue.c (gst_value_array_append_value) 
16012         (gst_value_array_prepend_value, gst_value_array_get_size) 
16013         (gst_value_array_get_value): New API, copied from
16014         gst_value_list_*, only operates on arrays.
16015         (gst_value_list_append_value, gst_value_list_prepend_value) 
16016         (gst_value_list_concat, gst_value_list_get_size) 
16017         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16018
16019         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16020         init_list, because it works on both.
16021         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16022         (gst_value_copy_list_or_array): Renamed from copy_list.
16023         (gst_value_free_list_or_array): Renamed from free_list.
16024         (gst_value_collect_list_or_array): Renamed from collect_list.
16025         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16026         (gst_value_list_or_array_peek_pointer): Renamed from
16027         list_peek_pointer.
16028         (_gst_value_array_value_table, _gst_value_list_value_table):
16029         Update value table functions.
16030         (gst_value_compare_list_or_array): Renamed from compare_list.
16031
16032         * gsttaglist.h: Whoops, foreach function returns void. Also fix
16033         some constness.
16034
16035         * gst/gsttaglist.c:
16036         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16037         GstTagList*. Fixes #143472.
16038
16039         * gst/gststructure.h: Clarify what the foreach/map functions can
16040         or can't do to their arguments.
16041
16042 2005-11-18  Wim Taymans  <wim@fluendo.com>
16043
16044         * gst/gstclock.c: (gst_clock_set_calibration),
16045         (gst_clock_get_calibration):
16046         Doc and API fixes.
16047         Calibration can be set with internal time equal to current
16048         internal time too.
16049
16050 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16051
16052         * gst/gsterror.c:
16053         * gst/gsterror.h:
16054           document
16055
16056 2005-11-18  Andy Wingo  <wingo@pobox.com>
16057
16058         * configure.ac: 
16059         * pkgconfig/gstreamer-net.pc.in:
16060         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16061         * pkgconfig/Makefile.am: Add net pkgconfig files.
16062
16063 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
16064
16065         * gst/gstcaps.c:
16066         * gst/gstghostpad.c:
16067         * gst/gsttrace.c:
16068         * gst/gstvalue.c:
16069         * gst/gstvalue.h:
16070           docs fixes
16071
16072 2005-11-18  Andy Wingo  <wingo@pobox.com>
16073
16074         * gst/net/gstnetclientclock.c: Turn off debugging.
16075
16076         * check/net/gstnetclientclock.c (test_functioning): Assert that the
16077         times connverge somewhat. Can't make a real test.
16078
16079         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16080         integer arithmetic. Return the minimum of the domain, which can be
16081         set as "internal" for gst_clock_set_calibration.
16082         (gst_net_client_clock_observe_times): Call _set_calibration.
16083         (gst_net_client_clock_new): Call _set_calibration instead of
16084         rate_offset.
16085
16086         * check/net/gstnetclientclock.c (test_functioning): Use the right
16087         adjustment api.
16088
16089         * gst/gstclock.h:
16090         * gst/gstclock.c (gst_clock_get_calibration) 
16091         (gst_clock_set_calibration): New functions, obsolete the ones I
16092         added yesterday. Doh. Precision issues mean we have to extrapolate
16093         from a point in the more recent past than 1970.
16094         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16095         obsolete.
16096         (gst_clock_adjust_unlocked): Use the right calibration data.
16097
16098 2005-11-18  Edward Hervey  <edward@fluendo.com>
16099
16100         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
16101         Also reset the ->current_* values in READY->PAUSED
16102
16103 2005-11-18  Andy Wingo  <wingo@pobox.com>
16104
16105         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16106         Whoops, check the right fd. Also add some debugging.
16107         (gst_net_client_clock_observe_times): Adjust for int64 offset.
16108         (do_linear_regression): Add a crapload of debugging. Subtract off
16109         the minimum values from the input series to discard unneeded bits.
16110         Use only int arithmetic. There is still double arithmetic when
16111         calculating the intercept that needs fixing. Return boolean to
16112         indicate success; FALSE would mean the domain or range is too
16113         great. Still needs fixes.
16114
16115 2005-11-18  Wim Taymans  <wim@fluendo.com>
16116
16117         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16118         For the current position in stream time, we need to subtract
16119         accumulated time.
16120         
16121         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16122         Release lock before calling the callback function of async
16123         entries.
16124
16125 2005-11-18  Andy Wingo  <wingo@pobox.com>
16126
16127         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16128         Port goes all the way to MAXUINT16.
16129
16130         * gst/net/gstnettimeprovider.c: Make the port range the same as
16131         for the kernel: 0 assigns, otherwise ports are less than
16132         MAXUINT16.
16133
16134         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16135         port change.
16136
16137         * check/net/gstnetclientclock.c (test_functioning): Add the start
16138         of another test. 
16139
16140 2005-11-18  Wim Taymans  <wim@fluendo.com>
16141
16142         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16143         (gst_bin_remove_func), (bin_bus_handler):
16144         * gst/gstbin.h:
16145         Removing a clock provider from a bin, triggers a clock lost message
16146         so that a new clock will be selected.
16147         Adding a clock to a bin triggers a clock provider message.
16148         Make sure we reselect a clock when we received a clock lost message.
16149         Keep a reference to the element that provided the clock.
16150
16151 2005-11-18  Andy Wingo  <wingo@pobox.com>
16152
16153         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16154         the clock initially so it produces values around the base time.
16155         (gst_net_client_clock_class_init): Typo fix.
16156         (gst_net_client_clock_thread): Add note on when the socket gets
16157         closed.
16158
16159 2005-11-17  Wim Taymans  <wim@fluendo.com>
16160
16161         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16162         Free remote and local time arrays.
16163
16164 2005-11-17  Wim Taymans  <wim@fluendo.com>
16165
16166         * gst/net/gstnetclientclock.c: (do_linear_regression),
16167         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16168         Fix compilation, uninitialized vars and a forgotten continue.
16169
16170 2005-11-17  Andy Wingo  <wingo@pobox.com>
16171
16172         * check/Makefile.am (check_PROGRAMS): 
16173         * check/net/gstnetclientclock.c: Add a most minimal test for the
16174         net client clock. More to come later.
16175
16176         * gst/net/gstnet.h: 
16177         * gst/net/Makefile.am: Add netclientclock.
16178
16179         * gst/net/gstnetclientclock.h:
16180         * gst/net/gstnetclientclock.c: New files, implement an untested
16181         GstClock that takes its time from a network time provider.
16182         Implements the algorithm in network-clock.scm.
16183
16184         * tests/network-clock.scm (*window-size*): Rename from
16185         *queue-length*.
16186         * tests/network-clock.scm (network-time): 
16187         * tests/network-clock-utils.scm (q-push): Update callers.
16188
16189 2005-11-17  Wim Taymans  <wim@fluendo.com>
16190
16191         * gst/gstbin.c: (gst_bin_provide_clock_func),
16192         (gst_bin_sort_iterator_new):
16193         And unref the child too..
16194
16195 2005-11-17  Wim Taymans  <wim@fluendo.com>
16196
16197         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16198         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16199         Refactor the sort iterator so it can be used while holding the
16200         LOCK too.
16201         Make clock selection select a clock closest to the source.
16202
16203 2005-11-17  Michael Smith <msmith@fluendo.com>
16204
16205         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16206         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16207         * gst/gstclock.h:
16208           Anonymous structs are a gcc (and some other compilers) extension, so
16209           don't use them. Since this is only for ABI-compatibility, and our
16210           API/ABI freeze is over in a few days, this whole thing will only
16211           last a few days, so don't bother trying to think up a meaningful
16212           name for the struct.
16213
16214 2005-11-17  Andy Wingo  <wingo@pobox.com>
16215
16216         * gst/gstclock.h (GstClock): Add rate and offset properties,
16217         preserving ABI stability. Add rate/offset accessors. Will file bug
16218         for the freeze break.
16219
16220         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16221         and offset, trying to keep precision and avoiding
16222         underflow/overflow.
16223         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16224         functions. Make gst_clock_set_time_adjust obsolete.
16225         (gst_clock_set_time_adjust): Note that this function is obsolete.
16226         Will file bug soon.
16227
16228         * gst/base/gstbasetransform.h: Make the ABI-stability hack
16229         greppable by using GST_PADDING-1+1.
16230
16231 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
16232
16233         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16234
16235         * gst/gstmessage.c: (gst_message_parse_clock_lost):
16236           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16237
16238         * gst/gstpadtemplate.h:
16239         * gst/gstpluginfeature.h:
16240           Don't use c++ style comments in headers (#321638).
16241
16242 2005-11-16  Andy Wingo  <wingo@pobox.com>
16243
16244         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16245         buffer.
16246
16247         * check/net/gstnettimeprovider.c: Check to see that the time
16248         provider actually provides times. Works, yo!
16249
16250 2005-11-16  Wim Taymans  <wim@fluendo.com>
16251
16252         * check/Makefile.am:
16253         Enable more tests.
16254
16255         * check/elements/fakesrc.c: (GST_START_TEST):
16256         Set element to NULL before disposing it.
16257
16258 2005-11-16  Andy Wingo  <wingo@pobox.com>
16259
16260         * gst/net/Makefile.am:
16261         * gst/net/gstnet.h:
16262         * gst/net/gstnettimeprovider.c: 
16263         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16264         provider, include it from gstnet.h, and add it to the build.
16265
16266         * gst/net/gstnettimepacket.h: 
16267         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16268         sending and receiving.
16269
16270 2005-11-16  Wim Taymans  <wim@fluendo.com>
16271
16272         * check/Makefile.am:
16273         Enable valgrind check.
16274
16275         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16276         (gst_fake_src_alloc_buffer):
16277         Fix memleak.
16278
16279 2005-11-16  Wim Taymans  <wim@fluendo.com>
16280
16281         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16282         Call parent finalize too.
16283
16284 2005-11-16  Wim Taymans  <wim@fluendo.com>
16285
16286         * check/Makefile.am:
16287         Enable valgrind check that should work fine now.
16288
16289         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16290         * gst/gstqueue.c: (gst_queue_init):
16291         Fix memleaks in pad allocation.
16292
16293 2005-11-16  Andy Wingo  <wingo@pobox.com>
16294
16295         * gst/net/Makefile.am:
16296         * gst/net/gstnet.h: New part of core to hold network elements and
16297         objects. Put in core because it exposes API that applications want
16298         to use. The library is named libgstnet-tempname right now because
16299         of the existing libgstnet in gst-plugins-base. Solution is
16300         probably to rename the one in plugins-base; will file a bug for
16301         the freeze break.
16302
16303         * gst/net/gstnettimeprovider.c: 
16304         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16305         get_time call over the network.
16306
16307         * configure.ac: 
16308         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16309
16310         * check/Makefile.am:
16311         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16312         get additions shortly.
16313
16314 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16315
16316         * gst/gstpad.c: (gst_pad_new_from_static_template):
16317         * gst/gstpad.h:
16318           add gst_pad_new_from_static_template functions
16319         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16320         (gst_check_setup_sink_pad):
16321         * gst/elements/gsttee.c: (gst_tee_init):
16322           and use them
16323
16324 2005-11-16  Wim Taymans  <wim@fluendo.com>
16325
16326         * gst/gstpad.c: (gst_pad_pause_task):
16327         Removed warning, it's not really an error either.
16328
16329 2005-11-16  Wim Taymans  <wim@fluendo.com>
16330
16331         * gst/base/gstbasetransform.c:
16332         (gst_base_transform_prepare_output_buf),
16333         (gst_base_transform_event):
16334         Check if the caps are NULL, this can happen if the element
16335         is shutting down and the pad caps are set to NULL.
16336
16337 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16338
16339         * gst/elements/gsttee.c: (gst_tee_init):
16340           fix pad template leak in tee
16341
16342 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16343
16344         * gst/glib-compat.c: (g_value_dup_gst_object):
16345         * gst/glib-compat.h:
16346         * gst/gstpad.c: (gst_pad_set_property):
16347           use gst_object_ref when setting the pad template; this will
16348           trigger the pad template leaks on GLib 2.6 and the slaves
16349
16350 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16351
16352         * gst/glib-compat.c: (gst_flags_get_first_value):
16353         * gst/glib-compat.h:
16354         * gst/gstregistryxml.c:
16355           remove functions copied from GLib 2.6
16356
16357 2005-11-16  Michael Smith <msmith@fluendo.com>
16358
16359         * gst/Makefile.am:
16360           Don't link against VALGRIND_LIBS. That was always the wrong thing to
16361           do, but only breaks with newer valgrind versions. We're not a
16362           valgrind tool, we have no link-time dependencies on libcoregrind.
16363
16364 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16365
16366         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16367           some debug changes
16368         * gst/gstmessage.h:
16369           typo fixes
16370
16371 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16372
16373         * gst/base/gstbasesrc.c: (gst_base_src_init):
16374         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16375         * gst/gstqueue.c: (gst_queue_init):
16376         * gst/gstregistryxml.c: (load_feature):
16377           Revert all these unrefs, they don't even pass make check !
16378
16379 2005-11-15  Johan Dahlin  <johan@gnome.org>
16380
16381         * gst/base/gstbasesrc.c: (gst_base_src_init):
16382         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16383         * gst/gstqueue.c: (gst_queue_init): 
16384         Free pad templates, fixes a couple of leaks.
16385
16386 2005-11-15  Daniel Fischer  <dan at f3c dot com>
16387
16388         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16389
16390         * gst/gstpad.c: (gst_pad_get_property):
16391           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16392           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16393           (#321452)
16394
16395 2005-11-15  Wim Taymans  <wim@fluendo.com>
16396
16397         * gst/gstevent.c:
16398         Small doc update.
16399
16400 2005-11-15  Andy Wingo  <wingo@pobox.com>
16401
16402         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16403
16404         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16405         using GST_CLOCK_TIME_NONE to disable base time management.
16406         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16407         time if it was NONE before.
16408         (gst_pipeline_change_state): Only munge the base time if
16409         stream_time != GST_CLOCK_TIME_NONE.
16410
16411         * check/gst/gstpipeline.c (test_base_time): Punt around the
16412         problem of the probe not being called, because that's not the
16413         issue I'm looking at. Add a check that setting stream_time to NONE
16414         disables base time management.
16415         
16416 2005-11-15  Wim Taymans  <wim@fluendo.com>
16417
16418         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16419         segment_stop == -1 at startup.
16420
16421         * gst/base/gstbasetransform.c: (gst_base_transform_event),
16422         (gst_base_transform_change_state):
16423         Init segment values at start.
16424
16425 2005-11-15  Wim Taymans  <wim@fluendo.com>
16426
16427         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16428         0 segment values are 0 in any format.
16429
16430         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16431         * gst/base/gstbasetransform.h:
16432         Parse newsegment correctly in basetransform
16433
16434         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16435         Sync to clock using updated segment values.
16436
16437 2005-11-15  Andy Wingo  <wingo@pobox.com>
16438
16439         * check/gst/gstpipeline.c (test_base_time): Add check that the
16440         base time and stream time are reset correctly.
16441
16442 2005-11-15  Wim Taymans  <wim@fluendo.com>
16443
16444         * docs/design/part-TODO.txt:
16445         Some more TODO items.
16446
16447 2005-11-15  Andy Wingo  <wingo@pobox.com>
16448
16449         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16450         error if the user selected "no clock" as the clocking method.
16451
16452         * check/gst/gstpipeline.c (test_base_time): New test for buffer
16453         timestamps with live capture.
16454
16455         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16456         is 0 but we are a live source, timestamp the buffers using the
16457         element's clock.
16458
16459 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
16460
16461         * docs/gst/gstreamer-sections.txt:
16462         * gst/gsterror.c:
16463         * gst/gstghostpad.c:
16464         * gst/gstobject.h:
16465         * gst/gstxml.c:
16466           more section docs
16467
16468 2005-11-14  Wim Taymans  <wim@fluendo.com>
16469
16470         * common/gst.supp:
16471           add suppressions from Wim's Debian machine
16472
16473 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16474
16475         * common/gst.supp:
16476           add suppressions from Andy's AMD64 Ubuntu machine
16477
16478 2005-11-14  Andy Wingo  <wingo@pobox.com>
16479
16480         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16481         STATE_LOCK not necessary. Fixes #311489.
16482
16483         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16484         #305291.
16485
16486         * gst/gstindex.c (gst_index_add_object): Note in the docs that
16487         this function is not implemented.
16488
16489 2005-11-14  Julien MOUTTE  <julien@moutte.net>
16490
16491         * gst/base/gstbasetransform.c:
16492         (gst_base_transform_prepare_output_buf):
16493         Ref the source pad caps while we need them.
16494         Fixes (#321386)
16495
16496 2005-11-11  Wim Taymans  <wim@fluendo.com>
16497
16498         * docs/gst/gstreamer-sections.txt:
16499         Added some docs for GstCollectData.
16500
16501         * gst/base/gstadapter.c:
16502         Some small code example fix.
16503
16504         * gst/base/gstcollectpads.c:
16505         * gst/base/gstcollectpads.h:
16506         Document some more.
16507
16508 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16509
16510         * configure.ac: back to HEAD
16511
16512 === release 0.9.5 ===
16513
16514 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16515
16516         * configure.ac:
16517           releasing 0.9.5, "Bike Lunch Day"
16518
16519 2005-11-11  Wim Taymans  <wim@fluendo.com>
16520
16521         * gst/gstbuffer.c: (_gst_buffer_copy):
16522         Copy more flags.
16523
16524         * gst/gstcaps.c: (gst_caps_is_equal):
16525         Fix some docs.
16526         Make _is_equal fast in the trivial cases.
16527
16528         * gst/gstminiobject.c:
16529         * gst/gstminiobject.h:
16530         More docs. Spifify .h file.
16531
16532         * gst/gstutils.c:
16533         Small doc update.
16534
16535 2005-11-11  Wim Taymans  <wim@fluendo.com>
16536
16537         * gst/base/gstbasetransform.c:
16538         (gst_base_transform_prepare_output_buf),
16539         (gst_base_transform_handle_buffer):
16540         Small cleanups.
16541         If we're processing a buffer and need to allocate an output
16542         buffer, we cannot accept a format change. If we did get a 
16543         format change, we have to alloc a buffer ourselves of the 
16544         right size.
16545
16546 2005-11-11  Wim Taymans  <wim@fluendo.com>
16547
16548         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16549         While checking the flag for reentrancy in the gstcaps function
16550         is nice to detect recursive invocations, it also makes it 
16551         impossible to call getcaps from multiple threads, which must be
16552         possible. So, checking for recursive calls has to go.
16553
16554 2005-11-11  Michael Smith <msmith@fluendo.com>
16555
16556         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16557           Don't sync on buffers that fall partially outside our current
16558           segment. Prevents an assertion failure/abort playing some files.
16559
16560 2005-11-10  Andy Wingo  <wingo@pobox.com>
16561
16562         * check/gst/gstbin.c (test_message_state_changed_children): Style
16563         fix..
16564
16565         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16566         gst_bus_poll with the signal watch. Ensures that poll and a signal
16567         watch see the same messages.
16568
16569         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16570         a poll and a watch at the same time get the same messages.
16571
16572 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16573
16574         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16575         * gst/gstcaps.c: (gst_caps_intersect):
16576           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16577           and it's not needed.
16578
16579 2005-11-10  Wim Taymans  <wim@fluendo.com>
16580
16581         * docs/design/part-TODO.txt:
16582         Updated todo.
16583
16584 2005-11-10  Wim Taymans  <wim@fluendo.com>
16585
16586         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16587         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16588         (gst_base_src_do_sync), (gst_base_src_get_range):
16589         Implement clock sync in base class.
16590
16591 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16592
16593         patch by: Tim-Philipp Müller <tim at centricular dot net>
16594
16595         * gst/gststructure.c: (gst_structure_parse_field),
16596         (gst_structure_from_string):
16597           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16598           so that gst_parse_launch() can deal with spaces in filtered link
16599           caps (fixes #164479)
16600         * check/gst/capslist.h:
16601         * check/gst/gststructure.c: (GST_START_TEST):
16602           add unit tests for this change
16603
16604 2005-11-10  Wim Taymans  <wim@fluendo.com>
16605
16606         * docs/gst/gstreamer-sections.txt:
16607         * gst/gstelement.c:
16608         * gst/gstelement.h:
16609         Fix docs, move some STATE macros to private.
16610
16611 2005-11-10  Wim Taymans  <wim@fluendo.com>
16612
16613         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16614         Added check for bug #317341
16615
16616         * gst/gstbuffer.c:
16617         * gst/gstbuffer.h:
16618         Some more spiffifying.
16619
16620         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16621         Call peer linkfunction if we are a source pad. Totally fixes
16622         #317341
16623
16624         * gst/gstpad.c:
16625         Update docs, source pads should call the peer linkfunction
16626         so they can atomically perform the pad link.
16627
16628 2005-11-09  Wim Taymans  <wim@fluendo.com>
16629
16630         * gst/gstbuffer.c:
16631         * gst/gstbuffer.h:
16632         Uber-spiffy-spiffify some more.
16633
16634 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16635
16636         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16637         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16638         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16639         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16640         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16641         * gst/gstpad.c: (gst_pad_init):
16642           Use GST_DEBUG_FUNCPTR() more extensively.
16643
16644 2005-11-09  Wim Taymans  <wim@fluendo.com>
16645
16646         * gst/gstobject.c: (gst_object_class_init):
16647         * gst/gstobject.h:
16648         Documentation fixes.
16649
16650 2005-11-09  Edward Hervey  <edward@fluendo.com>
16651
16652         * gst/gsttypefindfactory.c:
16653         Fix docs.
16654         
16655 2005-11-09  Edward Hervey  <edward@fluendo.com>
16656
16657         * gst/base/gsttypefindhelper.c:
16658         * gst/gsttypefind.c:
16659         * gst/gsttypefind.h:
16660         Fix docs.
16661
16662 2005-11-09  Wim Taymans  <wim@fluendo.com>
16663
16664         * gst/gstiterator.c:
16665         Fix revision data.
16666
16667         * gst/gsttask.c:
16668         * gst/gsttask.h:
16669         Fix docs.
16670
16671 2005-11-09  Wim Taymans  <wim@fluendo.com>
16672
16673         * gst/gstevent.h:
16674         * gst/gsturi.h:
16675         Fix docs.
16676
16677 2005-11-09  Wim Taymans  <wim@fluendo.com>
16678
16679         * docs/gst/gstreamer-sections.txt:
16680         Moved the message async delivery private lock and cond
16681         to the private section.
16682
16683         * gst/gstmessage.c:
16684         * gst/gstmessage.h:
16685         Fixed docs.
16686
16687 2005-11-09  Edward Hervey  <edward@fluendo.com>
16688
16689         * docs/gst/gstreamer-sections.txt:
16690         * gst/gsturi.c:
16691         * gst/gsturi.h:
16692         Document GstURIHandler
16693
16694 2005-11-09  Wim Taymans  <wim@fluendo.com>
16695
16696         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16697         (gst_iterator_find_custom):
16698         * gst/gstiterator.h:
16699         Fix iterator docs.
16700
16701 2005-11-09  Wim Taymans  <wim@fluendo.com>
16702
16703         * gst/gstbin.h:
16704         Document another field.
16705
16706         * gst/gststructure.c:
16707         * gst/gststructure.h:
16708         Document.
16709
16710 2005-11-09  Wim Taymans  <wim@fluendo.com>
16711
16712         * gst/gstbin.h:
16713         Documented structs.
16714
16715 2005-11-09  Wim Taymans  <wim@fluendo.com>
16716
16717         * docs/gst/gstreamer-sections.txt:
16718         Added some new macros.
16719
16720         * gst/gstclock.c:
16721         * gst/gstclock.h:
16722         * gst/gstobject.h:
16723         Docs updates.
16724
16725 2005-11-09  Wim Taymans  <wim@fluendo.com>
16726
16727         * docs/design/part-TODO.txt:
16728         Some more items for the TODO
16729
16730         * gst/gstcaps.c:
16731         * gst/gstcaps.h:
16732         Document GstCaps.
16733
16734 2005-11-09  Andy Wingo  <wingo@pobox.com>
16735
16736         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16737         to work on something else now tho...
16738
16739         * gst/base/gstadapter.c: More adapter docs.
16740
16741         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16742         (gst_file_sink_stop): New functions, replace the state change
16743         handler.
16744         (gst_file_sink_class_init): Hook up the start and stop functions.
16745         (gst_file_sink_base_init): Don't set the state change handler any
16746         more. It was a bit ugly too, being set from here...
16747         (gst_file_sink_get_property, gst_file_sink_set_property):
16748         Cleanups...
16749         (gst_file_sink_set_location): More robust check that doesn't call
16750         GST_STATE. Ugggggg.
16751
16752 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16753
16754         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16755           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16756
16757 2005-11-08  Wim Taymans  <wim@fluendo.com>
16758
16759         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16760         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16761         (gst_base_sink_chain), (gst_base_sink_change_state):
16762         * gst/base/gstbasesink.h:
16763         * gst/base/gstbasesrc.h:
16764         * gst/gstelement.h:
16765         * gst/gstevent.h:
16766         Avoid excessive typechecking in macros.
16767
16768         * gst/gstminiobject.c: (gst_mini_object_get_type),
16769         (gst_mini_object_init), (gst_mini_object_new),
16770         (gst_mini_object_free):
16771         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16772         (gst_object_finalize):
16773         Remove cruft code, optimize alloc_trace.
16774
16775 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16776
16777         * docs/faq/gst-uninstalled:
16778           fix up PS1 for systems that try to reset it
16779
16780 2005-11-07  Wim Taymans  <wim@fluendo.com>
16781
16782         * gst/base/gstbasesrc.c: (gst_base_src_init),
16783         (gst_base_src_get_range):
16784         Set the segment_end to -1 initially. Fixed typefind.
16785
16786 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16787
16788         * gst/base/gstadapter.c:
16789           Debug category should be 'adapter', not 'GstAdapter'.
16790           
16791         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16792         (gst_collectpads_class_init), (gst_collectpads_init),
16793         (gst_collectpads_peek), (gst_collectpads_pop),
16794         (gst_collectpads_event), (gst_collectpads_chain):
16795           Add debug category and some debugging output. Use boilerplate
16796           macros. Remove some extraneous words from docs.
16797
16798 2005-11-05  Andy Wingo  <wingo@pobox.com>
16799
16800         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16801         macro.
16802
16803 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16804
16805         * docs/gst/gstreamer-sections.txt:
16806         * gst/gstcaps.h:
16807         * gst/gstinfo.c:
16808         * gst/gstminiobject.h:
16809         * gst/gstobject.h:
16810         * gst/gstutils.h:
16811           more docs added
16812
16813 2005-11-04  Wim Taymans  <wim@fluendo.com>
16814
16815         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16816         Small update to stop at the configured segment_end
16817         position.
16818
16819 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16820
16821         * gst/gstregistry.c:
16822         * gst/gstregistry.h:
16823           added missing docs
16824
16825 2005-11-04  Edward Hervey  <edward@fluendo.com>
16826
16827         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16828         Check if we are doing a segment seek and have arrived at the
16829         end of that segment.
16830
16831 2005-11-04  Wim Taymans  <wim@fluendo.com>
16832
16833         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16834         Don't leak a mutex unlock in case of an error.
16835
16836         * gst/gstbus.h:
16837         Doc fixes.
16838
16839 2005-11-04  Wim Taymans  <wim@fluendo.com>
16840
16841         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16842         (gst_bus_post):
16843         Get the context to wake up only once.
16844
16845 2005-11-03  Wim Taymans  <wim@fluendo.com>
16846
16847         * check/states/sinks.c: (GST_START_TEST):
16848         Uncomment fixed check.
16849
16850         * docs/design/part-TODO.txt:
16851         Updated TODO.
16852
16853         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16854         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16855         (gst_base_sink_get_position):
16856         If we are going to PLAYING, post the right pending state
16857         when we post the intermediate paused message.
16858
16859         * gst/gstelement.c: (gst_element_continue_state),
16860         (gst_element_set_state_func), (gst_element_change_state):
16861         Don't post state changes that were between the same state
16862         and were not ASYNC.
16863
16864 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16865
16866         * docs/gst/gstreamer-sections.txt:
16867         * gst/gstcaps.h:
16868         * gst/gstinfo.c:
16869         * gst/gstminiobject.h:
16870         * gst/gstobject.h:
16871         * gst/gstutils.h:
16872           more docs and doc style fixes
16873
16874 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16875
16876         * docs/gst/gstreamer-sections.txt:
16877         * gst/gstelement.c:
16878         * gst/gstminiobject.c:
16879         doc fixes
16880
16881 2005-11-03  Andy Wingo  <wingo@pobox.com>
16882
16883         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16884         state-changed messages actually have the right order and the right
16885         values.
16886
16887 2005-11-03  Wim Taymans  <wim@fluendo.com>
16888
16889         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16890         Added some more checks. Specifically the case where NO_PREROLL
16891         elements are in the pipeline.
16892
16893         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16894         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16895         (gst_base_sink_get_position):
16896         Post READY->PAUSED state change messages too.
16897         Fix bug where VOID was posted as pending state...
16898
16899         * gst/gstbin.c: (gst_bin_recalc_state):
16900         use _element_continue_state() to continue the state change.
16901
16902         * gst/gstelement.c: (gst_element_continue_state),
16903         (gst_element_commit_state), (gst_element_set_state_func),
16904         (gst_element_change_state), (gst_element_change_state_func):
16905         Lots of state change cleanups, assign the STATE_RETURN in
16906         a new continue_state() function that also propagates the
16907         last return value from a state change to the app.
16908         Update some debug statements with proper category.
16909
16910 2005-11-03  Wim Taymans  <wim@fluendo.com>
16911
16912         * docs/design/part-events.txt:
16913         * docs/design/part-gstpipeline.txt:
16914         * docs/design/part-messages.txt:
16915         * docs/design/part-overview.txt:
16916         * docs/design/part-seeking.txt:
16917         * docs/design/part-states.txt:
16918         * docs/design/part-trickmodes.txt:
16919         * docs/manual/advanced-position.xml:
16920         Small docs updates.
16921
16922         * gst/gstobject.h:
16923         People think !! is ugly, this looks better.
16924
16925         * gst/gstpad.c: (gst_pad_set_blocked_async):
16926         Remove !! since it's fixed elsewhere now.
16927
16928 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16929
16930         * gst/gstminiobject.h:
16931         * gst/gstobject.h:
16932           Add !! to _FLAG_IS_SET macros to make the result boolean.
16933
16934 2005-11-03  Edward Hervey  <edward@fluendo.com>
16935
16936         * gst/gstpad.c: (gst_pad_set_blocked_async):
16937         comparing a flag and a gboolean rarely returns coherent results...
16938         Added two characters (!!) to make that work correctly.
16939         
16940 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16941
16942         * gst/gstbus.c: (gst_bus_class_init):
16943           Fix some typos.
16944           
16945         * gst/gstqueue.c: (gst_queue_loop):
16946           Don't assume a miniobject that isn't a buffer is an
16947           event (it could be that there is a refcounting
16948           problem somewhere and the pointer is stale and
16949           refers to an already destroyed miniobject).
16950
16951 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16952
16953         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16954
16955 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16956
16957         * docs/manual/advanced-position.xml:
16958           Update seek example and explanations to current 0.9 API.
16959
16960         * gst/elements/gsttypefindelement.c:
16961         (gst_type_find_element_activate):
16962           Remove FIXME comment now that the found caps
16963           are unreffed.
16964
16965 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16966
16967         * gst/gstregistryxml.c: (load_feature):
16968           Add another GST_STR_NULL instance
16969
16970 2005-11-02  Edward Hervey  <edward@fluendo.com>
16971
16972         * gst/gstpad.c: (handle_pad_block):
16973         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16974         
16975 2005-11-02  Wim Taymans  <wim@fluendo.com>
16976
16977         * gst/gstbin.c:
16978         Fix typo in docs.
16979
16980         * gst/gstelement.c: (gst_element_commit_state):
16981         Remove unused value.
16982
16983         * gst/gstiterator.c:
16984         Mention that the returned element is reffed in the docs.
16985
16986 2005-11-02  Wim Taymans  <wim@fluendo.com>
16987
16988         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16989         (gst_pad_push), (gst_pad_push_event):
16990         Unlock blocked pads when they are flushed.
16991
16992 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16993
16994         * docs/README:
16995         * docs/gst/gstreamer-sections.txt:
16996         * gst/gstbin.c:
16997           doc updates
16998         * gst/gstregistry.c: (gst_registry_scan_path_level):
16999           fix for a nasty little missed situation where an installed plug-in
17000           which was in the cache did not get overridden by an uninstalled one
17001           which was earlier in the plugin path because the newly created plugin
17002           for the uninstalled one (not in the registry) didn't get its
17003           ->registered set to TRUE
17004
17005 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17006
17007         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17008         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17009         (gst_collectpads_is_active), (gst_collectpads_collect),
17010         (gst_collectpads_collect_range), (gst_collectpads_start),
17011         (gst_collectpads_stop), (gst_collectpads_peek),
17012         (gst_collectpads_pop), (gst_collectpads_available),
17013         (gst_collectpads_read), (gst_collectpads_flush):
17014           Guard public API with assertions.
17015         
17016         * gst/gstpad.c:
17017           Fix docs for gst_pad_set_link_function().
17018
17019 2005-11-02  Johan Dahlin  <johan@gnome.org>
17020
17021         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
17022         Unref found_caps after we used it.
17023
17024 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17025
17026         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17027           Don't try to ref NULL.
17028
17029 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17030
17031         * win32/common/config.h.in:
17032           provide a GST_FUNCTION that just gives a string for now
17033
17034 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17035
17036         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17037         (gst_object_flags_get_type), (register_gst_bin_flags),
17038         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17039         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17040         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17041         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17042         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17043         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17044         (gst_clock_flags_get_type), (register_gst_state),
17045         (gst_state_get_type), (register_gst_state_change_return),
17046         (gst_state_change_return_get_type), (register_gst_state_change),
17047         (gst_state_change_get_type), (register_gst_element_flags),
17048         (gst_element_flags_get_type), (register_gst_core_error),
17049         (gst_core_error_get_type), (register_gst_library_error),
17050         (gst_library_error_get_type), (register_gst_resource_error),
17051         (gst_resource_error_get_type), (register_gst_stream_error),
17052         (gst_stream_error_get_type), (register_gst_event_type),
17053         (gst_event_type_get_type), (register_gst_seek_type),
17054         (gst_seek_type_get_type), (register_gst_seek_flags),
17055         (gst_seek_flags_get_type), (register_gst_format),
17056         (gst_format_get_type), (register_gst_index_certainty),
17057         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17058         (gst_index_entry_type_get_type),
17059         (register_gst_index_lookup_method),
17060         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17061         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17062         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17063         (gst_index_flags_get_type), (register_gst_debug_level),
17064         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17065         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17066         (gst_iterator_result_get_type), (register_gst_iterator_item),
17067         (gst_iterator_item_get_type), (register_gst_message_type),
17068         (gst_message_type_get_type), (register_gst_mini_object_flags),
17069         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17070         (gst_pad_link_return_get_type), (register_gst_flow_return),
17071         (gst_flow_return_get_type), (register_gst_activate_mode),
17072         (gst_activate_mode_get_type), (register_gst_pad_direction),
17073         (gst_pad_direction_get_type), (register_gst_pad_flags),
17074         (gst_pad_flags_get_type), (register_gst_pad_presence),
17075         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17076         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17077         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17078         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17079         (gst_plugin_flags_get_type), (register_gst_rank),
17080         (gst_rank_get_type), (register_gst_query_type),
17081         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17082         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17083         (gst_tag_flag_get_type), (register_gst_task_state),
17084         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17085         (gst_alloc_trace_flags_get_type),
17086         (register_gst_type_find_probability),
17087         (gst_type_find_probability_get_type), (register_gst_uri_type),
17088         (gst_uri_type_get_type), (register_gst_parse_error),
17089         (gst_parse_error_get_type):
17090         * win32/common/gstversion.h:
17091           update win32 copies
17092
17093 2005-11-01  Luca Ognibene  <luogni@tin.it>
17094
17095         * gst/gst.c:
17096           fix docs. popt is dead, long live GOption.
17097
17098 2005-10-31  Wim Taymans  <wim@fluendo.com>
17099
17100         * gst/gstbuffer.h:
17101         Small doc fix.
17102
17103 2005-10-31  Andy Wingo  <wingo@pobox.com>
17104
17105         * Boo!
17106
17107         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17108
17109         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17110         need to serialize property notifications on GLib 2.8. GLib 2.6 has
17111         the possibility of deadlocks here if code calling notify() or
17112         set() has a lock that can be taken in another notify handler (ABBA
17113         with class lock and e.g. python GIL state lock).
17114
17115 2005-10-28  Julien MOUTTE  <julien@moutte.net>
17116
17117         * gst/gstbus.c: Doc updates.
17118
17119 2005-10-28  Wim Taymans  <wim@fluendo.com>
17120
17121         * docs/design/part-TODO.txt:
17122         * gst/gstiterator.c:
17123         * gst/gstsystemclock.c:
17124         * gst/gstsystemclock.h:
17125         Doc updates.
17126
17127 2005-10-28  Edward Hervey  <edward@fluendo.com>
17128
17129         * docs/gst/gstreamer-docs.sgml:
17130         * docs/gst/gstreamer-sections.txt:
17131         the GstURIType documentation page is private, it only defines GstURIType
17132         which should be defined in the GstURIHandler page
17133         
17134 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17135
17136         * gst/gstbin.c: (gst_bin_class_init):
17137         * gst/gstbin.h:
17138         * gst/gstutils.c:
17139         Documentation updates.
17140
17141 2005-10-28  Wim Taymans  <wim@fluendo.com>
17142
17143         * docs/gst/gstreamer-sections.txt:
17144         * gst/gstclock.c:
17145         * gst/gstclock.h:
17146         Documented the clocks.
17147
17148 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
17149
17150         * docs/gst/gstreamer-sections.txt:
17151           move some macros to private sections
17152         * gst/gstminiobject.c:
17153         * gst/gstminiobject.h:
17154           add descriptions provided by ds and some more
17155         * gst/gstpad.h:
17156           mark macro as to be removed
17157
17158 2005-10-28  Wim Taymans  <wim@fluendo.com>
17159
17160         * docs/design/part-TODO.txt:
17161         Add an item to TODO.
17162
17163         * gst/gstiterator.c: (gst_iterator_fold),
17164         (gst_iterator_find_custom):
17165         * gst/gstiterator.h:
17166         Add iterator docs.
17167
17168 2005-10-28  Wim Taymans  <wim@fluendo.com>
17169
17170         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17171         (gst_base_transform_init):
17172         Don't leak class.
17173
17174         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17175         An EOS event marks the queue as completely filled.
17176
17177 2005-10-27  Wim Taymans  <wim@fluendo.com>
17178
17179         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17180         (gst_base_sink_do_sync), (gst_base_sink_get_position):
17181         Some more debugging.
17182
17183         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17184         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17185         (gst_base_transform_event), (gst_base_transform_getrange),
17186         (gst_base_transform_chain):
17187         * gst/base/gstbasetransform.h:
17188         Fix debugging,
17189         Protect transform and concurrent buffer alloc with a new lock.
17190         Try not to break ABI/API.
17191
17192 2005-10-27  Wim Taymans  <wim@fluendo.com>
17193
17194         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17195         (gst_base_src_init), (gst_base_src_query),
17196         (gst_base_src_default_newsegment),
17197         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17198         (gst_base_src_send_event), (gst_base_src_event_handler),
17199         (gst_base_src_pad_get_range), (gst_base_src_loop),
17200         (gst_base_src_unlock), (gst_base_src_default_negotiate),
17201         (gst_base_src_start), (gst_base_src_deactivate),
17202         (gst_base_src_activate_push), (gst_base_src_change_state):
17203         Move some stuff around and cleanup things.
17204
17205 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
17206
17207         * gst/base/gstbasesrc.c: (gst_base_src_query):
17208           Add missing break statements.
17209
17210 2005-10-27  Wim Taymans  <wim@fluendo.com>
17211
17212         * check/gst/gstbin.c: (GST_START_TEST):
17213         An extra refcount is taken in basesrc.
17214
17215         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17216         (gst_base_src_get_range), (gst_base_src_pad_get_range),
17217         (gst_base_src_loop):
17218         Small cleanups, check for flushing after being unlocked from the 
17219         LIVE_LOCK. take refcounts correctly (not yet everywhere).
17220         Don't send out EOS when going to READY.
17221
17222 2005-10-27  Wim Taymans  <wim@fluendo.com>
17223
17224         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17225         (gst_base_sink_get_position):
17226         Some more debug.
17227
17228         * gst/gstbin.c: (message_check), (bin_replace_message),
17229         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17230         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17231         (bin_query_duration_init), (bin_query_duration_fold),
17232         (bin_query_duration_done), (bin_query_generic_fold),
17233         (gst_bin_query):
17234         * tools/gst-launch.c: (main):
17235         Remove old option.
17236
17237 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
17238
17239         * examples/controller/audio-example.c: (main):
17240         * examples/queue/queue.c: (event_loop):
17241         * gst/base/gstbasetransform.h:
17242         * gst/gstelement.c: (gst_element_send_event):
17243         * gst/gstevent.h:
17244         * gst/gstpad.c: (gst_pad_send_event):
17245           fixing examples
17246           fixing docs typos
17247           changing log priority in error situations
17248
17249 2005-10-25  Wim Taymans  <wim@fluendo.com>
17250
17251         * gst/gstbin.c: (message_check), (bin_replace_message),
17252         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17253         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17254         (bin_query_duration_init), (bin_query_duration_fold),
17255         (bin_query_duration_done), (bin_query_generic_fold),
17256         (gst_bin_query):
17257         Some doc and debug updates.
17258         Cache previously requested query DURATION for speed. invalidate
17259         cached duration if element posts a DURATION message.
17260
17261 2005-10-25  Wim Taymans  <wim@fluendo.com>
17262
17263         * docs/design/part-TODO.txt:
17264         Update TODO.
17265
17266         * gst/gstbin.c: (message_check), (bin_replace_message),
17267         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17268         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17269         (bin_query_duration_init), (bin_query_duration_fold),
17270         (bin_query_duration_done), (bin_query_generic_fold),
17271         (gst_bin_query):
17272         Handle SEGMENT_START/DONE messages correctly.
17273         More evolved query algorithm that handles duration queries
17274         correctly.
17275
17276         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17277         (gst_element_get_state_func), (gst_element_abort_state),
17278         (gst_element_commit_state), (gst_element_lost_state):
17279         Some more debugging.
17280
17281         * gst/gstmessage.h:
17282         Added doc.
17283
17284 2005-10-25  Wim Taymans  <wim@fluendo.com>
17285
17286         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17287         Don't use invalid stream_time.
17288
17289         * gst/gstevent.c: (gst_event_new_newsegment):
17290         stream_time in newsegment cannot be undefined.
17291
17292 2005-10-24  Wim Taymans  <wim@fluendo.com>
17293
17294         * gst/gstbus.c:
17295         Doc fix.
17296
17297         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17298         (gst_queue_loop):
17299         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17300
17301 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
17302
17303         * docs/libs/tmpl/gstdparam.sgml:
17304         * docs/libs/tmpl/gstdplinint.sgml:
17305         * docs/libs/tmpl/gstdpman.sgml:
17306         * docs/libs/tmpl/gstdpsmooth.sgml:
17307         * docs/libs/tmpl/gstunitconvert.sgml:
17308           these are obsolete
17309
17310 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17311
17312         * configure.ac:
17313           back to HEAD
17314
17315 === release 0.9.4 ===
17316
17317 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17318
17319         * configure.ac:
17320           releasing 0.9.4, "Tyrannosaurus Rex"
17321
17322 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
17323
17324         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17325         (gst_file_sink_get_current_offset):
17326           Use fseeko() and ftello() if available. When falling back on
17327           lseek() to get the current offset, fflush() first to make sure
17328           everything is up-to-date and we get the right offset.
17329
17330 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17331
17332         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17333         * gst/base/gstbasesrc.c: (gst_base_src_loop):
17334         * gst/gsterror.c: (_gst_stream_errors_init):
17335         * gst/gsterror.h:
17336         * gst/gstqueue.c: (gst_queue_loop):
17337         * po/POTFILES.in:
17338           remove prematurely added error category and clean up the instances
17339
17340 2005-10-21  Wim Taymans  <wim@fluendo.com>
17341
17342         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17343         (gst_base_sink_get_position), (gst_base_sink_query),
17344         (gst_base_sink_change_state):
17345         Simply set the right flag when going to playing, that's all
17346         we need to do instead of calling a function inside the object
17347         lock (that could take the lock as well and deadlock)
17348
17349 2005-10-21  Wim Taymans  <wim@fluendo.com>
17350
17351         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17352         (gst_base_src_loop):
17353         Don't warn, the peer element knows what to do best when
17354         the seek failed, it might try something else.
17355
17356 2005-10-21  Wim Taymans  <wim@fluendo.com>
17357
17358         * gst/base/gstbasesrc.c: (gst_base_src_init),
17359         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17360         Fix seeking.
17361
17362 2005-10-21  Wim Taymans  <wim@fluendo.com>
17363
17364         * docs/design/part-segments.txt:
17365         More docs.
17366
17367         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17368         Correctly set caps, even on the subbufer.
17369
17370 2005-10-21  Wim Taymans  <wim@fluendo.com>
17371
17372         * docs/gst/gstreamer-docs.sgml:
17373         * docs/gst/gstreamer-sections.txt:
17374         * gst/gstelement.h:
17375         * gst/gstevent.c:
17376         * gst/gstevent.h:
17377         * gst/gstmessage.h:
17378         * gst/gstpad.h:
17379         * gst/gstparse.h:
17380         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17381         * gst/gsttask.h:
17382         * gst/gstutils.c:
17383         * gst/gstutils.h:
17384         And 2% more doc coverage.
17385
17386 2005-10-21  Andy Wingo  <wingo@pobox.com>
17387
17388         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17389         position reporting.
17390
17391 2005-10-20  Wim Taymans  <wim@fluendo.com>
17392
17393         * gst/gsterror.c: (gst_error_get_message):
17394         * gst/gstparse.h:
17395         * gst/gstquery.h:
17396         * gst/gststructure.c:
17397         * gst/gsttrace.c:
17398         * gst/gstutils.c:
17399         More docs.
17400
17401 2005-10-20  Wim Taymans  <wim@fluendo.com>
17402
17403         * gst/gstbuffer.h:
17404         * gst/gstpad.c:
17405         * gst/gstparse.c:
17406         Another 1% more coverage.
17407
17408 2005-10-20  Wim Taymans  <wim@fluendo.com>
17409
17410         * docs/gst/gstreamer-sections.txt:
17411         * gst/gstelement.c: (gst_element_get_state_func),
17412         (gst_element_abort_state), (gst_element_commit_state),
17413         (gst_element_lost_state):
17414         * gst/gstevent.h:
17415         * gst/gstquery.c: (gst_query_set_position),
17416         (gst_query_parse_position), (gst_query_set_duration),
17417         (gst_query_parse_duration), (gst_query_new_convert):
17418         * gst/gstutils.c:
17419         Yay! 1% more docs coverage.
17420
17421 2005-10-20  Wim Taymans  <wim@fluendo.com>
17422
17423         * gst/gstpad.h:
17424         * gst/gstquery.c: (gst_query_set_position),
17425         (gst_query_parse_position), (gst_query_set_duration),
17426         (gst_query_parse_duration), (gst_query_new_convert):
17427         * gst/gstquery.h:
17428         * gst/gstutils.c: (gst_element_query_convert):
17429         * gst/gstutils.h:
17430         Docs and consistency fixes.
17431
17432 2005-10-20  Wim Taymans  <wim@fluendo.com>
17433
17434         * gst/gsttask.c:
17435         * gst/gsttask.h:
17436         More docs.
17437
17438 2005-10-20  Wim Taymans  <wim@fluendo.com>
17439
17440         * gst/gstbin.c: (message_check), (bin_replace_message),
17441         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17442         (update_degree), (gst_bin_sort_iterator_next),
17443         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17444         Reworked the message handling a bit, cache the messages instead of
17445         only the senders. alows us to do more in the future.
17446
17447 2005-10-20  Wim Taymans  <wim@fluendo.com>
17448
17449         * docs/design/part-TODO.txt:
17450         Update TODO
17451
17452         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17453         (gst_base_sink_query):
17454         Don't use clock time to report position when in EOS.
17455
17456 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
17457
17458         * tools/gst-inspect.c: (print_interfaces),
17459         (print_element_properties_info), (print_element_info):
17460           Fix interface output with gst-inspect -a; don't print
17461           newlines after double/float properties.
17462
17463 2005-10-20  Wim Taymans  <wim@fluendo.com>
17464
17465         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17466         (gst_base_sink_query):
17467         Speed up current position calculation.
17468
17469         * gst/base/gstbasesrc.c: (gst_base_src_query),
17470         (gst_base_src_default_newsegment):
17471         Correctly set stream position in newsegment.
17472
17473         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17474         (update_degree), (gst_bin_sort_iterator_next),
17475         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17476         * gst/gstmessage.c: (gst_message_new_custom):
17477         Clean up debugging info
17478
17479         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17480         (gst_queue_loop), (gst_queue_handle_src_query):
17481         Pause task faster.
17482
17483 2005-10-19  Wim Taymans  <wim@fluendo.com>
17484
17485         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17486         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17487         Fix query handling again.
17488
17489 2005-10-19  Wim Taymans  <wim@fluendo.com>
17490
17491         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17492         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17493         * gst/base/gstbasesrc.c: (gst_base_src_query):
17494         * gst/elements/gstfilesink.c: (gst_file_sink_query):
17495         * gst/elements/gsttypefindelement.c:
17496         (gst_type_find_handle_src_query), (find_element_get_length),
17497         (gst_type_find_element_activate):
17498         API change fix.
17499
17500         * gst/gstquery.c: (gst_query_new_position),
17501         (gst_query_set_position), (gst_query_parse_position),
17502         (gst_query_new_duration), (gst_query_set_duration),
17503         (gst_query_parse_duration), (gst_query_set_segment),
17504         (gst_query_parse_segment):
17505         * gst/gstquery.h:
17506         Bundling query position/duration is not a good idea since duration
17507         does not change much and we don't want to recalculate it for every
17508         position query, so they are separated again..
17509         Base value in segment query is not needed.
17510
17511         * gst/gstqueue.c: (gst_queue_handle_src_query):
17512         * gst/gstutils.c: (gst_element_query_position),
17513         (gst_element_query_duration), (gst_pad_query_position),
17514         (gst_pad_query_duration):
17515         * gst/gstutils.h:
17516         Updates for query API change.
17517         Added some docs here and there.
17518
17519 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17520
17521         * check/gst/gstbin.c: (GST_START_TEST):
17522         * check/gst/gstghostpad.c: (GST_START_TEST):
17523         * check/pipelines/cleanup.c: (GST_START_TEST):
17524           wait on thread to die so we can check refcount correctly
17525
17526 2005-10-18  Wim Taymans  <wim@fluendo.com>
17527
17528         * check/pipelines/stress.c: (GST_START_TEST):
17529         Make check a little more time consuming.
17530
17531 2005-10-18  Wim Taymans  <wim@fluendo.com>
17532
17533         * check/Makefile.am:
17534         * check/pipelines/stress.c: (GST_START_TEST),
17535         (simple_launch_lines_suite), (main):
17536         Small state change torture test.
17537
17538         * docs/design/part-states.txt:
17539         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17540         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17541         (gst_base_sink_change_state):
17542         Never take state lock from streaming thread, clean up ugly
17543         hacks. Unfortunatly core does not yet support nice ways to
17544         async commit state.
17545         
17546         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17547         (bin_bus_handler):
17548         Start state recalc if a STATE_DIRTY message is posted, but only
17549         on the toplevel bin.
17550
17551         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17552         (gst_element_get_state_func), (gst_element_abort_state),
17553         (gst_element_commit_state), (gst_element_lost_state),
17554         (gst_element_set_state_func), (gst_element_change_state):
17555         * gst/gstelement.h:
17556         State variables are now protected with the LOCK, the state
17557         lock is only used to serialize _set_state().
17558
17559 2005-10-18  Wim Taymans  <wim@fluendo.com>
17560
17561         * check/gst/gstbin.c: (GST_START_TEST):
17562         * check/gst/gstmessage.c: (GST_START_TEST):
17563         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17564         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17565         (bin_bus_handler):
17566         * gst/gstelement.c: (gst_element_abort_state),
17567         (gst_element_commit_state), (gst_element_lost_state):
17568         * gst/gstmessage.c: (gst_message_new_state_changed),
17569         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17570         (gst_message_new_segment_done), (gst_message_new_duration),
17571         (gst_message_parse_state_changed),
17572         (gst_message_parse_segment_start),
17573         (gst_message_parse_segment_done), (gst_message_parse_duration):
17574         * gst/gstmessage.h:
17575         * tools/gst-launch.c: (event_loop):
17576         Seriously, this is better than a previous commit as we only need
17577         to notify the fact that an element changed state in a streaming
17578         thread, marking the state of the parents dirty, hence the 
17579         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17580         message.
17581
17582 2005-10-18  Wim Taymans  <wim@fluendo.com>
17583
17584         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17585         (gst_bin_recalc_func):
17586         * gst/gstelement.c: (gst_element_set_clock),
17587         (gst_element_abort_state), (gst_element_lost_state):
17588         Cleanups, prepare for state change fixes.
17589
17590 2005-10-18  Wim Taymans  <wim@fluendo.com>
17591
17592         * gst/gstbin.h:
17593         * gst/gstelement.c: (gst_element_class_init),
17594         (gst_element_set_state), (gst_element_set_state_func):
17595         * gst/gstelement.h:
17596         Pending ABI changes.
17597         GThreadPool in GstBinClass to monitor async state changes.
17598         state_cookie in GstElement to detect concurrent gst/set state.
17599         set_state is now virtual too in case a very complicated element
17600         has to be constructed.
17601
17602 2005-10-18  Wim Taymans  <wim@fluendo.com>
17603
17604         * check/gst/gstbin.c: (GST_START_TEST):
17605         * check/gst/gstmessage.c: (GST_START_TEST):
17606         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17607         * gst/gstbin.c: (bin_bus_handler):
17608         * gst/gstelement.c: (gst_element_commit_state),
17609         (gst_element_lost_state):
17610         * gst/gstmessage.c: (gst_message_new_state_changed),
17611         (gst_message_new_segment_start), (gst_message_new_segment_done),
17612         (gst_message_new_duration), (gst_message_parse_state_changed),
17613         (gst_message_parse_segment_start),
17614         (gst_message_parse_segment_done), (gst_message_parse_duration):
17615         * gst/gstmessage.h:
17616         * tools/gst-launch.c: (event_loop):
17617         Make messages future proof.
17618         state-change gets a flag if it was a message comming from the
17619         streaming thread.
17620         segment-start/stop can also be specified in other formats.
17621         A message to notify an app that a pipeline changed playback 
17622         duration.
17623         Also fix a GstMessage leak in -launch
17624
17625 2005-10-18  Andy Wingo  <wingo@pobox.com>
17626
17627         * gst/gstelement.c (gst_element_dispose): More helpful message.
17628
17629 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17630
17631         reviewed by: <delete if not using a buddy>
17632
17633         * common/gtk-doc.mak:
17634
17635 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17636
17637         * gst/gstregistry.c: (gst_registry_scan_path_level):
17638           unref a plug-in we get that was already initialized
17639
17640 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17641
17642         * docs/gst/gstreamer-sections.txt:
17643         * docs/libs/gstreamer-libs-sections.txt:
17644         * gst/gstelement.h:
17645           add new api entries
17646           hide internal macro
17647
17648 2005-10-17  Andy Wingo  <wingo@pobox.com>
17649
17650         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17651         cleanup.
17652
17653         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17654
17655         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17656
17657         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17658         (gst_element_get_state_func): Better debug message.
17659         (gst_element_commit_state): s/INFO/DEBUG/.
17660         (gst_element_lost_state, gst_element_change_state): 
17661
17662         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17663         (gst_message_new_custom): s/INFO/LOG/.
17664
17665 2005-10-17  Michael Smith <msmith@fluendo.com>
17666
17667         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17668           Check if end time is valid using end time, not start time.
17669
17670 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17671
17672         * check/gst-libs/controller.c: (GST_START_TEST),
17673         (gst_controller_suite):
17674         * libs/gst/controller/gstcontroller.c:
17675         (gst_controlled_property_set_interpolation_mode):
17676         * libs/gst/controller/gstcontroller.h:
17677         * libs/gst/controller/gstinterpolation.c:
17678         * testsuite/controller/.cvsignore:
17679         * testsuite/controller/Makefile.am:
17680         * testsuite/controller/interpolator.c:
17681           merge controller testsuites
17682           fix broken tests
17683           remove mem-chunk from docs
17684
17685 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17686
17687         * gst/gstmemchunk.c:
17688         * gst/gstmemchunk.h:
17689         * gst/gsttrashstack.c:
17690         * gst/gsttrashstack.h:
17691           out.  get out.  you're fired.  to the Attic !
17692
17693 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17694
17695         * gst/gstcaps.c: (gst_caps_intersect):
17696           fix signedness issues in a (hopefully) correct way
17697         * gst/gstelement.c: (gst_element_pads_activate):
17698           some debugging
17699         * gst/gstobject.c: (gst_object_set_parent):
17700           some debugging
17701
17702 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17703
17704         * gst/gstvalue.h: Fix prototypes.
17705
17706 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17707
17708         * docs/gst/gstreamer-sections.txt:
17709         * gst/gst.c: (gst_version_string):
17710         * gst/gst.h:
17711         * gst/gstversion.h.in:
17712         * win32/common/libgstreamer.def:
17713           add gst_version_string ()
17714
17715 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17716
17717         * configure.ac:
17718           clean up further
17719         * gst/gst.c: (init_post):
17720         * win32/common/config.h.in:
17721           it's PLUGINDIR now
17722         * gst/gstcaps.c: (gst_caps_intersect):
17723           use gint64, the range could be bigger than a guint
17724
17725 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17726
17727         * gst/gstclock.h:
17728           document potential problem in 2038
17729
17730 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17731
17732         * gst/gstcaps.c: (gst_caps_intersect):
17733           Fix guint j diving under 0
17734
17735 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17736
17737         * configure.ac:
17738         * win32/common/config.h:
17739         * win32/common/config.h.in:
17740           check for process.h, declares getpid() on Windows
17741         * gst/gstinfo.c:
17742           include process.h if we have it
17743         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17744         * gst/gstmemchunk.h:
17745           fix signedness issues
17746         * win32/common/libgstreamer.def:
17747           fix get_type's
17748
17749 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17750
17751         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17752         fix. Because of unsigned ints, caps intersection was going nuts and
17753         trying to access structures with G_MAXUINT index. That fixes
17754         videotestsrc ! ffmpegcolorspace ! fakesink
17755         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17756         consistency.
17757
17758 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17759
17760         * configure.ac:
17761           use the gettext macro
17762         * gst/elements/gstelements.c:
17763         * gst/gst.c:
17764         * gst/indexers/gstindexers.c:
17765           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17766         * win32/common/config.h:
17767           updated config.h
17768         * win32/common/config.h.in:
17769           add the template to generate config.h
17770         * win32/common/gstenumtypes.c:
17771         * win32/common/gstversion.h:
17772           updated copies
17773
17774 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17775
17776         * gst/gst.c: (gst_version):
17777         * gst/gstversion.h.in:
17778           add the nano
17779
17780 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17781
17782         * gst/gstevent.h:
17783           Oops, add missing closing bracket.
17784
17785 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17786
17787         * configure.ac:
17788           use common m4's for argument checking
17789
17790 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17791
17792         * docs/gst/gstreamer-sections.txt:
17793         * gst/gstevent.h:
17794           Add GST_EVENT_TYPE_NAME() macro.
17795
17796 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17797
17798         * gst/gstinfo.c:
17799         * gst/gstpluginfeature.c:
17800         * gst/gsttask.c:
17801           privatize more symbols
17802
17803 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17804
17805         * configure.ac:
17806           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17807           everything that uses GStreamer API should have the includes
17808
17809 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17810
17811         * docs/gst/gstreamer-sections.txt:
17812         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17813         * gst/gstvalue.h:
17814           give each value a _get_type, removes the DATA exports
17815
17816 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * gst/gst.c:
17819         * gst/gst.h:
17820           remove _gst_registry_auto_load, not used anymore
17821         * gst/gstbin.c: (gst_bin_get_type):
17822         * gst/gstbin.h:
17823         * gst/gstelement.c: (gst_element_get_type):
17824         * gst/gstelement.h:
17825         * gst/gstobject.c: (gst_object_get_type):
17826         * gst/gstobject.h:
17827         * gst/gstpad.c: (gst_pad_get_type):
17828         * gst/gstpad.h:
17829           make _get_type functions similar, fixes data export from library
17830
17831 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17832
17833         * configure.ac:
17834           correctly make conditionals
17835         * gst/elements/Makefile.am:
17836         * gst/elements/gstelements.c:
17837           fix typo causing fdsrc not to build
17838
17839 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17840
17841         * testsuite/Makefile.am:
17842         * testsuite/bytestream/.cvsignore:
17843         * testsuite/bytestream/Makefile.am:
17844         * testsuite/bytestream/filepadsink.c:
17845         * testsuite/bytestream/gstbstest.c:
17846         * testsuite/bytestream/test1.c:
17847         * testsuite/bytestream/testfile1:
17848         * testsuite/caps/normalisation.c:
17849         * testsuite/caps/random.c: (main):
17850         * testsuite/cleanup/.cvsignore:
17851         * testsuite/cleanup/Makefile.am:
17852         * testsuite/cleanup/cleanup1.c:
17853         * testsuite/cleanup/cleanup2.c:
17854         * testsuite/cleanup/cleanup3.c:
17855         * testsuite/cleanup/cleanup4.c:
17856         * testsuite/cleanup/cleanup5.c:
17857         * testsuite/controller/interpolator.c:
17858         * testsuite/debug/printf_extension.c: (main):
17859         * testsuite/elements/tee.c:
17860         * testsuite/negotiation/.cvsignore:
17861         * testsuite/negotiation/Makefile.am:
17862         * testsuite/negotiation/pad_link.c:
17863         * testsuite/pad/Makefile.am:
17864         * testsuite/pad/chainnopull.c:
17865         * testsuite/pad/getnopush.c:
17866         * testsuite/pad/link.c:
17867         * testsuite/refcounting/sched.c: (create_pipeline):
17868         * testsuite/registry/Makefile.am:
17869         * testsuite/registry/gst-print-formats.c:
17870         * testsuite/schedulers/.cvsignore:
17871         * testsuite/schedulers/142183-2.c:
17872         * testsuite/schedulers/142183.c:
17873         * testsuite/schedulers/143777-2.c:
17874         * testsuite/schedulers/143777.c:
17875         * testsuite/schedulers/147713.c:
17876         * testsuite/schedulers/147819.c:
17877         * testsuite/schedulers/147894-2.c:
17878         * testsuite/schedulers/147894.c:
17879         * testsuite/schedulers/Makefile.am:
17880         * testsuite/schedulers/group_link.c:
17881         * testsuite/schedulers/queue_link.c:
17882         * testsuite/schedulers/relink.c:
17883         * testsuite/schedulers/unlink.c:
17884         * testsuite/schedulers/unref.c:
17885         * testsuite/schedulers/useless_iteration.c:
17886         * testsuite/states/bin.c:
17887           clean out/remove some stuff from the testsuite directories
17888
17889 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17890
17891         * configure.ac:
17892           check for some headers
17893         * gst/elements/Makefile.am:
17894         * gst/elements/gstelements.c:
17895           don't compile fdsrc without sys/socket.h
17896         * gst/indexers/Makefile.am:
17897         * gst/indexers/gstindexers.c: (plugin_init):
17898           don't compile fileindex without mmap
17899
17900 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17901
17902         * configure.ac:
17903           reorganize
17904           clean up
17905           document more
17906           remove cruft
17907         * check/Makefile.am:
17908         * docs/gst/Makefile.am:
17909         * examples/helloworld/Makefile.am:
17910         * gst/Makefile.am:
17911         * gst/base/Makefile.am:
17912         * gst/check/Makefile.am:
17913         * gst/elements/Makefile.am:
17914         * gst/indexers/Makefile.am:
17915         * gst/parse/Makefile.am:
17916         * libs/gst/controller/Makefile.am:
17917         * libs/gst/dataprotocol/Makefile.am:
17918         * examples/helloworld/helloworld.c: (event_loop):
17919           compile fixes, though it's not being compiled currently
17920
17921 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17922
17923         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17924           Add some simple tests for the new taglist date API.
17925
17926 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17927
17928         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17929         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17930           Beautify 'last-message' output: print 'none' for buffer timestamps
17931           and durations if none is set; improve alignment with next messages.
17932
17933 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17934
17935         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17936         * gst/gstpluginfeature.h:
17937         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17938         * gst/gstregistry.h:
17939         * docs/gst/gstreamer-sections.txt:
17940           Add new API to check plugin feature version requirements.
17941
17942         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17943           Some basic tests for the above.         
17944
17945 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17946
17947         * gst/gststructure.c: (gst_structure_to_string):
17948           guard against NULL printf - happens when for example
17949           a message structure with GstClock gets serialized
17950
17951 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17952
17953         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17954           Fix presumable copy'n'pasto.
17955
17956 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17957
17958         * gst/elements/gstfakesrc.h:
17959         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17960         * gst/elements/gsttypefindelement.c:
17961           fix some signedness
17962         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17963           I wonder if this could actually write +2GB files before
17964
17965 2005-10-13  Andy Wingo  <wingo@pobox.com>
17966
17967         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17968         Fix Timmeke Waymans bug.
17969         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17970         string of the proper length to gst_caps_from_string. There's a
17971         potential for, before this fix, that this could cause someone
17972         connecting over the network to cause a segfault if the payload is
17973         not NUL-terminated.
17974
17975 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17976
17977         * docs/design/draft-push-pull.txt:
17978         * docs/design/part-overview.txt:
17979         * docs/random/TODO-pre-0.9:
17980         * docs/random/old/ChangeLog.gstreamer:
17981         * gst/base/gstpushsrc.c:
17982         * gst/gstclock.c:
17983           fixed typos
17984
17985 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17986
17987         * gst/glib-compat.c: (gst_flags_get_first_value):
17988         * gst/glib-compat.h:
17989         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17990         (gst_value_compare_double), (gst_value_serialize_flags):
17991           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17992           infinite loop
17993
17994 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17995
17996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17997         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17998           fix up debugging
17999         * tools/gst-launch.c: (event_loop):
18000           print out clock nicely
18001
18002 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18003
18004         * docs/gst/gstreamer-sections.txt:
18005         * gst/gsttaglist.h:
18006         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18007         (gst_tag_list_get_date_index):
18008           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18009           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18010
18011 2005-10-13  Julien MOUTTE  <julien@moutte.net>
18012
18013         * gst/base/gstcollectpads.c: (gst_collectpads_event),
18014         (gst_collectpads_chain):
18015         * gst/base/gstcollectpads.h: Handle newsegment and store informations
18016         in CollectData.
18017
18018 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18019
18020         * docs/gst/gstreamer-sections.txt:
18021         * gst/gst.c:
18022         * gst/gsterror.h:
18023         * tools/gst-inspect.c: (main):
18024         * tools/gst-launch.c: (main):
18025         * tools/gst-run.c: (main):
18026         * tools/gst-xmlinspect.c: (main):
18027           fix GOption context leaks
18028           doc fixes
18029
18030 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18031
18032         * gst/gstbus.c:
18033           use HAVE_UNISTD_H
18034         * win32/common/config.h:
18035           update config
18036         * win32/vs6/grammar.dsp:
18037         * win32/vs6/libgstelements.dsp:
18038         * win32/vs6/libgstreamer.dsp:
18039           update vs6 files
18040
18041 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18042
18043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18044         * gst/base/gstbasesrc.c: (gst_base_src_query):
18045           fix more guint64<->gdouble conversions
18046
18047 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18048
18049         * Makefile.am:
18050           add win32-update target
18051         * win32/common/gstconfig.h:
18052         * win32/common/gstenumtypes.c:
18053         * win32/common/gstenumtypes.h:
18054         * win32/common/gstversion.h:
18055           add files that visual studio can't generate
18056
18057 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18058
18059         * Makefile.am:
18060           add a win32-update target
18061         * configure.ac:
18062
18063 2005-10-12  Wim Taymans  <wim@fluendo.com>
18064
18065         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18066         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18067         * gst/gstelement.c: (gst_element_commit_state),
18068         (gst_element_set_state):
18069         Protect flags with proper lock.
18070         unref provided cached clock in dispose.
18071
18072 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18073
18074         * gst/gst.c:
18075         * gst/gstminiobject.h:
18076         * gst/gstpad.h:
18077         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18078           removed unused flags from miniobject
18079           doc fixes
18080
18081 2005-10-12  Wim Taymans  <wim@fluendo.com>
18082
18083         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18084         (gst_file_sink_event), (gst_file_sink_render):
18085         Flush before seeking.
18086
18087 2005-10-12  Andy Wingo  <wingo@pobox.com>
18088
18089         * gst/gst.c (gst_init_check): Ignore unknown options, as has
18090         always been the case.
18091
18092 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18093
18094         * check/gst/gstbin.c: (GST_START_TEST):
18095         * docs/gst/gstreamer-sections.txt:
18096         * gst/base/gstbasesink.c: (gst_base_sink_init):
18097         * gst/base/gstbasesrc.c: (gst_base_src_init),
18098         (gst_base_src_get_range), (gst_base_src_check_get_range),
18099         (gst_base_src_start), (gst_base_src_stop):
18100         * gst/base/gstbasesrc.h:
18101         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18102         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18103         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18104         (bin_bus_handler):
18105         * gst/gstbin.h:
18106         * gst/gstbuffer.h:
18107         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18108         * gst/gstbus.h:
18109         * gst/gstelement.c: (gst_element_is_locked_state),
18110         (gst_element_set_locked_state), (gst_element_commit_state),
18111         (gst_element_set_state):
18112         * gst/gstelement.h:
18113         * gst/gstindex.c: (gst_index_init):
18114         * gst/gstindex.h:
18115         * gst/gstminiobject.h:
18116         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18117         (gst_object_set_parent):
18118         * gst/gstobject.h:
18119         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18120         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18121         * gst/gstpad.h:
18122         * gst/gstpadtemplate.h:
18123         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18124         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18125         * gst/gstpipeline.h:
18126         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18127         (gst_file_index_commit):
18128         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18129         * testsuite/pad/link.c: (gst_test_src_init),
18130         (gst_test_filter_init), (gst_test_sink_init):
18131         * testsuite/states/locked.c: (main):
18132           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18133           moved bitshift from macro to enum definition
18134
18135 2005-10-12  Wim Taymans  <wim@fluendo.com>
18136
18137         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18138         * gst/elements/gstfilesink.c: (gst_file_sink_event),
18139         (gst_file_sink_render):
18140         Some more debugging info.
18141
18142 2005-10-12  Wim Taymans  <wim@fluendo.com>
18143
18144         * docs/design/part-states.txt:
18145         * tools/gst-launch.c: (main):
18146         Some doc updates.
18147         Revert non-intentional change.
18148
18149 2005-10-12  Wim Taymans  <wim@fluendo.com>
18150
18151         * check/gst/gstbin.c: (GST_START_TEST):
18152         * check/gst/gstelement.c: (GST_START_TEST):
18153         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18154         * check/gst/gstghostpad.c: (GST_START_TEST):
18155         * check/gst/gstpipeline.c: (GST_START_TEST):
18156         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18157         * check/states/sinks.c: (GST_START_TEST):
18158         * gst/elements/gsttypefindelement.c: (stop_typefinding):
18159         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18160         (gst_bin_remove_func), (gst_bin_get_state_func),
18161         (gst_bin_recalc_state), (gst_bin_change_state_func),
18162         (bin_bus_handler):
18163         * gst/gstelement.c: (gst_element_get_state_func),
18164         (gst_element_get_state), (gst_element_abort_state),
18165         (gst_element_commit_state), (gst_element_set_state),
18166         (gst_element_change_state), (gst_element_change_state_func):
18167         * gst/gstelement.h:
18168         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18169         (gst_pipeline_provide_clock_func):
18170         * gst/gstutils.c: (gst_element_link_pads_filtered):
18171         * tools/gst-launch.c: (main):
18172         * tools/gst-typefind.c: (main):
18173         Use GstClockTime in _get_state() instead of GTimeVal.
18174         Remove old code in gstutils.c
18175
18176 2005-10-12  Andy Wingo  <wingo@pobox.com>
18177
18178         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18179         removed.
18180
18181         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18182         there is no task. Shouldn't affect any code, as nothing in our
18183         plugins checks this return value.
18184         (gst_pad_stop_task): Also take the stream lock if the pad has no
18185         task. Docs updated.
18186
18187 2005-10-12  Wim Taymans  <wim@fluendo.com>
18188
18189         * gst/gstpad.c: (pre_activate), (post_activate),
18190         (gst_pad_activate_pull), (gst_pad_activate_push):
18191         Cleanup activation code. Reset old state if
18192         activation failed.
18193
18194 2005-10-12  Wim Taymans  <wim@fluendo.com>
18195
18196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18197         (gst_base_sink_change_state):
18198         No need to prerol after receiving EOS.
18199
18200         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18201         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18202         * gst/elements/gstidentity.c: (gst_identity_event):
18203         Print events more verbosely.
18204
18205 2005-10-12  Wim Taymans  <wim@fluendo.com>
18206
18207         * check/Makefile.am:
18208         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18209         * check/states/sinks2.c:
18210         Moved sinks2 testcode in sinks check.
18211
18212         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18213         (gst_bin_remove_func), (gst_bin_recalc_state),
18214         (gst_bin_change_state_func), (bin_bus_handler):
18215         Fix potential race condition when _get_state() iterated over an
18216         ASYNC element right before it posted a state completion.
18217
18218         * gst/gstclock.h:
18219         Do proper cast here.
18220
18221         * gst/gstevent.c: (gst_event_new_newsegment),
18222         (gst_event_parse_newsegment):
18223         A playback rate of 0.0 is not allowed.
18224
18225 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18226
18227         * win32/common/config.h:
18228         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18229         (_trewinddir), (_ttelldir), (_tseekdir):
18230         * win32/common/dirent.h:
18231         * win32/common/gtchar.h:
18232         * win32/common/libgstbase.def:
18233         * win32/common/libgstreamer.def:
18234         * win32/vs6/grammar.dsp:
18235         * win32/vs6/gst_inspect.dsp:
18236         * win32/vs6/gst_launch.dsp:
18237         * win32/vs6/gstreamer.dsw:
18238         * win32/vs6/libgstbase.dsp:
18239         * win32/vs6/libgstelements.dsp:
18240         * win32/vs6/libgstreamer.dsp:
18241           Visual Studio 6 project files, and a new common directory.
18242           Phear.
18243
18244 2005-10-11  Wim Taymans  <wim@fluendo.com>
18245
18246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18247         (gst_base_sink_do_sync), (gst_base_sink_query),
18248         (gst_base_sink_change_state):
18249         * gst/base/gstbasesink.h:
18250         Correctly parse newsegment info.
18251
18252 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18253
18254         * gst/gst.c: (init_post):
18255           split plugin paths correctly
18256
18257 2005-10-11  Wim Taymans  <wim@fluendo.com>
18258
18259         * check/gst/gstevent.c: (GST_START_TEST):
18260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18261         (gst_base_sink_change_state):
18262         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18263         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18264         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18265         * gst/gstevent.c: (gst_event_new_newsegment),
18266         (gst_event_parse_newsegment):
18267         * gst/gstevent.h:
18268         Added extra flag to newsegment for future API freeze.
18269         Updated check and base elements.
18270
18271 2005-10-11  Julien MOUTTE  <julien@moutte.net>
18272
18273         * gst/base/gstcollectpads.c: (gst_collectpads_init),
18274         (gst_collectpads_add_pad), (gst_collectpads_pop),
18275         (gst_collectpads_event), (gst_collectpads_chain):
18276         * gst/base/gstcollectpads.h: Handle EOS correctly.
18277
18278 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18279
18280         * tools/gst-launch.c: (main):
18281           more null protecting
18282
18283 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18284
18285         * gst/gst-i18n-lib.h:
18286           check for ENABLE_NLS, not GETTEXT_PACKAGE
18287         * gst/gstregistry.c: (gst_registry_add_plugin),
18288         (gst_registry_scan_path_level),
18289         (_gst_registry_remove_cache_plugins):
18290           protect possibly NULL strings
18291         * gst/parse/types.h:
18292           config.h already included before
18293         * tools/gst-inspect.c: (main):
18294           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18295           check for ENABLE_NLS, not GETTEXT_PACKAGE
18296         * tools/gst-launch.c: (main):
18297           check for ENABLE_NLS, not GETTEXT_PACKAGE
18298
18299 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18300
18301         * configure.ac:
18302           if we don't have glib, fail before testing 2.8
18303         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18304           fix a leak, should fix plugins-base testsuite
18305
18306 2005-10-11  Andy Wingo  <wingo@pobox.com>
18307
18308         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18309         take the mode we're going to as an arg. Go head and set the mode
18310         and flushing flags now, so that if the activate function starts a
18311         thread all the flags will be in the right state.
18312         (post_activate): Renamed also. Just handle making sure streaming
18313         finishes for the deactivation case, and setting the deactivated
18314         mode.
18315         (gst_pad_set_active): Complain loudly if deactivation fails.
18316         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18317         (gst_pad_activate_push): Adapt to pre/post_activate changes,
18318         remove the terrible hack.
18319
18320 2005-10-11  Wim Taymans  <wim@fluendo.com>
18321
18322         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18323         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18324         (gst_bin_recalc_state), (gst_bin_change_state_func),
18325         (gst_bin_dispose), (bin_bus_handler):
18326         * gst/gstbin.h:
18327         Prepare to make current EOS message queue more generic.
18328         Fix some typos.
18329
18330         * gst/gstevent.c: (gst_event_new_newsegment),
18331         (gst_event_parse_newsegment):
18332         * gst/gstevent.h:
18333         Rename base to stream_time.
18334
18335         * gst/gstmessage.h:
18336         Fix typo in docs.
18337
18338 2005-10-11  Wim Taymans  <wim@fluendo.com>
18339
18340         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18341         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18342         (gst_bin_change_state_func), (bin_bus_handler):
18343         * gst/gstbin.h:
18344         Work on proper clock selection.
18345
18346 2005-10-11  Edward Hervey  <edward@fluendo.com>
18347
18348         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
18349         * libs/gst/controller/gstcontroller.h:
18350         Added GList* version of _remove_properties() in order to be able to wrap
18351         it in bindings.
18352
18353 2005-10-11  Wim Taymans  <wim@fluendo.com>
18354
18355         * docs/design/part-states.txt:
18356         Some more docs.
18357
18358         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18359         (gst_bin_change_state_func), (bin_bus_handler):
18360         Doc updates. Don't distribute the same clock over and over again.
18361
18362         * gst/gstclock.c:
18363         * gst/gstclock.h:
18364         Doc updates.
18365
18366         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18367         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18368         (gst_pad_send_event):
18369         * gst/gstpad.h:
18370         Make probe emission threadsafe again.
18371         Register quarks and move _get_name() from utils.
18372         Doc updates.
18373
18374         * gst/gstpipeline.c: (gst_pipeline_class_init),
18375         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18376         Only redistribute the clock of it changed.
18377
18378         * gst/gstsystemclock.h:
18379         Doc updates. 
18380
18381         * gst/gstutils.c:
18382         * gst/gstutils.h:
18383         Moved the _flow_get_name() to GstPad.
18384
18385 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18386
18387         * check/gst-libs/gdp.c: (GST_START_TEST):
18388         * check/gst/gstcaps.c: (GST_START_TEST):
18389         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18390         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18391         (gst_dp_packet_from_caps):
18392           fix more valgrind warnings before turning up the heat
18393
18394 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18395
18396         * gst/parse/grammar.y:
18397           some cleanup before the hacking
18398
18399 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18400
18401         * gst/base/gstbasesrc.c: (gst_base_src_query):
18402           use conversions
18403         * gst/gstutils.c: (gst_guint64_to_gdouble),
18404         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18405         * gst/gstutils.h:
18406           externalize, basesrc uses it
18407           obviously the implementation needs testing
18408
18409 2005-10-10  Wim Taymans  <wim@fluendo.com>
18410
18411         * tests/sched/Makefile.am:
18412         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18413         (make_pipeline3), (make_pipeline4), (print_elem), (main):
18414
18415 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18416
18417         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18418           apparently converting from guint64 to double is not implemented
18419           on MSVC
18420
18421 2005-10-10  Wim Taymans  <wim@fluendo.com>
18422
18423         * check/Makefile.am:
18424         * check/generic/states.c: (GST_START_TEST):
18425         * check/gst/gstbin.c: (GST_START_TEST):
18426         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18427         * check/states/sinks.c: (GST_START_TEST):
18428         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18429         (main):
18430         Check fixes, use API as stated in design docs, remove hacks.
18431
18432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18433         (gst_base_sink_change_state):
18434         Catch stopping our task while we're shutting down.
18435
18436         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18437         (gst_bin_remove_func), (gst_bin_get_state_func),
18438         (gst_bin_recalc_state), (gst_bin_change_state_func),
18439         (bin_bus_handler):
18440         * gst/gstbin.h:
18441         * gst/gstelement.c: (gst_element_init),
18442         (gst_element_get_state_func), (gst_element_abort_state),
18443         (gst_element_commit_state), (gst_element_lost_state),
18444         (gst_element_set_state), (gst_element_change_state),
18445         (gst_element_change_state_func):
18446         * gst/gstelement.h:
18447         New state change algorithm (see #318116)
18448
18449         * gst/gstpipeline.c: (gst_pipeline_class_init),
18450         (gst_pipeline_init), (gst_pipeline_set_property),
18451         (gst_pipeline_get_property), (do_pipeline_seek),
18452         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18453         * gst/gstpipeline.h:
18454         Remove crude state change hacks.
18455
18456         * gst/gstutils.h:
18457         Remove crude hacks.
18458
18459         * tools/gst-launch.c: (main):
18460         Fixes for state change. Needs some more work to fully use the
18461         new stuff.
18462
18463 2005-10-10  Andy Wingo  <wingo@pobox.com>
18464
18465         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18466
18467         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18468         this flag, but it's not even in GLib 2.6. Odd. Hack around the
18469         issue.
18470
18471 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18472
18473         * gst/gstiterator.c: (gst_iterator_new):
18474           Fix my previous commit: GTypes passed to gst_iterator_new()
18475           can be fundamental types.
18476
18477 2005-10-10  Wim Taymans  <wim@fluendo.com>
18478
18479         * gst/gstelement.c: (gst_element_iterate_pad_list),
18480         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18481         (gst_element_iterate_sink_pads):
18482         Use src/sink pads lists for the respective iterators instead
18483         of filtering.
18484
18485 2005-10-10  Andy Wingo  <wingo@pobox.com>
18486
18487         Merged in popt removal + GOption addition patch from Ronald, bug
18488         #169772.
18489
18490         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18491         GstElement macros around, remove popt-related symbols, add goption
18492         stuff.
18493
18494         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18495         
18496         * docs/gst/Makefile.am:
18497         * docs/libs/Makefile.am: No POPT_CFLAGS.
18498         
18499         * examples/manual/Makefile.am:
18500         * docs/manual/basics-init.xml: Doc updates with an example.
18501         
18502         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18503         (gst_init), (parse_one_option), (parse_goption_arg):
18504         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18505         bit of hand merging and debugging to get the GOption stuff working
18506         tho.
18507         
18508         * tests/Makefile.am:
18509         * tools/Makefile.am:
18510         * tools/gst-inspect.c: (main):
18511         * tools/gst-launch.c: (main):
18512         * tools/gst-run.c: (main):
18513         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18514
18515 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18516
18517         * gst/gstiterator.c: (gst_iterator_new):
18518           Add assertions to make sure passed GType is likely to really
18519           be a GType (as the compiler won't catch it if the size and
18520           GType arguments get mixed up, see #318447).
18521
18522 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18523
18524         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18525
18526         * gst/gstbin.c: (gst_bin_iterate_sorted):
18527           Pass GType and size arguments to gst_iterator_new() in the right
18528           order (maybe we should make _new() take the GType as first argument
18529           just like _new_list()?) (#318447).
18530           
18531
18532 2005-10-10  Wim Taymans  <wim@fluendo.com>
18533
18534         * gst/gstelement.c: (gst_element_finalize):
18535         And free the GStaticRecMutex too
18536
18537 2005-10-10  Andy Wingo  <wingo@pobox.com>
18538
18539         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18540         Allocate and free the mutex properly.
18541
18542         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18543         New macros.
18544         (GstElement): The state_lock is now recursive. Rebuild your
18545         plugins, suckers. Old macros adapted.
18546
18547         * docs/gst/gstreamer-sections.txt: Doc updates.
18548
18549         * gst/gstutils.h:
18550         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18551         (g_static_rec_cond_wait): Ported from state changes patch, while
18552         we wait on bug #317802 to be solved in a well-distributed GLib.
18553
18554         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18555         gst_element_change_state, variable name changes.
18556         (gst_element_change_state): Split out of gst_element_set_state in
18557         preparation for the state change merge. Doesn't pay attention to
18558         the 'transition' argument.
18559         (gst_element_set_state): Updates, hopefully purely cosmetic.
18560         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18561         state change patch.
18562         (gst_element_get_state_func): Renamed from get_state, cosmetic
18563         changes.
18564
18565 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18566
18567         * gst/elements/gstelements.c:
18568         * win32/GStreamer.vcproj:
18569         * win32/config.h:
18570         * win32/dirent.c: (_tseekdir):
18571         * win32/gst-inspect.vcproj:
18572         * win32/gst-launch.vcproj:
18573         * win32/gstconfig.h:
18574         * win32/gstelements.vcproj:
18575         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18576         * win32/gstreamer.def:
18577         * win32/msvc71.sln:
18578           updates for the win32 build (patch from Sebastien Moutte)
18579
18580 2005-10-10  Andy Wingo  <wingo@pobox.com>
18581
18582         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18583         gst_bin_get_state, cleaned up (but no logic changes).
18584         (bin_element_is_sink): Comment updates.
18585         (sink_iterator_filter): Remove needless cast.
18586         (gst_bin_iterate_sinks): Doc update.
18587         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18588         cleaned up (but no logic changes).
18589
18590         * check/states/sinks.c (test_src_sink): Cleanups from the state
18591         change patch.
18592         (test_livesrc_sink): Sync on the state.
18593
18594         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18595         the state change patch.
18596
18597         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18598         change patch.
18599
18600         * check/gst/gstbin.c: Merge in some style fixes and additional
18601         checks from Wim's state change patch.
18602
18603 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18604
18605         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18606         (gst_type_find_helper):
18607           Check whether we have the requested data already in our list of
18608           cached buffers before pulling a new buffer; also make the buffer
18609           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18610
18611 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18612
18613         * gst/gstcaps.c:
18614         * gst/gstevent.c:
18615           doc updates
18616         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18617           don't use long long, it's not portable.  Replacing with
18618           gint64 seems to work; let's hope no skeletons fall out of the closet.
18619
18620 2005-10-10  Andy Wingo  <wingo@pobox.com>
18621
18622         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18623
18624 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18625
18626         * docs/gst/gstreamer-sections.txt:
18627         * gst/gstevent.c:
18628         * gst/gstevent.h:
18629         * gst/gstinfo.c:
18630         * gst/gstinfo.h:
18631         * gst/gstmessage.c: (gst_message_parse_state_changed):
18632         * gst/gstpad.c:
18633         * gst/gstpad.h:
18634           more docs, fix compilation
18635
18636 2005-10-09  Philippe Khalaf <burger@speedy.org>
18637         * gst/gstmessage.c:
18638           Fixed a few forgotten variables on previous commit
18639
18640 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18641
18642         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18643           Fix evil typefind crasher: getrange() might return a short
18644           buffer at the end of a file, but gst_type_find_peek() must
18645           either return the full data as requested or NULL, but
18646           never a short buffer.
18647
18648 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18649
18650         * gst/gstmessage.c: (gst_message_new_state_changed),
18651         (gst_message_parse_state_changed):
18652         * gst/gstmessage.h:
18653           don't use "new", it's a C++ keyword
18654
18655 2005-10-08  Wim Taymans  <wim@fluendo.com>
18656
18657         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18658         * gst/gstelement.c: (gst_element_post_message):
18659         * gst/gstpipeline.c: (gst_pipeline_change_state):
18660         Small docs and debug updates.
18661
18662 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18663
18664         * docs/gst/gstreamer-sections.txt:
18665         * gst/gstelementfactory.c:
18666         * gst/gstevent.c:
18667         * gst/gsttaglist.c:
18668           more docs
18669
18670 2005-10-08  Wim Taymans  <wim@fluendo.com>
18671
18672         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18673         (gst_bin_dispose), (bin_bus_handler):
18674         Fix typos, add comments.
18675         Clear EOS list when going to PAUSED from any direction and do it
18676         in a threadsafe way.
18677         Get base time in a threadsafe way too.
18678         Fix confusing debug in the change_state function.
18679         Various other small cleanups.
18680         
18681         * gst/gstelement.c: (gst_element_post_message):
18682         Fix very verbose bus posting code.
18683
18684         * gst/gstpipeline.c: (gst_pipeline_class_init),
18685         (gst_pipeline_set_property), (gst_pipeline_get_property),
18686         (gst_pipeline_change_state):
18687         Small ARG_ -> PROP_ cleanup
18688
18689 2005-10-08  Wim Taymans  <wim@fluendo.com>
18690
18691         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18692         Do a less CPU demanding EOS check because we can.
18693
18694 2005-10-08  Wim Taymans  <wim@fluendo.com>
18695
18696         * libs/gst/dataprotocol/dataprotocol.c:
18697         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18698         (gst_dp_packet_from_event):
18699         * libs/gst/dataprotocol/dataprotocol.h:
18700         * libs/gst/dataprotocol/dp-private.h:
18701         It's about time we bump the version number.
18702         Since event types don't fit in the guint8 anymore describing
18703         the payload type, make payload type 16 bits wide.
18704
18705 2005-10-08  Wim Taymans  <wim@fluendo.com>
18706
18707         * docs/design/part-TODO.txt:
18708         * docs/design/part-clocks.txt:
18709         * docs/design/part-events.txt:
18710         * docs/design/part-gstbin.txt:
18711         * docs/design/part-gstelement.txt:
18712         * docs/design/part-gstpipeline.txt:
18713         * docs/design/part-live-source.txt:
18714         * docs/design/part-messages.txt:
18715         * docs/design/part-overview.txt:
18716         * docs/design/part-states.txt:
18717         Many doc updates.
18718
18719 2005-10-08  Wim Taymans  <wim@fluendo.com>
18720
18721         * gst/gstevent.c:
18722         * gst/gstevent.h:
18723         Fix event quark registration.
18724         Add some space between events so we can insert them in the
18725         right groups.
18726
18727 2005-10-08  Wim Taymans  <wim@fluendo.com>
18728
18729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18730         (gst_base_sink_handle_buffer):
18731         Better log message.
18732
18733         * gst/gstbus.h:
18734         * gst/gstelement.h:
18735         More docs.
18736
18737         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18738         (gst_queue_set_property), (gst_queue_get_property):
18739         * gst/gstqueue.h:
18740         Remove old unused properties.
18741
18742 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18743         * docs/gst/gstreamer-sections.txt:
18744         * gst/gstmessage.c:
18745         * gst/gstmessage.h:
18746         * gst/gstminiobject.c:
18747         * gst/gstminiobject.h:
18748         * gst/gstobject.h:
18749         * gst/gstpad.h:
18750         * gst/gstutils.h:
18751           lots of new docs and doc fixes
18752
18753 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18754
18755         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18756         * gst/gstplugin.h:
18757         * gst/gstregistry.c: (gst_registry_lookup_locked),
18758         (gst_registry_scan_path_level):
18759         * gst/gstregistryxml.c: (load_plugin):
18760           Only ever load one plugin for a given plugin basename.
18761           This ensures correct overriding of GST_PLUGIN_PATH over
18762           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18763           system installed plugins.
18764
18765 2005-10-08  Wim Taymans  <wim@fluendo.com>
18766
18767         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18768         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18769         Prepare for doing QOS.
18770
18771 2005-10-08  Wim Taymans  <wim@fluendo.com>
18772
18773         * check/gst/gstbin.c: (GST_START_TEST):
18774         * check/pipelines/cleanup.c: (GST_START_TEST):
18775         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18776         Allow new clock message too.
18777
18778 2005-10-08  Wim Taymans  <wim@fluendo.com>
18779
18780         * gst/gstmessage.c: (gst_message_new_error),
18781         (gst_message_new_warning), (gst_message_new_tag),
18782         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18783         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18784         (gst_message_new_segment_start), (gst_message_new_segment_done),
18785         (gst_message_parse_state_changed),
18786         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18787         (gst_message_parse_new_clock):
18788         * gst/gstmessage.h:
18789         Also carry the clock in question.
18790
18791 2005-10-08  Wim Taymans  <wim@fluendo.com>
18792
18793         * gst/gstmessage.c: (gst_message_new_custom),
18794         (gst_message_new_eos), (gst_message_new_error),
18795         (gst_message_new_warning), (gst_message_new_tag),
18796         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18797         (gst_message_new_new_clock), (gst_message_new_segment_start),
18798         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18799         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18800         * gst/gstmessage.h:
18801         Clean up.
18802         Added clock related messages.
18803
18804         * gst/gstpipeline.c: (gst_pipeline_change_state):
18805         Post message when the clock changed.
18806
18807         * tools/gst-launch.c: (event_loop):
18808         Print new clock.
18809
18810 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18811
18812         * tools/gst-inspect.c: (print_element_properties_info):
18813           Can't pass NULL strings to g_print() on windows.
18814
18815 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18816
18817         * docs/Makefile.am:
18818         * docs/gst/Makefile.am:
18819         * docs/gst/gstreamer-docs.sgml:
18820         * docs/gst/running.xml:
18821         * docs/version.entities.in:
18822           add a chapter on running GStreamer.
18823           document GST_DEBUG and GST_PLUGIN* env vars
18824
18825 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18826
18827         * Makefile.am:
18828           remove include dir
18829         * configure.ac:
18830           remove PLUGINS_BUILDDIR stuff
18831         * gst/gst.c: (init_post):
18832           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18833         * idiottest.mak:
18834           remove, it was condescending and not needed
18835
18836 2005-10-08  Wim Taymans  <wim@fluendo.com>
18837
18838         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18839         (gst_base_sink_handle_object), (gst_base_sink_event),
18840         (gst_base_sink_wait), (gst_base_sink_handle_event),
18841         (gst_base_sink_change_state):
18842         * gst/base/gstbasesink.h:
18843         Repost EOS message while going to PLAYING if still EOS.
18844         Make sure that when receiving a FLUSH_START we don't attempt
18845         to sync on the clock anymore.
18846
18847 2005-10-08  Wim Taymans  <wim@fluendo.com>
18848
18849         * tools/gst-launch.c: (event_loop):
18850         Better message printout.
18851
18852 2005-10-08  Wim Taymans  <wim@fluendo.com>
18853
18854         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18855         (gst_bin_child_proxy_get_children_count):
18856         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18857         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18858         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18859         (gst_child_proxy_set_valist):
18860         * gst/parse/grammar.y:
18861         Make ChildProxy threadsafe and fix mem leaks.
18862
18863 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18864
18865         * gst/gst.c: (init_post):
18866           debug the GST_PLUGIN_ env vars
18867
18868 2005-10-08  Wim Taymans  <wim@fluendo.com>
18869
18870         * check/gst/gstbin.c: (GST_START_TEST):
18871         * check/gst/gstmessage.c: (GST_START_TEST):
18872         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18873         * gst/gstelement.c: (gst_element_commit_state),
18874         (gst_element_lost_state):
18875         * gst/gstmessage.c: (gst_message_new_state_changed),
18876         (gst_message_parse_state_changed):
18877         * gst/gstmessage.h:
18878         * tools/gst-launch.c: (event_loop):
18879         Added extra field to STATE_CHANGE message with the pending
18880         state, which will be different from the new state soon.
18881
18882 2005-10-08  Wim Taymans  <wim@fluendo.com>
18883
18884         * gst/gstbus.c: (gst_bus_pop):
18885         * gst/gstclock.c:
18886         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18887         Small cleanups and doc updates.
18888
18889 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18890
18891         * gst/gst.c: (init_pre):
18892         * gst/gstbin.c: (gst_bin_add_func):
18893           log distributing clocks and base time
18894         * gst/gstregistry.c: (gst_registry_add_plugin),
18895         (gst_registry_scan_path_level), (gst_registry_scan_path):
18896           clean up the debugging output a little
18897         * gst/gstutils.c: (gst_element_state_get_name):
18898           warn about a memleak (I've actually seen this be used, though
18899           it was probably a bug)
18900
18901 2005-10-07  Wim Taymans  <wim@fluendo.com>
18902
18903         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18904         (gst_base_src_init), (gst_base_src_default_newsegment),
18905         (gst_base_src_newsegment), (gst_base_src_do_seek),
18906         (gst_base_src_loop), (gst_base_src_start):
18907         * gst/base/gstbasesrc.h:
18908         Make the newsegment event customizable by subclasses.
18909
18910 2005-10-07  Wim Taymans  <wim@fluendo.com>
18911
18912         * gst/gstevent.c: (gst_event_new_buffersize),
18913         (gst_event_parse_buffersize):
18914         * gst/gstevent.h:
18915         New event for future idea.
18916
18917 2005-10-07  Andy Wingo  <wingo@pobox.com>
18918
18919         * gst/gstelement.c (gst_element_post_message): Doc update.
18920
18921         * docs/gst/gstreamer-sections.txt: Update.
18922
18923         * gst/gstmessage.c (gst_message_new_application): Made into a
18924         function like honest API calls.
18925         (gst_message_new_element): New message type.
18926
18927         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18928
18929         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18930         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18931         times.
18932
18933         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18934         NO_PREROLL from gst_element_change_state to fall through.
18935
18936 2005-10-07  Wim Taymans  <wim@fluendo.com>
18937
18938         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18939         (gst_ghost_pad_do_activate_push):
18940         Activating a ghostpad with no internal pad in push mode
18941         is ok.
18942
18943 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18944
18945         * gst/gstobject.h:
18946           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18947           Fixes compilation on Windows.
18948
18949 2005-10-07  Michael Smith <msmith@fluendo.com>
18950
18951         * tools/gst-inspect.c:
18952           Print out feature and plugin count at the end when printing out
18953           all features.
18954
18955 2005-10-04  Michael Smith <msmith@fluendo.com>
18956
18957         * gst/gsterror.c: (_gst_stream_errors_init):
18958           Add another error string used in a few existing plugins.
18959
18960         * gst/gstplugin.c:
18961         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18962         * tools/gst-inspect.c: (print_element_info):
18963           When a feature disappears from a plugin (and the feature exists in
18964           the cached registry file), things went horribly wrong. This isn't a
18965           complete fix, we should actually be removing the 'missing' features
18966           from the features list when we load the actual plugin. That's not
18967           yet implemented. 
18968
18969 2005-10-04  Johan Dahlin  <johan@gnome.org>
18970
18971         * check/gst/gstiterator.c: (GST_START_TEST):
18972         * gst/gstbin.c: (gst_bin_iterate_elements),
18973         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18974         * gst/gstelement.c: (gst_element_iterate_pads):
18975         * gst/gstformat.c: (gst_format_iterate_definitions):
18976         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18977         (gst_iterator_new_list), (gst_iterator_filter):
18978         * gst/gstiterator.h:
18979         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18980         Add a GType to GstIterator, update callsites and tests.
18981
18982 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18983
18984         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18985           give events a chance to be handled by event probes when the pad
18986           is not linked
18987
18988 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18989
18990         * gst/gstevent.c: (gst_event_type_get_name),
18991         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18992         * gst/gstevent.h:
18993           add string representations for event types
18994
18995 2005-10-06  Wim Taymans  <wim@fluendo.com>
18996
18997         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18998         Don't use NULL pointers.
18999
19000 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19001
19002         * gst/gst_private.h:
19003         * gst/gstbus.c:
19004         * gst/gstelement.c:
19005         * gst/gstinfo.c:
19006         * gst/gstpluginfeature.c:
19007           widen the debug category in output to fit the biggest one we have
19008           add a bus category and use it
19009           play with the colors
19010           fix up some categories
19011
19012 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19013
19014         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19015           add push activation of sink ghost pads.
19016           Andye, please verify
19017
19018 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19019
19020         * gst/gstutils.c: (gst_element_link_pads):
19021           fix a bug in the case where neither element has a pad
19022         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19023           add a test for that case
19024
19025 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19026
19027         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19028           emit have-data before checking for peers.  This allows
19029           for probe handlers to connect elements.  This helps autopluggers.
19030         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19031         (gst_pad_suite):
19032           add six checks, linked/unlinked with no/true/false probe
19033
19034 2005-10-04  Wim Taymans  <wim@fluendo.com>
19035
19036         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19037         (gst_fake_sink_event), (gst_fake_sink_preroll),
19038         (gst_fake_sink_render), (gst_fake_sink_change_state):
19039         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19040         (gst_fake_src_get_property), (gst_fake_src_create),
19041         (gst_fake_src_stop):
19042         * gst/elements/gstidentity.c: (gst_identity_stop):
19043         Protect last_message with lock.
19044
19045 2005-10-04  Edward Hervey  <edward@fluendo.com>
19046
19047         * gst/gstformat.h: 
19048         Added precision in the comments for GST_FORMAT_DEFAULT
19049
19050 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
19051
19052         * tools/gst-launch.c: (main):
19053           Don't try to run erroneous pipelines.
19054
19055 2005-10-04  Julien MOUTTE  <julien@moutte.net>
19056
19057         * gst/gstbus.c: We don't need this header.
19058
19059 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19060
19061         * configure.ac:
19062           back to development
19063
19064 === release 0.9.3 ===
19065
19066 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19067
19068         * README:
19069         * configure.ac:
19070           Releasing 0.9.3, "Unregistered"
19071
19072 2005-10-03  Andy Wingo  <wingo@pobox.com>
19073
19074         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19075         whereby calling a pad's activatepush() function can start a thread
19076         that starts to push or pull before the pad gets the FLUSHING flag
19077         unset. Hack around it by holding the stream lock until the flag is
19078         set. Need to replace this with a proper solution. Together with
19079         the ghost pad fixes, this fixes mp3 playing/tagreading.
19080
19081         * docs/design/part-gstghostpad.txt: Add a note about activation of
19082         proxy pads outside of ghost pads.
19083
19084         * gst/gstghostpad.c: Implement the ghost pad activation design.
19085
19086 2005-10-02  Andy Wingo  <wingo@pobox.com>
19087
19088         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19089         It is volatile, after all.
19090
19091         * docs/design/part-gstghostpad.txt: Flesh out activation with
19092         ghost pads.
19093
19094         * gst/base/gstbasesrc.c (gst_base_src_init): Use
19095         GST_DEBUG_FUNCPTR.
19096
19097 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
19098
19099         * configure.ac:
19100           Fix (unused) AM_CONDITIONAL tests.
19101
19102 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
19103
19104         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19105
19106         * gst/gstutils.c: (gst_pad_query_convert):
19107           Add assertion that makes sure src_val is >=0, just like
19108           gst_query_new_convert() has. (#315895)
19109
19110 2005-09-30  Edward Hervey  <edward@fluendo.com>
19111
19112         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19113         Let's not iterate pads we're not interested in, it avoids getting 
19114         sky-high refcounts on sinkpad.
19115
19116 2005-09-30  Wim Taymans  <wim@fluendo.com>
19117
19118         * gst/gstelement.c: (gst_element_set_state),
19119         (gst_element_change_state):
19120         Small tweak, element in ASYNC remains ASYNC.
19121
19122 2005-09-30  Wim Taymans  <wim@fluendo.com>
19123
19124         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19125         Only error is an error.
19126
19127         * gst/gstbin.c: (gst_bin_change_state):
19128         Better debugging.
19129
19130         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19131         Also call pad_block in pad alloc.
19132
19133         * gst/gstutils.c: (gst_flow_get_name):
19134         Better debugging.
19135
19136 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19137
19138         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19139         (gst_base_src_get_range):
19140           Fix documentation typos. Add some more debug info.
19141
19142 2005-09-29  David Schleef  <ds@schleef.org>
19143
19144         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19145           more end-user friendly.
19146         * tools/gst-inspect.c: (main): Check if command-line argument is
19147           a file and attempt to load that file as a plugin.
19148
19149 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19150
19151         * check/gst/gstbin.c:
19152         * check/states/sinks.c:
19153           fix tests for the new warning
19154         * check/gst/gstpipeline.c:
19155           add a test for pipeline and bus interaction
19156         * gst/gstelement.c:
19157           elements should be NULL if they get disposed; add a warning if not
19158
19159 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19160
19161         * gst/gstobject.c:
19162           for 2.6 refcounting, make debug log more correct by printing
19163           the actual refcounts at the time of swap (Wim)
19164
19165 2005-09-29  Andy Wingo  <wingo@pobox.com>
19166
19167         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19168         removes signal watches previously added via
19169         gst_bus_add_signal_watch.
19170         (gst_bus_add_signal_watch): Don't return the source id, just store
19171         it on the bus if there wasn't an id already.
19172
19173         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19174         add_signal_watch and remove_signal_watch.
19175
19176 2005-09-29  Edward Hervey  <edward@fluendo.com>
19177
19178         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
19179         Better if we actually iterate the list :)
19180
19181 2005-09-29  Wim Taymans  <wim@fluendo.com>
19182
19183         * check/gst/gstbin.c: (GST_START_TEST):
19184         Change for new bus API.
19185
19186         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19187         (send_messages), (GST_START_TEST), (gstbus_suite):
19188         Change for new bus signal API.
19189
19190         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19191         (gst_bus_source_prepare), (gst_bus_source_check),
19192         (gst_bus_create_watch), (gst_bus_add_watch_full),
19193         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19194         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19195         * gst/gstbus.h:
19196         Remove support for multiple GSources operating on different
19197         message types as it is too complex and unneeded when using
19198         signals.
19199         Added support for receiving signals from the bus.
19200
19201 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19202
19203         * docs/libs/tmpl/gstdataprotocol.sgml:
19204         * docs/manual/advanced-dataaccess.xml:
19205         * gst/elements/gstcapsfilter.c:
19206         * gst/gstutils.c:
19207           rename filter-caps to caps property
19208
19209 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19210
19211         * gst/gstvalue.c: (gst_value_deserialize_fraction):
19212           More robust fraction string parsing.
19213
19214         * docs/pwg/appendix-porting.xml:
19215           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19216
19217 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19218
19219         * gst/gstcaps.c: (gst_caps_do_simplify):
19220           Thou shalt not free a structure and then continue using it
19221           in the next loop iteration.
19222
19223         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19224         (gst_caps_suite):
19225           Add test case for caps simplification.
19226
19227 2005-09-29  Wim Taymans  <wim@fluendo.com>
19228
19229         * check/gst/gstbin.c: (GST_START_TEST):
19230         Oops.
19231
19232 2005-09-29  Wim Taymans  <wim@fluendo.com>
19233
19234         * check/gst/gstbin.c: (GST_START_TEST):
19235         Add bus to bin.
19236
19237         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19238         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19239         (find_element), (gst_bin_sort_iterator_next),
19240         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19241         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19242         (gst_bin_change_state), (gst_bin_dispose):
19243         A bin does not have a bus, it gets the bus from the parent.
19244
19245         * gst/gstelement.c: (gst_element_requires_clock),
19246         (gst_element_provides_clock), (gst_element_is_indexable),
19247         (gst_element_is_locked_state), (gst_element_change_state),
19248         (gst_element_set_bus_func):
19249         Small cleanups.
19250
19251         * gst/gstpipeline.c: (gst_pipeline_class_init),
19252         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19253         The pipeline provides a bus.
19254
19255 2005-09-28  Johan Dahlin  <johan@gnome.org>
19256
19257         * gst/gstmessage.c (gst_message_parse_state_changed): Use
19258         gst_structure_get_enum instead of gst_structure_get_int
19259
19260         * gst/gststructure.c (gst_structure_get_enum): Impl.
19261
19262         * gst/gststructure.h (gst_structure_get_enum): Add
19263
19264         * docs/gst/gstreamer-sections.txt: Ditto
19265
19266         * gst/gstmessage.c (gst_message_new_state_changed): Use
19267         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19268         which does introspection.
19269         Reviewed by Christian Schaller
19270
19271 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19272
19273         * gst/gstinfo.c: (gst_debug_log_default):
19274           don't do dummy g_strdup()s
19275         * libs/gst/controller/gstcontroller.c:
19276         (on_object_controlled_property_changed),
19277         (gst_controlled_property_new), (gst_controller_new_valist),
19278         (gst_controller_new_list),
19279         (gst_controller_remove_properties_valist), (gst_controller_set),
19280         (gst_controller_get), (gst_controller_sync_values),
19281         (gst_controller_get_value_array), (_gst_controller_class_init),
19282         (gst_controller_get_type):
19283         * libs/gst/controller/gstcontroller.h:
19284         * libs/gst/controller/gstinterpolation.c:
19285         (gst_controlled_property_find_timed_value_node):
19286           convert // to /**/ comments
19287
19288 2005-09-28  Wim Taymans  <wim@fluendo.com>
19289
19290         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19291         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19292         (gst_bus_sync_signal_handler):
19293         * gst/gstbus.h:
19294         Added async-message and sync-message signals to the bus.
19295         Added helper BusFunc to emit signals for all posted messages.
19296
19297         * gst/gstmessage.c: (gst_message_type_get_name),
19298         (gst_message_type_to_quark), (gst_message_get_type):
19299         * gst/gstmessage.h:
19300         Register quarks for message names.
19301
19302 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19303
19304         * docs/libs/gstreamer-libs-sections.txt:
19305         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19306         (gst_controller_new_list):
19307         * libs/gst/controller/gstcontroller.h:
19308           added another constructor for language bindings
19309
19310 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19313           add another check
19314         * gst/gstbus.c:
19315           add some doc
19316         * gst/gstinfo.c: (_gst_debug_init):
19317           slightly more readable color for refcount debugging
19318
19319 2005-09-28  Wim Taymans  <wim@fluendo.com>
19320
19321         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19322         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19323         (find_element), (gst_bin_sort_iterator_next),
19324         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19325         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19326         (gst_bin_change_state), (gst_bin_dispose):
19327         Small doc fixes. get_clock -> provide_clock.
19328
19329         * gst/gstelement.c: (gst_element_class_init),
19330         (gst_element_provides_clock), (gst_element_provide_clock),
19331         (gst_element_get_clock), (gst_element_commit_state),
19332         (gst_element_lost_state):
19333         * gst/gstelement.h:
19334         Make get/set_clock() symetric. Add provide_clock vmethod since
19335         that is actually what this function does.
19336
19337         * gst/gstpipeline.c: (gst_pipeline_class_init),
19338         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19339         (gst_pipeline_get_clock):
19340         get_clock -> provide_clock.
19341
19342 2005-09-28  Andy Wingo  <wingo@pobox.com>
19343
19344         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19345         lieu of real docs...
19346
19347         * gst/elements/gstfdsrc.c: Cleaned up a bit.
19348
19349 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
19350
19351         * gst/elements/gstcapsfilter.c:
19352         * gst/elements/gstfakesink.c:
19353         * gst/elements/gstfakesrc.c:
19354         * gst/elements/gstfdsink.c:
19355         * gst/elements/gstfdsrc.c:
19356         * gst/elements/gstfilesink.c:
19357         * gst/elements/gstfilesrc.c:
19358         * gst/elements/gstidentity.c:
19359         * gst/elements/gsttee.c:
19360         * gst/elements/gsttypefindelement.c:
19361           Make element details static.
19362
19363 2005-09-28  Wim Taymans  <wim@fluendo.com>
19364
19365         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19366         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19367         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19368         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19369         (gst_bin_change_state), (gst_bin_dispose):
19370         Some documentation updates.
19371         Clean up dispose handlers.
19372
19373         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19374         * gst/gstpad.c: (gst_pad_dispose):
19375         Clean up dispose handler.
19376
19377         * gst/gstpipeline.c: (gst_pipeline_change_state):
19378         Removed spurious UNLOCK.
19379
19380 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
19381
19382         * docs/gst/gstreamer-sections.txt:
19383         * gst/base/gstbasesrc.h:
19384         * gst/gstelement.h:
19385         * gst/gstevent.h:
19386         * gst/gstobject.h:
19387         * gst/gstpad.h:
19388         * gst/gstpipeline.c:
19389         * gst/gstpipeline.h:
19390         * gst/gstutils.h:
19391         * gst/gstxml.h:
19392           added two new functions to the docs
19393                 documents all undocumented GstXXXFlags
19394                 completed some incomplete docs 
19395
19396 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19397
19398         * gst/gstbin.c: (gst_bin_dispose):
19399         * gst/gstelement.c: (gst_element_dispose):
19400           remove now useless and leaky resurrection code in dispose
19401         * gst/base/gstbasesrc.c: (gst_base_src_init):
19402         * gst/gstelementfactory.c: (gst_element_factory_create):
19403         * gst/gstobject.c: (gst_object_set_parent):
19404           add some debugging
19405
19406 2005-09-27  Wim Taymans  <wim@fluendo.com>
19407
19408         * docs/design/part-TODO.txt:
19409         Update TODO.
19410
19411         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19412         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19413         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19414         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19415         (gst_bin_change_state):
19416         * gst/gstelement.h:
19417         Remove element variable, we keep element info in the iterator now.
19418
19419 2005-09-27  Andy Wingo  <wingo@pobox.com>
19420
19421         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19422         values.
19423
19424 2005-09-27  Wim Taymans  <wim@fluendo.com>
19425
19426         * check/gst/gstbin.c: (GST_START_TEST):
19427         Enable check that works now.
19428
19429         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19430         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19431         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19432         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19433         (gst_bin_change_state):
19434         * gst/gstbin.h:
19435         Redid the state change algorithm using a topological sort algo.
19436         Handles all cases correctly.
19437         Exposed iterator for state change order.
19438
19439         * gst/gstelement.h:
19440         Temp storage for state changes. Need to get rid of this soon.
19441
19442 2005-09-27  Wim Taymans  <wim@fluendo.com>
19443
19444         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19445         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19446         (link_fold_func), (gst_pad_proxy_setcaps):
19447         Leak fixes, the fold functions need to unref the passed object and
19448         _get_parent_*() returns ref to parent.
19449
19450 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19451
19452         * check/gst/gstbuffer.c: (test_make_writable):
19453           Plug leak in test case and fix 'make check-valgrind'
19454
19455 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19456
19457         * gst/gstbuffer.c: (gst_subbuffer_init):
19458           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19459           works correctly in all circumstances (we could have just copied
19460           the parent buffer's readonly flag, but conceptually it seems
19461           cleaner to mark all subbuffers as read-only). (based on patch
19462           by Alessandro Decina, #314710).
19463         
19464         * check/gst/gstbuffer.c: (create_read_only_buffer),
19465         (test_make_writable), (test_subbuffer_make_writable),
19466         (gst_test_suite):
19467           Add some tests for gst_buffer_make_writable().
19468
19469 2005-09-27  Wim Taymans  <wim@fluendo.com>
19470
19471         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19472         use gst_object_has_ancestor().
19473
19474         * gst/gstobject.c: (gst_object_has_ancestor):
19475         * gst/gstobject.h:
19476         gst_object_has_ancestor() copied from gstbin.c as it is a
19477         useful function.
19478
19479         * tests/instantiate/create.c: (create_all_elements):
19480         * tests/lat.c: (handoff_src), (handoff_sink):
19481         * tests/sched/runxml.c: (main):
19482         * tests/seeking/seeking1.c: (main):
19483         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19484         (main):
19485         Fix compilation of some tests.
19486
19487 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19488
19489         * gst/gsterror.h:
19490           Remove comment. GST_TYPE_G_ERROR is here to stay,
19491           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19492           (#316961, #300610).
19493
19494 2005-09-26  Wim Taymans  <wim@fluendo.com>
19495
19496         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19497         Added check that shows error in state change order.
19498
19499 2005-09-26  Wim Taymans  <wim@fluendo.com>
19500
19501         * gst/gstbin.c: (gst_bin_change_state):
19502         Make state change function use 3 queues again, we were
19503         adding elements in the wrong order.
19504
19505         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19506         Some debug info,
19507
19508         * gst/gstpad.c: (gst_pad_dispose):
19509         Added some debug info first.
19510
19511 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19512
19513         * docs/design/draft-push-pull.txt:
19514         * docs/design/part-events.txt:
19515         * docs/design/part-overview.txt:
19516         * docs/design/part-scheduling.txt:
19517           Replace all _pull_region() with _pull_range()
19518           
19519 2005-09-26  Andy Wingo  <wingo@pobox.com>
19520
19521         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19522
19523         * check/gst-libs/controller.c: Update for controller api change.
19524
19525         * configure.ac: 
19526         * tests/Makefile.am:
19527         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19528         over by GLib bug 118439.
19529         
19530         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19531         routines to a function.
19532
19533         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19534
19535         * libs/gst/controller/gsthelper.c:
19536         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19537         (gst_object_sync_values): Renamed from sink_values. Ugh.
19538
19539         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19540
19541         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19542         Renamed from controller_key, as it is exported.
19543
19544         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19545
19546 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19547
19548         * gst/Makefile.am:
19549         * gst/gst.h:
19550         * gst/gstpad.h:
19551         * gst/gstpadtemplate.h:
19552         * gst/gstquery.c:
19553         * gst/gstquery.h:
19554         * gst/gstqueryutils.c:
19555         * gst/gstqueryutils.h:
19556           remove queryutils headers after moving the two used functions
19557           to gstquery.  also fixes build problem for gstsiddec
19558
19559 2005-09-26  Michael Smith <msmith@fluendo.com>
19560
19561         * tools/gst-launch.1.in:
19562         Correct documentation in manpage of debug syntax
19563
19564 2005-09-26  Wim Taymans  <wim@fluendo.com>
19565
19566         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19567         (gst_base_src_is_seekable), (gst_base_src_change_state):
19568         Some more debugging info.
19569
19570 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19571
19572         * docs/gst/gstreamer-sections.txt:
19573         * gst/base/gstbasetransform.h:
19574         * gst/gstindex.h:
19575           added more docs
19576
19577 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19578
19579         * docs/gst/.cvsignore:
19580         * docs/gst/tmpl/.cvsignore:
19581         * docs/gst/tmpl/gstpipeline.sgml:
19582         * docs/gst/tmpl/gstplugin.sgml:
19583         * gst/gstpipeline.c:
19584         * gst/gstplugin.c:
19585         * gst/gstplugin.h:
19586           inlined the last two docs files
19587           removed the tmpl directory from cvs (no more conflicts here!)
19588
19589 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19590
19591         * docs/gst/gstreamer-sections.txt:
19592         * docs/gst/tmpl/.cvsignore:
19593         * docs/gst/tmpl/gstpad.sgml:
19594         * docs/gst/tmpl/gstpadtemplate.sgml:
19595         * gst/Makefile.am:
19596         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19597         (gst_pad_finalize), (gst_pad_set_pad_template):
19598         * gst/gstpad.h:
19599         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19600         (gst_pad_template_class_init), (gst_pad_template_init),
19601         (gst_pad_template_dispose), (name_is_valid),
19602         (gst_static_pad_template_get), (gst_pad_template_new),
19603         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19604         (gst_pad_template_pad_created):
19605         * gst/gstpadtemplate.h:
19606           inlined two more docs
19607           factored gstpadtemplate out of gstpad
19608
19609 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19610
19611         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19612         (test_children_state_change_order_semi_sink):
19613           Fix test case: we can't rely on a fixed state change order when
19614           going from READY => PAUSED because the sink might commit its 
19615           new state first when the first buffer created by the source 
19616           reaches the sink before the source has finished its change state.
19617           (Test case still fails at times, see #316856, comment 5 onwards)
19618
19619 2005-09-24  Wim Taymans  <wim@fluendo.com>
19620
19621         * docs/design/part-events.txt:
19622         * docs/design/part-gstbus.txt:
19623         * docs/design/part-gstpipeline.txt:
19624         * docs/design/part-messages.txt:
19625         * docs/design/part-overview.txt:
19626         * docs/design/part-segments.txt:
19627         * gst/gstbin.c:
19628         * gst/gstbuffer.c:
19629         * gst/gstclock.c:
19630         * gst/gstelement.c:
19631         * gst/gstevent.c:
19632         * gst/gstfilter.c:
19633         * gst/gstiterator.c:
19634         Various documentation updates.
19635
19636 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19637
19638         * gst/gstclock.h:
19639           Well, that's embarassing.  Luckily we weren't using
19640           GST_CLOCK_DIFF anywhere.
19641
19642 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19643
19644         * common/gtk-doc.mak:
19645           don't fail on building XML, FC4 slave shows a bunch of doc
19646           missing bits that I don't get
19647         * gst/gstpad.c:
19648         * gst/gstpipeline.c:
19649         * gst/gststructure.c:
19650           some doc updates
19651
19652 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19653
19654         * docs/design/part-gstbin.txt:
19655         * docs/design/part-gstbus.txt:
19656         * gst/gstbus.c:
19657           Add blurb about how the bus goes into flushing mode and
19658           drops all messages when its bin goes from READY into NULL 
19659           state.
19660
19661 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * docs/gst/gstreamer-sections.txt:
19664         * gst/gststructure.c: (gst_structure_get_clock_time):
19665         * gst/gststructure.h:
19666           add a method to get a GstClockTime out of a structure
19667
19668 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19669
19670         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19671         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19672           Added test to check state change order in bins (can still be made
19673           to fail here under heavy disk load; bails out with 'Push on pad
19674           fakesink:sink0, but it was not activated in push mode').
19675
19676         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19677           Fix state change order when there is only a semi sink (#316856)
19678
19679         * gst/gstbus.c: (gst_bus_class_init):
19680           Use _class_peek_parent(), not _class_ref(); fix docs to say
19681           'default main context' instead of 'mainloop' where that is
19682           what's meant.
19683
19684         * gst/gstelement.c: (gst_element_commit_state),
19685         (gst_element_set_state):
19686           Fix typos in debug messages
19687
19688 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19689
19690         * docs/README:
19691         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19692         * gst/gstpluginfeature.c:
19693         * gst/gstutils.c:
19694           various doc updates
19695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19696           change an assert into an error until it gets fixed properly
19697
19698 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19699
19700         * docs/gst/gstreamer-sections.txt:
19701         * docs/gst/tmpl/.cvsignore:
19702         * docs/gst/tmpl/gstelement.sgml:
19703         * docs/gst/tmpl/gstinfo.sgml:
19704         * docs/gst/tmpl/gstobject.sgml:
19705         * gst/gstelement.c:
19706         * gst/gstelement.h:
19707         * gst/gstinfo.c:
19708         * gst/gstinfo.h:
19709         * gst/gstobject.c: (gst_object_class_init):
19710         * gst/gstobject.h:
19711           inlined 3 more biiiig doc files and added some missing docs on the fly
19712
19713 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19714
19715         * check/gst/.cvsignore:
19716         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19717         * gst/gstregistryxml.c: (load_plugin),
19718         (gst_registry_xml_save_plugin):
19719           put back source in registry.  add checks for find_plugin.
19720         * testsuite/states/bin.c: (assert_state), (empty_bin),
19721         (test_adding_one_element), (main):
19722         * testsuite/states/locked.c: (main):
19723           some compile/run fixes
19724
19725 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19726
19727         * check/gst/gstvalue.c: (GST_START_TEST):
19728           fix leaks in the test itself
19729
19730 2005-09-22  Wim Taymans  <wim@fluendo.com>
19731
19732         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19733         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19734         (gst_base_sink_query):
19735         Prepare for more accurate position reporting and query
19736         handling.
19737
19738         * gst/gstelement.c: (gst_element_send_event),
19739         (gst_element_set_state):
19740         Add some comment.
19741
19742 2005-09-22  Wim Taymans  <wim@fluendo.com>
19743
19744         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19745         (gst_query_parse_segment):
19746         * gst/gstquery.h:
19747         More documentation.
19748         Add segment query for future use.
19749
19750 2005-09-22  Wim Taymans  <wim@fluendo.com>
19751
19752         * gst/gstbin.c: (gst_bin_add_func):
19753         Some more debug info.
19754
19755         * gst/gstelement.c: (gst_element_send_event):
19756         Simplify send_event
19757
19758         * gst/gstelement.h:
19759         Don't know how flags got broken.
19760
19761         * gst/gstquery.h:
19762         Added new query.
19763
19764 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19765
19766         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19767           Add simplistic test suite for GST_TYPE_DATE serialisation and
19768           deserialisation.
19769
19770 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19771
19772         * docs/gst/gstreamer-sections.txt:
19773         * gst/gststructure.c: (gst_structure_set_valist),
19774         (gst_structure_get_date):
19775         * gst/gststructure.h:
19776         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19777         (gst_date_copy), (gst_value_compare_date),
19778         (gst_value_serialize_date), (gst_value_deserialize_date),
19779         (gst_value_transform_date_string),
19780         (gst_value_transform_string_date), (_gst_value_initialize):
19781         * gst/gstvalue.h:
19782           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19783           bunch of utility functions along with a hack that checks that
19784           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19785           is required. Part of the grand scheme in #170777.
19786
19787 2005-09-22  Andy Wingo  <wingo@pobox.com>
19788
19789         * gst/gstconfig.h.in: Psych out gtk-doc.
19790
19791         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19792
19793         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19794
19795         * tools/gst-inspect.c (print_element_list): Plug some
19796         inconsequential leaks.
19797
19798         * gst/gstregistry.c (gst_registry_get_default): Doc.
19799
19800         * check/gst/gstplugin.c: 
19801         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19802         * gst/gstelementfactory.c (gst_element_factory_create): 
19803         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19804         refcount changes.
19805
19806         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19807         (gst_plugin_feature_load): Doc, don't eat refs.
19808
19809         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19810         (gst_plugin_list_free): Doc.
19811         (gst_plugin_load_file): Doc updates.
19812
19813         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19814         accessors returning refcounted objects, return a ref.
19815
19816         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19817         accessor for caps. IDEMPOTENCE. Oh yes.
19818
19819 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19820
19821         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19822
19823         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19824         (_gst_debug_register_funcptr):
19825           Add mutex to serialise access to the hash table with
19826           the function pointer => function name string mapping;
19827           make that hash table static scope (#316809).
19828
19829         * gst/registries/.cvsignore:
19830           Remove left-over file.
19831
19832 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19833
19834         * docs/pwg/appendix-porting.xml:
19835           And something about newsegment events and caps-on-buffers to
19836           the porting guide (feel free to improve).
19837
19838 2005-09-21  Andy Wingo  <wingo@pobox.com>
19839
19840         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19841         data and event probes on the same pad.
19842         (test_buffer_probe_once): Test that removing probes from within
19843         the probe functions works.
19844
19845 2005-09-21  Andy Wingo  <wingo@pobox.com>
19846
19847         * check/gst/gstutils.c: New file.
19848         (test_buffer_probe_n_times): A simple buffer probe test. More to
19849         come, foolios.
19850
19851         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19852         have-data::buffer, not have-data.
19853         (gst_pad_add_event_probe): Likewise for have-data::event.
19854         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19855         peer' isn't quite right yet though.
19856         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19857         (gst_pad_remove_data_probe): Change to take the guint handler_id
19858         as their arg, not the function+data, which is more glib-like.
19859
19860         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19861         the signal emission to indicate if the data is a buffer or an
19862         event.
19863         (gst_pad_get_type): Initialize buffer and event quarks.
19864         (gst_pad_class_init): have-data is now a detailed signal, yes it
19865         is.
19866
19867 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19868
19869         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19870         * gst/gstutils.c: (gst_util_set_value_from_string),
19871         (gst_util_set_object_arg):
19872           Don't put functional code in g_return_if_fail() or
19873           g_return_val_if_fail() statements, otherwise things will 
19874           break when G_DISABLE_CHECKS is defined during compilation.
19875
19876 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19877
19878         * docs/gst/tmpl/.cvsignore:
19879         * docs/gst/tmpl/gstvalue.sgml:
19880         * gst/gstvalue.c:
19881         * gst/gstvalue.h:
19882           inlied another one and added  some obvious docs
19883
19884 2005-09-21  Wim Taymans  <wim@fluendo.com>
19885
19886         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19887         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19888         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19889         (gst_fdsrc_get_property), (gst_fdsrc_create):
19890         * gst/elements/gstfdsrc.h:
19891         Properly implement fdsrc. Removed signal and timeout,
19892         better implemented somewhere else.
19893
19894 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19895
19896         * docs/gst/tmpl/.cvsignore:
19897         * docs/gst/tmpl/gstimplementsinterface.sgml:
19898         * gst/gstinterface.c:
19899           inlined more docs
19900
19901 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19902
19903         * docs/gst/gstreamer-sections.txt:
19904         * docs/gst/tmpl/.cvsignore:
19905         * docs/gst/tmpl/gstenumtypes.sgml:
19906           remove obsolete doc file
19907
19908 2005-09-21  David Schleef  <ds@schleef.org>
19909
19910         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19911         little beer, fix a little leak.
19912
19913 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19914
19915         * docs/gst/gstreamer-docs.sgml:
19916         * docs/gst/gstreamer-sections.txt:
19917         * docs/gst/tmpl/.cvsignore:
19918         * gst/Makefile.am:
19919         * gst/gst.h:
19920         * gst/gstbin.c:
19921         * gst/gstelement.h:
19922         * gst/gstindex.c: (gst_index_class_init):
19923         * gst/gstindex.h:
19924         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19925         (gst_index_factory_class_init), (gst_index_factory_init),
19926         (gst_index_factory_finalize), (gst_index_factory_new),
19927         (gst_index_factory_destroy), (gst_index_factory_find),
19928         (gst_index_factory_create), (gst_index_factory_make):
19929         * gst/gstindexfactory.h:
19930         * gst/gstpluginfeature.c:
19931         * gst/gstpluginfeature.h:
19932         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19933           more docs inlined, splitted gstindex.{c,h}
19934
19935 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19936
19937         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19938           fix a leak
19939
19940 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19941
19942         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19943           Set sync to FALSE by default.
19944
19945 2005-09-20  Wim Taymans  <wim@fluendo.com>
19946
19947         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19948         (gst_base_sink_init):
19949         Make sync property settable from subclass.
19950
19951         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19952         (gst_fake_sink_change_state):
19953         Set sync to FALSE by default.
19954
19955 2005-09-20  Wim Taymans  <wim@fluendo.com>
19956
19957         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19958         * tools/gst-launch.c: (main):
19959         The timeout handler should have lower priority than the source
19960         so we don't timeout before popping a message with 0 timeout.
19961         Dump error messages after failed state change.
19962
19963 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19964
19965         * tools/gst-inspect.c: (print_element_properties_info):
19966           Fix two typos.
19967
19968 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19969
19970         * check/gst/gstevent.c:
19971         * gst/elements/gstfakesink.c:
19972         * gst/elements/gstfakesink.h:
19973           remove the sync property from fakesink.
19974           has the side effect of setting sync TRUE
19975           for fakesink, which is a change.  Anyone who knows how
19976           to fix this nicely in a GObject-y way, feel free.
19977
19978 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19979
19980         * docs/gst/gstreamer-docs.sgml:
19981           remove probe refsection
19982
19983 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19984
19985         * check/Makefile.am:
19986           disable valgrinding the controller test again
19987         * docs/gst/gstreamer-sections.txt:
19988           update for api-changes
19989
19990 2005-09-20  Wim Taymans  <wim@fluendo.com>
19991
19992         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19993         (gst_base_sink_set_property), (gst_base_sink_get_property),
19994         (gst_base_sink_do_sync):
19995         * gst/base/gstbasesink.h:
19996         Added sync property to basesink to disable clock sync.
19997
19998 2005-09-20  Andy Wingo  <wingo@pobox.com>
19999
20000         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20001         eating the caller's refcount.
20002
20003         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
20004         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20005         refcount.
20006
20007         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20008         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20009         of GLib 2.8 public, so we can know which refcount to check in
20010         tests.
20011
20012         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20013         (gst_object_init): Only set the gst refcount if we're going ahead
20014         with the refcount hack.
20015
20016 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20017
20018         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20019         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20020           more leaks plumbed, added more debug-logging
20021         * gst/gstmacros.h:
20022           whitespace fix
20023
20024 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20025
20026         * gst/gstmessage.c:
20027           remove include of gstmemchunk.h
20028
20029 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20030
20031         * gst/gstclock.c: (_gst_clock_id_free):
20032           Commit from the Political Party For More Atomic CVS Commits,
20033           so that people don't waste too much of their day fishing
20034           out obvious leaks out of massive commits.
20035           Oh, and fix a pretty damn obvious leak in the memchunk
20036           removal code.
20037
20038 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20039
20040         * check/Makefile.am:
20041         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20042           plug mem-leak, re-add to valgrindable tests
20043
20044 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20045
20046         * gst/gstplugin.h:
20047           unbreak the build for those who have chronic arthritis
20048           and typing "make check" is just too taxing on the hands
20049
20050 2005-09-20  Andy Wingo  <wingo@pobox.com>
20051
20052         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20053         really want it out, you should fix plugins at the same time.
20054
20055 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
20056
20057         * configure.ac:
20058         * docs/gst/gstreamer-sections.txt:
20059         * gst/gstobject.c:
20060           added missing symbols to api docs
20061           disable ref-count hack if we have glib >= 2.8
20062
20063 2005-09-19  David Schleef  <ds@schleef.org>
20064
20065         * docs/gst/Makefile.am: Ignore a few more internal headers
20066         * docs/gst/gstreamer-docs.sgml: Remove old sections
20067         * docs/gst/gstreamer-sections.txt: Remove old sections
20068         * docs/gst/tmpl/gstobject.sgml: update
20069         * docs/gst/tmpl/gstplugin.sgml: update
20070         * docs/gst/tmpl/gstpluginfeature.sgml: update
20071         * docs/random/ds/0.9-suggested-changes: update.
20072         * gst/Makefile.am: remove memchunk and trashstack, since they're
20073           not used.
20074         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20075         * gst/gst.h: don't include some headers
20076         * gst/gstchildproxy.c: add gstmarshal.h
20077         * gst/gstclock.c: Don't use memchunks
20078         * gst/gstminiobject.c: Add some docs
20079         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20080         * gst/gstobject.h: same
20081         * gst/gstplugin.c: include gstmacros.h
20082         * gst/gstplugin.h: don't include gstmacros.h, since it's private
20083         * gst/gstquery.c: don't use memchunks
20084         * gst/gstregistry.c: rename gst_registry_deinit()
20085         * gst/gstregistry.h: same
20086
20087 2005-09-19  David Schleef  <ds@schleef.org>
20088
20089         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20090         * docs/libs/gstreamer-libs-sections.txt:
20091         * docs/libs/tmpl/gstgetbits.sgml:
20092         * docs/libs/tmpl/gstputbits.sgml:
20093
20094 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
20095
20096         * win32/gstenumtypes.c:
20097         * win32/gstenumtypes.h:
20098           Update.
20099
20100 2005-09-19  Wim Taymans  <wim@fluendo.com>
20101
20102         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20103         Automatically PAUSE and RESUME a pipeline when a flushing seek
20104         is performed.
20105
20106 2005-09-19  Andy Wingo  <wingo@pobox.com>
20107
20108         * gst/gstregistry.h: Spacing fixen.
20109
20110 2005-09-19  Wim Taymans  <wim@fluendo.com>
20111
20112         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20113         Handle state change failure more correctly.
20114
20115 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20116
20117         * check/Makefile.am:
20118         * check/pipelines/cleanup.c: (run_pipeline):
20119         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20120         (GST_START_TEST):
20121           enable cleanup again after fixing the leak
20122         * docs/README:
20123           some more info on docs
20124
20125 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20126
20127         * check/Makefile.am:
20128           re-enable tests now that leaks are plugged
20129         * check/gst/gst.c:
20130         * check/gst/gstbin.c:
20131         * check/gst/gstpipeline.c:
20132           add some more tests while fixing leaks
20133         * common/check.mak:
20134           make sure binaries are uptodate when valgrinding/gdbing
20135         * gst/gst.c:
20136         * gst/gstelementfactory.c:
20137           remove a ref too many, and add a FIXME for when we get
20138           round to disposing of classes
20139         * gst/gstplugin.c:
20140           fix the refcounting when loading a plugin from a file and
20141           the code pretends that the pointer is the same even though
20142           of course it can change
20143         * gst/gstpluginfeature.c:
20144           unref plugins marked cached (a bit confusing as a name)
20145           as the docs state should be done
20146           various doc additions to explain refcounting
20147         * gst/gstregistry.c:
20148         * gst/gstregistryxml.c:
20149           debugging
20150
20151 2005-09-19  Wim Taymans  <wim@fluendo.com>
20152
20153         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20154         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20155         (send_messages), (GST_START_TEST), (gstbus_suite):
20156         * check/gst/gstpipeline.c: (GST_START_TEST):
20157         * check/pipelines/cleanup.c: (run_pipeline):
20158         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20159         (GST_START_TEST):
20160         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20161         (gst_bus_source_check), (gst_bus_source_dispatch),
20162         (gst_bus_create_watch), (gst_bus_add_watch_full),
20163         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20164         * gst/gstbus.h:
20165         * tools/gst-launch.c: (event_loop):
20166         * tools/gst-md5sum.c: (event_loop):
20167         GstBusHandler -> GstBusFunc, return value has the same meaning as
20168         any other GSource (FALSE == remove source).
20169         _add_watch() and _add_watch_full() now take a MessageType mask to
20170         only handle specific types of messages.
20171         _poll() returns the GstMessage instead of the message type to avoid
20172         race conditions.
20173         _have_pending() takes a MessageType mask now too.
20174         Added testsuite for multiple bus watches.
20175         Fix testsuites and applications for new bus API.
20176
20177 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20178
20179         * check/Makefile.am:
20180           mark a bunch of the tests as to fix until we fix them
20181
20182 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20183
20184         * common/check.mak:
20185           use GST_PLUGIN settings for valgrind tests as well, so we're
20186           valgrinding the correct thing
20187         * gst/gst.c: (init_post):
20188           plug another leak
20189
20190 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20191
20192         * gst/gst.c: (init_post), (gst_deinit):
20193         * gst/gstelementfactory.c: (gst_element_factory_class_init),
20194         (gst_element_factory_finalize), (gst_element_factory_cleanup):
20195         * gst/gstindex.c: (gst_index_factory_class_init),
20196         (gst_index_factory_finalize):
20197         * gst/gstobject.c: (gst_object_dispose):
20198         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20199         (gst_plugin_load_file), (gst_plugin_desc_free):
20200         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20201         (gst_plugin_feature_finalize):
20202         * gst/gstregistry.c: (gst_registry_class_init),
20203         (gst_registry_init), (gst_registry_finalize),
20204         (gst_registry_get_default), (gst_registry_deinit):
20205         * gst/gstregistry.h:
20206         * gst/gstregistryxml.c: (load_feature), (load_plugin):
20207           various cleanups and memleak plugging.  make valgrind is happy now.
20208
20209 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20210
20211         * common/check.mak:
20212           add a check-valgrind target
20213
20214 2005-09-18  David Schleef  <ds@schleef.org>
20215
20216         * tools/gst-inspect.c: Revert the GOption code.
20217
20218 2005-09-17  David Schleef  <ds@schleef.org>
20219
20220         * check/Makefile.am: Fix environment variables.
20221         * check/gst/gstplugin.c: Fix for API changes.
20222         * tools/gst-inspect.c: Fix for API changes.
20223         * tools/gst-xmlinspect.c: Fix for API changes.
20224         * gst/gstelementfactory.c:
20225         * gst/gstplugin.c:
20226         * gst/gstplugin.h:
20227         * gst/gstpluginfeature.c:
20228         * gst/gstpluginfeature.h:
20229         * gst/gstregistry.c:
20230         * gst/gstregistry.h:
20231         * gst/gstregistryxml.c:
20232         * gst/gsttypefind.c:
20233         * gst/gsttypefindfactory.c:
20234         * gst/indexers/gstfileindex.c:
20235         * gst/indexers/gstmemindex.c:
20236         * gst/schedulers/Makefile.am:
20237           Change registry to keep track of both plugins and features,
20238           removing the feature tracking from plugins themselves.
20239
20240 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20241
20242         * check/Makefile.am:
20243         * tools/gst-register.1.in:
20244           remove gst-register
20245
20246 2005-09-15  David Schleef  <ds@schleef.org>
20247
20248         * check/gst/gstplugin.c:
20249         * gst/gstelementfactory.c:
20250         * gst/gstplugin.c:
20251         * gst/gstpluginfeature.c:
20252         * gst/gstregistry.c:
20253           Getting tired of debugging.  Disabled all the unreffing of
20254           plugins and features, which fixes the segfaults, but of
20255           course leaks like crazy.  At least playbin works.
20256
20257 2005-09-15  David Schleef  <ds@schleef.org>
20258
20259         * check/gst/gstplugin.c: (register_check_elements),
20260         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20261         More testing
20262         * gst/elements/gsttypefindelement.c: Fix refcounting.
20263         * gst/gsttypefind.c:
20264         * gst/gsttypefindfactory.c:
20265         * gst/gsttypefindfactory.h:
20266
20267 2005-09-15  David Schleef  <ds@schleef.org>
20268
20269         * gst/gstindex.c: get refcounting correct.
20270         * gst/gstregistry.c: Handle the case where a feature/plugin is
20271           not found.
20272
20273 2005-09-15  David Schleef  <ds@schleef.org>
20274
20275         * check/Makefile.am:
20276         * check/gst/gstplugin.c: Add test
20277         * gst/gstplugin.c: Fix problems noticed by testsuite
20278         * gst/gstplugin.h:
20279         * gst/gstregistry.c: 
20280         * gst/gstregistry.h:
20281
20282 2005-09-15  David Schleef  <ds@schleef.org>
20283
20284         * gst/gstplugin.c: Implement semi-decent recounting and locking
20285           in plugins and plugin features.
20286         * gst/gstplugin.h:
20287         * gst/gstpluginfeature.c:
20288         * gst/gstpluginfeature.h:
20289         * gst/gstregistry.c:
20290
20291 2005-09-15  Michael Smith <msmith@fluendo.com>
20292
20293         * gst/gstregistry.c: (gst_registry_get_feature_list):
20294           Implement this. Makes oggdemux work; decodebin still broken.
20295
20296 2005-09-14  David Schleef  <ds@schleef.org>
20297
20298         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20299           #316076)
20300         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20301         * gst/check/Makefile.am:
20302         * libs/gst/controller/Makefile.am:
20303         * libs/gst/dataprotocol/Makefile.am:
20304
20305 2005-09-14  David Schleef  <ds@schleef.org>
20306
20307         * configure.ac: Remove getbits library.  Nothing uses it, and
20308           it should be in something like liboil if someone did want
20309           to use it.
20310         * libs/gst/Makefile.am:
20311         * libs/gst/getbits/Makefile.am:
20312         * libs/gst/getbits/gbtest.c:
20313         * libs/gst/getbits/getbits.c:
20314         * libs/gst/getbits/getbits.h:
20315         * libs/gst/getbits/gstgetbits_generic.c:
20316         * libs/gst/getbits/gstgetbits_i386.s:
20317         * libs/gst/getbits/gstgetbits_inl.h:
20318
20319 2005-09-14  David Schleef  <ds@schleef.org>
20320
20321         * gst/Makefile.am: Dist glib-compat.h
20322
20323 2005-09-14  David Schleef  <ds@schleef.org>
20324
20325         * configure.ac: Remove gst/registries, since it's no longer used.
20326         * gst/registries/Makefile.am:
20327         * gst/registries/gstlibxmlregistry.c:
20328         * gst/registries/gstlibxmlregistry.h:
20329         * gst/registries/gstxmlregistry.c:
20330         * gst/registries/gstxmlregistry.h:
20331         * gst/registries/registrytest.c:
20332
20333 2005-09-14  David Schleef  <ds@schleef.org>
20334
20335         * gst/glib-compat.h:
20336         * gst/gstregistryxml.c:
20337           Convergence is near.  Seriously.
20338
20339 2005-09-14  David Schleef  <ds@schleef.org>
20340
20341         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20342         * gst/glib-compat.h:
20343           Attempt #4 to appease the buildbots.
20344
20345 2005-09-14  David Schleef  <ds@schleef.org>
20346
20347         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20348           Attempt #3.
20349
20350 2005-09-14  David Schleef  <ds@schleef.org>
20351
20352         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20353         Attempt #2.
20354
20355 2005-09-14  David Schleef  <ds@schleef.org>
20356
20357         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20358           the new functions.
20359
20360 2005-09-14  David Schleef  <ds@schleef.org>
20361
20362         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20363         * gst/glib-compat.h: Add some functions that are in newer versions
20364           of glib than we care to require.
20365         * gst/gstregistryxml.c: Use them.
20366
20367 2005-09-14  David Schleef  <ds@schleef.org>
20368
20369         * po/POTFILES.in: remove gst-register.c
20370
20371 2005-09-14  David Schleef  <ds@schleef.org>
20372
20373         * docs/gst/gstreamer-docs.sgml:
20374         * docs/gst/gstreamer-sections.txt:
20375         * docs/gst/gstreamer.types:
20376         * docs/gst/tmpl/gstelement.sgml:
20377         * docs/gst/tmpl/gstplugin.sgml:
20378         * docs/gst/tmpl/gstpluginfeature.sgml:
20379           Documentation updates for registry changes.
20380
20381 2005-09-14  David Schleef  <ds@schleef.org>
20382
20383         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20384           because we don't require glib-2.8.
20385
20386 2005-09-14  David Schleef  <ds@schleef.org>
20387
20388         * gst/gstregistryxml.c: Added.  Essentially moved out of the
20389           registries directory.
20390
20391 2005-09-14  David Schleef  <ds@schleef.org>
20392
20393         * check/Makefile.am:
20394         * check/generic/states.c:
20395         * gst/Makefile.am:
20396         * gst/gst.c:
20397         * gst/gst.h:
20398         * gst/gst_private.h:
20399         * gst/gstelementfactory.c:
20400         * gst/gstindex.c:
20401         * gst/gstinfo.c:
20402         * gst/gstplugin.c:
20403         * gst/gstplugin.h:
20404         * gst/gstpluginfeature.c:
20405         * gst/gstpluginfeature.h:
20406         * gst/gstregistry.c:
20407         * gst/gstregistry.h:
20408         * gst/gstregistrypool.c: remove
20409         * gst/gstregistrypool.h: remove
20410         * gst/gsttypefind.c:
20411         * gst/gsttypefindfactory.c:
20412         * gst/gsturi.c:
20413         * tools/Makefile.am:
20414         * tools/gst-compprep.c:
20415         * tools/gst-inspect.c:
20416         * tools/gst-register.c: remove
20417         * tools/gst-xmlinspect.c:
20418           Registry rewrite.  Changes registry from being a file created
20419           by a tool into a simple cache file created automatically by 
20420           libgstreamer.  Removed gst-register (because it's no longer
20421           needed).  Remove registry pools, because we only have one
20422           registry implementation (XML).  Fix up other subsystems as
20423           necessary.
20424
20425 2005-09-13  Michael Smith <msmith@fluendo.com>
20426
20427         * gst/gstconfig.h.in:
20428           Don't Use windows linking attributes for MinGW. Fixes #316157
20429
20430 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20431
20432         * gst/gstutils.c: (set_state_async_thread_func),
20433         (gst_element_set_state_async):
20434           Apparently people think it's better if this function doesn't
20435           try to set the state to whatever state was asked for on the first
20436           call to this function for any object.  Seriously.
20437
20438 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20439
20440         * check/gst/gstpipeline.c: (GST_START_TEST):
20441         * docs/gst/gstreamer-sections.txt:
20442         * gst/gstutils.c: (set_state_async_thread_func),
20443         (gst_element_set_state_async):
20444         * gst/gstutils.h:
20445           add a "gst_element_set_state_async" method that
20446           sets the state and starts a thread to make sure the state
20447           change completes as best as it can
20448
20449 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20450
20451         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20452           codify design+behaviour in testsuite after discussion
20453
20454 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20455
20456         * docs/gst/tmpl/gstelement.sgml:
20457         * docs/manual/appendix-quotes.xml:
20458           add a quote
20459         * gst/gstelement.c: (gst_element_set_state):
20460           add some debug
20461
20462 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
20463
20464         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20465         (gst_base_transform_prepare_output_buf),
20466         (gst_base_transform_handle_buffer):
20467         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20468         (gst_capsfilter_prepare_buf):
20469           Remove the requirement for sub-classes to call the parent
20470           implementation of prepare_output_buffer with a wrapper function.
20471           
20472         * gst/gsttaglist.h:
20473         * gst/gsttagsetter.h:
20474           Fix #define wrapper
20475
20476 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
20477
20478         * docs/gst/gstreamer-sections.txt:
20479           more doc cleanups
20480
20481 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20482
20483         * docs/gst/gstreamer-sections.txt:
20484         * docs/gst/tmpl/gstelement.sgml:
20485         * docs/gst/tmpl/gstplugin.sgml:
20486         * gst/gstminiobject.c:
20487         * gst/gstvalue.h:
20488           docs now stop throwing warnings
20489
20490 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20491
20492         * docs/gst/gstreamer-sections.txt:
20493         * docs/gst/gstreamer.types:
20494         * docs/gst/tmpl/gstpad.sgml:
20495         * docs/gst/tmpl/gsttypes.sgml:
20496         * gst/base/gstadapter.h:
20497         * gst/base/gstbasesink.h:
20498         * gst/base/gstbasesrc.h:
20499         * gst/gstbin.h:
20500         * gst/gstbuffer.h:
20501         * gst/gstbus.h:
20502         * gst/gstcaps.h:
20503         * gst/gstclock.h:
20504         * gst/gstelement.h:
20505         * gst/gstevent.h:
20506         * gst/gstmessage.h:
20507         * gst/gstpad.h:
20508         * gst/gststructure.c:
20509         * gst/registries/gstlibxmlregistry.h:
20510           various documentation fixes
20511
20512 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20513
20514         * docs/gst/gstreamer-sections.txt:
20515         * docs/gst/tmpl/gstvalue.sgml:
20516           rearrange gstvalue section
20517         * gst/gstutils.c: (gst_element_state_get_name):
20518           NONE -> VOID
20519         * gst/gstvalue.c: (_gst_value_initialize):
20520         * gst/gstvalue.h:
20521           doc updates
20522
20523 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20524
20525         * check/gst-libs/controller.c:
20526           Header include fix.
20527         * gst/base/gstbasetransform.c:
20528         (gst_base_transform_default_prepare_buf),
20529         (gst_base_transform_handle_buffer):
20530         * gst/base/gstbasetransform.h:
20531           Some more basetransform changes and fixes to enable sub-classes
20532           that modify buffer metadata only.
20533         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20534         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20535         (gst_capsfilter_prepare_buf):
20536           If the output pad has fixed allowed caps and input buffers 
20537           don't have any, set the fixed caps on outgoing buffers.
20538
20539 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20540         * check/elements/identity.c: (GST_START_TEST):
20541           Make the error a little clearer when the test fails because
20542           identity made a copy of the buffer.
20543         * docs/gst/gstreamer-sections.txt:
20544           New symbols in gstbasetransform.h
20545         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20546         (gst_base_transform_init), (gst_base_transform_transform_size),
20547         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20548         (gst_base_transform_default_prepare_buf),
20549         (gst_base_transform_get_unit_size),
20550         (gst_base_transform_buffer_alloc),
20551         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20552         (gst_base_transform_change_state),
20553         (gst_base_transform_set_passthrough),
20554         (gst_base_transform_set_in_place),
20555         (gst_base_transform_is_in_place):
20556         * gst/base/gstbasetransform.h:
20557           Change BaseTransform to separate in_place operate from same_caps
20558           output. in_place implies that the element can perform the transform
20559           on incoming buffers in-place, even if the caps on the output are
20560           different.
20561           Sub-class elements can now implement special buffer allocation
20562           methods for outgoing buffers if they wish to.
20563           Big documentation addition.
20564         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20565         * gst/elements/gstelements.c:
20566           Changes for basetransform modifications.
20567         * gst/elements/Makefile.am:
20568         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20569           Compile fix. Extra debug output.
20570
20571 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20572
20573         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20574         (gst_pad_suite):
20575           add tests for valid pad naming
20576         * gst/check/gstcheck.c: (gst_check_log_message_func),
20577         (gst_check_log_critical_func):
20578           add ASSERT_WARNING
20579           remove printing of code, it is fragile when the code contains
20580           % and the line number is enough info
20581         * gst/check/gstcheck.h:
20582         * gst/gstpad.c: (gst_pad_template_new):
20583           fix memleaks
20584
20585 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20586
20587         * configure.ac:
20588           say what CHECK flags we use
20589         * docs/libs/gstreamer-libs.types:
20590         * libs/gst/controller/Makefile.am:
20591         * libs/gst/controller/gst-controller.c:
20592         * libs/gst/controller/gst-controller.h:
20593         * libs/gst/controller/gst-helper.c:
20594         * libs/gst/controller/gst-interpolation.c:
20595         * libs/gst/controller/gstcontroller.c:
20596         * libs/gst/controller/gsthelper.c:
20597         * libs/gst/controller/gstinterpolation.c:
20598         * tools/gst-inspect.c: (print_plugin_info):
20599           we don't use dashes in header names
20600
20601 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20602
20603         * check/Makefile.am:
20604         * check/gst/.cvsignore:
20605         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20606         (gst_pipeline_suite), (main):
20607           adding a test for pipelines and state changes
20608         * gst/gstutils.c: (get_state_func):
20609           add some debugging
20610         * gstreamer.spec.in:
20611           fix up spec file
20612
20613 2005-09-08  Michael Smith <msmith@fluendo.com>
20614
20615         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20616         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20617         (gst_file_src_is_seekable), (gst_file_src_get_size),
20618         (gst_file_src_start):
20619         * gst/elements/gstfilesrc.h:
20620           Various fixes for unseekable, unmmapable, and non-normal files, so
20621           that fallback to read() rather than mmap() works.
20622         * gst/gstevent.c: (gst_event_new_newsegment):
20623           Allow newsegment events with segment_start == segment_end, as will
20624           correctly happen if you use filesrc on a zero-size file, for
20625           example.
20626
20627 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20628
20629         * gst/gstplugin.c: (gst_plugin_load_file):
20630           Call g_module_close when we don't load the module
20631
20632         * gst/registries/gstlibxmlregistry.c:
20633         (gst_xml_registry_get_property):
20634           Port leak fix from 0.8
20635
20636 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20637
20638         * docs/gst/gstreamer-docs.sgml:
20639         * docs/gst/tmpl/.cvsignore:
20640         * docs/gst/tmpl/gsttrace.sgml:
20641         * docs/gst/tmpl/gsttrashstack.sgml:
20642         * gst/Makefile.am:
20643         * gst/gst.h:
20644         * gst/gstelement.h:
20645         * gst/gstevent.h:
20646         * gst/gstmessage.c:
20647         * gst/gstmessage.h:
20648         * gst/gsttag.c:
20649         * gst/gsttag.h:
20650         * gst/gsttaginterface.c:
20651         * gst/gsttaginterface.h:
20652         * gst/gsttaglist.c:
20653         * gst/gsttaglist.h:
20654         * gst/gsttagsetter.c:
20655         * gst/gsttagsetter.h:
20656         * gst/gsttrace.c:
20657         * gst/gsttrace.h:
20658         * gst/gsttrashstack.c:
20659           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20660           inlined docs for gsttrace, gsttrashstack
20661
20662 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20663
20664         * gst/Makefile.am:
20665         * gst/elements/gstbufferstore.h:
20666         * gst/elements/gsttypefindelement.c:
20667         * gst/elements/gsttypefindelement.h:
20668         * gst/gst.h:
20669         * gst/gsttypefind.c:
20670         * gst/gsttypefind.h:
20671         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20672         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20673         (gst_type_find_factory_dispose),
20674         (gst_type_find_factory_unload_thyself),
20675         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20676         (gst_type_find_factory_get_caps),
20677         (gst_type_find_factory_get_extensions),
20678         (gst_type_find_factory_call_function):
20679         * gst/gsttypefindfactory.h:
20680         * gst/registries/gstlibxmlregistry.c:
20681         * gst/registries/gstxmlregistry.c:
20682           splitted gsttypefind into gsttypefind, gsttypefindfactory
20683
20684 2005-09-07  Andy Wingo  <wingo@pobox.com>
20685
20686         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20687         condition whereby the pad's task function is entered before the
20688         pad_mode variable was set.
20689
20690 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20691
20692         * gst/gstpad.c: (gst_pad_alloc_buffer):
20693           Catch misbehaving pad_alloc functions that don't
20694           set up caps and do it for them.
20695
20696 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20697
20698         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20699           test for pipe!=NULL
20700         * docs/gst/tmpl/.cvsignore:
20701         * docs/gst/tmpl/gstmemchunk.sgml:
20702         * docs/gst/tmpl/gstparse.sgml:
20703         * docs/gst/tmpl/gsttaglist.sgml:
20704         * docs/gst/tmpl/gsttagsetter.sgml:
20705         * docs/gst/tmpl/gsttypefind.sgml:
20706         * docs/gst/tmpl/gsttypefindfactory.sgml:
20707         * gst/gstmemchunk.c:
20708         * gst/gstparse.c:
20709         * gst/gsttag.c:
20710         * gst/gsttaginterface.c:
20711         * gst/gsttypefind.c:
20712         * gst/gsttypefind.h:
20713           inlined more docs
20714
20715 === release 0.9.2 ===
20716
20717 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20718
20719         * NEWS:
20720         * RELEASE:
20721         * configure.ac:
20722           releasing 0.9.2, "South"
20723
20724 2005-09-05  Andy Wingo  <wingo@pobox.com>
20725
20726         * gst/registries/gstxmlregistry.h:
20727         * gst/registries/gstxmlregistry.c: Um... resurrect...
20728         
20729         * gst/registries/gstxmlregistry.h:
20730         * gst/registries/gstxmlregistry.c: and update to newer API.
20731         Incidentally they should be a bit faster now that they don't have
20732         to parse the caps.
20733         
20734 2005-09-05  Andy Wingo  <wingo@pobox.com>
20735
20736         * gst/registries/gstxmlregistry.h:
20737         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20738         replaced by the libxml registry a while back
20739
20740 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20741
20742         * docs/gst/tmpl/gstplugin.sgml:
20743         * gst/elements/gstelements.c:
20744         * gst/gst.c:
20745         * gst/gstplugin.c: (gst_plugin_register_func),
20746         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20747         (gst_plugin_get_source):
20748         * gst/gstplugin.h:
20749         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20750         (gst_xml_registry_save_plugin):
20751         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20752         (gst_xml_registry_save_plugin):
20753         * tools/gst-inspect.c: (print_plugin_info):
20754           add a "source" plugin description field, to represent the source
20755           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20756           will set it to PACKAGE, which is automake's idea of the name of
20757           the source project.
20758
20759 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20760
20761         * Makefile.am:
20762         * autogen.sh:
20763         * configure.ac:
20764         * docs/Makefile.am:
20765         * docs/faq/Makefile.am:
20766         * docs/gst/tmpl/gstelement.sgml:
20767         * docs/gst/tmpl/gsttypes.sgml:
20768         * docs/htmlinstall.mak:
20769         * docs/manual/Makefile.am:
20770         * docs/pwg/Makefile.am:
20771           reorganize doc build a little
20772           split out docbook and gtk-doc stuff
20773           have two separate --enable's and enable them through autogen
20774           but disable by default in configure (to be similar to other
20775           projects)
20776         * gstreamer.spec.in:
20777           clean up docs install
20778         * po/af.po:
20779         * po/az.po:
20780         * po/ca.po:
20781         * po/cs.po:
20782         * po/de.po:
20783         * po/en_GB.po:
20784         * po/fr.po:
20785         * po/it.po:
20786         * po/nb.po:
20787         * po/nl.po:
20788         * po/ru.po:
20789         * po/sq.po:
20790         * po/sr.po:
20791         * po/sv.po:
20792         * po/tr.po:
20793         * po/uk.po:
20794         * po/vi.po:
20795           translation updates
20796
20797 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20798
20799         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20800           Add comment.
20801           
20802         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20803         (gst_fake_sink_change_state):
20804           Make state change function thread-safe.
20805           
20806         * gst/gstpad.c: (gst_pad_alloc_buffer):
20807           Set offset on generic buffer allocated by fallback.
20808
20809 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20810
20811         * docs/gst/gstreamer-sections.txt:
20812         * docs/gst/tmpl/gstelement.sgml:
20813         * gst/gstpad.c:
20814         * libs/gst/controller/gst-controller.c:
20815         (gst_controlled_property_set_interpolation_mode),
20816         (gst_controlled_property_new),
20817         (gst_controller_find_controlled_property):
20818          run the wingo-magic script against the docs
20819
20820 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20821
20822         * docs/gst/gstreamer-docs.sgml:
20823         * docs/gst/gstreamer-sections.txt:
20824         * docs/gst/tmpl/.cvsignore:
20825         * docs/gst/tmpl/gstelementdetails.sgml:
20826         * docs/gst/tmpl/gstelementfactory.sgml:
20827         * gst/gst.c:
20828         * gst/gstbus.c:
20829         * gst/gstelementfactory.c:
20830         * gst/gstelementfactory.h:
20831           merged elementdetails docs into elementfactory docs
20832           inlined both
20833
20834 2005-09-02  Andy Wingo  <wingo@pobox.com>
20835
20836         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20837         consider this enum an enum and not a flags.
20838
20839 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20840
20841         * docs/gst/gstreamer-docs.sgml:
20842         * docs/gst/tmpl/.cvsignore:
20843         * docs/gst/tmpl/gstghostpad.sgml:
20844         * docs/gst/tmpl/gstiterator.sgml:
20845         * docs/gst/tmpl/gstmacros.sgml:
20846         * docs/gst/tmpl/gstrealpad.sgml:
20847         * docs/gst/tmpl/gstregistry.sgml:
20848         * docs/gst/tmpl/gstregistrypool.sgml:
20849         * docs/gst/tmpl/gststructure.sgml:
20850         * docs/gst/tmpl/gstsystemclock.sgml:
20851         * docs/gst/tmpl/gsttrace.sgml:
20852         * gst/gstghostpad.c:
20853         * gst/gstmacros.h:
20854         * gst/gstmemchunk.c:
20855         * gst/gstmemchunk.h:
20856         * gst/gstqueue.c:
20857         * gst/gstregistry.c:
20858         * gst/gstregistrypool.c:
20859         * gst/gststructure.c:
20860         * gst/gstsystemclock.c:
20861           more docs inlined
20862
20863 2005-09-02  Andy Wingo  <wingo@pobox.com>
20864
20865         * gst/gstelement.h (GstState): Renamed from GstElementState,
20866         changed to be a normal enum instead of flags.
20867         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20868         munged to be GST_STATE_CHANGE_*.
20869         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20870         work with the new state representation.
20871         (GstStateChange): New enumeration of possible state transitions.
20872         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20873         (GstElementClass::change_state): Pass the GstStateChange along as
20874         an argument. Helps language bindings, so they don't have to use
20875         tricky lock-needing macros like GST_STATE_CHANGE ().
20876
20877         * scripts/update-states (file): New script. Run it on a file to
20878         update it for state naming and API changes. Updates files in
20879         place.
20880
20881         * All files updated for the new API.
20882
20883 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20884
20885         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20886         * gst/gstutils.c: (gst_util_set_value_from_string),
20887         (gst_util_set_object_arg):
20888           fix a bunch of unchecked return values
20889         * tools/gst-complete.c: (main):
20890         * gstreamer.spec.in:
20891           clean up a little
20892
20893 2005-09-01  Wim Taymans  <wim@fluendo.com>
20894
20895         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20896         (gst_base_sink_event), (gst_base_sink_do_sync),
20897         (gst_base_sink_handle_event):
20898         * gst/base/gstbasesink.h:
20899         Handle newsegments more correctly.
20900
20901         * gst/gstbus.c:
20902         Fix docs.
20903
20904         * gst/gstevent.c: (gst_event_new_newsegment):
20905         A newsegment cannot have a start_time of -1
20906
20907 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20908
20909         * win32/gstenumtypes.c:
20910         * win32/gstenumtypes.h:
20911           Update
20912
20913 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20914
20915         * libs/gst/controller/gst-controller.c:
20916         (gst_controlled_property_set_interpolation_mode),
20917         (gst_controlled_property_new):
20918          fixed boolean again
20919
20920 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20921
20922         * docs/faq/gst-uninstalled:
20923           add -good
20924         * gst/gstevent.c:
20925         * gst/gstevent.h:
20926           remove wrong docs
20927         * gst/gstutils.c: (gst_element_link_filtered):
20928         * gst/gstutils.h:
20929           add gst_element_link_filtered
20930
20931 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20932
20933         * docs/gst/gstreamer-docs.sgml:
20934         * docs/gst/gstreamer-sections.txt:
20935         * docs/gst/tmpl/.cvsignore:
20936         * docs/gst/tmpl/gsterror.sgml:
20937         * docs/gst/tmpl/gstfilter.sgml:
20938         * docs/gst/tmpl/gsturihandler.sgml:
20939         * docs/gst/tmpl/gsturitype.sgml:
20940         * docs/gst/tmpl/gstutils.sgml:
20941         * docs/gst/tmpl/gstxml.sgml:
20942         * gst/gsterror.c:
20943         * gst/gsterror.h:
20944         * gst/gstfilter.c:
20945         * gst/gsturi.c:
20946         * gst/gsturitype.c:
20947         * gst/gstutils.c:
20948         * gst/gstxml.c:
20949           inlined more docs, fixed double id-ref
20950
20951 2005-08-31  Wim Taymans  <wim@fluendo.com>
20952
20953         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20954         (gst_base_transform_handle_buffer):
20955         Passthrough elements don't need the caps as they don't care.
20956
20957 2005-08-31  Wim Taymans  <wim@fluendo.com>
20958
20959         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20960         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20961         Don't leak refcounts on buffers.
20962
20963 2005-08-31  Wim Taymans  <wim@fluendo.com>
20964
20965         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20966         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20967         (gst_base_transform_chain), (gst_base_transform_change_state):
20968         * gst/base/gstbasetransform.h:
20969         Handle the case where we are not negotiated more gracefully.
20970
20971 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20972
20973         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20974         (gst_file_src_map_region):
20975           Set READONLY flag on mmap'ed buffers, otherwise
20976           gst_buffer_make_writable() won't work properly (#314708).
20977
20978 2005-08-31  Wim Taymans  <wim@fluendo.com>
20979
20980         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20981         passthrough elements can even do inplace on non writable
20982         buffers (as they don't touch them).
20983
20984 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20985
20986         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20987         (gst_test_mono_source_set_property),
20988         (gst_test_mono_source_class_init), (GST_START_TEST),
20989         (gst_controller_suite):
20990           more tests (hehe I have the most)
20991         * gst/gstbus.c:
20992           describe popping messages whenusing mulltiple sources
20993         * libs/gst/controller/gst-controller.c:
20994         (gst_controlled_property_set_interpolation_mode),
20995         (gst_controlled_property_new):
20996         * libs/gst/controller/gst-controller.h:
20997         * libs/gst/controller/gst-interpolation.c:
20998           implement boolean properties
20999
21000 2005-08-31  Wim Taymans  <wim@fluendo.com>
21001
21002         * gst/gstminiobject.c: (gst_mini_object_ref):
21003         Cannot assert that the refcount has to be positive
21004         since a disposed object can be resurrected.
21005
21006 2005-08-31  Wim Taymans  <wim@fluendo.com>
21007
21008         * gst/gstpad.c: (gst_pad_init):
21009         Revert change, need to first fix badly behaving 
21010         apps.
21011
21012 2005-08-30  Wim Taymans  <wim@fluendo.com>
21013
21014         * check/elements/fakesrc.c: (setup_fakesrc):
21015         * check/elements/identity.c: (setup_identity):
21016         Activate pads before using them.
21017
21018 2005-08-30  Wim Taymans  <wim@fluendo.com>
21019
21020         * gst/base/gstadapter.c: (gst_adapter_flush):
21021         Flushing out 0 bytes is ok for this function.
21022
21023         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21024         no newsegment gives a warning and sets the start/stop to 
21025         invalid.
21026
21027         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21028         (gst_base_transform_set_passthrough):
21029         Some debug info.
21030
21031         * gst/gstminiobject.c: (gst_mini_object_ref):
21032         Check refcount here too.
21033
21034         * gst/gstpad.c: (gst_pad_init):
21035         Pads are initially flushing and refusing data.
21036
21037         * gst/gstutils.c: (gst_element_link_pads_filtered):
21038         When adding a capsfilter element make sure it has the
21039         same state as the parent bin.
21040
21041 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21042
21043         * docs/gst/tmpl/.cvsignore:
21044         * docs/gst/tmpl/gstformat.sgml:
21045         * docs/gst/tmpl/gstversion.sgml:
21046         * gst/gstbus.h:
21047         * gst/gstformat.c:
21048         * gst/gstformat.h:
21049         * gst/gstversion.h.in:
21050           more docs and two more inlined
21051
21052 2005-08-30  Wim Taymans  <wim@fluendo.com>
21053
21054         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21055         Don't sync to clock.
21056
21057 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21058
21059         * docs/gst/gstreamer-sections.txt:
21060           ultral33t func10ns deserve to appear in the docs actually
21061         * docs/gst/tmpl/.cvsignore:
21062         * docs/gst/tmpl/gstcompat.sgml:
21063         * docs/gst/tmpl/gstconfig.sgml:
21064         * gst/check/gstcheck.c:
21065         * gst/gstcompat.h:
21066         * gst/gstconfig.h.in:
21067           inlined more docs
21068
21069 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21070
21071         * docs/gst/tmpl/.cvsignore:
21072         * docs/gst/tmpl/gstquery.sgml:
21073         * docs/gst/tmpl/gstutils.sgml:
21074         * gst/gstquery.c:
21075         * gst/gstquery.h:
21076           inlined and extended docs
21077
21078 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21079
21080         * check/gst-libs/controller.c: (GST_START_TEST),
21081         (gst_controller_suite):
21082           more tests
21083         * docs/gst/tmpl/gstutils.sgml:
21084         * docs/libs/gstreamer-libs-sections.txt:
21085         * docs/libs/tmpl/gstdataprotocol.sgml:
21086           include path fixes
21087         * examples/controller/audio-example.c: (main):
21088           controller example works now
21089         * gst/gstclock.h:
21090           doc fixes
21091         * tools/gst-inspect.c: (print_element_properties_info):
21092           show param spec flags
21093
21094 2005-08-29  Andy Wingo  <wingo@pobox.com>
21095
21096         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21097
21098 2005-08-28  Andy Wingo  <wingo@pobox.com>
21099
21100         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21101         as having two arguments instead of just one. Allows superclasses
21102         to access information on subclasses -- see the terrible for() loop
21103         in gtype.c:g_type_create_instance for the reason why. All callers
21104         changed.
21105
21106 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21107
21108         * docs/design/part-messages.txt:
21109           update info
21110         * docs/gst/tmpl/.cvsignore:
21111         * docs/gst/tmpl/gstcaps.sgml:
21112         * docs/gst/tmpl/gstclock.sgml:
21113         * gst/gstbus.c:
21114         * gst/gstcaps.c:
21115         * gst/gstcaps.h:
21116         * gst/gstclock.c:
21117         * gst/gstclock.h:
21118         * gst/gstmessage.c:
21119           added descriptions for bus and message
21120           inline caps and clock docs
21121
21122 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21123
21124         * gst/gstmessage.c:
21125         * gst/gstmessage.h:
21126           doc fixes
21127
21128 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21129
21130         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21131           fix div-by-zero
21132
21133 2005-08-26  Andy Wingo  <wingo@pobox.com>
21134
21135         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21136         element_set_state's return val.
21137         (test_2_elements): Add test that's been disabled for months.
21138
21139         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21140         can-activate-pull properties.
21141
21142         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21143         can-activate-pull properties. Implement is_seekable so fakesrc can
21144         operate in pull mode.
21145
21146         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21147         properties.
21148         (gst_base_sink_activate, gst_base_sink_activate_pull)
21149         (gst_base_sink_activate_push): Make activation mode choosing work.
21150         Cleanups.
21151         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21152         is right. Make pull mode work. Post an eos before pausing in pull
21153         mode.
21154         (gst_base_sink_change_state): Pay attention to the core's
21155         change_state() return val.
21156         
21157         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21158         has-getrange properties. Cleanups.
21159         
21160         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21161         has_getrange and replace with can_activate_pull and
21162         can_activate_push.
21163
21164         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21165         locking comments. Remove has_loop, has_chain and replace with
21166         can_activate_pull and can_activate_push.
21167
21168 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
21169
21170         * configure.ac:
21171         * examples/Makefile.am:
21172         * examples/metadata/Makefile.am:
21173         * examples/metadata/read-metadata.c: (message_loop),
21174         (have_pad_handler), (make_pipeline), (print_tag), (main):
21175           Add metadata reading example that loops over a list of filenames,
21176           dumping any tags found.
21177
21178         * gst/gstbus.c: (gst_bus_dispose):
21179         * gst/gstelement.c: (gst_element_dispose):
21180           Release a few potentially-held references in dispose.
21181
21182 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21183
21184         * docs/gst/tmpl/gstminiobject.sgml:
21185           do *not* add tmpl/*.sgml files to CVS!
21186
21187 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21188
21189         * libs/gst/bytestream/.cvsignore:
21190         * libs/gst/bytestream/Makefile.am:
21191         * libs/gst/bytestream/adapter.c:
21192         * libs/gst/bytestream/adapter.h:
21193         * libs/gst/bytestream/bytestream.c:
21194         * libs/gst/bytestream/bytestream.h:
21195         * libs/gst/bytestream/filepad.c:
21196         * libs/gst/bytestream/filepad.h:
21197           removing obsolete files
21198
21199 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21200
21201         * docs/gst/gstreamer-docs.sgml:
21202         * docs/libs/gstreamer-libs-docs.sgml:
21203           disabed additional index entries again, as this makes docs-gen just
21204           slow and they aren't useful yet
21205         * docs/libs/gstreamer-libs-sections.txt:
21206           little -section.txt cleanup for libs
21207
21208 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21209
21210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21211         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21212           fix up some debugging
21213         (gst_base_transform_get_unit_size),
21214         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21215         (gst_base_transform_handle_buffer):
21216         * gst/base/gstbasetransform.h:
21217           handle and store timed NEWSEGMENT events so that subclasses that
21218           calculate time by counting samples have a segment_start time they
21219           need to add to their timestamps - see audioresample
21220
21221 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21222
21223         * gst/gstbin.h:
21224           removed ';' from the end of macro defs
21225         * docs/gst/gstreamer-docs.sgml:
21226         * docs/gst/gstreamer-sections.txt:
21227         * docs/gst/tmpl/.cvsignore:
21228         * gst/gstbus.h:
21229         * gst/gstelement.c: (gst_element_class_init),
21230         (gst_element_set_state), (activate_pads),
21231         (gst_element_save_thyself):
21232         * gst/gstevent.c: (gst_event_new_newsegment):
21233         * gst/gstevent.h:
21234         * gst/gstiterator.c:
21235         * gst/gstiterator.h:
21236         * gst/gstpad.c:
21237         * gst/gstprobe.h:
21238         * gst/gstutils.c: (gst_pad_query_convert):
21239         * gst/gstutils.h:
21240           fixed parameter name mismatches between source, header and docs
21241           added some more docs, resolved the last batch of unused elements in
21242           docs (now someone needs to doc them)
21243
21244 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21245
21246         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21247         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21248           don't walk through the plugins backwards.  Where is all this
21249           reversed logic coming from ?
21250
21251 2005-08-25  Wim Taymans  <wim@fluendo.com>
21252
21253         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21254         (gst_base_transform_transform_size),
21255         (gst_base_transform_configure_caps),
21256         (gst_base_transform_get_unit_size),
21257         (gst_base_transform_buffer_alloc),
21258         (gst_base_transform_change_state):
21259         * gst/base/gstbasetransform.h:
21260         Cache caps unit_size.
21261         Make sure we cannot negotiate up and downstream at the
21262         same time.
21263
21264 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21265
21266         * gst/gst.c: (init_pre), (init_post):
21267           register the installed plugin path after the env var
21268         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21269         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21270           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21271           directories, so the tests can prefer uninstalled over installed
21272
21273 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21274
21275         * gst/base/gstbasetransform.h:
21276           comment
21277         * gst/gstpad.c:
21278           add to docs
21279
21280 2005-08-25  Wim Taymans  <wim@fluendo.com>
21281
21282         * gst/gstbin.c: (bin_bus_handler):
21283         Be a bit more conservative about the posted message.
21284         
21285         * gst/gstbus.c: (gst_bus_post):
21286         Some cleanups, warn wrong return values.
21287
21288 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
21289
21290         * check/gst/gstbin.c: (GST_START_TEST):
21291         * gst/gstbin.c: (bin_bus_handler):
21292         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21293         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21294         (gst_message_new_warning), (gst_message_new_tag),
21295         (gst_message_new_state_changed), (gst_message_new_segment_start),
21296         (gst_message_new_segment_done), (gst_message_new_custom):
21297         * gst/gstmessage.h:
21298         * tools/gst-launch.c: (event_loop):
21299         * tools/gst-md5sum.c: (event_loop):
21300           Revert unpopular change for GST_MESSAGE_SRC to GObject.
21301
21302 2005-08-25  Wim Taymans  <wim@fluendo.com>
21303
21304         * check/generic/states.c: (GST_START_TEST):
21305         Cleanup can be done at the end.
21306
21307         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21308         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21309         (gst_task_get_state), (gst_task_start), (gst_task_pause):
21310         Oh boy.. Thanks for finding this, Thomas. 
21311
21312 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21313
21314         * docs/gst/gstreamer.types:
21315           added missing types
21316
21317 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21318
21319         * docs/gst/gstreamer-docs.sgml:
21320         * docs/gst/gstreamer-sections.txt:
21321         * docs/gst/tmpl/.cvsignore:
21322         * gst/gstbin.c:
21323         * gst/gstiterator.c:
21324         * gst/gstutils.c:
21325         * gst/registries/gstxmlregistry.h:
21326           added missing classes and symbols (123 more to go)
21327           removed removed symbols from section file
21328           fixed many doc-comments
21329
21330 2005-08-24  Wim Taymans  <wim@fluendo.com>
21331
21332         * check/generic/states.c: (GST_START_TEST):
21333         Make sure all tasks are stopped.
21334
21335         * check/gst/gstbin.c: (GST_START_TEST):
21336         Unref after usage for proper valgrinding.
21337
21338         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21339         Really wait for the task to stop before destroying the
21340         mutex.
21341
21342         * gst/gstqueue.c: (gst_queue_sink_activate_push),
21343         (gst_queue_src_activate_push):
21344         Small cleanups. Don't stop the task when we did not start
21345         it.
21346
21347         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21348         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21349         (gst_task_get_state), (gst_task_start), (gst_task_pause),
21350         (gst_task_join):
21351         * gst/gsttask.h:
21352         Protect the stream lock with the object lock.
21353         Disallow setting the stream lock when running.
21354         Add cleanup_all to wait for the threadpool to finish.
21355         Remove code to autoallocate a mutex if none was provided.
21356         Add _join() to wait for a task to stop.
21357         Protect the thread pool with a global lock.
21358
21359 2005-08-24  Wim Taymans  <wim@fluendo.com>
21360
21361         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21362         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21363         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21364         * gst/base/gstbasesink.h:
21365         Handle newsegment events correctly.
21366         Drop buffers out of the segment range.
21367
21368 2005-08-22  Andy Wingo  <wingo@pobox.com>
21369
21370         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21371         macro, implements an interface and gstimplementsinterface for a
21372         new type.
21373
21374 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21375
21376         * check/Makefile.am:
21377         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21378           add a test that does a bunch of state changes on elements
21379           needs some fixing for valgrind
21380         * check/states/sinks.c: (gst_object_suite):
21381           whitespace
21382         * gst/gstcaps.h:
21383           add prototype for gst_caps_is_equal_fixed
21384         * gst/gstplugin.c:
21385         * gst/gstregistrypool.c:
21386           doc fixes
21387
21388 2005-08-24  Andy Wingo  <wingo@pobox.com>
21389
21390         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21391         convert a negative value. Doesn't make much sense. Mostly this is
21392         here to force callers to ensure -1 maps to -1.
21393
21394 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21395
21396         * docs/pwg/advanced-types.xml:
21397           Well done to Michael for catching my deliberate introduction
21398           of this spelling mistake. 
21399         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21400         * gst/gstelement.h:
21401           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21402           unlink pads before removing the element from the bin.
21403
21404 2005-08-24  Andy Wingo  <wingo@pobox.com>
21405
21406         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21407         the same thing as GST_DEBUG=*:4.
21408         (parse_debug_level, parse_debug_category): New helper parsers.
21409
21410 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21411
21412         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21413         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21414         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21415         (gst_base_transform_buffer_alloc),
21416         (gst_base_transform_handle_buffer):
21417           use gboolean return values and pointers to size so we can use the
21418           full GST_BUFFER_SIZE range (guint) for buffer sizes
21419           use GstPadDirection for transform_caps
21420         * gst/base/gstbasetransform.h:
21421           rename get_size to get_unit_size since that's what it is
21422         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21423           use GstPadDirection for transform_caps
21424         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21425         * gst/gstutils.h:
21426           cleanup and debugging
21427
21428 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21429
21430         * gst/gstelement.c: (gst_element_class_init),
21431         (gst_element_set_state), (activate_pads),
21432         (gst_element_save_thyself):
21433         * tools/gst-compprep.c: (main):
21434         * tools/gst-inspect.c: (print_element_properties_info):
21435         * tools/gst-xmlinspect.c: (print_element_properties):
21436           Fixed long standing mem-leak
21437
21438 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21439
21440         * check/gst/gstbin.c: (GST_START_TEST):
21441         * gst/gstbin.c: (bin_bus_handler):
21442         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21443         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21444         (gst_message_new_warning), (gst_message_new_tag),
21445         (gst_message_new_state_changed), (gst_message_new_segment_start),
21446         (gst_message_new_segment_done), (gst_message_new_custom):
21447         * gst/gstmessage.h:
21448         * tools/gst-launch.c: (event_loop):
21449         * tools/gst-md5sum.c: (event_loop):
21450           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21451           that applications can sensibly post custom messages with references
21452           to their own objects.
21453
21454 2005-08-24  Andy Wingo  <wingo@pobox.com>
21455
21456         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21457         already.
21458
21459 2005-08-24  Wim Taymans  <wim@fluendo.com>
21460
21461         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21462         (gst_base_transform_transform_caps),
21463         (gst_base_transform_transform_size),
21464         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21465         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21466         (gst_base_transform_handle_buffer):
21467         * gst/base/gstbasetransform.h:
21468         Many fixes and new features added by Thomas. Can now also do
21469         transforms with variable sizes and a custom fixate_caps function.
21470
21471 2005-08-24  Wim Taymans  <wim@fluendo.com>
21472
21473         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21474         Some debugging.
21475
21476         * gst/gstclock.h:
21477         Cast to ClockTime before formatting to time.
21478
21479         * gst/gstutils.h:
21480         Cleanups.
21481
21482 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21483
21484         * check/gst-libs/controller.c: (GST_START_TEST),
21485         (gst_controller_suite):
21486         * docs/gst/tmpl/gstcaps.sgml:
21487         * docs/gst/tmpl/gstghostpad.sgml:
21488         * docs/gst/tmpl/gstquery.sgml:
21489         * docs/gst/tmpl/gstutils.sgml:
21490         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21491         (gst_object_sink_values), (gst_object_get_value_arrays),
21492         (gst_object_get_value_array):
21493           gracefully handle helper method calls to objects that are not beeing
21494           controlled, added test case for that          
21495
21496 2005-08-23  Wim Taymans  <wim@fluendo.com>
21497
21498         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21499         (gst_event_new_newsegment), (gst_event_parse_newsegment),
21500         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21501         (gst_event_parse_qos), (gst_event_new_seek),
21502         (gst_event_parse_seek):
21503         * gst/gstevent.h:
21504         Some more debugging output and doc cleanups.
21505
21506         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21507         Fix possible deadlock.
21508
21509 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21510
21511         * docs/gst/gstreamer-docs.sgml:
21512         * docs/gst/gstreamer-sections.txt:
21513         * docs/gst/gstreamer.types:
21514         * docs/gst/tmpl/.cvsignore:
21515         * gst/gstbin.h:
21516         * gst/gstbus.c:
21517         * gst/gstelement.c:
21518         * gst/gstevent.h:
21519           added 100 symbols from gstreamer-unused.txt to the right sections
21520           fixed more broken comments
21521           added GstBus to docs
21522
21523 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21524
21525         * docs/gst/gstreamer-sections.txt:
21526         * docs/gst/tmpl/.cvsignore:
21527         * docs/gst/tmpl/gstbin.sgml:
21528         * docs/gst/tmpl/gstbuffer.sgml:
21529         * gst/base/gstbasesrc.c:
21530         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21531         * gst/gstbuffer.c:
21532         * gst/gstbuffer.h:
21533         * tools/gst-launch.1.in:
21534           inlined more doc comments, added missing comments and fixed comments
21535           fixed typos
21536
21537 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21538
21539         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21540           some debugging
21541         * gst/gstcaps.h:
21542           whitespace fixes
21543         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21544           more debugging
21545         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21546         * gst/gststructure.h:
21547           add a fixate function for booleans; add a FIXME that these func
21548           names should probably be gst_structure_fixate_*
21549
21550 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21551
21552         * docs/gst/gstreamer-docs.sgml:
21553         * docs/gst/gstreamer-sections.txt:
21554         * gst/Makefile.am:
21555         * gst/gstbin.c: (gst_bin_get_type),
21556         (gst_bin_child_proxy_get_child_by_index),
21557         (gst_bin_child_proxy_get_children_count),
21558         (gst_bin_child_proxy_init):
21559         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21560         (gst_child_proxy_get_child_by_index),
21561         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21562         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21563         (gst_child_proxy_get), (gst_child_proxy_set_property),
21564         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21565         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21566         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21567         * gst/gstchildproxy.h:
21568         * gst/parse/grammar.y:
21569         * tools/gst-inspect.c: (print_interfaces),
21570         (print_element_properties_info), (print_element_info):
21571           ported gstchildproxy over from 0.8
21572           ported gst-inspect fixes and enhancements over from 0.8
21573
21574 2005-08-22  Wim Taymans  <wim@fluendo.com>
21575
21576         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21577         (gst_base_transform_handle_buffer):
21578         Also call the transform function if we have ANY caps.
21579
21580         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21581         Fix debug info.
21582
21583 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21584
21585         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21586           Don't pretend to handle seek events if the source is not seekable
21587
21588 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21589
21590         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21591           Remove extra parameter to debug output
21592
21593         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21594         (gst_base_src_do_seek), (gst_base_src_activate_push):
21595           Fix seek event handling.
21596
21597         * gst/gstpipeline.c: (gst_pipeline_change_state):
21598         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21599         (gst_queue_src_activate_push):
21600           Don't start the src pad task on FLUSH_STOP if the pad
21601           isn't linked.
21602           Debug changes.
21603
21604 2005-08-22  Wim Taymans  <wim@fluendo.com>
21605
21606         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21607         Added check for gst_static_caps_get() refcounting.
21608
21609 2005-08-22  Wim Taymans  <wim@fluendo.com>
21610
21611         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21612         Make _static_caps_get() refcounting sane.
21613         
21614         * gst/gstelement.c: (gst_element_set_state):
21615         Add g_return_val_if_fail() to protect against segfaults.
21616
21617 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21618
21619         * docs/gst/tmpl/gstevent.sgml:
21620         * gst/gstevent.c:
21621         * gst/gstevent.h:
21622           inlined remaining docs, added missing doc comments
21623
21624 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21625
21626         * check/gst/gstbin.c: (GST_START_TEST):
21627           since we don't know when preroll is done, use refcount range
21628           check for the sink
21629         * gst/check/gstcheck.h:
21630           add macro for checking refcount range
21631
21632 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21633
21634         * check/Makefile.am:
21635           clean up environment for when registry gets built versus
21636           when actual tests are run; valgrind seems to not report
21637           leaks if GST_PLUGIN_PATH is set to some specific values
21638         * check/gst/gstbin.c: (GST_START_TEST):
21639           add more refcounting checks; maybe this exposes a
21640           preroll lock bug ?
21641         * common/check.mak:
21642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21643         * gst/check/gstcheck.h:
21644         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21645         (gst_bin_change_state):
21646         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21647           add/fix debugging/whitespace
21648
21649 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21650
21651         * check/gst/gstevent.c: (event_probe), (test_event),
21652         (GST_START_TEST):
21653          Er, don't call gst_bin_watch_for_state_change you idiot.
21654
21655 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21656
21657         * check/Makefile.am:
21658           Use CHECK_CFLAGS and CHECK_LIBS
21659         * check/gst/gstevent.c: (event_probe), (test_event),
21660         (GST_START_TEST):
21661           Don't leak events.
21662         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21663         (gst_base_src_start), (gst_base_src_stop),
21664         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21665         (gst_base_src_change_state):
21666           Sprinkle gst_base_src_stop liberally around error paths to fix
21667           problems reusing a source after failed state changes.
21668         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21669         (helper_find_suggest), (gst_type_find_helper):
21670           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21671         * gst/gstevent.h:
21672         * docs/gst/tmpl/gstevent.sgml:
21673           Migrate part of the docs from the SGML file. Wait for ensonic to
21674           tell me how I did it wrong ;)
21675         * tools/gst-typefind.c: (main):
21676           Extra robustness to state changes between files.
21677
21678 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21679
21680         * check/Makefile.am:
21681           don't valgrind the controller test - it's leaking - Stefan, HELP
21682         * gst/check/gstcheck.c: (gst_check_message_error),
21683         (gst_check_chain_func), (gst_check_setup_element),
21684         (gst_check_teardown_element), (gst_check_setup_src_pad),
21685         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21686         (gst_check_teardown_sink_pad):
21687         * gst/check/gstcheck.h:
21688           add a bunch of methods to set up elements, and src and sink pads
21689         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21690         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21691         (GST_START_TEST):
21692           use them
21693         * gst/gstmessage.c:
21694         * gst/gsttag.h:
21695           whitespace/doc fixes
21696
21697 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21698
21699         * gst/gstelement.h:
21700           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21701           be handled by the application and not always printed as well
21702
21703 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21704
21705         * check/Makefile.am:
21706           set GST_TOOLS_DIR
21707         * gst/check/gstcheck.c: (gst_check_message_error):
21708         * gst/check/gstcheck.h:
21709           add a fail_unless_equals_int
21710           add fail_unless for error messages
21711
21712 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21713
21714         * check/Makefile.am:
21715         * check/gst.supp:
21716         * common/Makefile.am:
21717         * common/check.mak:
21718         * common/gst.supp:
21719           factor out some of the common stuff so we can use it
21720
21721 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21722
21723         * check/Makefile.am:
21724         * check/gst/gstiterator.c: (GST_START_TEST):
21725         * check/gst/gstsystemclock.c: (GST_START_TEST),
21726         (gst_systemclock_suite):
21727         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21728         * gst/gstclock.c:
21729           valgrind more tests
21730
21731 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21732
21733         * check/elements/.cvsignore:
21734         * check/elements/gstfakesrc.c:
21735           rename to name of element
21736         * check/elements/identity.c: (chain_func), (event_func),
21737         (setup_identity), (cleanup_identity), (GST_START_TEST),
21738         (identity_suite), (main):
21739           add a test for identity
21740         * check/Makefile.am:
21741         * pkgconfig/Makefile.am:
21742         * pkgconfig/gstreamer-check.pc.in:
21743         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21744         * gst/check:
21745         * gst/Makefile.am:
21746         * configure.ac:
21747           move the check stuff to a library that gets installed
21748         * check/gst-libs/controller.c: (GST_START_TEST):
21749         * check/gst-libs/gdp.c:
21750         * check/gst/gst.c: (GST_START_TEST):
21751         * check/gst/gstbin.c:
21752         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21753         * check/gst/gstbus.c:
21754         * check/gst/gstcaps.c: (GST_START_TEST):
21755         * check/gst/gstelement.c:
21756         * check/gst/gstghostpad.c:
21757         * check/gst/gstiterator.c:
21758         * check/gst/gstmessage.c:
21759         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21760         * check/gst/gstobject.c:
21761         * check/gst/gstpad.c: (GST_START_TEST):
21762         * check/gst/gststructure.c: (GST_START_TEST):
21763         * check/gst/gstsystemclock.c: (GST_START_TEST),
21764         (gst_systemclock_suite):
21765         * check/gst/gsttag.c: (gst_tag_suite):
21766         * check/gst/gstvalue.c:
21767         * check/pipelines/cleanup.c:
21768         * check/pipelines/simple_launch_lines.c:
21769         * check/states/sinks.c:
21770           change include statement
21771
21772         * docs/gst/gstreamer-sections.txt:
21773         * docs/gst/tmpl/gstpad.sgml:
21774           document more pad stuff
21775         * gst/gstminiobject.c: (gst_mini_object_ref),
21776         (gst_mini_object_unref):
21777           debug refcounting
21778
21779 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21780
21781         * docs/gst/tmpl/gst.sgml:
21782         * gst/gst.c:
21783           eliminate another tmpl file, fix spelling in the long-description
21784
21785 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21786
21787         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21788         (test_event), (timediff), (gstevents_suite):
21789           Should fix build on 64-bit arch's
21790
21791 2005-08-18  Andy Wingo  <wingo@pobox.com>
21792
21793         Make sure that when a pipeline goes to PLAYING, that data has
21794         actually hit the sink.
21795
21796         * check/states/sinks.c (test_sink): A sink that doesn't get any
21797         data shouldn't return SUCCESS for going to either PLAYING or
21798         PAUSED. Test also the return values on the way back down.
21799
21800         * gst/gstelement.c (gst_element_set_state): When changing the
21801         state of an element currently changing state asynchronously, go to
21802         lost-state after commiting the pending state. Makes future calls
21803         to get_state continue to return ASYNC.
21804
21805         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21806         ASYNC when going to PLAYING if we still don't have preroll, as can
21807         happen with live sources.
21808
21809 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21810
21811         * docs/pwg/advanced-types.xml:
21812           Hack long paragraph into 2 chunks as a workaround for buggy
21813           jadetex version in sid and breezy that loops infinitely and
21814           eats all RAM.
21815
21816 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21817
21818         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21819         (test_event), (timediff), (gstevents_suite):
21820           Provide more error margin in clock measurements to allow for 
21821           g_get_current_time inaccuracies.
21822
21823 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21824
21825         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21826         (test_event), (timediff), (gstevents_suite):
21827            Fix error message output so I might be able to tell why the
21828            test works here but fails on the build farm.
21829
21830 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21831
21832         * check/Makefile.am:
21833         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21834         (test_event), (timediff), (gstevents_suite), (main):
21835           I wrote a test!
21836
21837         * docs/design/part-seeking.txt:
21838           Spelling correction
21839
21840         * docs/gst/tmpl/gstevent.sgml:
21841         * docs/gst/tmpl/gstfakesrc.sgml:
21842           Docs updates.
21843
21844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21845           Treat a buffer-without-newsegment the same as a receiving 
21846           a newsegment not in time format, and disable syncing to the clock
21847           with a warning.
21848
21849         * gst/gstbus.c: (gst_bus_set_sync_handler):
21850           Assert if anyone tries to replace the existing sync_handler for bus, 
21851           as only the owner should be setting it.
21852
21853         * gst/gstevent.h:
21854           Have a fixed set of custom event enums with events identified by
21855           their structure name (as in 0.8), rather than a free-for-all
21856           allowing collisions between enum values from different plugins.
21857
21858         * gst/gstpad.c: (gst_pad_class_init):
21859           Docs change.
21860           
21861         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21862           Handle out-of-band downstream events from the sending thread.
21863
21864 2005-08-17  Andy Wingo  <wingo@pobox.com>
21865
21866         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21867         play-timeout==0 to mean no timeout at all. In that case, don't
21868         bother with a get_state or a warning, just return directly, even
21869         if it's ASYNC.
21870
21871         * gst/base/gstbasetransform.c: Debug changes.
21872
21873         * gst/gstutils.h:
21874         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21875         ensure bins post state change messages. A bit of a hack but I can't
21876         think of a way to avoid it.
21877
21878         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21879
21880 2005-08-16  Andy Wingo  <wingo@pobox.com>
21881
21882         * gst/base/gstadapter.h:
21883         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21884         peek() but you own the data. Not terribly efficient atm.
21885
21886 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21887
21888         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21889         (gst_element_found_tags):
21890         * gst/gstutils.h:
21891           Add two utility functions for tag handling.
21892
21893 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21894
21895         * docs/manual/advanced-dataaccess.xml:
21896         * docs/manual/basics-helloworld.xml:
21897           Fix docs to use _bin_add() before _link(), which fixes the examples
21898           with recent core versions (reported by Madhan Raj M
21899           <raj_madan@rediffmail.com>, #313199).
21900
21901 2005-08-16  Wim Taymans  <wim@fluendo.com>
21902
21903         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21904         Added subtract checks.
21905
21906         * docs/design/part-events.txt:
21907         Some more docs about newsegment
21908
21909         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21910         Fix FIXME
21911
21912         * gst/gstcaps.c: (gst_caps_to_string):
21913         Add comments, cleanups.
21914         
21915         * gst/gstelement.c: (gst_element_save_thyself):
21916         cleanups
21917         
21918         * gst/gstvalue.c: (gst_value_collect_int_range),
21919         (gst_string_unwrap), (gst_value_union_int_int_range),
21920         (gst_value_union_int_range_int_range),
21921         (gst_value_intersect_int_int_range),
21922         (gst_value_intersect_int_range_int_range),
21923         (gst_value_intersect_double_double_range),
21924         (gst_value_intersect_double_range_double_range),
21925         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21926         (gst_value_subtract_int_range_int),
21927         (gst_value_subtract_double_range_double),
21928         (gst_value_subtract_double_range_double_range),
21929         (gst_value_subtract_from_list), (gst_value_subtract_list),
21930         (gst_value_can_compare), (gst_value_compare_fraction):
21931         Cleanups, add comments, remove unneeded asserts.
21932
21933 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21934
21935         * tools/gst-launch.c: (event_loop):
21936           don't convert NULL structures to strings
21937
21938 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21939
21940         * docs/gst/gstreamer-sections.txt:
21941           made some defines private
21942         * docs/gst/tmpl/gstconfig.sgml:
21943         * docs/gst/tmpl/gstqueue.sgml:
21944         * docs/gst/tmpl/gsttaglist.sgml:
21945         * docs/gst/tmpl/gsttypes.sgml:
21946         * docs/gst/tmpl/gstutils.sgml:
21947         * docs/pwg/appendix-porting.xml:
21948         * gst/base/gstbasesink.h:
21949         * gst/base/gstbasesrc.c:
21950         * gst/base/gstbasesrc.h:
21951         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21952         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21953         * gst/gstelement.c: (gst_element_class_init):
21954         * gst/gstpad.c: (gst_pad_class_init):
21955         * gst/gstqueue.c: (gst_queue_class_init):
21956         * gst/gstxml.c: (gst_xml_class_init):
21957           documented all undocumented signal inline
21958         * libs/gst/controller/gst-controller.h:
21959           added padding
21960
21961 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21962
21963         * docs/pwg/appendix-porting.xml:
21964           Document _set_link_function -> _set_setcaps_function.
21965
21966 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21967
21968         * check/Makefile.am:
21969           add a .check target for running the check
21970         * check/gst-libs/controller.c: (GST_START_TEST):
21971           cosmetic fixups
21972         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21973           complete checks for gstbuffer; would be nice if I could get the
21974           gcov stuff to work so I can see if I actually completed gstbuffer.c
21975         * check/gstcheck.h:
21976           add ASSERT_BUFFER_REFCOUNT
21977
21978 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21979
21980         * docs/gst/gstreamer-sections.txt:
21981         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21982         * gst/gsttag.h:
21983           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21984           spew out a warning if a tag that is already registered
21985           is re-registered, unless it is re-registered with a 
21986           different type (#308438).
21987
21988 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21989
21990         * docs/pwg/appendix-porting.xml:
21991         * docs/pwg/building-state.xml:
21992           Add some paragraphs about state changes in 0.9 to the PWG
21993           and the porting guide, in particular about the new meaning
21994           of GST_STATE_PAUSED and how to write state change functions
21995           with concurrent access by multiple threads in mind.
21996
21997 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21998
21999         * docs/gst/gstreamer-docs.sgml:
22000         * docs/libs/gstreamer-libs-docs.sgml:
22001           added deprecation and since indexes
22002         * libs/gst/controller/gst-controller.c:
22003         * libs/gst/controller/gst-helper.c:
22004           added since tags
22005
22006
22007 2005-08-11  Wim Taymans  <wim@fluendo.com>
22008
22009         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22010         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22011         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22012         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22013         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22014         (gst_ghost_pad_set_target):
22015         Actually implement (re)setting the target on a ghostpad
22016         as described in the docs.
22017
22018 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22019
22020         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22021           Check whether GST_DEBUG_NO_COLOR environment variable is
22022           set and disable coloured debug output if that is the case.
22023
22024 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22025
22026         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22027         (gst_type_find_helper):
22028           The memory returned by gst_type_find_peek() needs to
22029           stay valid until the end of a typefind function, and
22030           typefind functions may keep results from different 
22031           offsets around, so we can't just unref the buffer from
22032           the previous _peek(), but have to save all buffers 
22033           returned by _peek() until typefinding is done and only
22034           free them then.
22035
22036 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
22037
22038         * docs/gst/gstreamer-sections.txt:
22039         * gst/gstutils.h:
22040           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22041
22042 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22043
22044         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22045           Fix a pretty good memleak.
22046
22047 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22048
22049         * gst/gstiterator.h:
22050           Fix wrong include and 'make distcheck'.
22051
22052 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22053
22054         * gst/gstbin.c: (bin_bus_handler):
22055           Use gst_element_post_message() instead.
22056
22057 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22058
22059         * gst/base/gstadapter.h:
22060         * gst/base/gstbasesink.h:
22061         * gst/base/gstbasesrc.h:
22062         * gst/base/gstbasetransform.h:
22063         * gst/base/gstcollectpads.h:
22064         * gst/base/gstpushsrc.h:
22065         * gst/gstiterator.h:
22066           Add padding to our base elements' class and instance structs and
22067           to GstIterator (you will need to rebuild all plugins and apps!)
22068
22069 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22070
22071         * gst/gstbin.c: (bin_bus_handler):
22072           Make default message forwarding from child->bus to bin->bus
22073           threadsafe and make it not emit warnings if the parent has no bus.
22074
22075 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22076
22077         * gst/gstelement.c: (activate_pads):
22078           On paused->ready, set pad->caps to NULL, as is the documented
22079           behaviour in this state change. Fixes playback of series of
22080           media files when visualization is enabled in Totem.
22081
22082 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22083
22084         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22085           Allow NULL as filter-caps (which means "any").
22086
22087 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22088
22089         * docs/libs/gstreamer-libs-sections.txt:
22090         * libs/gst/controller/gst-controller.c:
22091         * libs/gst/controller/gst-controller.h:
22092         * libs/gst/controller/gst-helper.c:
22093           adding more entries to the docs and fix small doc-bugs
22094
22095 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22096
22097         * docs/gst/gstreamer-docs.sgml:
22098         * docs/gst/gstreamer-sections.txt:
22099         * docs/gst/gstreamer.types:
22100         * docs/gst/tmpl/gstbasesink.sgml:
22101         * docs/gst/tmpl/gstbasesrc.sgml:
22102         * docs/gst/tmpl/gstbasetransform.sgml:
22103         * docs/gst/tmpl/gstfakesrc.sgml:
22104         * gst/base/gstcollectpads.c:
22105         * gst/base/gstcollectpads.h:
22106         * libs/gst/controller/gst-controller.c:
22107         * libs/gst/controller/gst-controller.h:
22108         * libs/gst/controller/gst-helper.c:
22109         * libs/gst/controller/gst-interpolation.c:
22110         * libs/gst/controller/lib.c:
22111           added long/short desc for controller docs
22112           added collectpads base class docs
22113           added correct includes to base-class docs
22114
22115 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22116
22117         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22118         (gst_test_mono_source_set_property),
22119         (gst_test_mono_source_class_init), (GST_START_TEST),
22120         (gst_controller_suite):
22121         * docs/gst/gstreamer-docs.sgml:
22122         * docs/gst/gstreamer-sections.txt:
22123         * docs/gst/gstreamer.types:
22124         * docs/libs/gstreamer-libs-docs.sgml:
22125         * docs/libs/gstreamer-libs-sections.txt:
22126         * gst/base/gstadapter.c:
22127         * libs/gst/controller/gst-controller.c:
22128         (gst_controlled_property_new), (gst_controlled_property_free),
22129         (gst_controller_new_valist),
22130         (gst_controller_remove_properties_valist),
22131         (gst_controller_sink_values), (_gst_controller_finalize):
22132         * libs/gst/controller/gst-controller.h:
22133         * libs/gst/controller/gst-helper.c:
22134         (gst_object_control_properties), (gst_object_uncontrol_properties),
22135         (gst_object_get_controller), (gst_object_set_controller),
22136         (gst_object_sink_values), (gst_object_get_value_arrays),
22137         (gst_object_get_value_array):
22138           more tests (and fixes) for the controller
22139           more docs for the controller
22140           integrated companies docs for the adapter 
22141
22142 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22143
22144         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22145         (GST_START_TEST), (fakesrc_suite):
22146           add tests for sizetype
22147
22148 2005-08-04  Andy Wingo  <wingo@pobox.com>
22149
22150         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22151         fixes buffer_alloc proxying among other things.
22152
22153         * gst/base/gstbasetransform.c:
22154         * gst/base/gstbasetransform.h:
22155         Revert patch to gstbasetransform from 7-28 removing
22156         delay_configure.
22157
22158         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22159         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22160         Semantics changed, should return not the size of the output buffer
22161         but the byte size of a buffer with a given caps.
22162
22163         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22164         debug object.
22165         (gst_base_transform_configure_caps): Don't set out_size here: (in,
22166         out) are not the pad caps until setcaps finishes.
22167         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22168         not-in-place case as well. Deal with changing from in-place to
22169         not-in-place within calling pad_alloc_buffer. Still a bit
22170         concerned about the overhead here...
22171
22172 2005-08-03  Andy Wingo  <wingo@pobox.com>
22173
22174         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22175         fixating is an error.
22176
22177 2005-08-04  Edward Hervey  <edward@fluendo.com>
22178
22179         * gst/base/gstadapter.h: 
22180         Added gst_adapter_get_type() to the header
22181
22182 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22183
22184         * check/Makefile.am:
22185         * check/gst-libs/controller.c:
22186         * libs/gst/controller/gst-controller.c:
22187         (gst_controller_new_valist):
22188           added check test suite for the controller
22189         * gst/base/gstpushsrc.c:
22190           fixed a doc typo
22191
22192 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22193
22194         * docs/gst/Makefile.am:
22195         * docs/gst/gstreamer-docs.sgml:
22196         * docs/gst/gstreamer-sections.txt:
22197         * docs/gst/gstreamer.types:
22198         * docs/gst/tmpl/gstfakesrc.sgml:
22199         * gst/base/README:
22200         * gst/base/gstbasesink.c:
22201         * gst/base/gstbasesink.h:
22202         * gst/base/gstbasesrc.c:
22203         * gst/base/gstbasesrc.h:
22204         * gst/base/gstbasetransform.c:
22205         * gst/base/gstpushsrc.c:
22206         * gst/base/gstpushsrc.h:
22207           add short/long description docs to base classes
22208           add pushsrc to the docs
22209           remove consolidated doc fragments
22210
22211 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22212
22213         * configure.ac:
22214         * docs/libs/Makefile.am:
22215         * docs/libs/gstreamer-libs-docs.sgml:
22216         * docs/libs/gstreamer-libs-sections.txt:
22217         * docs/libs/gstreamer-libs.types:
22218         * examples/Makefile.am:
22219         * examples/controller/.cvsignore:
22220         * examples/controller/Makefile.am:
22221         * examples/controller/audio-example.c: (main):
22222         * libs/gst/Makefile.am:
22223         * libs/gst/controller/.cvsignore:
22224         * libs/gst/controller/Makefile.am:
22225         * libs/gst/controller/gst-controller.c:
22226         (on_object_controlled_property_changed), (gst_timed_value_compare),
22227         (gst_timed_value_find),
22228         (gst_controlled_property_set_interpolation_mode),
22229         (gst_controlled_property_new), (gst_controlled_property_free),
22230         (gst_controller_find_controlled_property),
22231         (gst_controller_new_valist), (gst_controller_new),
22232         (gst_controller_remove_properties_valist),
22233         (gst_controller_remove_properties), (gst_controller_set),
22234         (gst_controller_set_from_list), (gst_controller_unset),
22235         (gst_controller_get), (gst_controller_get_all),
22236         (gst_controller_sink_values), (gst_controller_get_value_arrays),
22237         (gst_controller_get_value_array),
22238         (gst_controller_set_interpolation_mode),
22239         (_gst_controller_finalize), (_gst_controller_init),
22240         (_gst_controller_class_init), (gst_controller_get_type):
22241         * libs/gst/controller/gst-controller.h:
22242         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22243         (g_object_uncontrol_properties), (g_object_get_controller),
22244         (g_object_set_controller), (g_object_sink_values),
22245         (g_object_get_value_arrays), (g_object_get_value_array):
22246         * libs/gst/controller/gst-interpolation.c:
22247         (gst_controlled_property_find_timed_value_node),
22248         (interpolate_none_get), (interpolate_trigger_get),
22249         (interpolate_trigger_get_value_array):
22250         * libs/gst/controller/lib.c: (gst_controller_init):
22251         * pkgconfig/Makefile.am:
22252         * pkgconfig/gstreamer-control-uninstalled.pc.in:
22253         * pkgconfig/gstreamer-control.pc.in:
22254         * testsuite/Makefile.am:
22255         * testsuite/controller/.cvsignore:
22256         * testsuite/controller/Makefile.am:
22257         * testsuite/controller/interpolator.c: (main):
22258           added controller code
22259           removed dparam pc files
22260
22261 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22262         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22263         (gst_collectpads_stop):
22264           Broadcast the condition when shutting down, to make sure we wake all
22265           threads up. Shut down pads on finalize, for safety.
22266
22267 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22268         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22269         (gst_base_transform_handle_buffer),
22270         (gst_base_transform_change_state):
22271           Handle PAUSED->READY->PAUSED transition after negotiation
22272           occurred already.
22273         * gst/gstmessage.c: (gst_message_init):
22274           Extra piece of debug for new messages.
22275
22276 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
22277
22278         * configure.ac:
22279         * docs/gst/tmpl/gstbasesrc.sgml:
22280         * docs/gst/tmpl/gstelement.sgml:
22281         * docs/gst/tmpl/gstevent.sgml:
22282         * docs/gst/tmpl/gstfakesrc.sgml:
22283         * docs/gst/tmpl/gstformat.sgml:
22284         * docs/gst/tmpl/gstghostpad.sgml:
22285         * docs/gst/tmpl/gstpad.sgml:
22286         * docs/gst/tmpl/gstquery.sgml:
22287         * docs/gst/tmpl/gststructure.sgml:
22288         * docs/gst/tmpl/gsttaglist.sgml:
22289         * docs/gst/tmpl/gstvalue.sgml:
22290         * docs/libs/gstreamer-libs-docs.sgml:
22291         * docs/libs/gstreamer-libs-sections.txt:
22292         * docs/libs/gstreamer-libs.types:
22293         * libs/gst/Makefile.am:
22294         * libs/gst/control/.cvsignore:
22295         * libs/gst/control/Makefile.am:
22296         * libs/gst/control/control.c:
22297         * libs/gst/control/control.h:
22298         * libs/gst/control/dparam.c:
22299         * libs/gst/control/dparam.h:
22300         * libs/gst/control/dparam_smooth.c:
22301         * libs/gst/control/dparam_smooth.h:
22302         * libs/gst/control/dparamcommon.h:
22303         * libs/gst/control/dparammanager.c:
22304         * libs/gst/control/dparammanager.h:
22305         * libs/gst/control/dplinearinterp.c:
22306         * libs/gst/control/dplinearinterp.h:
22307         * libs/gst/control/unitconvert.c:
22308         * libs/gst/control/unitconvert.h:
22309         * testsuite/Makefile.am:
22310         * testsuite/dynparams/.cvsignore:
22311         * testsuite/dynparams/Makefile.am:
22312         * testsuite/dynparams/dparamstest.c:
22313         * tools/Makefile.am:
22314         * tools/gst-inspect.c: (print_element_info), (main):
22315         * tools/gst-xmlinspect.c: (print_element_info), (main):
22316           deactivate and remove dparams (libgstcontrol)
22317
22318 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22319
22320         * gst/elements/gsttypefindelement.c:
22321         (gst_type_find_element_have_type), (gst_type_find_element_init),
22322         (stop_typefinding), (gst_type_find_element_handle_event),
22323         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22324         * gst/elements/gsttypefindelement.h:
22325           Set caps on all outgoing buffers, not just the first one.
22326
22327 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22328
22329         * gst/elements/gsttypefindelement.c:
22330         (gst_type_find_element_have_type),
22331         (gst_type_find_element_check_set_buffer_caps),
22332         (gst_type_find_element_init), (stop_typefinding),
22333         (gst_type_find_element_handle_event),
22334         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22335         * gst/elements/gsttypefindelement.h:
22336           Set caps on first outgoing buffer when we've found the type.
22337
22338 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22339
22340         * docs/gst/gstreamer-docs.sgml:
22341         * docs/gst/gstreamer-sections.txt:
22342         * docs/gst/tmpl/gstscheduler.sgml:
22343         * docs/gst/tmpl/gstschedulerfactory.sgml:
22344           Remove some old cruft from docs.
22345
22346 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
22347
22348         * gst/gstpad.h:
22349           Fix inline docs for GstPadLinkReturn.
22350           
22351         * gst/gststructure.c: (gst_structure_has_name):
22352         * gst/gststructure.h:
22353         * docs/gst/gstreamer-sections.txt:
22354           New API: gst_structure_has_name().
22355
22356 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
22357
22358         * configure.ac:
22359           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22360           and _LARGEFILE_SOURCE in config.h as required. Do not 
22361           export those flags in our .pc files any longer (#142209).
22362
22363           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22364
22365         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22366         (gst_file_sink_do_seek), (gst_file_sink_event),
22367         (gst_file_sink_get_current_offset), (gst_file_sink_render):
22368           Redo seek/tell calls with large file support in mind; add some
22369           debugging messages; add log message that tells us when large
22370           file support is unavailable or not enabled for some reason.
22371
22372         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22373           Add log message that tells us when large file support 
22374           is unavailable or not enabled for some reason.
22375
22376 2005-07-29  Wim Taymans  <wim@fluendo.com>
22377
22378         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22379         Added test for removing an element with ghostpad from a bin.
22380         Fixed test as current implementation does the right thing.
22381
22382         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22383         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22384         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22385         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22386         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22387         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22388         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22389         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22390         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22391         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22392         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22393         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22394         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22395         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22396         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22397         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22398         * gst/gstghostpad.h:
22399         Clean up ghostpads, remove properties for internal stuff.
22400         Make threadsafe.
22401         Fix refcounting.
22402         Prepare for switching targets, not all use cases work yet.
22403
22404 2005-07-29  Wim Taymans  <wim@fluendo.com>
22405
22406         * docs/design/part-gstghostpad.txt:
22407         Small update.
22408
22409         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22410         (gst_bin_remove_func):
22411         Unlinking pads while holding the bin LOCK is not a good
22412         idea.
22413
22414         * gst/gstpad.c: (gst_pad_class_init),
22415         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22416         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22417         No prob setting template after creating the pad.
22418
22419 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
22420
22421         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22422         (gst_bus_peek), (gst_bus_source_dispatch),
22423         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22424         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22425           gst_bus_poll may be called from other threads. Handle
22426           this nicely by not making poll_data disappear off the
22427           stack once gst_bus_poll returns.
22428           gst_bus_peek now increments the refcount on the returned
22429           message.
22430
22431 2005-07-29  Wim Taymans  <wim@fluendo.com>
22432
22433         * docs/design/part-gstghostpad.txt:
22434         Overview of current GhostPad datastructures and use
22435         cases for changing the target.
22436
22437 2005-07-28  Wim Taymans  <wim@fluendo.com>
22438
22439         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22440         Added checks for hierarchy consistency whan adding linked
22441         elements to bins.
22442
22443         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22444         Added check to test element scheduling without bin/pipeline.
22445
22446         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22447         First add elements to bin, then link.
22448         
22449         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22450         (gst_bin_remove_func):
22451         Unlink pads from elements added/removed from bin to maintain
22452         hierarchy consistency.
22453
22454 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22455
22456         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22457         (gst_base_transform_handle_buffer):
22458         * gst/base/gstbasetransform.h:
22459           Remove broken delay_configure (fixes renegotiation of software
22460           scaling pipelines); remove some leftover printf()s.
22461
22462 2005-07-28  Wim Taymans  <wim@fluendo.com>
22463
22464         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22465         Added some more tests for wrong hierarchy
22466
22467         * docs/design/part-overview.txt:
22468         Some updates.
22469
22470         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22471         Cleanups.
22472
22473         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22474         (gst_element_dispose):
22475         Some more cleanups.
22476
22477         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22478         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22479         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22480         (gst_pad_set_caps), (gst_pad_send_event):
22481         Check for correct hierarchy when linking pads. Moving to
22482         strict requirement for ghostpads when linking elements in
22483         different bins.
22484
22485         * gst/gstpad.h:
22486         Clean ups. Added WRONG_HIERARCHY return value.
22487
22488 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22489
22490         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22491           Better debug if no transform is possible.
22492
22493 2005-07-27  Wim Taymans  <wim@fluendo.com>
22494
22495         * docs/random/wtay/network-transp:
22496         Some old doc I had.
22497
22498 2005-07-27  Wim Taymans  <wim@fluendo.com>
22499
22500         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22501         (gst_dp_event_from_packet):
22502         Fix serialization of seek events.
22503
22504 2005-07-27  Wim Taymans  <wim@fluendo.com>
22505
22506         * check/gst-libs/gdp.c: (GST_START_TEST):
22507         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22508         Fix compilation and fix event serialization.
22509
22510 2005-07-27  Wim Taymans  <wim@fluendo.com>
22511
22512         * CHANGES-0.9:
22513         * docs/design/part-TODO.txt:
22514         * docs/design/part-events.txt:
22515         Some docs updates
22516
22517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22518         (gst_base_sink_event), (gst_base_sink_do_sync),
22519         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22520         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22521         (gst_base_src_do_seek), (gst_base_src_event_handler),
22522         (gst_base_src_loop):
22523         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22524         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22525         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22526         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22527         (gst_base_transform_set_passthrough),
22528         (gst_base_transform_is_passthrough):
22529         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22530         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22531         Event updates.
22532
22533         * gst/gstbuffer.h:
22534         Use faster casts.
22535
22536         * gst/gstelement.c: (gst_element_seek):
22537         * gst/gstelement.h:
22538         Update gst_element_seek.
22539
22540         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22541         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22542         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22543         (gst_event_new_eos), (gst_event_new_newsegment),
22544         (gst_event_parse_newsegment), (gst_event_new_tag),
22545         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22546         (gst_event_parse_qos), (gst_event_new_seek),
22547         (gst_event_parse_seek), (gst_event_new_navigation):
22548         * gst/gstevent.h:
22549         Make GstEvent use GstStructure. Add parsing code, make sure the
22550         API is sufficiently generic.
22551         Mark possible directions of events and serialization.
22552
22553         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22554         (_gst_message_copy), (gst_message_new_segment_start),
22555         (gst_message_new_segment_done), (gst_message_new_custom),
22556         (gst_message_parse_segment_start),
22557         (gst_message_parse_segment_done):
22558         Small cleanups.
22559
22560         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22561         (gst_pad_set_caps), (gst_pad_send_event):
22562         Update for new events. 
22563         Catch events sent in wrong directions.
22564
22565         * gst/gstqueue.c: (gst_queue_link_src),
22566         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22567         (gst_queue_handle_src_query):
22568         Event updates.
22569
22570         * gst/gsttag.c:
22571         * gst/gsttag.h:
22572         Remove event code from this file.
22573
22574         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22575         (gst_dp_event_from_packet):
22576         Event updates.
22577
22578 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22579
22580         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22581         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22582         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22583           Make debugging actually useful.
22584
22585 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22586
22587         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22588         (gst_pad_fixate_caps):
22589           Implement default fixation once again, so that gst_pad_fixate()
22590           actually does anything at all. This probably needs to be some
22591           sort of a last resort, and use profile-based fixation first, but
22592           since that doesn't exist yet, this is the best we have. Fixes
22593           visualization in Totem.
22594
22595 2005-07-22  Wim Taymans  <wim@fluendo.com>
22596
22597         * docs/design/part-events.txt:
22598         Small update.
22599
22600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22601         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22602         (gst_base_sink_activate_pull):
22603         Some more comments.
22604
22605         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22606         (gst_fake_src_create):
22607         Fix handoff marshall.
22608
22609         * gst/elements/gstidentity.c: (gst_identity_class_init),
22610         (gst_identity_transform_ip):
22611         We're a real inplace element.
22612
22613         * gst/gstbus.c: (gst_bus_post):
22614         Added some comments.
22615
22616         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22617         * tests/muxing/case1.c: (main):
22618         * tests/sched/dynamic-pipeline.c: (main):
22619         * tests/sched/interrupt1.c: (main):
22620         * tests/sched/interrupt2.c: (main):
22621         * tests/sched/interrupt3.c: (main):
22622         * tests/sched/runxml.c: (main):
22623         * tests/sched/sched-stress.c: (main):
22624         * tests/seeking/seeking1.c: (event_received), (main):
22625         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22626         (main):
22627         * tests/threadstate/threadstate3.c: (main):
22628         * tests/threadstate/threadstate4.c: (main):
22629         * tests/threadstate/threadstate5.c: (main):
22630         Fix the tests.
22631
22632 2005-07-21  Wim Taymans  <wim@fluendo.com>
22633
22634         * docs/design/part-seeking.txt:
22635         Some small additions.
22636
22637         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22638         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22639         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22640         * gst/base/gstbasesink.h:
22641         discont values are gint64, handle the math correctly.
22642
22643         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22644         Make the basesrc report error if the source pad is not linked.
22645
22646         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22647         (gst_queue_loop), (gst_queue_handle_src_query),
22648         (gst_queue_src_activate_push):
22649         Make queue collect data even if the srcpad is not linked.
22650         Start pushing out data as soon as it is linked.
22651
22652         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22653         * gst/gstutils.h:
22654         Added gst_flow_get_name() to ease error reporting.
22655
22656 2005-07-20  Wim Taymans  <wim@fluendo.com>
22657
22658         * gst/gstmessage.c: (gst_message_new_segment_start),
22659         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22660         (gst_message_parse_segment_done):
22661         * gst/gstmessage.h:
22662         Added a bunch of messages for advanced seeking.
22663
22664         * gst/parse/grammar.y:
22665         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22666         (gst_dpman_state_changed):
22667         Fix some new-pad -> pad-added signals
22668
22669 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22670
22671         * docs/manual/appendix-porting.xml:
22672         * docs/pwg/appendix-porting.xml:
22673           Document new-pad/state-change signal renames and the FixedList
22674           type rename.
22675
22676 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22677
22678         * docs/manual/advanced-autoplugging.xml:
22679         * docs/manual/basics-helloworld.xml:
22680         * docs/manual/basics-pads.xml:
22681         * docs/random/ds/0.9-suggested-changes:
22682         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22683         * gst/gstelement.h:
22684         * gst/gstevent.h:
22685         * gst/gstformat.h:
22686         * gst/gstquery.h:
22687         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22688         (gst_structure_parse_array), (gst_structure_parse_value):
22689         * gst/gstvalue.c: (gst_type_is_fixed),
22690         (gst_value_list_prepend_value), (gst_value_list_append_value),
22691         (gst_value_list_get_size), (gst_value_list_get_value),
22692         (gst_value_transform_array_string), (gst_value_serialize_array),
22693         (gst_value_deserialize_array), (gst_value_intersect_array),
22694         (gst_value_is_fixed), (_gst_value_initialize):
22695         * gst/gstvalue.h:
22696           GstElement::new-pad -> pad-added, GstElement::state-change ->
22697           state-changed, GstValueFixedList -> GstValueArray, add format and
22698           flags as their own arguments in gst_element_seek() (should improve
22699           "bindeability"), remove function generators since they don't work
22700           under a whole bunch of compilers (they were deprecated already
22701           anyway).
22702
22703 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22704
22705         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22706         (_gst_debug_register_funcptr):
22707         * gst/gstinfo.h:
22708           Fix illegal cast on some platforms (#309253).
22709
22710 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22711
22712         * gst/gstmessage.c: (gst_message_new_custom):
22713         * gst/gstmessage.h:
22714           Add _new_custom, make _new_application a macro to _new_custom.
22715
22716 2005-07-20  Wim Taymans  <wim@fluendo.com>
22717
22718         * gst/base/gstbasesrc.c: (gst_base_src_init),
22719         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22720         * gst/base/gstbasesrc.h:
22721         Add a gboolean to decide when to push out a discont.
22722
22723         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22724         (gst_queue_loop), (gst_queue_handle_src_query),
22725         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22726         (gst_queue_set_property), (gst_queue_get_property):
22727         Some cleanups.
22728
22729         * tests/threadstate/threadstate1.c: (main):
22730         Make a thread test compile and run... very silly..
22731
22732
22733 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22734
22735         * docs/manual/appendix-porting.xml:
22736           Mention removal of libgstgconf-0.9.la and existence of gconf
22737           elements.
22738
22739 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22740
22741         * docs/pwg/advanced-clock.xml:
22742         * docs/pwg/appendix-porting.xml:
22743         * docs/pwg/intro-preface.xml:
22744         * docs/pwg/other-base.xml:
22745         * docs/pwg/other-manager.xml:
22746         * docs/pwg/other-nton.xml:
22747         * docs/pwg/other-ntoone.xml:
22748         * docs/pwg/other-oneton.xml:
22749         * docs/pwg/pwg.xml:
22750           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22751           demuxer), remove n-to-n (was never written), fix some code examples
22752           and links and update the porting section to include all this.
22753
22754 2005-07-19  Wim Taymans  <wim@fluendo.com>
22755
22756         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22757         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22758         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22759         (gst_queue_src_activate_push), (gst_queue_change_state),
22760         (gst_queue_get_property):
22761         * gst/gstqueue.h:
22762         Propagate GstFlowReturn more intelligently upstream and output
22763         an ERROR/EOS when streaming stopped due to fatal error.
22764
22765 2005-07-19  Wim Taymans  <wim@fluendo.com>
22766
22767         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22768         Don't block forever for the state change to complete, the
22769         pipeline already did with a sensible timeout.
22770
22771 2005-07-19  Wim Taymans  <wim@fluendo.com>
22772
22773         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22774         Make sure we never call the create function is we
22775         got deactivated.
22776
22777 2005-07-19  Andy Wingo  <wingo@pobox.com>
22778
22779         * gst/parse/parse.l: Attempt to solve bug #172815.
22780
22781 2005-07-19  Wim Taymans  <wim@fluendo.com>
22782
22783         * docs/design/part-clocks.txt:
22784         * docs/design/part-events.txt:
22785         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22786         Small docs updates.
22787         Only update the seeking values when we are not
22788         busy streaming.
22789
22790 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22791
22792         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22793           Oops, ignore the result of gst_pad_push_event here.
22794
22795 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22796
22797         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22798         (gst_base_src_activate_push):
22799           Send discont event from the loop function, as pads
22800           aren't activated yet in the activate_push handler.
22801
22802         * gst/gstbin.c: (bin_bus_handler):
22803           Don't leak element name.
22804
22805 2005-07-18  Andy Wingo  <wingo@pobox.com>
22806
22807         * configure.ac: Use AS_LIBTOOL_TAGS.
22808
22809 2005-07-18  Wim Taymans  <wim@fluendo.com>
22810
22811         * docs/gst/gstreamer.types:
22812         Remove deleted types.
22813
22814 2005-07-18  Wim Taymans  <wim@fluendo.com>
22815
22816         * check/elements/gstfakesrc.c: (GST_START_TEST):
22817         * configure.ac:
22818         * gst/Makefile.am:
22819         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22820         (init_popt_callback):
22821         * gst/gst.h:
22822         * gst/gst_private.h:
22823         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22824         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22825         * gst/gstbin.h:
22826         * gst/gstbus.h:
22827         * gst/gstconfig.h.in:
22828         * gst/gstelement.c: (gst_element_class_init),
22829         (gst_element_set_base_time), (gst_element_get_base_time),
22830         (iterator_fold_with_resync), (gst_element_change_state),
22831         (gst_element_dispose), (gst_element_get_bus):
22832         * gst/gstelement.h:
22833         * gst/gstelementfactory.h:
22834         * gst/gsterror.c: (_gst_core_errors_init):
22835         * gst/gsterror.h:
22836         * gst/gstevent.h:
22837         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22838         * gst/gstindex.c:
22839         * gst/gstinfo.c: (_gst_debug_init):
22840         * gst/gstmessage.c: (_gst_message_copy):
22841         * gst/gstmessage.h:
22842         * gst/gstminiobject.h:
22843         * gst/gstobject.c:
22844         * gst/gstobject.h:
22845         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22846         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22847         * gst/gstpad.h:
22848         * gst/gstparse.h:
22849         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22850         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22851         (gst_pipeline_get_last_stream_time):
22852         * gst/gstpipeline.h:
22853         * gst/gstpluginfeature.h:
22854         * gst/gstquery.h:
22855         * gst/gstscheduler.c:
22856         * gst/gstscheduler.h:
22857         * gst/gststructure.h:
22858         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22859         (gst_task_finalize), (gst_task_func), (gst_task_create),
22860         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22861         (gst_task_stop), (gst_task_pause):
22862         * gst/gsttask.h:
22863         * gst/gsttypefind.h:
22864         * gst/gsttypes.h:
22865         * gst/registries/gstlibxmlregistry.c: (load_feature),
22866         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22867         * gst/registries/gstxmlregistry.c:
22868         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22869         * gst/schedulers/threadscheduler.c:
22870         * libs/gst/control/dparammanager.h:
22871         * tools/gst-inspect.c: (print_element_list),
22872         (print_plugin_features), (print_element_features):
22873         * tools/gst-xmlinspect.c: (print_element_list),
22874         (print_plugin_info), (main):
22875         Removed plugable schedulers.
22876         Removed Scheduler/Manager from elements.
22877         Removed gsttypes.h, rearranged includes.
22878         Removed dependency pad<->element, element<>pipeline, and
22879         various others,  fix includes.
22880         implement gst_pad_get_parent() with gst_object_get_parent()
22881         Make GstTask sefcontained.
22882         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22883         timeout.
22884         Fix endless loop in iterator_fold_with_resync.
22885
22886
22887 2005-07-18  Wim Taymans  <wim@fluendo.com>
22888
22889         * gst/Makefile.am:
22890         * gst/gstarch.h:
22891         Remove old file.
22892
22893 2005-07-18  Wim Taymans  <wim@fluendo.com>
22894
22895         * gst/Makefile.am:
22896         No more cothreads.h
22897
22898 2005-07-18  Wim Taymans  <wim@fluendo.com>
22899
22900         * gst/cothreads.c:
22901         * gst/cothreads.h:
22902         Let's remove these.
22903
22904 2005-07-18  Wim Taymans  <wim@fluendo.com>
22905
22906         * docs/design/part-dynamic.txt:
22907         * docs/design/part-events.txt:
22908         * docs/design/part-seeking.txt:
22909         Some more docs in the works.
22910
22911         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22912         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22913         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22914         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22915         (gst_base_transform_handle_buffer),
22916         (gst_base_transform_sink_activate_push),
22917         (gst_base_transform_src_activate_pull),
22918         (gst_base_transform_set_passthrough),
22919         (gst_base_transform_is_passthrough):
22920         Refcounting fixes.
22921
22922         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22923         Cleanups.
22924
22925         * gst/gstevent.c: (gst_event_finalize):
22926         Set SRC to NULL.
22927
22928         * gst/gstutils.c: (gst_element_unlink),
22929         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22930         (gst_pad_proxy_setcaps):
22931         * gst/gstutils.h:
22932         Add _get_parent_element() to get a pads parent as an element.
22933
22934 2005-07-18  Wim Taymans  <wim@fluendo.com>
22935
22936         * check/gst/gstbin.c: (GST_START_TEST):
22937         Remove bogus test.
22938
22939 2005-07-18  Wim Taymans  <wim@fluendo.com>
22940
22941         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22942         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22943         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22944         (gst_base_sink_event), (gst_base_sink_do_sync),
22945         (gst_base_sink_chain), (gst_base_sink_loop),
22946         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22947         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22948         Refcounting fixes.
22949         Fix logic for returning ASYNC when not prerolled.
22950
22951 2005-07-18  Wim Taymans  <wim@fluendo.com>
22952
22953         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22954         Fix nasty refcount bug.
22955
22956 2005-07-16 Philippe Khalaf <burger@speedy.org>
22957
22958         * gst/elements/gstfdsrc.c:
22959         * gst/elements/gstfdsrc.h:
22960         * gst/elements/gstelements.c:
22961         * gst/elements/Makefile.am:
22962         Ported fdsrc to 0.9.
22963
22964 2005-07-16  Wim Taymans  <wim@fluendo.com>
22965
22966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22967         (gst_base_sink_do_sync):
22968         Fix compile error.
22969
22970 2005-07-16  Wim Taymans  <wim@fluendo.com>
22971
22972         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22973         (gst_base_sink_event), (gst_base_sink_get_times),
22974         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22975         * gst/base/gstbasesink.h:
22976         Store and use discont values when syncing buffers as described
22977         in design docs.
22978         
22979         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22980         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22981         (gst_base_src_activate_push):
22982         Push discont event when starting.
22983
22984         * gst/elements/gstidentity.c: (gst_identity_transform):
22985         Small cleanups.
22986
22987         * gst/gstbin.c: (gst_bin_change_state):
22988         Small cleanups in base_time  distribution.
22989
22990         * gst/gstelement.c: (gst_element_set_base_time),
22991         (gst_element_get_base_time), (gst_element_change_state):
22992         * gst/gstelement.h:
22993         Added methods for the base_time of the element.
22994         Some MT fixes.
22995
22996         * gst/gstpipeline.c: (gst_pipeline_send_event),
22997         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22998         (gst_pipeline_get_last_stream_time):
22999         * gst/gstpipeline.h:
23000         MT fixes.
23001         Handle seeking as described in design doc, remove stream_time
23002         hack.
23003         Cleanups clock and stream_time selection code. Added accessors
23004         for the stream_time.
23005         
23006
23007 2005-07-16  Andy Wingo  <wingo@pobox.com>
23008
23009         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23010         (#305291).
23011
23012 2005-07-16  Wim Taymans  <wim@fluendo.com>
23013
23014         * check/gst/gstbin.c: (GST_START_TEST):
23015         Make elements silent as the deep_notify refs the
23016         parent, which might make the test fail.
23017
23018         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23019         Don't hold the lock for too long.
23020
23021 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
23022
23023         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23024           Don't unref the caps we passed to gst_caps_make_writable() after
23025           passing them. gst_caps_make_writable() will do that for us.
23026
23027 2005-07-15  Andy Wingo  <wingo@pobox.com>
23028
23029         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23030         (#157311).
23031
23032         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23033         own marshalling function for the handoff signal. Properly type the
23034         buffer as a buffer. Fixes some warnings. Should do a more general
23035         solution.
23036         (gst_identity_class_init): Plug into the right marshaller.
23037
23038 2005-07-15  Wim Taymans  <wim@fluendo.com>
23039
23040         * docs/design/part-TODO.txt:
23041         * docs/design/part-clocks.txt:
23042         * docs/design/part-element-sink.txt:
23043         * docs/design/part-events.txt:
23044         * docs/design/part-gstpipeline.txt:
23045         Updated docs, mostly DISCONT related.
23046
23047 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
23048
23049         * docs/pwg/building-pads.xml:
23050           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23051
23052 2005-07-15  Andy Wingo  <wingo@pobox.com>
23053
23054         * tools/gst-typefind.c: Update, add copyright block.
23055
23056         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23057         Normalize and truncate caps before fixation.
23058
23059         * gst/gstcaps.h:
23060         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23061         discards all but the first structure from its argument.
23062
23063 2005-07-15  Wim Taymans  <wim@fluendo.com>
23064
23065         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23066         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23067         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23068         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23069         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23070         (gst_base_transform_chain), (gst_base_transform_change_state),
23071         (gst_base_transform_set_passthrough),
23072         (gst_base_transform_is_passthrough):
23073         * gst/base/gstbasetransform.h:
23074         Make passthrough work using the bufferpools.
23075         Changed API a bit, subclasses have to write into a buffer
23076         provided by the base class.
23077         More debug info in nego functions.
23078         
23079         * gst/elements/gstidentity.c: (gst_identity_init),
23080         (gst_identity_transform):
23081         Port to new base class.
23082
23083 2005-07-15  Wim Taymans  <wim@fluendo.com>
23084
23085         * gst/gstmessage.c: (gst_message_new_state_changed):
23086         * tools/gst-launch.c: (event_loop), (main):
23087         Totally dump messages in -launch with the -m option.
23088         Fix message name for State messages,
23089
23090 2005-07-14  Wim Taymans  <wim@fluendo.com>
23091
23092         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23093         Post error messages on errors.
23094
23095 2005-07-14  Wim Taymans  <wim@fluendo.com>
23096
23097         * gst/gstcaps.c: (gst_caps_do_simplify):
23098         Remove debug info.
23099
23100         * gst/gsterror.h:
23101         Define error for stream stopped.
23102
23103         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23104         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23105         Do proper return values.
23106
23107         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23108         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23109         (gst_pad_get_range):
23110         Better return values.
23111
23112         * gst/gstpad.h:
23113         Reorganise return values, add macro to check for fatal errors.
23114
23115         * gst/gstqueue.c: (gst_queue_chain):
23116         Return proper GstFlowReturn values,
23117
23118 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
23119
23120         * docs/gst/gstreamer-sections.txt:
23121         * docs/gst/gstreamer.types:
23122         * docs/gst/tmpl/gst.sgml:
23123         * docs/gst/tmpl/gstbasesink.sgml:
23124         * docs/gst/tmpl/gstbasesrc.sgml:
23125         * docs/gst/tmpl/gstbasetransform.sgml:
23126         * docs/gst/tmpl/gstbin.sgml:
23127         * docs/gst/tmpl/gstbuffer.sgml:
23128         * docs/gst/tmpl/gstcaps.sgml:
23129         * docs/gst/tmpl/gstclock.sgml:
23130         * docs/gst/tmpl/gstcompat.sgml:
23131         * docs/gst/tmpl/gstconfig.sgml:
23132         * docs/gst/tmpl/gstelement.sgml:
23133         * docs/gst/tmpl/gstelementdetails.sgml:
23134         * docs/gst/tmpl/gstelementfactory.sgml:
23135         * docs/gst/tmpl/gstenumtypes.sgml:
23136         * docs/gst/tmpl/gsterror.sgml:
23137         * docs/gst/tmpl/gstevent.sgml:
23138         * docs/gst/tmpl/gstfakesink.sgml:
23139         * docs/gst/tmpl/gstfakesrc.sgml:
23140         * docs/gst/tmpl/gstfilesink.sgml:
23141         * docs/gst/tmpl/gstfilesrc.sgml:
23142         * docs/gst/tmpl/gstfilter.sgml:
23143         * docs/gst/tmpl/gstformat.sgml:
23144         * docs/gst/tmpl/gstghostpad.sgml:
23145         * docs/gst/tmpl/gstimplementsinterface.sgml:
23146         * docs/gst/tmpl/gstindex.sgml:
23147         * docs/gst/tmpl/gstindexfactory.sgml:
23148         * docs/gst/tmpl/gstinfo.sgml:
23149         * docs/gst/tmpl/gstiterator.sgml:
23150         * docs/gst/tmpl/gstmacros.sgml:
23151         * docs/gst/tmpl/gstmemchunk.sgml:
23152         * docs/gst/tmpl/gstminiobject.sgml:
23153         * docs/gst/tmpl/gstobject.sgml:
23154         * docs/gst/tmpl/gstpad.sgml:
23155         * docs/gst/tmpl/gstpadtemplate.sgml:
23156         * docs/gst/tmpl/gstparse.sgml:
23157         * docs/gst/tmpl/gstpipeline.sgml:
23158         * docs/gst/tmpl/gstplugin.sgml:
23159         * docs/gst/tmpl/gstpluginfeature.sgml:
23160         * docs/gst/tmpl/gstquery.sgml:
23161         * docs/gst/tmpl/gstqueue.sgml:
23162         * docs/gst/tmpl/gstregistry.sgml:
23163         * docs/gst/tmpl/gstregistrypool.sgml:
23164         * docs/gst/tmpl/gstscheduler.sgml:
23165         * docs/gst/tmpl/gstschedulerfactory.sgml:
23166         * docs/gst/tmpl/gststructure.sgml:
23167         * docs/gst/tmpl/gstsystemclock.sgml:
23168         * docs/gst/tmpl/gsttaglist.sgml:
23169         * docs/gst/tmpl/gsttagsetter.sgml:
23170         * docs/gst/tmpl/gsttrace.sgml:
23171         * docs/gst/tmpl/gsttrashstack.sgml:
23172         * docs/gst/tmpl/gsttypefind.sgml:
23173         * docs/gst/tmpl/gsttypefindfactory.sgml:
23174         * docs/gst/tmpl/gsttypes.sgml:
23175         * docs/gst/tmpl/gsturihandler.sgml:
23176         * docs/gst/tmpl/gsturitype.sgml:
23177         * docs/gst/tmpl/gstutils.sgml:
23178         * docs/gst/tmpl/gstvalue.sgml:
23179         * docs/gst/tmpl/gstversion.sgml:
23180         * docs/gst/tmpl/gstxml.sgml:
23181         * docs/libs/tmpl/gstcontrol.sgml:
23182         * docs/libs/tmpl/gstdataprotocol.sgml:
23183         * docs/libs/tmpl/gstdparam.sgml:
23184         * docs/libs/tmpl/gstdplinint.sgml:
23185         * docs/libs/tmpl/gstdpman.sgml:
23186         * docs/libs/tmpl/gstdpsmooth.sgml:
23187         * docs/libs/tmpl/gstgetbits.sgml:
23188         * docs/libs/tmpl/gstunitconvert.sgml:
23189         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23190         (gst_push_src_base_init), (gst_push_src_class_init),
23191         (gst_push_src_init), (gst_push_src_create):
23192         * gst/base/gstpushsrc.h:
23193         * gst/elements/gstelements.c:
23194         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23195         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23196         (gst_fake_sink_init), (gst_fake_sink_set_property),
23197         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23198         (gst_fake_sink_event), (gst_fake_sink_preroll),
23199         (gst_fake_sink_render), (gst_fake_sink_change_state):
23200         * gst/elements/gstfakesink.h:
23201         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23202         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23203         (gst_fake_src_base_init), (gst_fake_src_class_init),
23204         (gst_fake_src_init), (gst_fake_src_event_handler),
23205         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23206         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23207         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23208         (gst_fake_src_create_buffer), (gst_fake_src_create),
23209         (gst_fake_src_start), (gst_fake_src_stop):
23210         * gst/elements/gstfakesrc.h:
23211         * gst/elements/gstfilesink.c: (_do_init),
23212         (gst_file_sink_base_init), (gst_file_sink_class_init),
23213         (gst_file_sink_init), (gst_file_sink_dispose),
23214         (gst_file_sink_set_location), (gst_file_sink_set_property),
23215         (gst_file_sink_get_property), (gst_file_sink_open_file),
23216         (gst_file_sink_close_file), (gst_file_sink_query),
23217         (gst_file_sink_event), (gst_file_sink_render),
23218         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23219         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23220         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23221         * gst/elements/gstfilesink.h:
23222         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23223         (gst_file_src_class_init), (gst_file_src_init),
23224         (gst_file_src_finalize), (gst_file_src_set_location),
23225         (gst_file_src_set_property), (gst_file_src_get_property),
23226         (gst_file_src_map_region), (gst_file_src_map_small_region),
23227         (gst_file_src_create_mmap), (gst_file_src_create_read),
23228         (gst_file_src_create), (gst_file_src_is_seekable),
23229         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23230         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23231         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23232         (gst_file_src_uri_handler_init):
23233         * gst/elements/gstfilesrc.h:
23234           more autistic cleanliness in functions/names/defines
23235
23236 2005-07-13  Andy Wingo  <wingo@pobox.com>
23237
23238         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23239         source couldn't negotiate.
23240
23241         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23242         connections again.
23243
23244         * gst/gstutils.h:
23245         * gst/gstutils.c (gst_element_link_pads_filtered): New old
23246         function. I am channeling Hades. Put your boots on suckers!!!
23247
23248 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23249
23250         * testsuite/caps/Makefile.am:
23251         * testsuite/caps/value_compare.c:
23252         * testsuite/caps/value_intersect.c:
23253         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23254           move two testsuite apps over to the check dir
23255
23256 2005-07-12  Wim Taymans  <wim@fluendo.com>
23257
23258         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23259         Added more debug info in the negotiate process.
23260
23261         * gst/gstmessage.h:
23262         Prepare for segment playback.
23263
23264         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23265         Better debugging.
23266
23267         * gst/gstutils.c:
23268         Some more docs.
23269
23270         * tools/gst-launch.c: (main):
23271         NULL pipeline on errors.
23272
23273 2005-07-12  Andy Wingo  <wingo@pobox.com>
23274
23275         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23276         not it comes from a malloc region. Make sure our copy gets freed.
23277
23278 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23279
23280         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23281         * check/gst/gstmessage.c: (GST_START_TEST):
23282         * check/gst/gststructure.c: (GST_START_TEST),
23283         (gst_structure_suite), (main):
23284           more testing
23285         * gst/gstelement.c: (gst_element_message_full):
23286           clean up GError and debug string now that they get copied
23287         * gst/gstmessage.c: (gst_message_new_error),
23288         (gst_message_new_warning), (gst_message_parse_error),
23289         (gst_message_parse_warning):
23290           use GST_TYPE_G_ERROR for structure_new, and take copies of
23291           arguments, so that we don't mess up refcounting
23292
23293 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23294
23295         * check/Makefile.am:
23296           add per-test valgrind targets
23297         * check/gst-libs/gdp.c: (GST_START_TEST),
23298         (gst_data_protocol_suite), (main):
23299           clean up
23300
23301 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23302
23303         * check/Makefile.am:
23304           instate more valgrindable tests
23305         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23306         (GST_START_TEST), (fakesrc_suite):
23307         * check/gst/gstpad.c: (GST_START_TEST):
23308         * check/gst/gststructure.c: (GST_START_TEST):
23309           fix test leaks
23310         * docs/gst/tmpl/gstminiobject.sgml:
23311         * gst/gstpad.c: (gst_pad_finalize):
23312           fix the static mutex leak
23313
23314 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23315
23316         * check/Makefile.am:
23317           add two more tests for valgrinding
23318         * check/gst/gstvalue.c: (GST_START_TEST):
23319           test refcount of deserialized buffer, found a leak
23320         * docs/gst/gstreamer-docs.sgml:
23321         * docs/gst/gstreamer-sections.txt:
23322         * docs/gst/gstreamer.types:
23323         * docs/gst/tmpl/gstminiobject.sgml:
23324           add miniobject to docs
23325         * gst/gstminiobject.c:
23326           add some docs
23327         * gst/gstvalue.c: (gst_value_deserialize_buffer),
23328         (gst_string_unwrap):
23329           fix a hard-to-find invalid write for one of the tests
23330           fix a leak for deserialized buffers
23331
23332 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23333
23334         * docs/pwg/advanced-events.xml:
23335         * docs/pwg/advanced-request.xml:
23336         * docs/pwg/advanced-scheduling.xml:
23337         * docs/pwg/appendix-porting.xml:
23338         * docs/pwg/building-boiler.xml:
23339         * docs/pwg/intro-preface.xml:
23340         * docs/pwg/other-ntoone.xml:
23341           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23342           of example code and explanation for pad activation, loop() and
23343           getrange() functions and a bit more. Remove old comments pointing
23344           to loop-functions.
23345         * examples/pwg/Makefile.am:
23346           Add loop/getrange examples.
23347
23348 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23349
23350         * configure.ac:
23351           check for valgrind binary + some fixes
23352         * check/gst.supp:
23353           valgrind suppressions for the tests
23354         * check/Makefile.am:
23355           add a valgrind: target that valgrinds the unit tests
23356         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23357         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23358         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23359         * check/gst/gstghostpad.c:
23360           added some cleanup
23361         * check/gst/gstdata.c:
23362           removed
23363         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23364         (thread_unref), (gst_mini_object_suite), (main):
23365           added
23366         * gst/gst.c: (gst_deinit):
23367         * gst/gst.h:
23368           add a method to clean up.
23369         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23370         (gst_system_clock_obtain):
23371           allow for disposing the system clock.
23372         * tools/gst-launch.c: (main):
23373           deinit
23374
23375 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23376
23377         * docs/gst/tmpl/gstbasesrc.sgml:
23378         * docs/gst/tmpl/gstfakesrc.sgml:
23379         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23380         (gst_base_src_init), (gst_base_src_set_property),
23381         (gst_base_src_get_property), (gst_base_src_get_range),
23382         (gst_base_src_start):
23383         * gst/base/gstbasesrc.h:
23384           add num-buffers property
23385         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23386         (gst_fakesrc_init), (gst_fakesrc_set_property),
23387         (gst_fakesrc_get_property), (gst_fakesrc_create),
23388         (gst_fakesrc_start):
23389           remove num-buffers property
23390
23391 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23392
23393         * docs/gst/gstreamer-sections.txt:
23394         * docs/gst/tmpl/gstbasesink.sgml:
23395         * docs/gst/tmpl/gstbasesrc.sgml:
23396         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23397         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23398         (gst_base_sink_finalize), (gst_base_sink_set_clock),
23399         (gst_base_sink_set_property), (gst_base_sink_get_property),
23400         (gst_base_sink_handle_object), (gst_base_sink_event),
23401         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23402         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23403         (gst_base_sink_loop), (gst_base_sink_deactivate),
23404         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23405         (gst_base_sink_change_state):
23406         * gst/base/gstbasesink.h:
23407         * gst/base/gstbasesrc.h:
23408         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23409         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23410         (gst_filesink_init):
23411           more macro splitting
23412
23413 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23414
23415         * gst/gstelement.c: (gst_element_get_bus):
23416           add debug
23417         * tools/gst-launch.c: (check_intr), (event_loop):
23418           fix bus leaks
23419
23420 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23421
23422         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23423           fix a caps leak
23424
23425 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23426
23427         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23428         (gst_base_src_finalize):
23429           add finalize method and clean up properly
23430         * gst/gstpipeline.c: (gst_pipeline_dispose):
23431           add debug
23432
23433 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23434
23435         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23436         (gst_bin_suite):
23437           add more things to check
23438         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23439         * gst/gstelement.c:
23440           more debug
23441
23442 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23443
23444         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23445         (GST_START_TEST), (fakesrc_suite):
23446         * check/gst-libs/gdp.c: (GST_START_TEST):
23447         * check/gst/gst.c: (GST_START_TEST):
23448         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23449         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23450         * check/gst/gstbus.c: (GST_START_TEST):
23451         * check/gst/gstcaps.c: (GST_START_TEST):
23452         * check/gst/gstdata.c: (GST_START_TEST):
23453         * check/gst/gstelement.c: (GST_START_TEST):
23454         * check/gst/gstghostpad.c: (GST_START_TEST):
23455         * check/gst/gstiterator.c: (GST_START_TEST):
23456         * check/gst/gstmessage.c: (GST_START_TEST):
23457         * check/gst/gstobject.c: (GST_START_TEST):
23458         * check/gst/gstpad.c: (GST_START_TEST):
23459         * check/gst/gststructure.c: (GST_START_TEST):
23460         * check/gst/gstsystemclock.c: (GST_START_TEST),
23461         (gst_systemclock_suite):
23462         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23463         * check/gst/gstvalue.c: (GST_START_TEST):
23464         * check/pipelines/cleanup.c: (GST_START_TEST):
23465         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23466         * check/states/sinks.c: (GST_START_TEST):
23467         * check/gstcheck.c: (gst_check_init):
23468         * check/gstcheck.h:
23469           add debugging category
23470           use GST_START_TEST now, so we add a debug line
23471
23472 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23473
23474         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23475           add test for state change message on a bin
23476         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23477           add another test
23478         * gst/gstbin.c: (gst_bin_init):
23479         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23480         * gst/gstelement.c: (gst_element_post_message),
23481         (gst_element_set_state):
23482         * gst/gstelementfactory.c: (gst_element_factory_create):
23483         * gst/gstmessage.c: (gst_message_new):
23484         * gst/gstscheduler.c:
23485           various debugging additions and cleanups
23486
23487 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23488
23489         * check/Makefile.am:
23490         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23491         (main):
23492           adding tests for elements
23493         * gst/gstelement.c: (gst_element_dispose):
23494
23495 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23496
23497         * gst/registries/gstlibxmlregistry.c: (load_feature):
23498           plug more leaks.  A simple gst_init() now is leakfree, yay.
23499
23500 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23501
23502         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23503         (gst_xml_registry_load):
23504           plug another memleak
23505
23506 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23507
23508         * configure.ac:
23509           use GST_SET_ERROR_CFLAGS
23510         * docs/faq/cvs.xml:
23511           change to ERROR_CFLAGS
23512
23513 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23514
23515         * configure.ac:
23516           make GST_ERROR_CFLAGS overridable and re-enable Werror
23517         * docs/faq/cvs.xml:
23518           add a note about error CFLAGS
23519         * docs/gst/tmpl/gstfakesrc.sgml:
23520         * gst/elements/gstfakesrc.c:
23521           comment out some unused code
23522         * gst/gst.c: (split_and_iterate):
23523         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23524         (load_feature):
23525           plug some memleaks
23526
23527 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23528
23529         * common/Makefile.am:
23530         * common/gtk-doc.mak:
23531         * docs/gst/Makefile.am:
23532           factor out gtk-doc.mak
23533
23534 2005-07-07  Wim Taymans  <wim@fluendo.com>
23535
23536         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23537         (gst_thread_scheduler_dispose):
23538         Unlock the STREAM_LOCK completely.
23539
23540 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23541
23542         * check/Makefile.am:
23543         * check/elements/.cvsignore:
23544         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23545         (START_TEST), (fakesrc_suite), (main):
23546         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23547         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23548         (gst_fakesrc_create), (gst_fakesrc_start):
23549         * gst/elements/gstfakesrc.h:
23550           adding a first element test
23551
23552 2005-07-07  Andy Wingo  <wingo@pobox.com>
23553
23554         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23555         debug message.
23556
23557 2005-07-07  Wim Taymans  <wim@fluendo.com>
23558
23559         * gst/gstquery.c:
23560         * gst/gstquery.h:
23561         Remove old types
23562
23563 2005-07-07  Wim Taymans  <wim@fluendo.com>
23564
23565         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23566         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23567         Allow subclasses to implement their own negotiation.
23568
23569 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23570
23571         * docs/design/part-gstbin.txt:
23572         * docs/design/part-gstpipeline.txt:
23573           Update design notes to reflect the movement of
23574           responsibility for bus handling from GstPipeline to
23575           GstBin
23576
23577 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23578
23579         * configure.ac:
23580           Remove unnecessary queue2/3/4 examples.
23581
23582 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23583
23584         * examples/Makefile.am:
23585         * examples/helloworld/helloworld.c: (event_loop), (main):
23586         * examples/queue/queue.c: (event_loop), (main):
23587         * examples/queue2/queue2.c: (main):
23588           Update a couple of the examples to work again.
23589
23590         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23591         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23592          Spelling corrections and extra debug.
23593         
23594         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23595         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23596         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23597         * gst/gstbin.h:
23598         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23599         (gst_pipeline_change_state):
23600         * gst/gstpipeline.h:
23601           Move the bus handler for children to the GstBin, and create a
23602           separate bus for receiving messages from children to the one the
23603           bus sends 'upwards' on.
23604
23605 2005-07-06  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/base/README:
23608         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23609         (gst_base_sink_handle_object), (gst_base_sink_loop),
23610         (gst_base_sink_change_state):
23611         * gst/base/gstbasesink.h:
23612         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23613         (gst_base_src_init), (gst_base_src_setcaps),
23614         (gst_base_src_getcaps), (gst_base_src_loop),
23615         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23616         (gst_base_src_start), (gst_base_src_change_state):
23617         * gst/base/gstbasesrc.h:
23618         Make basesrc negotiate.
23619         Handle the case where preroll fails in basesink.
23620         Update README.
23621
23622 2005-07-06  Wim Taymans  <wim@fluendo.com>
23623
23624         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23625         Implement the fixate function.
23626         Clean up acceptcaps.
23627
23628 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23629
23630         * docs/pwg/building-filterfactory.xml:
23631         * docs/pwg/pwg.xml:
23632           Remove never-written filter-factory chapter; I'll add the various
23633           base classes to part 4 ("other element types") later on.
23634
23635 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23636
23637         * docs/pwg/advanced-negotiation.xml:
23638         * docs/pwg/building-boiler.xml:
23639         * docs/pwg/building-pads.xml:
23640         * docs/pwg/pwg.xml:
23641         * examples/pwg/Makefile.am:
23642           Add a chapter on caps negotiation, simplify the original code
23643           samples a bit w.r.t. caps negotiation, add link to the advanced
23644           section. Add a bunch of examples showing different use cases of
23645           different types of caps negotiation. Upstream renegotiation isn't
23646           fully documented yet since nobody knows how that works.
23647
23648 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23649
23650         * check/gst/gstpad.c:
23651         * check/gstcheck.c:
23652         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23653           if pad has no parent, return NULL as list of internal links
23654
23655 2005-07-05  Andy Wingo  <wingo@pobox.com>
23656
23657         * gst/elements/gstfilesrc.c:
23658         * gst/elements/gstfakesrc.c: 
23659         * gst/base/gstpushsrc.c:
23660         * gst/base/gstbasesrc.h: 
23661         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23662         
23663 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23664
23665         * Makefile.am:
23666           better report generation target (lcov needs a patch)
23667
23668 2005-07-05  Andy Wingo  <wingo@pobox.com>
23669
23670         * gst/elements, testsuite: Null if we got it...
23671
23672 2005-07-05  Wim Taymans  <wim@fluendo.com>
23673
23674         * configure.ac:
23675         * libs/gst/dataprotocol/Makefile.am:
23676         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23677         * libs/gst/dataprotocol/dataprotocol.h:
23678         * pkgconfig/Makefile.am:
23679         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23680         * pkgconfig/gstreamer-dataprotocol.pc.in:
23681         Ported dataprotol to 0.9. 
23682         Added pkgconfig files.
23683
23684 2005-07-05  Andy Wingo  <wingo@pobox.com>
23685
23686         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23687         Default to returning TRUE for the case when tranform_caps returns
23688         a fixed caps, like for identity or volume.
23689
23690         * check/gst/gstbus.c (pound_bus_with_messages): 
23691         * check/gst/gstmessage.c (START_TEST): 
23692         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23693         message API change.
23694
23695         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23696         logic weaks here: always run transform_caps, trying passthrough
23697         operation only if the original caps intersects with the transform.
23698
23699         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23700         source and sink caps.
23701
23702         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23703         Intersect the peer caps with the pad template before going into
23704         transform_caps.
23705         (gst_base_transform_transform_caps): More debugging.
23706
23707         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23708         src argument.
23709
23710 2005-07-04  Edward Hervey  <edward@fluendo.com>
23711
23712         * gst/gstutils.c:
23713         * gst/gstutils.h:
23714         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23715         in bindings.
23716
23717 2005-07-04  Andy Wingo  <wingo@pobox.com>
23718
23719         * check/gst/gstpad.c: Only set explicit caps on pads.
23720
23721 2005-07-01  Andy Wingo  <wingo@pobox.com>
23722
23723         * tests/network-clock.scm: Commentary update.
23724
23725         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23726         Didn't really make sense, not implementable with basetransform,
23727         etc.
23728         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23729         attempt at implementing the sync property, needs an unlock method.
23730
23731         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23732         New func, by default returns the same caps (the identity
23733         transformation).
23734         (gst_base_transform_getcaps): Uses transform_caps to return
23735         something sensible.
23736         (gst_base_transform_setcaps): Complicated logic to get caps on
23737         both pads, even if they are different, and to call set_caps once
23738         for every time both pads get their caps set.
23739         (gst_base_transform_handle_buffer): Give the ref to the transform
23740         function. Allows in-place modification of the buffer.
23741
23742         * gst/base/gstbasetransform.h (transform_caps): New class method.
23743         Given caps on one side, what can I do on the other.
23744         (set_caps): Take two caps, one for each side of the element.
23745
23746         * gst/gstpad.h:
23747         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23748         caps in place. This is safe because we can check the mutability of
23749         the caps, and a good idea because fixate functions are just called
23750         as a matter of last resort. (Not actually implemented.)
23751         (gst_pad_set_caps): If the caps we're setting is actually the same
23752         as the existing pad caps, just update the pointer without calling
23753         setcaps. Assert that caps is either NULL or fixed, as per the
23754         docs.
23755
23756         * gst/gstghostpad.c: Update for fixate changes.
23757
23758 2005-07-02  Andy Wingo  <wingo@pobox.com>
23759
23760         * gst/gstcaps.c:
23761         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23762         two refcounts makes it immutable, which is enough. Doc more.
23763
23764 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23765
23766         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23767           Put the mini_object into GValue as a mini_object,
23768           not a gpointer, since that's how we declared
23769           the signal.
23770
23771 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23772
23773         * examples/pwg/Makefile.am:
23774           Fix buildbot again.
23775
23776 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23777
23778         * docs/pwg/building-testapp.xml:
23779           Add extra check.
23780         * examples/pwg/Makefile.am:
23781           Fix buildbot.
23782
23783 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23784
23785         * configure.ac:
23786         * examples/Makefile.am:
23787         * examples/pwg/Makefile.am:
23788         * examples/pwg/extract.pl:
23789           Enable building the PWG examples.
23790         * docs/pwg/advanced-interfaces.xml:
23791           Add URI interface stub.
23792         * docs/pwg/advanced-types.xml:
23793         * docs/pwg/other-autoplugger.xml:
23794         * docs/pwg/appendix-porting.xml:
23795         * docs/pwg/pwg.xml:
23796           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23797         * docs/pwg/building-boiler.xml:
23798         * docs/pwg/building-chainfn.xml:
23799         * docs/pwg/building-pads.xml:
23800         * docs/pwg/building-props.xml:
23801         * docs/pwg/building-state.xml:
23802         * docs/pwg/building-testapp.xml:
23803           Update the building-*.xml parts for 0.9 changes. All examples
23804           code blocks compile in examples/pwg/*.
23805
23806 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23807
23808         * docs/manual/advanced-autoplugging.xml:
23809         * docs/manual/appendix-checklist.xml:
23810         * docs/manual/appendix-integration.xml:
23811         * docs/manual/highlevel-components.xml:
23812           Fix playbin/decodebin examples, update docs a bit, mention bus
23813           instead of signals in various places, mention kmplayer and
23814           kaffeine since they have a working GStreamer backend in the KDE
23815           section.
23816
23817 2005-06-30  Wim Taymans  <wim@fluendo.com>
23818
23819         * CHANGES-0.9:
23820         * docs/design/draft-ghostpads.txt:
23821         * docs/design/draft-push-pull.txt:
23822         * docs/design/draft-query.txt:
23823         * docs/design/part-TODO.txt:
23824         * docs/design/part-query.txt:
23825         Added CHANGES-0.9 doc, updated status of other docs.
23826         
23827         * gst/gstquery.h:
23828         Remove "hmm" macro
23829
23830 2005-06-30  Wim Taymans  <wim@fluendo.com>
23831
23832         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23833         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23834         (gst_base_sink_change_state):
23835         * gst/base/gstbasesink.h:
23836         Some tweaks, only EOS and a buffer complete a preroll.
23837
23838 2005-06-30  Andy Wingo  <wingo@pobox.com>
23839
23840         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23841         activate_push down to the internal pad as well.
23842
23843 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23844
23845         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23846
23847         * gst/gsttaginterface.c:
23848           Some documentation fixes (#307394 and #307397).
23849
23850 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23851
23852         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23853
23854         * gst/gstvalue.c: (gst_value_intersect_list):
23855           Fix memleak (#309125).
23856
23857 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23858
23859         * docs/manual/advanced-dataaccess.xml:
23860           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23861         * docs/manual/basics-pads.xml:
23862           Add reference for filtered caps to above chapter.
23863
23864 2005-06-30  Wim Taymans  <wim@fluendo.com>
23865
23866         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23867         (gst_bin_change_state):
23868         Probes are gone.
23869         Lame attempt at making the state change function a bit
23870         more readable.
23871
23872 2005-06-30  Wim Taymans  <wim@fluendo.com>
23873
23874         * docs/design/part-clocks.txt:
23875         * docs/design/part-element-sink.txt:
23876         * docs/design/part-events.txt:
23877         * docs/design/part-preroll.txt:
23878         * docs/design/part-states.txt:
23879         Some more tweeks and additions to the docs.
23880
23881 2005-06-30  Wim Taymans  <wim@fluendo.com>
23882
23883         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23884         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23885         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23886         (gst_pad_check_pull_range), (gst_pad_get_range),
23887         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23888         * gst/gstpad.h:
23889         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23890         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23891         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23892         (gst_pad_remove_buffer_probe):
23893         Removed atomic operations, use existing LOCK.
23894         Move exception handling out of main code path.
23895
23896 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23897
23898         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23899         (silly_return_true_function), (gst_pad_class_init),
23900         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23901         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23902         (gst_pad_send_event):
23903           Fix accumulator, add default value by using _emitv() instead
23904           of _emit() for signal emission.
23905
23906 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23907
23908         * docs/manual/advanced-dataaccess.xml:
23909         * examples/manual/Makefile.am:
23910           Add probe example.
23911         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23912           Make work (??).
23913
23914 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23915
23916         * gst/elements/gstfilesink.c: (gst_filesink_render):
23917           Simplify code so that we don't have to handle short
23918           writes and return GST_FLOW_ERROR if an error occured.
23919
23920 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23921
23922         * docs/gst/gstreamer-docs.sgml:
23923           Remove probes more.
23924
23925 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23926
23927         * docs/gst/gstreamer-sections.txt:
23928         * docs/gst/tmpl/gstpad.sgml:
23929         * docs/gst/tmpl/gstprobe.sgml:
23930         * gst/Makefile.am:
23931         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23932         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23933         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23934         (gst_pad_push_event), (gst_pad_send_event):
23935         * gst/gstpad.h:
23936         * gst/gstutils.c: (gst_pad_add_data_probe),
23937         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23938         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23939         (gst_pad_remove_buffer_probe):
23940         * gst/gstutils.h:
23941           Remove old probes, add new g-signal-based probes and some utility
23942           functions.
23943
23944 2005-06-29  Edward Hervey  <edward@fluendo.com>
23945
23946         * gst/gstelementfactory.c:
23947         * gst/gstutils.h:
23948         * gst/gstutils.c:
23949         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23950         the definition to the header file.
23951
23952 2005-06-29  Andy Wingo  <wingo@pobox.com>
23953
23954         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23955         plugins from the source directory.
23956
23957 2005-06-29  Wim Taymans  <wim@fluendo.com>
23958
23959         * docs/gst/tmpl/gstbuffer.sgml:
23960         * docs/gst/tmpl/gstclock.sgml:
23961         Some fixings for blantently wrong text.
23962
23963 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23964
23965         * check/Makefile.am:
23966         * gst/gst.c: (add_path_func), (init_pre):
23967         * gst/gstregistry.c: (gst_registry_add_path):
23968           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23969           only scan the GST_PLUGIN_PATH locations, and not add
23970           system locations
23971
23972 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23973
23974         * docs/gst/gstreamer-sections.txt:
23975         * docs/gst/tmpl/gstbasesrc.sgml:
23976         * gst/gstelement.c:
23977         * gst/gstelement.h:
23978         * gst/gstevent.c:
23979         * gst/gstutils.c:
23980           doc fixes
23981
23982 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23983
23984         * docs/manual/advanced-autoplugging.xml:
23985           Fix autoplugging example.
23986
23987 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23988
23989         * docs/manual/advanced-autoplugging.xml:
23990         * docs/manual/mime-world.fig:
23991           Try to get autoplugging working, fix type detection. Fix text
23992           in hello-world image.
23993
23994 2005-06-29  Wim Taymans  <wim@fluendo.com>
23995
23996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23997         (gst_base_sink_change_state):
23998         Small debug line.
23999
24000         * gst/gstclock.h:
24001         map SIGNAL and BROADCAST to the right function.
24002
24003         * gst/gstobject.h:
24004         Remove redundant braces.
24005
24006         * gst/gstpad.c: (gst_pad_set_caps):
24007         Don't call setcaps function when reseting caps to NULL.
24008
24009         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24010         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24011         (gst_system_clock_id_unschedule):
24012         Use BROADCAST as this is what we do.
24013
24014 2005-06-29  Wim Taymans  <wim@fluendo.com>
24015
24016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24017         We are actually prerolling before commiting the state
24018         change. 
24019
24020 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24021
24022         * docs/manual/advanced-clocks.xml:
24023         * docs/manual/advanced-interfaces.xml:
24024         * docs/manual/advanced-metadata.xml:
24025         * docs/manual/advanced-position.xml:
24026         * docs/manual/advanced-schedulers.xml:
24027         * docs/manual/advanced-threads.xml:
24028         * docs/manual/appendix-porting.xml:
24029         * docs/manual/basics-bins.xml:
24030         * docs/manual/basics-bus.xml:
24031         * docs/manual/basics-elements.xml:
24032         * docs/manual/basics-helloworld.xml:
24033         * docs/manual/basics-pads.xml:
24034         * docs/manual/highlevel-components.xml:
24035         * docs/manual/manual.xml:
24036         * docs/manual/thread.fig:
24037           Update (until threads/scheduling) Application Development Manual;
24038           remove GstThread, add GstBus, add simple porting checklist, add
24039           documentation for tag writing, clocks, make all examples until this
24040           part compile and run.
24041         * examples/manual/Makefile.am:
24042           Update from changes to Application Development Manual; add bus
24043           example, remove thread example.
24044
24045 2005-06-28  Wim Taymans  <wim@fluendo.com>
24046
24047         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24048         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24049         (gst_bus_source_dispatch):
24050         Add debugging messages.
24051         Make internal methods static.
24052         Handle the case where the bus is flushed in the handler.
24053         
24054         * gst/gstelement.c: (gst_element_get_bus):
24055         Fix refcount in _get_bus();
24056
24057         * gst/gstpipeline.c: (gst_pipeline_change_state),
24058         (gst_pipeline_get_clock_func):
24059         Clock refcounting fixes.
24060         Handle the case where preroll timed out more gracefully.
24061         
24062         * gst/gstsystemclock.c: (gst_system_clock_dispose):
24063         Clean up the internal thread in dispose. This is needed
24064         for subclasses that actually get disposed.
24065         
24066         * gst/schedulers/threadscheduler.c:
24067         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24068         (gst_thread_scheduler_dispose):
24069         Free thread pool in dispose.
24070
24071 2005-06-28  Andy Wingo  <wingo@pobox.com>
24072
24073         * tests/network-clock-utils.scm (debug, print-event): New utils.
24074
24075         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24076         (*packet-loss*): Unified loss probability.
24077         (network-time): Report out-of-band events.
24078
24079         * tests/plot-data: Add support for out-of-band events. Hack it
24080         into this script instead of passing it down the pipe; should fix
24081         this later.
24082
24083 2005-06-28  Wim Taymans  <wim@fluendo.com>
24084
24085         * docs/gst/gstreamer.types:
24086         * docs/gst/tmpl/gstbasesrc.sgml:
24087         * docs/gst/tmpl/gstpad.sgml:
24088         Docs fixes.
24089
24090 2005-06-28  Wim Taymans  <wim@fluendo.com>
24091
24092         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24093         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24094         (gst_proxy_pad_do_fixatecaps):
24095         Correctly proxy the check_pull_range function.
24096
24097 2005-06-28  Andy Wingo  <wingo@pobox.com>
24098
24099         * tests/network-clock.scm: Removed need for slib.
24100         
24101 2005-06-28  Wim Taymans  <wim@fluendo.com>
24102
24103         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24104         (gst_basesink_preroll_queue_flush):
24105         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24106         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24107         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24108         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24109         (gst_proxy_pad_set_property):
24110         * gst/gstpad.c:
24111         * gst/gstpad.h:
24112         * gst/gstqueue.c: (gst_queue_init):
24113         The deprecated pad loop function is removed now.
24114
24115 2005-06-28  Andy Wingo  <wingo@pobox.com>
24116
24117         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24118         New parameters, simulate network packet loss.
24119
24120         * tests/network-clock-utils.scm: Initialize the RNG.
24121
24122 2005-06-28  Wim Taymans  <wim@fluendo.com>
24123
24124         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24125         (gst_basesink_event), (gst_basesink_deactivate):
24126         Flushing the preroll queue always needs to unlock the waiters.
24127
24128 2005-06-28  Edward Hervey  <edward@fluendo.com>
24129
24130         * gst/gstpipeline.c: (gst_pipeline_send_event): 
24131         Wheen a seek was successful on a pipeline, set the stream_time to the
24132         seek offset in order to have a synchronized stream_time.
24133
24134 2005-06-28  Wim Taymans  <wim@fluendo.com>
24135
24136         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24137         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24138         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24139         (gst_proxy_pad_do_fixatecaps):
24140         Call wrapper function instead of just calling the function
24141         pointers. This takes care of any locking and whatmore.
24142
24143 2005-06-28  Wim Taymans  <wim@fluendo.com>
24144
24145         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24146         (gst_pad_pull_range):
24147         * gst/gstpad.h:
24148         CONNECTED -> LINKED.
24149
24150 2005-06-28  Andy Wingo  <wingo@pobox.com>
24151
24152         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24153         source-munging commit!!!
24154
24155         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
24156         (gst_object_sink): Take gpointer arguments, not GstObject --
24157         avoids casts. Like GLib.
24158
24159         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24160         activate.
24161
24162 2005-06-27  Andy Wingo  <wingo@pobox.com>
24163
24164         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24165         remaining buffer.
24166
24167         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24168         returns a sorted copy of the trace list.
24169         (gst_alloc_trace_print_live): New API, only prints traces with
24170         live objects. Sort the list.
24171         (gst_alloc_trace_print_all): Sort the list.
24172         (gst_alloc_trace_print): Align columns.
24173
24174         * gst/elements/gstttypefindelement.c:
24175         * gst/elements/gsttee.c:
24176         * gst/base/gstbasesrc.c:
24177         * gst/base/gstbasesink.c:
24178         * gst/base/gstbasetransform.c:
24179         * gst/gstqueue.c: Adapt for pad activation changes.
24180
24181         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24182         sched.
24183         (gst_pipeline_dispose): Drop ref on sched.
24184
24185         * gst/gstpad.c (gst_pad_init): Set the default activate func.
24186         (gst_pad_activate_default): Push mode by default.
24187         (pre_activate_switch, post_activate_switch): New stubs, things to
24188         do before and after switching activation modes on pads.
24189         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24190         the pad's activate function to choose which mode to activate.
24191         Shortcut on deactivation and call the right function directly.
24192         (gst_pad_activate_pull): New API, (de)activates a pad in pull
24193         mode.
24194         (gst_pad_activate_push): New API, same for push mode.
24195         (gst_pad_set_activate_function) 
24196         (gst_pad_set_activatepull_function) 
24197         (gst_pad_set_activatepush_function): Setters for new API.
24198
24199         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24200         Trace all miniobjects.
24201         (gst_mini_object_make_writable): Unref the arg if we copy, like
24202         gst_caps_make_writable.
24203
24204         * gst/gstmessage.c (_gst_message_initialize): No trace init.
24205
24206         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
24207         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24208         Adapt for new pad API.
24209
24210         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24211
24212         * gst/gstelement.h:
24213         * gst/gstelement.c (gst_element_iterate_src_pads) 
24214         (gst_element_iterate_sink_pads): New API functions.
24215         
24216         * gst/gstelement.c (iterator_fold_with_resync): New utility,
24217         should fold into gstiterator.c in some form.
24218         (gst_element_pads_activate): Simplified via use of fold and
24219         delegation of decisions to gstpad->activate.
24220
24221         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24222         help in debugging.
24223
24224         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24225         class once in init, like gstmessage. Didn't run into this issue
24226         but it seems correct. Don't initialize a trace, gstminiobject does
24227         that.
24228
24229         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24230         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24231         to the bus.
24232         (assert_live_count): New util function, uses alloc traces to check
24233         cleanup.
24234
24235         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24236         To be modified when unlink drops the internal pad.
24237
24238 2005-06-27  Wim Taymans  <wim@fluendo.com>
24239
24240         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24241         (gst_bin_change_state):
24242         Cleanup the get_state() function a little, make sure it
24243         iterates the same set of elements.
24244         Added stub iterate_state_order().
24245
24246 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24247
24248         * docs/gst/gstreamer-docs.sgml:
24249         * docs/gst/gstreamer-sections.txt:
24250         * docs/gst/gstreamer.types:
24251         * docs/gst/tmpl/gstbasesink.sgml:
24252         * docs/gst/tmpl/gstbasesrc.sgml:
24253         * docs/gst/tmpl/gstbasetransform.sgml:
24254         * docs/gst/tmpl/gstelement.sgml:
24255         * docs/gst/tmpl/gstiterator.sgml:
24256         * gst/base/gstbasesrc.c:
24257         * gst/base/gstbasesrc.h:
24258         * gst/base/gstbasetransform.h:
24259         * gst/gstelement.c:
24260         * gst/gstiterator.h:
24261           adding basetransform and iterator docs
24262
24263 2005-06-27  Andy Wingo  <wingo@pobox.com>
24264
24265         * docs/design/part-activation.txt: Notes on how activation should
24266         work -- not quite implemented yet.
24267
24268 2005-06-25  Wim Taymans  <wim@fluendo.com>
24269
24270         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24271         At least get the chain function correct, needs more
24272         fixing.
24273
24274 2005-06-25  Wim Taymans  <wim@fluendo.com>
24275
24276         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24277         (gst_basesink_handle_object), (gst_basesink_event),
24278         (gst_basesink_do_sync), (gst_basesink_handle_event),
24279         (gst_basesink_change_state):
24280         * gst/gsttask.h:
24281         Right, two problems here: ghostpads don't take locks and
24282         glib _rec_mutex_lock_full() with depth==0 still locks.
24283         Catch illegal locking and g_warn them.
24284
24285 2005-06-25  Wim Taymans  <wim@fluendo.com>
24286
24287         * check/states/sinks.c: (START_TEST), (gst_object_suite):
24288         Have to check for completion now...
24289
24290 2005-06-25  Wim Taymans  <wim@fluendo.com>
24291
24292         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24293         (gst_basesink_handle_object), (gst_basesink_event),
24294         (gst_basesink_do_sync), (gst_basesink_handle_event),
24295         (gst_basesink_change_state):
24296         * gst/gstpad.h:
24297         Unlock STREAM_LOCK whatever the recursion was.
24298
24299 2005-06-25  Wim Taymans  <wim@fluendo.com>
24300
24301         * gst/base/gstbasesink.c: (gst_basesink_set_property),
24302         (gst_basesink_preroll_queue_empty),
24303         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24304         (gst_basesink_event), (gst_basesink_do_sync),
24305         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24306         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24307         (gst_basesink_change_state):
24308         Reworked the base sink, handle event and buffer serialisation
24309         correctly and removed possible deadlock.
24310         Handle EOS correctly.
24311
24312 2005-06-25  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24315         (gst_pipeline_change_state):
24316         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24317         Allow elements to post EOS in the state change function.
24318         Fix up -launch, make it exit the poll loop when the
24319         pipeline actually changed state.
24320         Fix up warning parsing in -launch.
24321
24322 2005-06-25  Wim Taymans  <wim@fluendo.com>
24323
24324         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24325         (gst_tee_sink_activate):
24326         Core takes STREAM_LOCK for us now.
24327
24328 2005-06-25  Wim Taymans  <wim@fluendo.com>
24329
24330         * gst/gstelement.c: (gst_element_get_state_func),
24331         (gst_element_set_state):
24332         * gst/gstelement.h:
24333         * gst/gstmessage.c: (gst_message_parse_error),
24334         (gst_message_parse_warning):
24335         Keep track of current target state while performing a state
24336         change so that subclasses can do something interesting.
24337         Fix parsing of warning/error messages when GError is NULL.
24338
24339 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24340
24341         * docs/gst/Makefile.am:
24342         * docs/gst/gstreamer-docs.sgml:
24343         * docs/gst/gstreamer-sections.txt:
24344         * docs/gst/gstreamer.types:
24345         * docs/gst/tmpl/gstbasesink.sgml:
24346         * docs/gst/tmpl/gstbasesrc.sgml:
24347         * docs/gst/tmpl/gstbin.sgml:
24348         * docs/gst/tmpl/gstcompat.sgml:
24349         * docs/gst/tmpl/gstfakesink.sgml:
24350         * docs/gst/tmpl/gstfakesrc.sgml:
24351         * docs/gst/tmpl/gstfilesink.sgml:
24352         * docs/gst/tmpl/gstfilesrc.sgml:
24353         * docs/gst/tmpl/gstindex.sgml:
24354         * docs/manual/appendix-quotes.xml:
24355         * gst/base/gstbasesrc.h:
24356         * gst/elements/gstfakesrc.h:
24357         * gst/gstmessage.h:
24358           start pulling in base classes and elements in our docs
24359
24360 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
24361
24362         * docs/gst/Makefile.am:
24363         * docs/libs/Makefile.am:
24364           fixed make distcheck with gtk-doc 1.3
24365
24366 2005-06-23  Wim Taymans  <wim@fluendo.com>
24367
24368         * gst/gstelement.c: (gst_element_get_state_func),
24369         (gst_element_set_state), (gst_element_change_state):
24370         When the state did not change, also report NO_PREROLL
24371         when it matters.
24372
24373 2005-06-23  Wim Taymans  <wim@fluendo.com>
24374
24375         * gst/gstpad.c: (gst_pad_event_default):
24376         * gst/gstqueue.c: (gst_queue_loop):
24377         No unsafe task pausing please.
24378
24379 2005-06-23  Wim Taymans  <wim@fluendo.com>
24380
24381         * gst/schedulers/threadscheduler.c:
24382         (gst_thread_scheduler_task_start),
24383         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24384         Ref the task before pushing it on the threadpool. This
24385         makes sure that we have a ref when the threadfunction is
24386         actually called.
24387
24388 2005-06-23  Andy Wingo  <wingo@pobox.com>
24389
24390         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24391         offset is greater than the file's size.
24392
24393         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
24394         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24395         * gst/gstobject.c (gst_object_class_init): Make the class lock
24396         recursive. Wim won't let me drop deep_notify. Decodebin works
24397         again, whoopdy doo.
24398
24399         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24400         internal pad, and hacks accordingly. Doesn't do it on the target
24401         pad because we change its caps. Probably catches all cases of
24402         interest tho.
24403         (gst_ghost_pad_set_property): Connect to notify::caps as
24404         appropritate.
24405
24406         * tests/network-clock.scm (plot-simulation): Pipe data to the
24407         elite python skript.
24408
24409         * tests/network-clock-utils.scm (define-parameter): New macro,
24410         defines a parameter that can be set via the command line.
24411         (set-parameter!, parse-parameter-arguments): Command line args
24412         parser.
24413
24414         * tests/plot-data: Simple matplotlib-based plotter, takes input on
24415         stdin.
24416
24417 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
24418
24419         * gst/elements/gsttypefindelement.c:
24420         (gst_type_find_element_handle_event):
24421           Don't restart typefinding on a discont.
24422         * gst/gstelement.c: (gst_element_set_state):
24423           Debug spelling fix.
24424         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24425           Allow changing mode of an active pad.
24426           Debug output fixes.
24427         * gst/registries/gstlibxmlregistry.c: (load_feature):
24428           Don't cast a static pad template to a normal pad template.
24429
24430 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24431
24432         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24433         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24434           remove gst_strtoll completely, since it didn't actually do
24435           anything more than what g_ascii_strtoull already does.
24436           check for range errors when deserializing
24437           do a cast for the unsigned cases; but further fixing needs
24438           a decision on what the interpretation of "(int)" and
24439           deserialization should be for values that fall outside the
24440           type's boundaries (ie, refuse, or interpret as casting)
24441
24442 2005-06-23  Wim Taymans  <wim@fluendo.com>
24443
24444         * check/Makefile.am:
24445         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24446         * docs/design/part-live-source.txt:
24447         * docs/design/part-states.txt:
24448         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24449         (gst_basesrc_set_live), (gst_basesrc_is_live),
24450         (gst_basesrc_get_range), (gst_basesrc_activate),
24451         (gst_basesrc_change_state):
24452         * gst/base/gstbasesrc.h:
24453         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24454         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24455         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24456         * gst/gstelement.c: (gst_element_get_state_func),
24457         (gst_element_set_state):
24458         * gst/gstelement.h:
24459         * gst/gsttypes.h:
24460         * tools/gst-launch.c: (event_loop), (main):
24461         Added support for live sources and other elements that
24462         cannot do preroll.
24463         Updated design docs, added live-source design doc.
24464         Implemented live source functionality in basesrc
24465         Fix error condition in _bin_get_state()
24466         Implement live source handling in -launch.
24467         Added check for live sources.
24468         Fixed case in GstBin where elements were changed state
24469         multiple times.
24470
24471
24472 2005-06-23  Andy Wingo  <wingo@pobox.com>
24473
24474         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24475         borken refcounting.
24476
24477         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24478         gst_caps_replace takes care of this for us.
24479
24480         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24481         gst_pad_set_caps on the target, not just its setcaps() function.
24482
24483         * tests/network-clock.scm: 
24484         * tests/network-clock-utils.scm: A network clock simulator.
24485         Something of an algorithmic testbed before doing something in C.
24486
24487 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24488
24489         * check/Makefile.am:
24490         * check/gst/capslist.h:
24491           copy over from 0.8, and add two with bitmasks specified with
24492           (int) 0xFF...
24493         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24494           add test to parse everything from capslist.h
24495         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24496         (main):
24497           add test for structure deserialization
24498         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24499           add tests for deserialization of strings to int types
24500         * gst/gststructure.c: (gst_structure_nth_field_name):
24501         * gst/gststructure.h:
24502           add a way to get the name of a field referenced by index
24503         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24504           instead of checking if the resulting long long lies between
24505           min and max, we check if the long long would fit into
24506           a number of bytes for the final type.
24507           This fixes cases where a string represents 2^32 - 1, which
24508           when cast to int would be the (valid) -1, but is bigger than
24509           G_MAXINT
24510
24511 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24512
24513         * gst/parse/grammar.y:
24514           add a log line for type deserialization
24515
24516 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24517
24518         * check/gst/gstvalue.c: (START_TEST):
24519         * gst/gstvalue.c: (gst_value_deserialize):
24520           return long long, not int, so gint64 deserialization actually
24521           works.  Is there any flag that makes the compiler check this ?
24522           Fixes #308559
24523
24524 2005-06-22  Wim Taymans  <wim@fluendo.com>
24525
24526         * gst/gstbuffer.h:
24527         Added convenience macros for setting buffers in GValue.
24528
24529 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24530
24531         * check/gst/.cvsignore:
24532         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24533           add a test deserializing int64, and comment part out because
24534           it fails, yay !
24535
24536 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24537
24538         * check/Makefile.am:
24539         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24540         * testsuite/Makefile.am:
24541         * testsuite/caps/Makefile.am:
24542         * testsuite/caps/value_serialize.c:
24543         * testsuite/test_gst_init.c:
24544           move a value_serialize test over
24545
24546 2005-06-20  Wim Taymans  <wim@fluendo.com>
24547
24548         * gst/gstpad.c:
24549         Small doc updates.
24550         
24551         * gst/gstvalue.c: (gst_value_compare_buffer),
24552         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24553         (gst_value_compare_flags), (gst_value_serialize_flags),
24554         (gst_value_deserialize_flags), (_gst_value_initialize):
24555         Fix serialisation of buffers, they are not boxed types anymore
24556
24557 2005-06-20  Wim Taymans  <wim@fluendo.com>
24558
24559         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24560         Testcase to show error in buffer-on-caps serialisation.
24561
24562 2005-06-20  Andy Wingo  <wingo@pobox.com>
24563
24564         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24565         will be adding to later.
24566
24567         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24568         if its socks fill with rocks.
24569         (gst_system_clock_obtain): Set the name on object construction.
24570         Avoid double-checked locking.
24571
24572 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24573
24574         * gst/gsturi.c: (gst_element_make_from_uri):
24575           Fix potential endless loop.
24576
24577 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24578
24579         * check/Makefile.am:
24580           add gsttag
24581         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24582         (main):
24583           move over from testsuite dir and clean up
24584         * configure.ac:
24585         * gst/gsttag.c:
24586         * testsuite/Makefile.am:
24587         * testsuite/tags/.cvsignore:
24588         * testsuite/tags/Makefile.am:
24589         * testsuite/tags/merge.c:
24590           remove testsuite/tags
24591
24592 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24593
24594         * docs/gst/gstreamer-sections.txt:
24595         * docs/gst/tmpl/gstenumtypes.sgml:
24596         * win32/gstenumtypes.c:
24597           clean up documentation build a little
24598
24599 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24600
24601         * check/gstcheck.h:
24602           add macros for checking refcounts on objects and caps
24603         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24604           add some more unit tests
24605         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24606         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24607           fix leaked refcounts (I hope :)) so unittest works
24608         * gst/gstpad.h:
24609           whitespace removal
24610
24611 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24612
24613         * configure.ac: back to HEAD
24614
24615 === release 0.9.1 ===
24616
24617 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24618
24619         * NEWS:
24620         * RELEASE:
24621           updated
24622
24623 2005-06-17  Andy Wingo  <wingo@pobox.com>
24624
24625         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24626         assert; it's always possible that the pad gets deactivated in
24627         between the checks in gstpad.c and the implementation. Rely on
24628         finish_preroll() to return a FLUSHING or similar instead of on the
24629         assert.
24630         
24631         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24632         clock and post an EOS message if we come out of finish_preroll in
24633         the playing state.
24634
24635 2005-06-16  David Schleef  <ds@schleef.org>
24636
24637         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24638         (gst_capsfilter_set_property): Allow NULL as possible value
24639         for filter_caps property, indicating GST_CAPS_ANY.
24640
24641 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24642
24643         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24644           fix debug output
24645         * gst/schedulers/Makefile.am:
24646           use libgst prefix
24647         * gstreamer.spec.in:
24648           fix spec for it
24649
24650 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24651
24652         * gstreamer.spec.in:
24653           clean up
24654
24655 2005-06-08  Andy Wingo  <wingo@pobox.com>
24656
24657         * gst/gstutils.c: RPAD fixes all around.
24658         (gst_element_link_pads): Refcounting fixes.
24659
24660         * tools/gst-inspect.c:
24661         * tools/gst-xmlinspect.c:
24662         * parse/grammar.y:
24663         * gst/base/gsttypefindhelper.c:
24664         * gst/base/gstbasesink.c:
24665         * gst/gstqueue.c: RPAD fixes.
24666
24667         * gst/gstghostpad.h:
24668         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24669         pads. The tricky thing is they provide both source and sink
24670         interfaces, since they proxy the internal pad for the external
24671         pad, and vice versa. Implement with lower-level ProxyPad objects,
24672         with the interior proxy pad as a child of the exterior ghost pad.
24673         Should write a doc on this.
24674         
24675         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24676         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24677         gst_object API.
24678         
24679         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24680         pads are real pads. No ghost pads in this file. Not documenting
24681         the myriad s/RPAD/PAD/ and REALIZE fixes.
24682         (gst_pad_class_init): Add properties for "direction" and
24683         "template". Both are construct-only, so they can't change during
24684         the life of the pad. Fixes properly deriving from GstPad.
24685         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24686         derived objects, just set properties when creating the objects via
24687         g_object_new.
24688         (gst_pad_get_parent): Implement as a function, return NULL if the
24689         parent is not an element.
24690         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24691         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24692         
24693         * gst/gstobject.c (gst_object_class_init): Make name a construct
24694         property. Don't set it in the object init.
24695
24696         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24697         with UNKNOWN direction.
24698         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24699         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24700         (gst_element_remove_pad): Remove ghost-pad special cases.
24701         (gst_element_pads_activate): Remove rpad cruft.
24702
24703         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24704         catch the pad's-parent-not-an-element case.
24705
24706         * gst/gst.h: Include gstghostpad.h.
24707
24708         * gst/gst.c (init_post): No more real, ghost pads.
24709
24710         * gst/Makefile.am: Add gstghostpad.[ch].
24711
24712         * check/Makefile.am:
24713         * check/gst/gstbin.c:
24714         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24715         into a bin creates ghost pads, and that the refcounts are right.
24716         Partly moved from gstbin.c.
24717
24718 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24719
24720         * check/gst-libs/.cvsignore:
24721         * check/gst/.cvsignore:
24722         * check/pipelines/.cvsignore:
24723           ignore more
24724         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24725         (START_TEST), (cleanup_suite), (main):
24726           add some tests related to cleanup after running pipelines
24727
24728 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24729
24730         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24731           add a testsuite for GstBuffer
24732
24733 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24734
24735         * gst/gstminiobject.h:
24736           add defines for accessing the refcount
24737
24738 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24739
24740         * Makefile.am: added support for html unit test coverage reports
24741
24742 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24743
24744         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24745           Free existing caps if the capsfilter changes. Add a FIXME about
24746           setting those caps on the pads.
24747
24748         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24749           Before adding a ghost pad to a parent bin, check that there isn't
24750           already one for the element on the bin. Prevents infinite recursion
24751           when using decodebin in parse pipelines. Andy says he'll rewrite the
24752           way this works anyway, so ignore the hack.
24753
24754 2005-06-02  Andy Wingo  <wingo@pobox.com>
24755
24756         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24757         file size, pass it on to the type find helper.
24758
24759         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24760         segment_start and segment_end properly according to the seek
24761         method. Segment_end is still a bit flaky because offset can be
24762         negative for CUR and END cases, but it takes -1 as an "unset"
24763         value.
24764
24765 2005-06-02  Wim Taymans  <wim@fluendo.com>
24766
24767         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24768         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24769         (gst_basesink_activate):
24770         * gst/base/gstbasesink.h:
24771         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24772         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24773         (gst_pad_query), (gst_pad_start_task):
24774         * gst/gstpad.h:
24775         * gst/gstqueue.c: (gst_queue_bufferalloc),
24776         (gst_queue_handle_sink_event), (gst_queue_chain):
24777         Bufferalloc: return GstFlowReturn to more accuratly report
24778         why allocation failed.
24779
24780 2005-06-02  Wim Taymans  <wim@fluendo.com>
24781
24782         * gst/gstpipeline.c: (gst_pipeline_send_event):
24783         Take snapshot of state without blocking.
24784
24785 2005-06-02  Wim Taymans  <wim@fluendo.com>
24786
24787         * docs/design/part-TODO.txt:
24788         * docs/design/part-caps.txt:
24789         * docs/design/part-clocks.txt:
24790         * docs/design/part-negotiation.txt:
24791         * docs/design/part-preroll.txt:
24792         Small doc updates 
24793
24794 2005-05-30  Wim Taymans  <wim@fluendo.com>
24795
24796         * gst/elements/gstidentity.c: (gst_identity_event),
24797         (gst_identity_transform), (gst_identity_get_property):
24798         Protect last_message property as it is accessed from
24799         multiple threads.
24800
24801 2005-05-30  Wim Taymans  <wim@fluendo.com>
24802
24803         * gst/gstelement.c: (gst_element_init),
24804         (gst_element_pads_activate), (gst_element_change_state):
24805         Slicker pad activation code.
24806
24807 2005-05-30  Wim Taymans  <wim@fluendo.com>
24808
24809         * gst/Makefile.am:
24810         * gst/gstelement.h:
24811         * gst/gstelementfactory.h:
24812         * gst/gsttypes.h:
24813         Move elementfactory methods to separate .h file.
24814
24815 2005-05-30  Wim Taymans  <wim@fluendo.com>
24816
24817         * docs/design/part-overview.txt:
24818         * gst/gstsystemclock.h:
24819         Small typo fixes, doc updates.
24820
24821 2005-05-30  Wim Taymans  <wim@fluendo.com>
24822
24823         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24824         (init_popt_callback):
24825         Remove cpu-opt flag.
24826
24827 2005-05-30  Wim Taymans  <wim@fluendo.com>
24828
24829         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24830         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24831         * gst/gstbuffer.h:
24832         Avoid typechecking in places where not needed.
24833         Added accessor for malloc_data.
24834
24835 2005-05-30  Wim Taymans  <wim@fluendo.com>
24836
24837         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24838         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24839         (gst_pad_configure_sink), (gst_pad_configure_src),
24840         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24841         (gst_pad_start_task):
24842         Propagate errors from _set_caps() in configure_src/sink
24843         functions instead of returning TRUE.
24844         FLUSH events can travel up and downstream
24845
24846
24847 2005-05-30  Wim Taymans  <wim@fluendo.com>
24848
24849         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24850         (gst_basesink_activate):
24851         Handle EOS in preroll.
24852
24853 2005-05-30  Wim Taymans  <wim@fluendo.com>
24854
24855         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24856         (gst_queue_loop), (gst_queue_handle_src_event):
24857         Remove old pieces of code
24858         Flushing the queue in an upstream event is a very bad idea.
24859
24860 2005-05-26  Andy Wingo  <wingo@pobox.com>
24861
24862         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24863         gst_value_set_mini_object so as to add a ref on the object (which
24864         will be removed when the value is unset).
24865
24866         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24867         arg type in ::handoff.
24868
24869         * gst/gstelement.c (gst_element_change_state): Also deactivate
24870         pads in READY->NULL, just in case the element didn't make it to
24871         PAUSED. Wingo tested, Wim approved.
24872
24873 2005-05-26  Wim Taymans  <wim@fluendo.com>
24874
24875         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24876         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24877         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24878         A flushing pad cannot be used to alloc_buffer from.
24879
24880 2005-05-26  Wim Taymans  <wim@fluendo.com>
24881
24882         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24883         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24884         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24885         (gst_bus_create_watch), (gst_bus_add_watch_full):
24886         * gst/gstbus.h:
24887         Implement a real GSource and use g_main_context_wakeup() to
24888         signal new messages instead of the socketpair.
24889
24890 2005-05-25  Wim Taymans  <wim@fluendo.com>
24891
24892         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24893         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24894         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24895         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24896         (gst_pad_send_event), (gst_pad_start_task):
24897         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24898         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24899         (gst_queue_sink_activate), (gst_queue_src_activate),
24900         (gst_queue_change_state):
24901         * gst/gstqueue.h:
24902         Fix state changes for non sinks. We now change sinks, then elements
24903         with unconnected srcpads, then the rest.
24904         More efficient queue unlocking in flush and state changes.
24905         Set the pad activate mode even if it does not have an activate
24906         function.
24907
24908 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24909
24910         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24911           Don't go in pull mode for non-seekable sources.
24912         * gst/elements/gsttypefindelement.h:
24913         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24914         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24915         (free_entry), (stop_typefinding),
24916         (gst_type_find_element_handle_event), (find_peek),
24917         (gst_type_find_element_chain), (do_pull_typefind),
24918         (gst_type_find_element_change_state):
24919           Allow typefinding (w/o seeking) in push-mode, simplified version
24920           of what was in 0.8.
24921         * gst/gstutils.c: (gst_buffer_join):
24922         * gst/gstutils.h:
24923           gst_buffer_join() from 0.8.
24924
24925 2005-05-25  Wim Taymans  <wim@fluendo.com>
24926
24927         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24928         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24929         (gst_pad_send_event), (gst_pad_start_task):
24930         Disable attempt at mode switching until it is figured out.
24931
24932 2005-05-25  Wim Taymans  <wim@fluendo.com>
24933
24934         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24935         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24936         (gst_basesink_finish_preroll), (gst_basesink_chain),
24937         (gst_basesink_loop), (gst_basesink_activate),
24938         (gst_basesink_change_state):
24939         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24940         (gst_basesrc_get_range), (gst_basesrc_loop),
24941         (gst_basesrc_activate):
24942         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24943         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24944         (gst_real_pad_init), (gst_real_pad_set_property),
24945         (gst_real_pad_get_property), (gst_pad_set_active),
24946         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24947         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24948         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24949         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24950         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24951         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24952         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24953         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24954         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24955         (gst_pad_stop_task):
24956         * gst/gstpad.h:
24957         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24958         (gst_queue_loop), (gst_queue_src_activate):
24959         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24960         (gst_task_get_state):
24961         * gst/gsttask.h:
24962         * gst/schedulers/threadscheduler.c:
24963         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24964         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24965         in task function.
24966         Remove ACTIVE pad flag, use FLUSHING everywhere
24967         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24968         functions.
24969         Add locks around IS_FLUSHING when reading.
24970         Take STREAM lock in chain(), get_range() functions so plugins
24971         don't need to take it anymore.
24972         
24973
24974
24975 2005-05-25  Wim Taymans  <wim@fluendo.com>
24976
24977         * tools/gst-launch.c: (event_loop):
24978         Unref message after using its contents instead of
24979         before.
24980
24981 2005-05-24  Wim Taymans  <wim@fluendo.com>
24982
24983         * docs/design/draft-ghostpads.txt:
24984         * docs/design/draft-push-pull.txt:
24985         * docs/design/draft-query.txt:
24986         * docs/design/part-overview.txt:
24987         Docs updates, added general overview doc.
24988
24989 2005-05-21  David Schleef  <ds@schleef.org>
24990
24991         * docs/gst/tmpl/old/GstBin.sgml:
24992         * docs/gst/tmpl/old/GstBuffer.sgml:
24993         * docs/gst/tmpl/old/GstCaps.sgml:
24994         * docs/gst/tmpl/old/GstClock.sgml:
24995         * docs/gst/tmpl/old/GstCompat.sgml:
24996         * docs/gst/tmpl/old/GstData.sgml:
24997         * docs/gst/tmpl/old/GstElement.sgml:
24998         * docs/gst/tmpl/old/GstEvent.sgml:
24999         * docs/gst/tmpl/old/GstIndex.sgml:
25000         * docs/gst/tmpl/old/GstStructure.sgml:
25001         * docs/gst/tmpl/old/GstTag.sgml:
25002         * docs/gst/tmpl/old/cothreads.sgml:
25003         * docs/gst/tmpl/old/cothreads_compat.sgml:
25004         * docs/gst/tmpl/old/gettext.sgml:
25005         * docs/gst/tmpl/old/gobject2gtk.sgml:
25006         * docs/gst/tmpl/old/grammar.tab.sgml:
25007         * docs/gst/tmpl/old/gst-i18n-app.sgml:
25008         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25009         * docs/gst/tmpl/old/gst_private.sgml:
25010         * docs/gst/tmpl/old/gstaggregator.sgml:
25011         * docs/gst/tmpl/old/gstarch.sgml:
25012         * docs/gst/tmpl/old/gstatomic_impl.sgml:
25013         * docs/gst/tmpl/old/gstbufferstore.sgml:
25014         * docs/gst/tmpl/old/gstdata_private.sgml:
25015         * docs/gst/tmpl/old/gstdisksink.sgml:
25016         * docs/gst/tmpl/old/gstdisksrc.sgml:
25017         * docs/gst/tmpl/old/gstelementfactory.sgml:
25018         * docs/gst/tmpl/old/gstextratypes.sgml:
25019         * docs/gst/tmpl/old/gstfakesink.sgml:
25020         * docs/gst/tmpl/old/gstfakesrc.sgml:
25021         * docs/gst/tmpl/old/gstfdsink.sgml:
25022         * docs/gst/tmpl/old/gstfdsrc.sgml:
25023         * docs/gst/tmpl/old/gstfilesink.sgml:
25024         * docs/gst/tmpl/old/gstfilesrc.sgml:
25025         * docs/gst/tmpl/old/gsthttpsrc.sgml:
25026         * docs/gst/tmpl/old/gstidentity.sgml:
25027         * docs/gst/tmpl/old/gstindexfactory.sgml:
25028         * docs/gst/tmpl/old/gstmarshal.sgml:
25029         * docs/gst/tmpl/old/gstmd5sink.sgml:
25030         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25031         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25032         * docs/gst/tmpl/old/gstpadtemplate.sgml:
25033         * docs/gst/tmpl/old/gstpipefilter.sgml:
25034         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25035         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25036         * docs/gst/tmpl/old/gstshaper.sgml:
25037         * docs/gst/tmpl/old/gstspider.sgml:
25038         * docs/gst/tmpl/old/gstspideridentity.sgml:
25039         * docs/gst/tmpl/old/gststatistics.sgml:
25040         * docs/gst/tmpl/old/gsttee.sgml:
25041         * docs/gst/tmpl/old/gsttimecache.sgml:
25042         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25043         * docs/gst/tmpl/old/gstxmlregistry.sgml:
25044         * docs/gst/tmpl/old/gthread-cothreads.sgml:
25045         * docs/gst/tmpl/old/types.sgml:
25046           I didn't intend to add these or check them in.
25047
25048 2005-05-19  David Schleef  <ds@schleef.org>
25049
25050         * configure.ac: Use -no-common everywhere.  In a sane world, it
25051           would be the default in libtool, because without it, you can't
25052           build DLLs on Windows.
25053         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25054         * docs/gst/gstreamer-sections.txt:
25055         * docs/gst/tmpl/gstcpu.sgml:
25056         * docs/gst/tmpl/gstdata.sgml:
25057         * docs/gst/tmpl/gstthread.sgml:
25058
25059 2005-05-19  David Schleef  <ds@schleef.org>
25060
25061         * gst/gstminiobject.c: (gst_value_set_mini_object),
25062         (gst_value_take_mini_object), (gst_value_get_mini_object):
25063         * gst/gstminiobject.h: Add GValue set/get functions.
25064
25065 2005-05-19  Wim Taymans  <wim@fluendo.com>
25066
25067         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25068         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25069         (gst_subbuffer_init), (gst_buffer_is_span_fast):
25070         * gst/gstbuffer.h:
25071         * gst/gstbus.c: (gst_bus_post):
25072         * gst/gstelement.c: (gst_element_get_random_pad):
25073         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25074         Make subbufer unref the parent in finalize.
25075         some more debugging info.
25076
25077
25078 2005-05-19  Wim Taymans  <wim@fluendo.com>
25079
25080         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25081         (gst_basesink_init), (gst_basesink_finalize),
25082         (gst_basesink_activate), (gst_basesink_change_state):
25083         Don't free preroll queue too early.
25084
25085 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25086
25087         * gst/Makefile.am:
25088         * gst/ROADMAP:
25089           Hi, I'm outdated. Please shoot me.
25090
25091 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25092
25093         * gst/gstpipeline.c: (gst_pipeline_send_event):
25094           Do not access variables after they have been deleted.
25095
25096 2005-05-19  Wim Taymans  <wim@fluendo.com>
25097
25098         * tools/gst-inspect.c: (print_plugin_features):
25099         A plugin feature does unfortunatly not use the
25100         object name yet...
25101
25102 2005-05-18  Wim Taymans  <wim@fluendo.com>
25103
25104         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25105         Port _span() functions to new subbuffers.
25106
25107 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25108
25109         * gst/gstbin.c: (gst_bin_add_func):
25110           Fix clock settery in bins when adding kids after the clock has
25111           been selected.
25112
25113 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25114
25115         * gst/elements/gstidentity.c: (gst_identity_class_init):
25116           Workaround until signals support GstMiniObject.
25117
25118 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
25119
25120         * gst/gstbuffer.c:
25121         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25122
25123 2005-05-18  Wim Taymans  <wim@fluendo.com>
25124
25125         * gst/base/Makefile.am:
25126         * gst/base/gstadapter.c: (gst_adapter_base_init),
25127         (gst_adapter_class_init), (gst_adapter_init),
25128         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25129         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25130         (gst_adapter_flush), (gst_adapter_available),
25131         (gst_adapter_available_fast):
25132         * gst/base/gstadapter.h:
25133         Ported and added adapter to the base classes.
25134
25135 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25136
25137         * gst/gst.c:
25138         * gst/gstmessage.c:
25139           Make sure the class is reffed/unreffed once before threads can be
25140           used.  Fixes #304551.
25141
25142 2005-05-17  Wim Taymans  <wim@fluendo.com>
25143
25144         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25145         (gst_basesink_chain_unlocked), (gst_basesink_activate):
25146         * gst/gstminiobject.c: (gst_mini_object_get_type),
25147         (gst_mini_object_free):
25148         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25149         (gst_pad_push), (gst_pad_push_event):
25150         * gst/gstqueue.c: (gst_queue_change_state):
25151         Don't queue buffers in basesink when we are flushing.
25152         Unref buffer when flushing in basesink.
25153         Flush queue when going to READY
25154         Unref buffer when _push() returns an error.
25155         Don't free MiniObject instance when refcount is incremented
25156         in _finalize() so that we can recover objects.
25157
25158 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25159
25160         * docs/manual/advanced-schedulers.xml:
25161         * docs/manual/appendix-checklist.xml:
25162         * docs/pwg/advanced-clock.xml:
25163         * docs/pwg/advanced-interfaces.xml:
25164         * docs/pwg/advanced-request.xml:
25165         * docs/pwg/advanced-types.xml:
25166         * docs/pwg/intro-preface.xml:
25167         * examples/plugins/example.c: (gst_example_get_type),
25168         (gst_example_class_init), (gst_example_chain),
25169         (gst_example_set_property), (gst_example_get_property),
25170         (gst_example_change_state), (plugin_init):
25171         * examples/plugins/example.h:
25172           small doc fixes
25173
25174 2005-05-17  Wim Taymans  <wim@fluendo.com>
25175
25176         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25177         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25178         * gst/gstqueue.c: (gst_queue_change_state):
25179         Clear queue when going to READY.
25180         Remove IN_SETCAPS flag too.
25181
25182 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
25183
25184         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25185           Remove implicit cast from gboolean to GstElementStateReturn;
25186           make sure we still return failure in paused => ready case if
25187           the parent class fails to change state and our own stop 
25188           vfunc succeeds.
25189
25190 2005-05-17  Wim Taymans  <wim@fluendo.com>
25191
25192         * tools/gst-launch.c: (event_loop):
25193         Message was unreffed too soon.
25194
25195 2005-05-16  Andy Wingo  <wingo@pobox.com>
25196
25197         * gst/gstbin.c (sink_iterator_filter): Err... um...
25198
25199         * check/gst/gstbin.c (test_ghost_pads): New test for the
25200         ghosting-if-elements-not-in-same-bin behavior.
25201
25202 2005-05-16  David Schleef  <ds@schleef.org>
25203
25204         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25205         accessing refcount directly.
25206
25207 2005-05-15  David Schleef  <ds@schleef.org>
25208
25209         * check/Makefile.am: remove GstData checks
25210         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25211         * gst/Makefile.am: add miniobject, remove data
25212         * gst/gst.h: add miniobject, remove data
25213         * gst/gstdata.c: remove
25214         * gst/gstdata.h: remove
25215         * gst/gstdata_private.h: remove
25216         * gst/gsttypes.h: remove GstEvent and GstMessage
25217         * gst/gstelement.c: (gst_element_post_message): fix for API changes
25218         * gst/gstmarshal.list: change BOXED -> OBJECT
25219
25220         Implement GstMiniObject.
25221         * gst/gstminiobject.c:
25222         * gst/gstminiobject.h:
25223
25224         Modify to be subclasses of GstMiniObject.
25225         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25226         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25227         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25228         (gst_subbuffer_get_type), (gst_subbuffer_init),
25229         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25230         (gst_buffer_span):
25231         * gst/gstbuffer.h:
25232         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25233         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25234         (_gst_event_copy), (gst_event_new):
25235         * gst/gstevent.h:
25236         * gst/gstmessage.c: (_gst_message_initialize),
25237         (gst_message_get_type), (gst_message_class_init),
25238         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25239         (gst_message_new), (gst_message_new_error),
25240         (gst_message_new_warning), (gst_message_new_tag),
25241         (gst_message_new_state_changed), (gst_message_new_application):
25242         * gst/gstmessage.h:
25243         * gst/gstprobe.c: (gst_probe_perform),
25244         (gst_probe_dispatcher_dispatch):
25245         * gst/gstprobe.h:
25246         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25247         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25248         (_gst_query_copy), (gst_query_new):
25249
25250         Update elements for GstData -> GstMiniObject changes
25251         * gst/gstquery.h:
25252         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25253         (gst_queue_chain), (gst_queue_loop):
25254         * gst/elements/gstbufferstore.c:
25255         (gst_buffer_store_add_buffer_func),
25256         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25257         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25258         (gst_fakesink_render):
25259         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25260         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25261         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25262         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25263         (gst_filesrc_create_read):
25264         * gst/elements/gstidentity.c: (gst_identity_class_init):
25265         * gst/elements/gsttypefindelement.c:
25266         (gst_type_find_element_src_event), (free_entry_buffers),
25267         (gst_type_find_element_handle_event):
25268         * libs/gst/dataprotocol/dataprotocol.c:
25269         (gst_dp_header_from_buffer):
25270         * libs/gst/dataprotocol/dataprotocol.h:
25271         * libs/gst/dataprotocol/dp-private.h:
25272
25273 2005-05-15  David Schleef  <ds@schleef.org>
25274
25275         * gst/elements/gstelements.c: Don't include headers that were
25276         just removed.
25277
25278 2005-05-15  David Schleef  <ds@schleef.org>
25279
25280         * gst/elements/Makefile.am: Remove some elements that don't
25281         need to be in the core (or even exist at all).
25282         * gst/elements/gstaggregator.c:
25283         * gst/elements/gstaggregator.h:
25284         * gst/elements/gstmd5sink.c:
25285         * gst/elements/gstmd5sink.h:
25286         * gst/elements/gstmultifilesrc.c:
25287         * gst/elements/gstmultifilesrc.h:
25288         * gst/elements/gstpipefilter.c:
25289         * gst/elements/gstpipefilter.h:
25290         * gst/elements/gstshaper.c:
25291         * gst/elements/gstshaper.h:
25292         * gst/elements/gststatistics.c:
25293         * gst/elements/gststatistics.h:
25294         * po/POTFILES.in: Remove above files.
25295
25296 2005-05-14  Andy Wingo  <wingo@pobox.com>
25297
25298         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25299         so as to get the refs right.
25300         (sink_iterator_filter): New function, wraps bin_element_is_sink,
25301         unreffing objects that don't pass the filter.
25302
25303         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25304         gst_element_set_bus.
25305         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25306         normal cases, this will destroy the bus.
25307
25308         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25309         object.
25310
25311         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25312         has no sinks.
25313
25314 2005-05-13  Andy Wingo  <wingo@pobox.com>
25315
25316         * gst/gstutils.c (gst_element_link_pads): Instead of calling
25317         gst_pad_link, call pad_link_maybe_ghosting,
25318         (pad_link_maybe_ghosting): Links pads, making sure that the
25319         elements being linked are in the same bin.
25320         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25321         Helpers for pad_link_maybe_ghosting.
25322
25323 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25324
25325         * configure.ac:
25326           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25327
25328 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25329
25330         * docs/design/part-element-source.txt:
25331           Mention GstPushSrc
25332
25333 2005-05-12  Wim Taymans  <wim@fluendo.com>
25334
25335         * gst/base/gstbasesink.c: (gst_basesink_init),
25336         (gst_basesink_activate):
25337         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25338         (gst_basesrc_is_seekable):
25339         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25340         (bin_element_is_sink), (gst_bin_change_state):
25341         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25342         * gst/gstelement.h:
25343         Identify sinks by their flag to avoid overly complicated
25344         checks (fow now).
25345         Do state changes even for elements not reachable from the
25346         sinks.
25347         BaseSink is a sink now :)
25348         Some more debugging info in the basesrc.
25349
25350
25351 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25352
25353         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25354           Implement _query on a bin, similar to _send_event.
25355
25356 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
25357
25358         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25359           Discont event offset format should be GST_FORMAT_BYTES,
25360           not GST_FORMAT_TIME.
25361
25362 2005-05-12  Wim Taymans  <wim@fluendo.com>
25363
25364         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25365         Same fix as Ronald's but without the signal. 
25366
25367 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25368
25369         * gst/gstutils.c: (gst_element_query_position):
25370           No, an element is not a pad.
25371
25372 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25373
25374         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25375         (gst_bin_get_state):
25376           If a child is removed from a bin while we remove the child from
25377           the bin and while we're retrieving its state, signal this to the
25378           get_state function so we abort the wait (instead of waiting for
25379           a timeout) and can immediately re-iterate over all other elements.
25380
25381 2005-05-12  Wim Taymans  <wim@fluendo.com>
25382
25383         * gst/base/Makefile.am:
25384         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25385         (gst_basesrc_start):
25386         * gst/base/gstbasesrc.h:
25387         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25388         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25389         (gst_pushsrc_init), (gst_pushsrc_create):
25390         * gst/base/gstpushsrc.h:
25391         Added is_seekable to BaseSrc
25392         Added simple PushSrc.
25393
25394 2005-05-11  Wim Taymans  <wim@fluendo.com>
25395
25396         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25397         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25398         (gst_element_link_pads), (gst_element_query_position),
25399         (gst_element_query_convert), (intersect_caps_func),
25400         (gst_pad_query_position), (gst_pad_query_convert):
25401         Fix refcounting in utils function.
25402         No point in trying to activate a pad when it's added, it could
25403         be added from the state change function and then we deadlock, the
25404         element has to decide what to do.
25405
25406 2005-05-10  Andy Wingo  <wingo@pobox.com>
25407
25408         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25409         *all* the arguments.
25410
25411         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25412         stream lock if it's a FLUSH_DONE; normal flushes don't get the
25413         lock (according to the docs -- if this is wrong change the docs).
25414
25415         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25416         flush messages in the NULL state.
25417
25418         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25419         message immediately and return.
25420         (gst_bus_set_flushing): New function. If a bus is flushing, it
25421         flushes out any queued messages and immediately unrefs new
25422         messages. This is so when an element goes to NULL, all of the
25423         unhandled messages coming from it can be freed, and their
25424         references to the element dropped. In other words: message source
25425         ref considered harmful :P
25426
25427         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25428         we're finished with it.
25429
25430         * gst/gstmessage.c (gst_message_new_state_changed): 
25431
25432 2005-05-10  Wim Taymans  <wim@fluendo.com>
25433
25434         * gst/gstvalue.c: (gst_value_compare_flags),
25435         (gst_value_serialize_flags), (gst_value_deserialize_flags),
25436         (_gst_value_initialize):
25437         Added flags serialize/deserialize/compare code.
25438
25439 2005-05-09  Andy Wingo  <wingo@pobox.com>
25440
25441         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25442         Intersect the peer's caps with our caps.
25443
25444 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25445
25446         * gst/base/gsttypefindhelper.c: (helper_find_peek):
25447         * gst/elements/gsttypefindelement.c: (find_peek):
25448           Handle negative offsets better. Fixes decodebin.
25449
25450 2005-05-09  Wim Taymans  <wim@fluendo.com>
25451
25452         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25453         (gst_base_transform_event):
25454         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25455         Implement accept_caps.
25456         Fix silly lock/unlock mismatch in base class.
25457
25458 2005-05-09  Wim Taymans  <wim@fluendo.com>
25459
25460         * docs/design/draft-push-pull.txt:
25461         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25462         * gst/elements/gstfilesink.c: (gst_filesink_init),
25463         (gst_filesink_query):
25464         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25465         (gst_type_find_handle_src_query), (find_element_get_length):
25466         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25467         * gst/gstelement.h:
25468         * gst/gstmessage.c:
25469         * gst/gstmessage.h:
25470         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25471         (gst_real_pad_get_caps_unlocked),
25472         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25473         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25474         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25475         (gst_real_pad_dispose), (gst_real_pad_finalize),
25476         (gst_pad_load_and_link), (gst_pad_save_thyself),
25477         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25478         (gst_pad_check_pull_range), (gst_pad_pull_range),
25479         (gst_pad_template_get_type), (gst_pad_template_class_init),
25480         (gst_pad_template_init), (gst_pad_template_dispose),
25481         (name_is_valid), (gst_static_pad_template_get),
25482         (gst_pad_template_new), (gst_static_pad_template_get_caps),
25483         (gst_pad_template_get_caps), (gst_pad_set_element_private),
25484         (gst_pad_get_element_private), (gst_pad_start_task),
25485         (gst_pad_pause_task), (gst_pad_stop_task),
25486         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25487         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25488         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25489         (gst_ghost_pad_new):
25490         * gst/gstpad.h:
25491         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25492         (gst_query_new_position), (gst_query_set_position),
25493         (gst_query_parse_position), (gst_query_new_convert),
25494         (gst_query_set_convert), (gst_query_parse_convert):
25495         * gst/gstquery.h:
25496         * gst/gstqueryutils.c:
25497         * gst/gstqueryutils.h:
25498         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25499         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25500         (gst_queue_handle_src_query):
25501         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25502         (gst_element_query_position), (gst_element_query_convert),
25503         (intersect_caps_func), (gst_pad_query_position),
25504         (gst_pad_query_convert):
25505         * gst/gstutils.h:
25506         * tools/gst-inspect.c: (print_pad_info):
25507         * tools/gst-xmlinspect.c: (print_element_info):
25508         Remove old query functions. Ported old code.
25509         Added position/convert helper functions to gstutils.
25510         Reordered gstpad.c code, grouping relevant things.
25511         Remove gst_message_new(), always need to speficy a specific
25512         message.
25513
25514
25515 2005-05-09  Andy Wingo  <wingo@pobox.com>
25516
25517         * gst/gstiterator.h: Add some includes.
25518
25519         * gst/gstqueryutils.h: Include more headers.
25520
25521         * gst/gstpad.h:
25522         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25523         some uses of gst_pad_query.
25524
25525         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25526         NULL out parameters.
25527         (gst_query_new_position): New proc, allocates a new position
25528         query.
25529
25530         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25531         gstqueryutils.c to the build.
25532
25533         * gst/gststructure.c (gst_structure_set_valist): Implement with
25534         the generic G_VALUE_COLLECT.
25535         
25536 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25537
25538         * gst/Makefile.am: (gst_headers):
25539         Added gstqueryutils.h to the list of headers to install, that was
25540         a 'nachty' move wingo :)
25541
25542 2005-05-06  Andy Wingo  <wingo@pobox.com>
25543
25544         * gst/gstquery.h
25545         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25546         GstData, init a memchunk.
25547         (standard_definitions): Add a few query types, deprecate a few.
25548         (gst_query_get_type): New proc.
25549         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25550         implementation.
25551         (gst_query_new_application, gst_query_get_structure): New public
25552         procs.
25553
25554         * docs/design/draft-query.txt: Removed LINKS from the query types,
25555         because all the rest can be dispatched to other pads -- seemed
25556         ugly to have a query that couldn't be dispatched. internal_links
25557         is fine as a pad method.
25558
25559         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25560         in gstpad.c, but maintain binary compatibility for the moment.
25561         Will fix before 0.9 is out.
25562
25563         * gst/gstqueryutils.c: 
25564         * gst/gstqueryutils.h: New files, implement 3 methods for each
25565         query type: parse_query, parse_response, and set. Probably need an
25566         allocator as well.
25567
25568         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25569
25570         * gst/elements/gstfilesink.c (gst_filesink_query2):
25571         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25572         query_types, and formats methods.
25573
25574         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25575         (gst_pad_set_query2_function): New functions.
25576         (gst_real_pad_init): Set query2_default as the default query2
25577         function. Basically just dispatches to internally linked pads.
25578
25579         Needs review!
25580         
25581         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25582         without using the atomic operations. Only one thread can possibly
25583         be accessing the data at this point. Changed so as to avoid
25584         gst_atomic operations.
25585
25586 2005-05-06  Wim Taymans  <wim@fluendo.com>
25587
25588         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25589         Also set caps if we use the fallback buffer alloc.
25590
25591 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25592
25593         * docs/gst/Makefile.am:
25594         * docs/gst/gstreamer-docs.sgml:
25595         * docs/gst/gstreamer-sections.txt:
25596         * docs/gst/tmpl/gstatomic.sgml:
25597         * docs/gst/tmpl/gstmemchunk.sgml:
25598         * testsuite/elements/struct_i386.h:
25599         * win32/GStreamer.vcproj:
25600         * win32/Makefile:
25601           Purge GstAtomic stuff from docs and win32 makefiles as well
25602
25603 2005-05-06  Wim Taymans  <wim@fluendo.com>
25604
25605         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25606         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25607         * gst/gstpad.c: (gst_pad_peer_get_caps):
25608         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25609         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25610         (gst_queue_src_activate), (gst_queue_change_state):
25611         * gst/gstqueue.h:
25612         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25613         (intersect_caps_func):
25614         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25615         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25616         Some fixes for the peer_get_caps() change.
25617
25618 2005-05-06  Wim Taymans  <wim@fluendo.com>
25619
25620         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25621         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25622         (gst_basesink_activate):
25623         Actually do something with error codes returned from the push
25624         functions.
25625
25626 2005-05-06  Wim Taymans  <wim@fluendo.com>
25627
25628         * docs/design/part-element-sink.txt:
25629         * docs/design/part-element-source.txt:
25630         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25631         (gst_basesink_event), (gst_basesink_activate):
25632         * gst/base/gstbasesink.h:
25633         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25634         (gst_basesrc_activate):
25635         * gst/base/gstbasesrc.h:
25636         * gst/gstelement.c: (gst_element_pads_activate):
25637         Some more documentation.
25638         Fixed scheduling decision in _pads_activate().
25639
25640 2005-05-05  Andy Wingo  <wingo@pobox.com>
25641
25642         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25643         the test suite.
25644
25645 2005-05-05  Wim Taymans  <wim@fluendo.com>
25646
25647         * gst/base/Makefile.am:
25648         * gst/base/gstbasesink.h:
25649         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25650         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25651         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25652         (gst_collectpads_class_init), (gst_collectpads_init),
25653         (gst_collectpads_finalize), (gst_collectpads_new),
25654         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25655         (find_pad), (gst_collectpads_remove_pad),
25656         (gst_collectpads_is_active), (gst_collectpads_collect),
25657         (gst_collectpads_collect_range), (gst_collectpads_start),
25658         (gst_collectpads_stop), (gst_collectpads_peek),
25659         (gst_collectpads_pop), (gst_collectpads_available),
25660         (gst_collectpads_read), (gst_collectpads_flush),
25661         (gst_collectpads_chain):
25662         * gst/base/gstcollectpads.h:
25663         * gst/elements/Makefile.am:
25664         * gst/elements/gstelements.c:
25665         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25666         (gst_fakesink_get_times), (gst_fakesink_event),
25667         (gst_fakesink_preroll), (gst_fakesink_render):
25668         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25669         (gst_filesink_init), (gst_filesink_set_location),
25670         (gst_filesink_open_file), (gst_filesink_close_file),
25671         (gst_filesink_pad_query), (gst_filesink_event),
25672         (gst_filesink_render), (gst_filesink_change_state):
25673         * gst/elements/gstfilesink.h:
25674         Added object to help in making collect pad based elements.
25675         Ported filesink.
25676         Make event function in sink baseclass return gboolean.
25677
25678 2005-05-05  Wim Taymans  <wim@fluendo.com>
25679
25680         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25681         (gst_bin_get_by_name):
25682         * gst/gstbuffer.h:
25683         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25684         (gst_clock_finalize):
25685         * gst/gstdata.c: (gst_data_replace):
25686         * gst/gstdata.h:
25687         * gst/gstelement.c: (gst_element_request_pad),
25688         (gst_element_pads_activate):
25689         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25690         (gst_object_unref):
25691         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25692         (gst_pad_set_checkgetrange_function),
25693         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25694         (gst_pad_check_pull_range), (gst_pad_pull_range),
25695         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25696         (gst_pad_pause_task), (gst_pad_stop_task):
25697         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25698         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25699         Fix name lookup in GstBin.
25700         Added _data_replace() function and _buffer_replace()
25701         Use finalize method to clean up clock.
25702         Fix refcounting on request pads.
25703         Fix pad schedule mode error.
25704         Some more object refcounting debug info,
25705
25706
25707 2005-05-04  Andy Wingo <wingo@pobox.com>
25708
25709         * check/Makefile.am:
25710         * docs/gst/tmpl/gstatomic.sgml:
25711         * docs/gst/tmpl/gstplugin.sgml:
25712         * gst/base/gstbasesink.c: (gst_basesink_activate):
25713         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25714         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25715         (gst_basesrc_query), (gst_basesrc_set_property),
25716         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25717         (gst_basesrc_activate):
25718         * gst/base/gstbasesrc.h:
25719         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25720         (gst_base_transform_src_activate):
25721         * gst/elements/gstelements.c:
25722         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25723         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25724         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25725         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25726         (gst_type_find_element_checkgetrange),
25727         (gst_type_find_element_activate):
25728         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25729         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25730         (gst_caps_load_thyself):
25731         * gst/gstelement.c: (gst_element_pads_activate),
25732         (gst_element_save_thyself), (gst_element_restore_thyself):
25733         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25734         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25735         * gst/gstpad.h:
25736         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25737         (gst_xml_parse_file), (gst_xml_parse_memory),
25738         (gst_xml_get_element), (gst_xml_make_element):
25739         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25740         (_file_index_id_save_xml), (gst_file_index_commit):
25741         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25742         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25743         (load_paths):
25744         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25745         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25746         * tools/gst-complete.c: (main):
25747         * tools/gst-compprep.c: (main):
25748         * tools/gst-inspect.c: (print_element_properties_info):
25749         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25750         * tools/gst-xmlinspect.c: (print_element_properties):
25751         GCC 4 fixen.
25752         
25753 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25754
25755         * gst/gstplugin.c: (gst_plugin_check_module),
25756         (gst_plugin_check_file), (gst_plugin_load_file):
25757             apply patch from #172526 to make register work on MacOSX
25758
25759 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25760
25761         * docs/gst/tmpl/gstconfig.sgml:
25762         * gst/gstconfig.h.in:
25763           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25764         * testsuite/debug/printf_extension.c: (main):
25765           Do not use GST_PTR_FORMAT on pointers to types with
25766           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25767         * testsuite/elements/property.h:
25768           use correct printf format
25769
25770 2005-05-02  Wim Taymans  <wim@fluendo.com>
25771
25772         * docs/design/draft-push-pull.txt:
25773         * docs/design/draft-query.txt:
25774         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25775         (gst_basesrc_start):
25776         Added draft for new query API.
25777         Added draft for better selecting scheduling methods.
25778         Make basesrc ignore length if the subclass does not support
25779         it.
25780
25781 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25782
25783         * gst/Makefile.am:
25784           possible fixes for automake-1.5 - _LIBADD is reserved
25785
25786 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25787
25788         * docs/faq/Makefile.am:
25789         * docs/manual/Makefile.am:
25790         * docs/manuals.mak:
25791         * docs/pwg/Makefile.am:
25792         * gst/Makefile.am:
25793           possible fixes for automake-1.5
25794
25795 2005-04-28  Wim Taymans  <wim@fluendo.com>
25796
25797         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25798         (gst_basesink_pad_getcaps), (gst_basesink_init),
25799         (gst_basesink_do_sync):
25800         * gst/gstclock.c: (gst_clock_entry_new):
25801         * gst/gstevent.c: (gst_event_discont_get_value):
25802         * gst/gstpipeline.c: (pipeline_bus_handler),
25803         (gst_pipeline_change_state):
25804         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25805         Better debugging of clocking info.
25806         Allow NULL values when getting discont values.
25807
25808 2005-04-27  Wim Taymans  <wim@fluendo.com>
25809
25810         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25811         * check/gst/gstpad.c: (gst_pad_suite):
25812         Increase timeout for checks.
25813
25814 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25815
25816         * check/Makefile.am:
25817           fix the broken rule for cleanup.  Apparently this rule is
25818           only needed on FC2, so maybe this warrants further autotool
25819           inspection.
25820
25821 2005-04-26  Wim Taymans  <wim@fluendo.com>
25822
25823         * gst/gsttrashstack.h:
25824         Ooohh. a nasty one! After having a failed pop() from the stack,
25825         it's possible that the stack is empty. In that case, don't
25826         follow the NULL pointer.
25827
25828 2005-04-25  Wim Taymans  <wim@fluendo.com>
25829
25830         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25831         (gst_pad_set_checkgetrange_function),
25832         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25833         (gst_pad_check_pull_range), (gst_pad_pull_range),
25834         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25835         (gst_pad_pause_task), (gst_pad_stop_task):
25836         * gst/gstplugin.c: (gst_plugin_load):
25837         * gst/gstplugin.h:
25838         Remove gst_library_load as it does more harm than good with
25839         the new g_module flags.
25840         Revert bogus caps template check in pad linking, pad caps
25841         are important when linking not the template, which is more
25842         general than the current caps.
25843
25844 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25845
25846         * gst/autoplug/.cvsignore:
25847         * gst/autoplug/Makefile.am:
25848         * gst/autoplug/gstsearchfuncs.c:
25849         * gst/autoplug/gstsearchfuncs.h:
25850         * gst/autoplug/gstspider.c:
25851         * gst/autoplug/gstspider.h:
25852         * gst/autoplug/gstspideridentity.c:
25853         * gst/autoplug/gstspideridentity.h:
25854         * gst/autoplug/spidertest.c:
25855           Die, spider, die.
25856
25857 2005-04-25  Wim Taymans  <wim@fluendo.com>
25858
25859         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25860         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25861         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25862         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25863         * gst/gstpad.h:
25864         Added stubs for unimplemented functions. 
25865
25866 2005-04-24  David Schleef  <ds@schleef.org>
25867
25868         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25869         please fix.
25870
25871 2005-04-24  David Schleef  <ds@schleef.org>
25872
25873         Convert everything from GstAtomicInt to g_atomic_int_*, and
25874         remove gstatomic.
25875         * gst/Makefile.am:
25876         * gst/gstatomic.c:
25877         * gst/gstatomic.h:
25878         * gst/gstatomic_impl.h:
25879         * gst/gstbuffer.c:
25880         * gst/gstcaps.c:
25881         * gst/gstcaps.h:
25882         * gst/gstclock.c:
25883         * gst/gstclock.h:
25884         * gst/gstdata.c:
25885         * gst/gstdata.h:
25886         * gst/gstdata_private.h:
25887         * gst/gstevent.c:
25888         * gst/gstinfo.c:
25889         * gst/gstinfo.h:
25890         * gst/gstmessage.c:
25891         * gst/gstobject.c:
25892         * gst/gstobject.h:
25893         * gst/gststructure.c:
25894         * gst/gststructure.h:
25895         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25896         * gst/gstutils.h:
25897
25898 2005-04-24  David Schleef  <ds@schleef.org>
25899
25900         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25901         make the regressions tests work.  Remove some code that is no
25902         longer true.
25903         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25904         Disable warning for pads without templates.
25905
25906 2005-04-24  David Schleef  <ds@schleef.org>
25907
25908         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25909         functions that handle filtered links.
25910         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25911         removed functions.
25912         * gst/gstutils.c: Fix/remove utility functions that handle
25913         filtered caps.
25914         * gst/gstutils.h:
25915         * gst/gstvalue.c: Add serialization/deserialization of caps
25916         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25917         requires fixing so that the filter caps notation creates
25918         a capsfilter element and sets the filter_caps property.  I
25919         think everyone probably wants to keep the shorthand notation.
25920         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25921         * docs/gst/tmpl/gstpad.sgml:
25922
25923         * gst/elements/gstelements.c: Register capsfilter element.
25924         * gst/Makefile.am: fix spacing
25925         * docs/random/ds/0.9-suggested-changes: random
25926
25927 2005-04-23  David Schleef  <ds@schleef.org>
25928
25929         * gst/elements/Makefile.am:
25930         * gst/elements/gstcapsfilter.c: New element that acts like an
25931         identity, but filters caps.  Will eventually replace filtered
25932         caps in pad linking.
25933         * gst/gstutils.c: (gst_element_create_all_pads): New function
25934         to create all the ALWAYS pads that are registered with an
25935         element class.  This functionality should eventually be
25936         merged in with GstElement initialization.
25937         * gst/gstutils.h:
25938         * testsuite/trigger/README: part of trigger test code that should
25939         have been checked in a long time ago.
25940
25941 2005-04-23  David Schleef  <ds@schleef.org>
25942
25943         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25944         needed with new versions of libtool (nobody will confirm this),
25945         and hard to carry around.
25946         * gst/autoplug/Makefile.am:
25947         * gst/base/Makefile.am:
25948         * gst/elements/Makefile.am:
25949         * gst/indexers/Makefile.am:
25950         * gst/schedulers/Makefile.am:
25951         * libs/gst/bytestream/Makefile.am:
25952         * libs/gst/control/Makefile.am:
25953         * libs/gst/dataprotocol/Makefile.am:
25954         * libs/gst/getbits/Makefile.am:
25955
25956 2005-04-21  Wim Taymans  <wim@fluendo.com>
25957
25958         * docs/design/draft-push-pull.txt:
25959         * docs/design/part-MT-refcounting.txt:
25960         * docs/design/part-TODO.txt:
25961         * docs/design/part-caps.txt:
25962         * docs/design/part-events.txt:
25963         * docs/design/part-gstbus.txt:
25964         * docs/design/part-gstpipeline.txt:
25965         * docs/design/part-messages.txt:
25966         * docs/design/part-push-pull.txt:
25967         * docs/design/part-query.txt:
25968         Some more docs.
25969
25970 2005-04-21  Wim Taymans  <wim@fluendo.com>
25971
25972         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25973         (gst_message_new), (gst_message_new_error),
25974         (gst_message_new_warning), (gst_message_new_tag),
25975         (gst_message_new_state_changed), (gst_message_new_application),
25976         (gst_message_get_structure):
25977         * gst/gstmessage.h:
25978         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25979         (gst_structure_copy_conditional):
25980         Use parent refcount in GstMessage to ensure GstStructure
25981         consistency.
25982         Cleaned up headers a bit.
25983         
25984
25985 2005-04-20  Wim Taymans  <wim@fluendo.com>
25986
25987         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25988         (gst_basesink_pad_getcaps), (gst_basesink_init),
25989         (gst_basesink_chain_unlocked):
25990         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25991         (gst_type_find_helper):
25992         * gst/elements/gsttypefindelement.c:
25993         (gst_type_find_element_have_type), (gst_type_find_element_init),
25994         (stop_typefinding), (gst_type_find_element_handle_event),
25995         (find_suggest), (gst_type_find_element_chain),
25996         (gst_type_find_element_checkgetrange),
25997         (gst_type_find_element_getrange), (do_typefind),
25998         (gst_type_find_element_activate):
25999         * gst/gstbuffer.c: (_gst_buffer_sub_free),
26000         (gst_buffer_default_free), (gst_buffer_default_copy),
26001         (gst_buffer_set_caps):
26002         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26003         (gst_caps_replace):
26004         * gst/gstmessage.c: (gst_message_new),
26005         (gst_message_new_state_changed):
26006         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26007         (gst_pad_set_checkgetrange_function),
26008         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26009         (gst_pad_set_caps), (gst_pad_check_pull_range),
26010         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26011         * gst/gstpad.h:
26012         * gst/gsttypefind.c: (gst_type_find_register):
26013         Make gst_caps_replace() work like other _replace() functions.
26014         Use _caps_replace() where possible.
26015         Make sure _message_new() initialises its field.
26016         Add gst_static_pad_template_get_caps()
26017
26018
26019 2005-04-18  Andy Wingo  <wingo@pobox.com>
26020
26021         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26022         on the peer, not the pad. I think that was a typo. Pass an extra
26023         arg to see if random access is possible. Activate the pads as
26024         PULL_RANGE if possible.
26025
26026         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26027
26028         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
26029         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26030         to PROP_....
26031
26032 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26033
26034         * docs/faq/using.xml:
26035           Add note on gstreamer-properties (#154996).
26036
26037 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26038
26039         * docs/random/bbb/optional-properties:
26040           Some analysis on optional properties.
26041
26042 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26043
26044         * docs/gst/tmpl/gstelementfactory.sgml:
26045         * gst/gstelement.h:
26046         * gst/gstelementfactory.c: (gst_element_factory_init),
26047         (gst_element_factory_cleanup), (gst_element_register),
26048         (__gst_element_factory_add_static_pad_template),
26049         (gst_element_factory_get_static_pad_templates),
26050         (gst_element_factory_can_src_caps),
26051         (gst_element_factory_can_sink_caps):
26052         * gst/registries/Makefile.am:
26053         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26054         (gst_xml_registry_class_init), (gst_xml_registry_init),
26055         (gst_xml_registry_new), (gst_xml_registry_set_property),
26056         (gst_xml_registry_get_property), (get_time), (make_dir),
26057         (gst_xml_registry_get_perms_func),
26058         (plugin_times_older_than_recurse), (plugin_times_older_than),
26059         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26060         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26061         (add_to_char_array), (read_string), (read_uint), (read_enum),
26062         (load_pad_template), (load_feature), (load_plugin), (load_paths),
26063         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26064         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26065         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26066         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26067         (gst_xml_registry_rebuild):
26068         * gst/registries/gstlibxmlregistry.h:
26069         * tools/gst-compprep.c: (main):
26070         * tools/gst-inspect.c: (print_pad_templates_info):
26071         * tools/gst-xmlinspect.c: (print_element_info):
26072           Use libxml2 for registry parsing, use staticpadtemplates in
26073           elementfactories. Makes gst_init() +/- 10x faster.
26074
26075 2005-04-12  Wim Taymans  <wim@fluendo.com>
26076
26077         * gst/base/Makefile.am:
26078         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26079         (gst_basesink_pad_getcaps), (gst_basesink_init),
26080         (gst_basesink_event), (gst_basesink_change_state):
26081         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26082         (gst_basesrc_init), (gst_basesrc_query),
26083         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26084         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26085         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26086         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26087         (gst_basesrc_stop), (gst_basesrc_activate),
26088         (gst_basesrc_change_state):
26089         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26090         (helper_find_suggest), (gst_type_find_helper):
26091         * gst/base/gsttypefindhelper.h:
26092         * gst/elements/Makefile.am:
26093         * gst/elements/gstelements.c:
26094         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26095         (gst_fakesink_get_times), (gst_fakesink_event),
26096         (gst_fakesink_preroll), (gst_fakesink_render):
26097         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26098         (gst_fakesrc_init), (gst_fakesrc_event_handler),
26099         (gst_fakesrc_get_property), (gst_fakesrc_create),
26100         (gst_fakesrc_start), (gst_fakesrc_stop):
26101         * gst/elements/gstfakesrc.h:
26102         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26103         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26104         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26105         (gst_filesrc_create_read), (gst_filesrc_create),
26106         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26107         (gst_filesrc_start):
26108         * gst/elements/gsttypefindelement.c:
26109         (gst_type_find_element_have_type), (gst_type_find_element_init),
26110         (start_typefinding), (stop_typefinding), (push_buffer_store),
26111         (gst_type_find_element_handle_event),
26112         (gst_type_find_element_chain),
26113         (gst_type_find_element_checkgetrange),
26114         (gst_type_find_element_getrange), (do_typefind),
26115         (gst_type_find_element_activate),
26116         (gst_type_find_element_change_state):
26117         * gst/elements/gsttypefindelement.h:
26118         * gst/gstpipeline.c: (pipeline_bus_handler):
26119         Added typefind helper.
26120         Small preroll fix in the base sink.
26121         Disable typefind code in basesrc.
26122         Crude port of typefindelement.
26123         Fakesrc cleanups.
26124
26125
26126 2005-04-11  Wim Taymans  <wim@fluendo.com>
26127
26128         * check/gst/gstbus.c: (gstbus_suite):
26129         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26130         * check/gstcheck.h:
26131           Fix up the timeout so that the test does not fail.
26132
26133 2005-04-06  Wim Taymans  <wim@fluendo.com>
26134
26135         * gst/base/README:
26136         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26137         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26138         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26139         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26140         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26141         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26142         (gst_basesrc_stop), (gst_basesrc_activate),
26143         (gst_basesrc_change_state), (basesrc_find_peek),
26144         (basesrc_find_suggest), (gst_basesrc_type_find):
26145         * gst/base/gstbasesrc.h:
26146         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26147         (gst_filesrc_class_init), (gst_filesrc_init),
26148         (gst_filesrc_finalize), (gst_filesrc_set_location),
26149         (gst_filesrc_set_property), (gst_filesrc_get_property),
26150         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26151         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26152         (gst_filesrc_create_read), (gst_filesrc_create),
26153         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26154         * gst/elements/gstfilesrc.h:
26155         * gst/gstelement.c: (gst_element_get_state_func),
26156         (gst_element_lost_state), (gst_element_pads_activate):
26157         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26158         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26159         (gst_pad_pull_range):
26160         * gst/gstpad.h:
26161         More work on the generic source base class, implement seeking,
26162         query.
26163         Make filesrc extend the base source class.
26164         Added gst_pad_set_checkgetrange_function to GstPad.
26165
26166 2005-04-06  Andy Wingo  <wingo@pobox.com>
26167
26168         * pkgconfig/gstreamer-base.pc.in:
26169         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26170
26171         * pkgconfig/Makefile.am:
26172         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26173
26174 2005-04-04  Wim Taymans  <wim@fluendo.com>
26175
26176         * gst/base/Makefile.am:
26177         * gst/base/README:
26178         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26179         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26180         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26181         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26182         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26183         (gst_basesrc_base_init), (gst_basesrc_class_init),
26184         (gst_basesrc_init), (gst_basesrc_get_formats),
26185         (gst_basesrc_get_query_types), (gst_basesrc_query),
26186         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26187         (gst_basesrc_set_property), (gst_basesrc_get_property),
26188         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26189         (gst_basesrc_loop), (gst_basesrc_activate),
26190         (gst_basesrc_change_state):
26191         * gst/base/gstbasesrc.h:
26192         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26193         (gst_fakesrc_class_init), (gst_fakesrc_init),
26194         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26195         (gst_fakesrc_get_property), (gst_fakesrc_create):
26196         * gst/elements/gstfakesrc.h:
26197         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26198         (gst_filesrc_open_file), (gst_filesrc_loop),
26199         (gst_filesrc_activate), (filesrc_find_peek),
26200         (gst_filesrc_type_find):
26201         Made base source class, make fakesrc extend it.
26202         Add comments to basesink class.
26203         Some filesrc cleanup.
26204
26205 2005-03-31  David Schleef  <ds@schleef.org>
26206
26207         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26208         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26209         expected to link against libgstreamer.
26210         * gst/base/Makefile.am: link against libgstreamer
26211         * gst/elements/Makefile.am: same
26212
26213 2005-03-31  Andy Wingo  <wingo@pobox.com>
26214
26215         * tests/instantiate/Makefile.am:
26216         * tests/instantiate/caps.c: Add test to test speed of caps copy
26217         and free.
26218
26219         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26220         GMemChunk to be fair.
26221
26222         * gst/gsttrashstack.h: Remove warning about using the fallback
26223         trash stack implementation, it's still faster than malloc.
26224
26225 2005-03-30  Andy Wingo  <wingo@pobox.com>
26226
26227         * tests/complexity.c: Add a copyright.
26228
26229 2005-03-31  Wim Taymans  <wim@fluendo.com>
26230
26231         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26232         (gst_base_transform_class_init), (gst_base_transform_init),
26233         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26234         (gst_base_transform_get_property),
26235         (gst_base_transform_sink_activate),
26236         (gst_base_transform_src_activate),
26237         (gst_base_transform_change_state):
26238         * gst/base/gstbasetransform.h:
26239         * gst/elements/gstidentity.c: (gst_identity_class_init),
26240         (gst_identity_event), (gst_identity_check_perfect),
26241         (gst_identity_transform), (gst_identity_start),
26242         (gst_identity_stop):
26243         Added start/stop methods to transform base class so subclasses 
26244         don't need to deal with state changes even.
26245
26246 2005-03-31  Wim Taymans  <wim@fluendo.com>
26247
26248         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26249         (gst_event_new_discontinuous), (gst_event_discont_get_value):
26250         * gst/gstevent.h:
26251         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26252         (gst_pad_pull_range):
26253         Added rate to the discont event to prepare for variable speed
26254         and reverse playback.
26255
26256 2005-03-29  David Schleef  <ds@schleef.org>
26257
26258         * configure.ac:
26259         * testsuite/trigger/Makefile.am:
26260         * testsuite/trigger/trigger.c: A little example program to show
26261         how trigger-based elements can work.
26262
26263 2005-03-29  Wim Taymans  <wim@fluendo.com>
26264
26265         * gst/base/Makefile.am:
26266         * gst/base/README:
26267         * gst/base/gstbasesink.c: (gst_basesink_get_type),
26268         (gst_basesink_base_init), (gst_basesink_class_init),
26269         (gst_basesink_pad_getcaps), (gst_basesink_init),
26270         (gst_basesink_activate), (gst_basesink_change_state):
26271         * gst/base/gstbasesink.h:
26272         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26273         (gst_base_transform_base_init), (gst_base_transform_finalize),
26274         (gst_base_transform_class_init), (gst_base_transform_init),
26275         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26276         (gst_base_transform_event), (gst_base_transform_getrange),
26277         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26278         (gst_base_transform_set_property),
26279         (gst_base_transform_get_property),
26280         (gst_base_transform_sink_activate),
26281         (gst_base_transform_src_activate),
26282         (gst_base_transform_change_state):
26283         * gst/base/gstbasetransform.h:
26284         * gst/elements/gstidentity.c: (gst_identity_finalize),
26285         (gst_identity_class_init), (gst_identity_init),
26286         (gst_identity_event), (gst_identity_check_perfect),
26287         (gst_identity_transform), (gst_identity_set_property),
26288         (gst_identity_get_property), (gst_identity_change_state):
26289         * gst/elements/gstidentity.h:
26290         * gst/gstelement.c: (gst_element_get_state_func),
26291         (gst_element_lost_state), (gst_element_pads_activate):
26292         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26293         (gst_pad_check_pull_range), (gst_pad_pull_range):
26294         * gst/gstpad.h:
26295         Simplify pad activation.
26296         Added function to check if pull_range can be performed.
26297         Error out when pulling inactive or flushing pads.
26298         Removed const from refcounted types as it does not make sense.
26299         Simplify pad templates in basesink
26300         Added base class for simple 1-to-1 transforms.
26301         Make identity subclass the base transform.
26302
26303 2005-03-29  Andy Wingo  <wingo@pobox.com>
26304
26305         * docs/libs/gstreamer-libs-overrides.txt: 
26306         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26307         really don't understand what's going on, but like whatever. I want
26308         green buildbot!
26309
26310         * docs/gst/Makefile.am:
26311         * docs/libs/Makefile.am: Dist the overrides files.
26312
26313         * check/Makefile.am (clean-local): Remove .libs directories.
26314
26315         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26316         elements to EXTRA_DIST, so po/ files are happy.
26317
26318         * po/POTFILES.in: Er, remove it here.
26319
26320         * po/POTFILES: Remove gstspider.c.
26321
26322         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26323
26324         * docs/libs/gstreamer-libs-docs.sgml: 
26325         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26326         bytestream.
26327
26328         * tests/complexity.c (main): Set the length of the preroll queue
26329         on the sinks to prevent a lockup.
26330
26331         * libs/gst/dataprotocol/Makefile.am: 
26332         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26333         the same as the one in check/gst-libs/gdp.c.
26334
26335         * po/, docs/gst/: Commit automatic changes to docs and po files.
26336
26337         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26338         the versioned libgstbase.
26339
26340         * check/Makefile.am: Depend on an unversioned gst-register, seems
26341         to make autoconf happier.
26342
26343         * gst/base/Makefile.am: Make libgstbase a versioned lib.
26344
26345 2005-03-28  Wim Taymans  <wim@fluendo.com>
26346
26347         * configure.ac:
26348         * docs/design/part-gstelement.txt:
26349         * docs/design/part-negotiation.txt:
26350         * docs/design/part-preroll.txt:
26351         * docs/design/part-scheduling.txt:
26352         * docs/design/part-states.txt:
26353         * gst/Makefile.am:
26354         * gst/base/Makefile.am:
26355         * gst/base/README:
26356         * gst/base/gstbasesink.c: (gst_basesink_get_template),
26357         (gst_basesink_base_init), (gst_basesink_class_init),
26358         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26359         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26360         (gst_basesink_set_pad_functions),
26361         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26362         (gst_basesink_set_property), (gst_basesink_get_property),
26363         (gst_base_sink_get_template), (gst_base_sink_get_caps),
26364         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26365         (gst_basesink_preroll_queue_push),
26366         (gst_basesink_preroll_queue_empty),
26367         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26368         (gst_basesink_event), (gst_basesink_get_times),
26369         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26370         (gst_basesink_chain_unlocked), (gst_basesink_chain),
26371         (gst_basesink_loop), (gst_basesink_activate),
26372         (gst_basesink_change_state):
26373         * gst/base/gstbasesink.h:
26374         * gst/elements/Makefile.am:
26375         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26376         (gst_fakesink_class_init), (gst_fakesink_init),
26377         (gst_fakesink_set_property), (gst_fakesink_get_property),
26378         (gst_fakesink_get_times), (gst_fakesink_event),
26379         (gst_fakesink_preroll), (gst_fakesink_render),
26380         (gst_fakesink_change_state):
26381         * gst/elements/gstfakesink.h:
26382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26383         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26384         * gst/gstelement.c: (gst_element_add_pad),
26385         (gst_element_get_state_func), (gst_element_abort_state),
26386         (gst_element_commit_state), (gst_element_lost_state),
26387         (gst_element_set_state), (gst_element_pads_activate):
26388         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26389         * gst/gstpipeline.c: (gst_pipeline_send_event),
26390         (gst_pipeline_change_state):
26391         Added state change code.
26392         Added/updated docs.
26393         Added sink base class, make fakesink extend the base class.
26394         Small cleanups in GstPipeline.
26395
26396 2005-03-26  David Schleef  <ds@schleef.org>
26397
26398         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
26399         is broken and should be implemented in a different library.
26400         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26401         * gst/gst.h: remove gstcpu.h
26402         * gst/gstcpu.c: remove
26403         * gst/gstcpu.h: remove
26404         * gst/Makefile.am.future: Remove this file.  It's ancient.
26405
26406 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26407
26408         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26409         (gst_bin_send_event):
26410           Add default event/set_manager handlers. The set_manager handler
26411           takes care that the manager is distributed over kids that were
26412           already in the bin before the manager was set. The event handler
26413           is a utility virtual function that sends the event over all sinks,
26414           so that gst_element_send_event (bin, event); has the expected
26415           behaviour.
26416         * gst/gstpad.c: (gst_pad_event_default):
26417           Re-install default event handling for discontinuities, so that
26418           seeking works without requiring hacks in applications or extra
26419           code in sinks.
26420         * gst/gstpipeline.c: (gst_pipeline_class_init),
26421         (gst_pipeline_send_event):
26422           Half hack, half utility: set a pipeline to PAUSED for seek events,
26423           since that is the only way we can guarantee a/v sync. Means that
26424           you can do gst_element_seek (pipeline, method, pos); on a pipeline
26425           and it "just works".
26426
26427 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26428
26429         * gst/gstpipeline.c: (gst_pipeline_use_clock):
26430           Lock/unlock mismatch.
26431
26432 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26433
26434         * docs/faq/gst-uninstalled:
26435           add gst-plugins-base
26436         * docs/gst/Makefile.am:
26437           don't error out until docs are fixed
26438         * docs/gst/gstreamer.types:
26439           remove thread
26440
26441 2005-03-22  Wim Taymans  <wim@fluendo.com>
26442
26443         * check/Makefile.am:
26444         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26445         * gst/gststructure.c: (gst_structure_set_valist),
26446         (gst_structure_copy_conditional):
26447         Activated more tests.
26448         Added message test.
26449         Added G_TYPE_POINTER to GstStructure.
26450         
26451
26452 2005-03-22  Wim Taymans  <wim@fluendo.com>
26453
26454         * docs/design/part-TODO.txt:
26455         * docs/design/part-events.txt:
26456         * docs/design/part-gstbin.txt:
26457         * docs/design/part-gstbus.txt:
26458         * docs/design/part-gstpipeline.txt:
26459         * docs/design/part-messages.txt:
26460         * gst/gstbus.c:
26461         * gst/gstmessage.c:
26462         Docs updates
26463
26464 2005-03-21  Wim Taymans  <wim@fluendo.com>
26465
26466         * gst/gstbus.c: (gst_bus_post):
26467         Fix copy-and-paste error.
26468
26469 2005-03-21  Wim Taymans  <wim@fluendo.com>
26470
26471         * check/Makefile.am:
26472         * gst/Makefile.am:
26473         * gst/elements/Makefile.am:
26474         * gst/elements/gstelements.c:
26475         * gst/elements/gstfakesink.c: (gst_fakesink_init),
26476         (gst_fakesink_event), (gst_fakesink_chain):
26477         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26478         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26479         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26480         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26481         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26482         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26483         (gst_fakesrc_loop), (gst_fakesrc_activate),
26484         (gst_fakesrc_change_state):
26485         * gst/elements/gstfakesrc.h:
26486         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26487         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26488         (gst_filesrc_open_file), (gst_filesrc_loop),
26489         (gst_filesrc_activate), (gst_filesrc_change_state),
26490         (filesrc_find_peek), (filesrc_find_suggest),
26491         (gst_filesrc_type_find):
26492         * gst/elements/gstidentity.c: (gst_identity_finalize),
26493         (gst_identity_class_init), (gst_identity_init),
26494         (gst_identity_proxy_getcaps), (identity_queue_push),
26495         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26496         (gst_identity_getrange), (gst_identity_chain),
26497         (gst_identity_sink_loop), (gst_identity_src_loop),
26498         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26499         (gst_identity_set_property), (gst_identity_get_property),
26500         (gst_identity_change_state):
26501         * gst/elements/gstidentity.h:
26502         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26503         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26504         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26505         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26506         (gst_tee_sink_activate):
26507         * gst/elements/gsttee.h:
26508         * gst/gst.c: (gst_register_core_elements), (init_post):
26509         * gst/gst.h:
26510         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26511         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26512         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26513         (gst_bin_change_state):
26514         * gst/gstbin.h:
26515         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26516         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26517         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26518         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26519         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26520         (bus_watch_callback), (bus_watch_destroy),
26521         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26522         (poll_timeout), (gst_bus_poll):
26523         * gst/gstbus.h:
26524         * gst/gstcaps.h:
26525         * gst/gstdata.h:
26526         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26527         (gst_element_post_message), (gst_element_message_full),
26528         (gst_element_get_state_func), (gst_element_get_state),
26529         (gst_element_abort_state), (gst_element_commit_state),
26530         (gst_element_lost_state), (gst_element_set_state),
26531         (gst_element_pads_activate), (gst_element_change_state),
26532         (gst_element_dispose), (gst_element_set_manager_func),
26533         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26534         (gst_element_set_manager), (gst_element_get_manager),
26535         (gst_element_set_bus), (gst_element_get_bus),
26536         (gst_element_set_scheduler), (gst_element_get_scheduler):
26537         * gst/gstelement.h:
26538         * gst/gstevent.c: (gst_event_new_segment_seek),
26539         (gst_event_new_flush):
26540         * gst/gstevent.h:
26541         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26542         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26543         (gst_message_new_eos), (gst_message_new_error),
26544         (gst_message_new_warning), (gst_message_new_tag),
26545         (gst_message_new_state_changed), (gst_message_new_application),
26546         (gst_message_get_structure), (gst_message_parse_tag),
26547         (gst_message_parse_state_changed), (gst_message_parse_error),
26548         (gst_message_parse_warning):
26549         * gst/gstmessage.h:
26550         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26551         (gst_real_pad_set_property), (gst_pad_set_active),
26552         (gst_pad_is_active), (gst_pad_set_blocked_async),
26553         (gst_pad_set_blocked), (gst_pad_is_blocked),
26554         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26555         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26556         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26557         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26558         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26559         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26560         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26561         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26562         (gst_pad_set_caps), (gst_pad_configure_sink),
26563         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26564         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26565         (gst_real_pad_dispose), (gst_real_pad_finalize),
26566         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26567         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26568         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26569         * gst/gstpad.h:
26570         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26571         (pipeline_bus_handler), (gst_pipeline_change_state),
26572         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26573         * gst/gstpipeline.h:
26574         * gst/gstprobe.h:
26575         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26576         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26577         (gst_queue_link_src), (gst_queue_bufferalloc),
26578         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26579         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26580         (gst_queue_loop), (gst_queue_handle_src_event),
26581         (gst_queue_handle_src_query), (gst_queue_src_activate),
26582         (gst_queue_change_state):
26583         * gst/gstqueue.h:
26584         * gst/gstscheduler.c: (gst_scheduler_init),
26585         (gst_scheduler_dispose), (gst_scheduler_create_task),
26586         (gst_scheduler_factory_create):
26587         * gst/gstscheduler.h:
26588         * gst/gststructure.c: (gst_structure_get_type),
26589         (gst_structure_copy_conditional):
26590         * gst/gststructure.h:
26591         * gst/gsttaginterface.h:
26592         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26593         (gst_task_init), (gst_task_dispose), (gst_task_create),
26594         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26595         (gst_task_pause):
26596         * gst/gsttask.h:
26597         * gst/gstthread.c:
26598         * gst/gstthread.h:
26599         * gst/gsttypes.h:
26600         * gst/schedulers/Makefile.am:
26601         * gst/schedulers/cothreads_compat.h:
26602         * gst/schedulers/entryscheduler.c:
26603         * gst/schedulers/faircothreads.c:
26604         * gst/schedulers/faircothreads.h:
26605         * gst/schedulers/fairscheduler.c:
26606         * gst/schedulers/gstbasicscheduler.c:
26607         * gst/schedulers/gstoptimalscheduler.c:
26608         * gst/schedulers/gthread-cothreads.h:
26609         * gst/schedulers/threadscheduler.c:
26610         (gst_thread_scheduler_task_get_type),
26611         (gst_thread_scheduler_task_class_init),
26612         (gst_thread_scheduler_task_init),
26613         (gst_thread_scheduler_task_start),
26614         (gst_thread_scheduler_task_stop),
26615         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26616         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26617         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26618         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26619         (plugin_init):
26620         * libs/gst/Makefile.am:
26621         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26622         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26623         (gst_file_pad_parent_set):
26624         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26625         (gst_dp_event_from_packet):
26626         * tests/complexity.c: (main):
26627         * tests/mass_elements.c: (main):
26628         * testsuite/states/locked.c: (message_received), (main):
26629         * testsuite/states/parent.c: (main):
26630         * tools/gst-inspect.c: (print_element_flag_info),
26631         (print_implementation_info), (print_pad_info):
26632         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26633         (main):
26634         * tools/gst-md5sum.c: (event_loop), (main):
26635         * tools/gst-typefind.c: (main):
26636         * tools/gst-xmlinspect.c: (print_element_info):
26637         Next big merge.
26638         Added GstBus for mainloop integration.
26639         Added GstMessage for sending notifications on the bus.
26640         Added GstTask as an abstraction for pipeline entry points.
26641         Removed GstThread.
26642         Removed Schedulers.
26643         Simplified GstQueue for multithreaded core.
26644         Made _link threadsafe, removed old capsnego.
26645         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26646         Added pad blocking functions.
26647         Reworked scheduling functions in GstPad to prepare for
26648         scheduling updates soon.
26649         Moved events out of data stream.
26650         Simplified GstEvent types.
26651         Added return values to push/pull.
26652         Removed clocking from GstElement.
26653         Added prototypes for state change function for next merge.
26654         Removed iterate from bins and state change management.
26655         Fixed some elements, disabled others for now.
26656         Fixed -inspect and -launch.
26657         Added check for GstBus.
26658
26659 2005-03-10  Wim Taymans  <wim@fluendo.com>
26660
26661         * docs/design/part-MT-refcounting.txt:
26662         * docs/design/part-clocks.txt:
26663         * docs/design/part-gstelement.txt:
26664         * docs/design/part-gstobject.txt:
26665         * docs/design/part-standards.txt:
26666         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26667         (gst_bin_remove_func), (gst_bin_remove):
26668         * gst/gstbin.h:
26669         * gst/gstbuffer.c:
26670         * gst/gstcaps.h:
26671         * testsuite/clock/clock1.c: (main):
26672         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26673         (main):
26674         * testsuite/dlopen/loadgst.c: (do_test):
26675         * testsuite/refcounting/bin.c: (add_remove_test1),
26676         (add_remove_test2), (main):
26677         * testsuite/refcounting/element.c: (main):
26678         * testsuite/refcounting/element_pad.c: (main):
26679         * testsuite/refcounting/pad.c: (main):
26680         * tools/gst-launch.c: (sigint_handler_sighandler):
26681         * tools/gst-typefind.c: (main):
26682         Doc updates.
26683         Added doc about clock.
26684         removed gst_bin_iterate_recurse_up(), marked methods
26685         for removal.
26686         Fix more testsuites.
26687
26688 2005-03-09  Wim Taymans  <wim@fluendo.com>
26689
26690         * gst/gstpad.c: (gst_pad_get_direction),
26691         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26692         (gst_pad_collect_valist):
26693         * testsuite/bins/interface.c: (main):
26694         * testsuite/caps/audioscale.c: (test_caps):
26695         * testsuite/caps/caps.c: (test1), (test2), (test3):
26696         * testsuite/caps/deserialize.c: (main):
26697         * testsuite/caps/enumcaps.c: (main):
26698         * testsuite/caps/filtercaps.c: (main):
26699         * testsuite/caps/intersect2.c: (main):
26700         * testsuite/caps/random.c: (main):
26701         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26702         * testsuite/caps/sets.c: (check_caps):
26703         * testsuite/caps/simplify.c: (check_caps), (main):
26704         * testsuite/caps/subtract.c: (check_caps):
26705         Fix _pad_get_direction wrt ghostpads.
26706         Fix caps testsuite.
26707
26708 2005-03-09  Wim Taymans  <wim@fluendo.com>
26709
26710         * check/Makefile.am:
26711         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26712         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26713         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26714         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26715         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26716         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26717         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26718         (bin_element_is_sink), (gst_bin_iterate_sinks),
26719         (gst_bin_iterate_all_by_interface):
26720         * gst/gstbin.h:
26721         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26722         (gst_element_change_state), (gst_element_dispose),
26723         (gst_element_finalize), (gst_element_set_loop_function):
26724         * gst/gstelement.h:
26725         * gst/gstiterator.c: (find_custom_fold_func):
26726         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26727         (gst_pad_collectv), (gst_pad_collect_valist),
26728         (gst_pad_template_new):
26729         * gst/gstpipeline.c: (gst_pipeline_class_init),
26730         (gst_pipeline_dispose), (gst_pipeline_set_property),
26731         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26732         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26733         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26734         * gst/gstutils.h:
26735         * gst/schedulers/entryscheduler.c:
26736         * gst/schedulers/gstbasicscheduler.c:
26737         (gst_basic_scheduler_cothreaded_chain),
26738         (gst_basic_scheduler_chain_add_element):
26739         * testsuite/bins/interface.c: (main):
26740         Added GstBin test.
26741         Added GstSystemClock test.
26742         Implemented clock distribution code in GstBin.
26743         Implemented iterate sinks method for future use.
26744         Rearranged gstelement.h
26745         Fix GstIterator comparison bug.
26746         Moved some code to GstPipeline, mostly clocking related.
26747
26748 2005-03-09  Wim Taymans  <wim@fluendo.com>
26749
26750         * configure.ac:
26751         * gst/gst_private.h:
26752         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26753         (gst_bin_remove_func), (gst_bin_remove),
26754         (gst_bin_get_by_name_recurse_up):
26755         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26756         (gst_clock_id_compare_func), (gst_clock_id_wait),
26757         (gst_clock_id_wait_async), (gst_clock_init),
26758         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26759         * gst/gstelement.h:
26760         * gst/gstinfo.c: (_gst_debug_init):
26761         * gst/gstobject.h:
26762         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26763         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26764         * gst/gstpad.h:
26765         Bump version number, we're now 0.9.0
26766         Add future debugging category.
26767         Fix NULL _unref() in _get_by_name_recurse_up
26768         Rearrange gstpad.h.
26769         Update some docs.
26770
26771 2005-03-08  Wim Taymans  <wim@fluendo.com>
26772
26773         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26774         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26775         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26776         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26777         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26778         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26779         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26780         * gst/elements/gstidentity.c: (gst_identity_class_init):
26781         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26782         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26783         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26784         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26785         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26786         (gst_tee_link):
26787         * gst/gstelement.c: (gst_element_class_init),
26788         (gst_element_base_class_init), (gst_element_init),
26789         (gst_element_get_random_pad), (gst_element_wait_state_change),
26790         (gst_element_change_state), (gst_element_dispose),
26791         (gst_element_finalize), (gst_element_set_loop_function):
26792         * gst/gstelement.h:
26793         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26794         * gst/gstthread.c: (gst_thread_class_init),
26795         (gst_thread_release_children_locks), (gst_thread_change_state):
26796         * gst/schedulers/gstbasicscheduler.c:
26797         (gst_basic_scheduler_loopfunc_wrapper),
26798         (gst_basic_scheduler_chain_wrapper),
26799         (gst_basic_scheduler_src_wrapper),
26800         (gst_basic_scheduler_remove_element):
26801         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26802         Remove threadsafe properties. Fix elements because GObject
26803         complains when installing a property before declaring a
26804         set/get_property handler.
26805         Rearrange gstelement.h file, use STATE macros for state locks.
26806         Free mutexes in the finalize method instead of dispose.
26807
26808 2005-03-08  Wim Taymans  <wim@fluendo.com>
26809
26810         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26811         * gst/gstthread.c: (gst_thread_release_children_locks):
26812         Added parentage check.
26813         Fix build og GstThread again.
26814
26815 2005-03-08  Wim Taymans  <wim@fluendo.com>
26816
26817         * docs/design/part-MT-refcounting.txt:
26818         * docs/design/part-conventions.txt:
26819         * docs/design/part-gstobject.txt:
26820         * docs/design/part-relations.txt:
26821         * docs/design/part-standards.txt:
26822         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26823         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26824         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26825         (gst_bin_iterate_all_by_interface):
26826         * gst/gstbuffer.h:
26827         * gst/gstclock.h:
26828         * gst/gstelement.c: (gst_element_class_init),
26829         (gst_element_change_state), (gst_element_set_loop_function):
26830         * gst/gstelement.h:
26831         * gst/gstiterator.c:
26832         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26833         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26834         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26835         (gst_object_set_parent), (gst_object_unparent),
26836         (gst_object_check_uniqueness):
26837         * gst/gstobject.h:
26838         Docs updates, clean up some headers.
26839
26840 2005-03-07  Wim Taymans  <wim@fluendo.com>
26841
26842         * check/.cvsignore:
26843         * check/Makefile.am:
26844         * check/gst-libs/.cvsignore:
26845         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26846         * check/gst/.cvsignore:
26847         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26848         (START_TEST), (gstbus_suite), (main):
26849         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26850         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26851         (gst_data_suite), (main):
26852         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26853         (add_fold_func), (gstiterator_suite), (main):
26854         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26855         (thread_name_object), (thread_name_object_default),
26856         (gst_object_name_compare), (gst_object_suite), (main):
26857         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26858         (gst_pad_suite), (main):
26859         * check/gstcheck.c: (gst_check_log_message_func),
26860         (gst_check_log_critical_func), (gst_check_init):
26861         * check/gstcheck.h:
26862         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26863         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26864         Added checks.
26865
26866 2005-03-07  Wim Taymans  <wim@fluendo.com>
26867
26868         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26869         (gst_list_iterator_next), (gst_list_iterator_resync),
26870         (gst_list_iterator_free), (gst_iterator_new_list),
26871         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26872         (gst_iterator_free), (gst_iterator_push), (filter_next),
26873         (filter_resync), (filter_uninit), (filter_free),
26874         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26875         (gst_iterator_foreach), (find_custom_fold_func),
26876         (gst_iterator_find_custom):
26877         * gst/gstiterator.h:
26878         Added missing files.
26879
26880 2005-03-07  Wim Taymans  <wim@fluendo.com>
26881
26882         * Makefile.am:
26883         * configure.ac:
26884         * docs/design/part-MT-refcounting.txt:
26885         * docs/design/part-conventions.txt:
26886         * docs/design/part-gstobject.txt:
26887         * docs/design/part-relations.txt:
26888         * examples/mixer/mixer.c: (main):
26889         * examples/thread/thread.c: (eos), (main):
26890         * gst/Makefile.am:
26891         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26892         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26893         (gst_spider_plug_from_srcpad):
26894         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26895         (gst_spider_identity_change_state),
26896         (gst_spider_identity_sink_loop_type_finding):
26897         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26898         * gst/elements/gstidentity.c: (gst_identity_init):
26899         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26900         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26901         * gst/elements/gsttypefindelement.c: (free_entry):
26902         * gst/gst.c:
26903         * gst/gst.h:
26904         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26905         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26906         (gst_bin_set_index), (gst_bin_set_element_sched),
26907         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26908         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26909         (gst_bin_iterate_elements), (iterate_child_recurse),
26910         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26911         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26912         (compare_interface), (gst_bin_get_by_interface),
26913         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26914         * gst/gstbin.h:
26915         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26916         (gst_buffer_default_free), (gst_buffer_default_copy),
26917         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26918         (gst_buffer_create_sub):
26919         * gst/gstbuffer.h:
26920         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26921         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26922         (gst_caps_unref), (gst_static_caps_get),
26923         (gst_caps_remove_and_get_structure), (gst_caps_append),
26924         (gst_caps_append_structure), (gst_caps_remove_structure),
26925         (gst_caps_copy_nth), (gst_caps_set_simple),
26926         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26927         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26928         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26929         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26930         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26931         (gst_caps_structure_figure_out_union),
26932         (gst_caps_switch_structures), (gst_caps_do_simplify),
26933         (gst_caps_replace), (gst_caps_from_string),
26934         (gst_caps_copy_conditional):
26935         * gst/gstcaps.h:
26936         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26937         (_gst_clock_id_free), (gst_clock_id_unref),
26938         (gst_clock_id_compare_func), (gst_clock_id_wait),
26939         (gst_clock_id_wait_async), (gst_clock_class_init),
26940         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26941         (gst_clock_get_time), (gst_clock_set_time_adjust),
26942         (gst_clock_set_property), (gst_clock_get_property):
26943         * gst/gstclock.h:
26944         * gst/gstcompat.h:
26945         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26946         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26947         * gst/gstdata.h:
26948         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26949         (gst_element_requires_clock), (gst_element_provides_clock),
26950         (gst_element_set_clock), (gst_element_clock_wait),
26951         (gst_element_wait), (gst_element_set_time_delay),
26952         (gst_element_is_indexable), (gst_element_add_pad),
26953         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26954         (pad_compare_name), (gst_element_get_static_pad),
26955         (gst_element_request_pad), (gst_element_get_request_pad),
26956         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26957         (gst_element_class_get_pad_template_list),
26958         (gst_element_class_get_pad_template), (gst_element_error_func),
26959         (gst_element_get_random_pad), (gst_element_get_event_masks),
26960         (gst_element_send_event), (gst_element_seek),
26961         (gst_element_get_query_types), (gst_element_query),
26962         (gst_element_get_formats), (gst_element_convert),
26963         (gst_element_is_locked_state), (gst_element_set_locked_state),
26964         (gst_element_sync_state_with_parent), (gst_element_change_state),
26965         (gst_element_finalize), (gst_element_yield),
26966         (gst_element_interrupt), (gst_element_set_scheduler),
26967         (gst_element_get_scheduler), (gst_element_set_loop_function):
26968         * gst/gstelement.h:
26969         * gst/gstevent.h:
26970         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26971         (gst_format_get_by_nick), (gst_format_get_details),
26972         (gst_format_iterate_definitions):
26973         * gst/gstformat.h:
26974         * gst/gstindex.c: (gst_index_gtype_resolver):
26975         * gst/gstinfo.c:
26976         * gst/gstinfo.h:
26977         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26978         (gst_mem_chunk_free):
26979         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26980         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26981         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26982         (gst_object_dispatch_properties_changed),
26983         (gst_object_set_name_default), (gst_object_set_name),
26984         (gst_object_get_name), (gst_object_set_name_prefix),
26985         (gst_object_get_name_prefix), (gst_object_set_parent),
26986         (gst_object_get_parent), (gst_object_unparent),
26987         (gst_object_check_uniqueness), (gst_object_save_thyself),
26988         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26989         (gst_object_set_property), (gst_object_get_property),
26990         (gst_object_get_path_string):
26991         * gst/gstobject.h:
26992         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26993         (gst_real_pad_init), (gst_real_pad_get_property),
26994         (gst_pad_custom_new), (gst_pad_get_direction),
26995         (gst_pad_set_active), (gst_pad_is_active),
26996         (gst_pad_set_event_function), (gst_pad_is_linked),
26997         (gst_pad_link_free), (gst_pad_link_intersect),
26998         (gst_pad_link_fixate), (gst_pad_set_caps),
26999         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27000         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27001         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27002         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27003         (gst_pad_get_caps), (gst_pad_peer_get_caps),
27004         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27005         (gst_pad_realize), (gst_pad_get_allowed_caps),
27006         (gst_real_pad_dispose), (gst_real_pad_finalize),
27007         (gst_pad_collectv), (gst_pad_collect_valist),
27008         (gst_pad_template_dispose), (gst_pad_template_new),
27009         (gst_pad_get_internal_links):
27010         * gst/gstpad.h:
27011         * gst/gstpipeline.c: (gst_pipeline_dispose),
27012         (gst_pipeline_change_state):
27013         * gst/gstpipeline.h:
27014         * gst/gstplugin.c:
27015         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27016         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27017         * gst/gstpluginfeature.h:
27018         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27019         * gst/gstquery.c: (_gst_query_type_initialize),
27020         (gst_query_type_register), (gst_query_type_get_by_nick),
27021         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27022         * gst/gstquery.h:
27023         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27024         * gst/gstscheduler.c: (gst_scheduler_add_element),
27025         (gst_scheduler_factory_create):
27026         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27027         (gst_structure_free), (gst_structure_set_name),
27028         (gst_structure_id_set_value), (gst_structure_set_value),
27029         (gst_structure_set_valist), (gst_structure_remove_field),
27030         (gst_structure_remove_fields),
27031         (gst_structure_remove_fields_valist),
27032         (gst_structure_remove_all_fields), (gst_structure_foreach),
27033         (gst_structure_map_in_place),
27034         (gst_caps_structure_fixate_field_nearest_int),
27035         (gst_caps_structure_fixate_field_nearest_double):
27036         * gst/gststructure.h:
27037         * gst/gstsystemclock.c: (gst_system_clock_class_init),
27038         (gst_system_clock_init), (gst_system_clock_dispose),
27039         (gst_system_clock_async_thread),
27040         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27041         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27042         * gst/gstsystemclock.h:
27043         * gst/gsttag.c: (gst_tag_list_add_value_internal),
27044         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27045         * gst/gsttaginterface.c:
27046         * gst/gstthread.c: (gst_thread_dispose),
27047         (gst_thread_release_children_locks), (gst_thread_change_state),
27048         (gst_thread_main_loop):
27049         * gst/gsttrashstack.h:
27050         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27051         * gst/gsttypes.h:
27052         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27053         (gst_element_request_pad), (gst_element_get_pad_from_template),
27054         (gst_element_request_compatible_pad),
27055         (gst_element_get_compatible_pad_filtered),
27056         (gst_element_get_compatible_pad), (gst_element_state_get_name),
27057         (gst_element_link_pads_filtered), (gst_element_link_filtered),
27058         (gst_element_link_many), (gst_element_link),
27059         (gst_element_link_pads), (gst_element_unlink_pads),
27060         (gst_element_unlink_many), (gst_element_unlink),
27061         (gst_pad_can_link_filtered), (gst_pad_can_link),
27062         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27063         (gst_object_default_error), (gst_bin_add_many),
27064         (gst_bin_remove_many), (gst_element_populate_std_props),
27065         (gst_element_class_install_std_props), (gst_buffer_merge),
27066         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27067         (link_fold_func), (gst_pad_proxy_setcaps):
27068         * gst/gstutils.h:
27069         * gst/gstvalue.c: (gst_value_deserialize_string):
27070         * gst/parse/grammar.y:
27071         * gst/schedulers/gstbasicscheduler.c:
27072         (gst_basic_scheduler_cothreaded_chain),
27073         (gst_basic_scheduler_chain_recursive_add),
27074         (gst_basic_scheduler_pad_link):
27075         * gst/schedulers/gstoptimalscheduler.c:
27076         (get_group_schedule_function),
27077         (gst_opt_scheduler_state_transition),
27078         (gst_opt_scheduler_add_element), (element_get_reachables_func):
27079         * libs/gst/bytestream/bytestream.c:
27080         * libs/gst/dataprotocol/dataprotocol.c:
27081         (gst_dp_header_from_buffer):
27082         * po/nb.po:
27083         * po/ru.po:
27084         * tests/threadstate/threadstate2.c: (eos):
27085         * tools/gst-compprep.c: (main):
27086         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27087         (print_pad_info), (print_children_info):
27088         * tools/gst-launch.c: (idle_func), (main):
27089         * tools/gst-md5sum.c: (idle_func), (main):
27090         * tools/gst-xmlinspect.c: (print_element_info):
27091         First THREADED backport attempt, focusing on adding locks and
27092         making sure the API is threadsafe. Needs more work. More docs
27093         follow this week.
27094
27095 2005-02-24  Andy Wingo  <wingo@pobox.com>
27096
27097         * tests/bench-complexity.scm:
27098         * tests/complexity.gnuplot: New files, good for running complexity
27099         benchmarks.
27100
27101         * tests/Makefile.am:
27102         * tests/complexity.c: New test, sets up N elements, at each level
27103         teeing into M streams per element. Eeeenteresting.
27104
27105         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27106         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27107         running bench-mass_elements.scm.
27108
27109         * tests/bench-mass_elements.scm: New script, runs mass_elements
27110         for various numbers of identities, outputting the results to a
27111         file. Requires guile 1.6. Just for testing.
27112
27113 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27114
27115         * gst/schedulers/fairscheduler.c:
27116           compile with debug disabled
27117
27118 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27119
27120         * configure.ac:
27121           hunting season on 0.9 is now OPEN