gst/gstpad.h: A small documentation fix.
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-15  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
4
5         * gst/gstpad.h:
6         A small documentation fix.
7
8 2009-01-11  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
9
10         * gst/gstutils.h:
11         Initialize g_once_init* data with 0. Fixes bug #567225.
12
13 2009-01-09  Jan Schmidt  <jan.schmidt@sun.com>
14
15         * configure.ac:
16         pre-release 0.10.21.3
17
18 2009-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
19
20         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21         (gst_base_sink_wait_clock):
22         * libs/gst/base/gstbasesink.h:
23         Fix documentation for the wait_clock method, rename basesink -> sink
24         for consistency.
25
26 2009-01-08  Stefan Kost  <ensonic@users.sf.net>
27
28         * gst/gst.c:
29           Create a registry if there is none also when the option for
30           gst-disable-registry-update has been selected. Fixes #567002
31
32 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
33
34         * gst/gst.c: (init_post):
35           Ref new enum type in gst_init.
36
37         * win32/common/libgstreamer.def:
38           Add recently-added API.
39
40 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
41
42         * docs/gst/gstreamer-sections.txt::
43         * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
44         * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
45           (gst_plugin_class_init), (gst_plugin_list_free),
46           (gst_plugin_ext_dep_get_env_vars_hash),
47           (_priv_plugin_deps_env_vars_changed),
48           (gst_plugin_ext_dep_extract_env_vars_paths),
49           (gst_plugin_ext_dep_get_hash_from_stat_entry),
50           (gst_plugin_ext_dep_direntry_matches),
51           (gst_plugin_ext_dep_scan_dir_and_match_names),
52           (gst_plugin_ext_dep_scan_path_with_filenames),
53           (gst_plugin_ext_dep_get_stat_hash),
54           (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
55           (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
56           (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
57         * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
58           (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
59           (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
60           (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
61           (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
62           (GstPluginDependencyFlags), (GstPluginFilter):
63         * gst/gstregistry.c: (gst_registry_scan_path_level):
64         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
65           (gst_registry_binary_save_plugin_dep),
66           (gst_registry_binary_save_plugin),
67           (gst_registry_binary_load_feature),
68           (gst_registry_binary_load_plugin_dep_strv),
69           (gst_registry_binary_load_plugin_dep),
70           (gst_registry_binary_load_plugin):
71         * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
72           (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
73         * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
74           Add API for making a GStreamer plugin 'dependent' on external files,
75           directories or environment variables, so that GStreamer knows when
76           it needs to re-load GStreamer plugins that wrap other plugin systems.
77           Fixes bug #350477.
78           API: add gst_plugin_add_dependency()
79           API: add gst_plugin_add_dependency_simple()
80
81 2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
82
83         * docs/faq/gst-uninstalled:
84           Add libgstapp-0.10 from -base to search path and remove the old
85           lib from -bad from the search path.
86
87 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
88
89         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
90         (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
91         Release the object lock before calling the query convert pad functions
92         to avoid deadlocks.
93
94 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
95
96         * gst/gstbus.c: (gst_bus_wakeup_main_context):
97         The lock order should be maincontext > OBJECT_LOCK so we need to release
98         the object lock when waking up the mainloop to avoid deadlocks.
99
100 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
101
102         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
103         (gst_bin_change_state_func):
104         Use an iterator to set the clock and the index so that we can release
105         the object lock appropriately. Fixes #566393.
106
107 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
108
109         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
110         Use the name of the pads instead of a pointer, helps in debugging.
111
112 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
113
114         * gst/gstindex.c: (gst_index_get_type):
115         Add a debugging category for GstIndex, first little step in making
116         indexing top-notch.
117
118 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
119
120         * gst/gstelement.c: (gst_element_message_full),
121         (gst_element_pads_activate):
122         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
123         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
124         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
125         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
126         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
127         Assign debug statements to relevant categories instead of the 'default'
128         category so they don't get lost in debugging.
129
130 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
131
132         * gst/gstdebugutils.c:
133           Add some ideas, how to make the graph smaller.
134
135         * gst/gstutils.c:
136           Add a comment from a debug session.
137
138         * libs/gst/base/gstbasetransform.c:
139           Log more context.
140
141         * libs/gst/controller/gstinterpolationcontrolsource.c:
142           Indet.
143
144         * plugins/elements/gstcapsfilter.c:
145           Fix typo in docs.
146
147 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
148
149         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
150           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
151           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
152           (gst_bus_create_watch):
153           Make GstBusSource work with non-default main contexts (#562170).
154
155         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
156           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
157           Add test case for GstBusSource with a non-default main context.
158
159         * tests/check/libs/.cvsignore:
160           Ignore more.
161
162 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
163
164         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
165           (unpack_string)::
166           Wrap multi-line macros in G_STMT_{START|END}.
167
168 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
169
170         * docs/gst/gstreamer-sections.txt:
171         * gst/gstquark.c:
172         * gst/gstquark.h:
173         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
174         (gst_query_parse_uri):
175         * gst/gstquery.h:
176         API: Add URI query type. This is useful to query the URI
177         of a sink/source element and can be used by demuxers that
178         need to get data from other files.
179         This query should go upstream by default.
180         Fixes bug #562949.
181         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
182         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
183         (gst_fd_src_query):
184         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
185         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
186         (gst_file_src_query):
187         Implement URI query.
188
189 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
190
191         * gst/gstghostpad.c:
192         * tests/check/gst/gstghostpad.c:
193         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
194         That would cause the ghostpad to emit notify::caps two times (fist
195         from gst_pad_set_caps() and after from on_src_target_notify()).
196
197 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
198
199         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
200         (GST_START_TEST):
201         Add some more unit-tests for the ghostpad notify signal, one of which
202         currently fails.
203
204 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
205
206         * win32/common/libgstreamer.def:
207         Add gst_tag_setter_reset_tags to the list of exported symbols.
208
209 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
210
211         * gst/gstghostpad.c:
212         * tests/check/gst/gstghostpad.c:
213         In a source ghostpad, when caps are changed in the target pad, the
214         change needs to be reflected in the ghostpad.
215         Fixes #564863.
216
217 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
218
219         * gst/gstutils.c: (gst_element_found_tags_for_pad):
220         Add FIXME for 0.11 to set the pad as message source and not
221         the element. Otherwise it's impossible to detect for which
222         pad the tags were found without adding an event probe
223         or something similar to the pad.
224
225 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
226
227         * docs/faq/general.xml:
228         Update the faq.
229
230 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
231
232         * docs/gst/gstreamer-sections.txt:
233         * gst/gsttagsetter.c:
234         * gst/gsttagsetter.h:
235           Rename api added in previous commit and add since tag to docs.
236           API: gst_tag_setter_reset_tags()
237
238 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
239
240         * docs/gst/gstreamer-sections.txt:
241         * gst/gsttagsetter.c:
242         * gst/gsttagsetter.h:
243           Add function to reset tagsetter for element reuse.
244
245 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
246
247         * gst/gsttaglist.c:
248           Avoid copy of empty taglist.
249
250 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
251
252         * gst/gsttaglist.c:
253         * tests/check/gst/gsttag.c:
254           More complete unit tests. Fix handling of empty taglists (they were
255           not merged before).
256
257 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
258
259         * gst/gsttaglist.h:
260         * gst/gsttagsetter.c:
261           Update GstTagSetter and GstTagMergeMode documentation. Mention
262           that tags can come from events and from application. Fix example.
263
264 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
265
266         * docs/design/part-TODO.txt:
267         Remove the seqnum entry that we implemented in 0.10 already.
268         Add entry about removing the format return value for queries.
269
270 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
271
272         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
273         (gst_base_sink_init), (gst_base_sink_set_property),
274         (gst_base_sink_get_property):
275         Expose the render-delay as a property so things like appsink can use it
276         to tweak the synchronisation.
277
278 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
279
280         * libs/gst/check/gstcheck.h: Allow check tests to use
281         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
282         CK_FORK=no to be used with multiple check test that use threads.
283
284 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
285
286         * gst/gstutils.c: (gst_element_get_compatible_pad):
287         Fix a caps memory leak introduced by the last change.
288
289 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
290
291         * gst/gstutils.c: (gst_element_get_compatible_pad):
292         Check if the caps of the pads are compatible before returning
293         a pad and claiming it is compatible. This, among other things,
294         fixes a bug with gst-launch where an incompatible pad is chosen
295         and linking fails. Fixes bug #544003.
296
297 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
298
299         * libs/gst/check/gstcheck.c: (gst_check_init):
300         Revert accidentially commited patch for bug #404631 which
301         tries to print a backtrace if a testcase is terminated by
302         a signal. This code was never activated as the corresponding
303         configure.ac change wasn't committed.
304
305 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
306
307         * tests/check/libs/controller.c: (GST_START_TEST):
308         This test should return TRUE now as syncing an uncontrolled
309         object will succeed now (there's nothing to sync).
310
311 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
312
313         * libs/gst/controller/gstcontroller.c:
314           Aggregate return value for gst_controller_sync_values(). More info in
315           logging. Always set values on first sync-call.
316
317         * libs/gst/controller/gstcontrolsource.c:
318           Microoptimizations.
319
320         * libs/gst/controller/gsthelper.c:
321           Fix return code and comment.
322
323 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
324
325         * tools/gst-launch.1.in:
326           Fix description of how to specify a type in caps. Fixes #553873.
327           Also ranges and list contain values and not property-assignments.
328
329 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
330
331         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
332         Check for changed pads-list before checking the last returned
333         GstFlowReturn because the pad could have been removed and we
334         need to ignore the value in that case.
335
336 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
337
338         * libs/gst/base/gstbasetransform.c:
339         (gst_base_transform_prepare_output_buffer),
340         (gst_base_transform_getrange), (gst_base_transform_chain):
341         * libs/gst/base/gstbasetransform.h:
342         Add vmethod that is called before we start the transform and which can
343         be used to configure the transform, such as dynamic properties.
344
345 2008-12-05  David Schleef  <ds@schleef.org>
346
347         * gst/gst.c:
348         Search for plugins on win32 based on the location of the
349         gstreamer DLL.  Fixes #548786
350
351 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
352
353         * configure.ac:
354         Apparently AC_CONFIG_MACRO_DIR breaks when using more
355         than one macro directory, reverting last change.
356
357 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
358
359         * configure.ac:
360         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
361         our M4 macros.
362
363 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
364
365         Patch by: Cygwin Ports maintainer
366                   <yselkowitz at users dot sourceforge dot net>
367
368         * autogen.sh:
369         * configure.ac:
370         Require gettext 0.17 because older versions don't mix with libtool
371         2.2. At build time an older gettext version will still work.
372         Fixes bug #556091.
373
374 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
375
376         Patch by: 이문형 <iwings at gmail dot com>
377
378         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
379         Adds support for FD_CONNECT event (win32). See #562258.
380
381 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
382
383         * libs/gst/base/gstbasesink.c:
384           Turn comment into gtk-doc comment.
385
386 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
387
388         * libs/gst/base/gstbasetransform.c:
389         (gst_base_transform_acceptcaps):
390         Revert quick accepcaps attempt, it's not fully equivalent to the old
391         behaviour and thus causes regressions.
392
393 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
394
395         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
396         Fix memory leak.
397
398 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
399
400         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
401
402         * gst/gstregistry.c: (gst_registry_scan_path_level):
403         Reduce the number of stat() calls for every file from three times
404         to one time. Fixes bug #560360.
405
406 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * libs/gst/base/gstbasetransform.c:
409         (gst_base_transform_acceptcaps):
410         Rename a variable to make the code clearer.
411
412 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
413
414         * plugins/elements/gstidentity.c:
415         Don't warning on offset==-1. Taken from _check_imperfect_offset().
416
417 2008-11-21  Michael Smith <msmith@songbirdnest.com>
418
419         * plugins/elements/gstfilesrc.c:
420           Check for localhost in URI was backwards, fix it. Fixes unit test.
421
422 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
423
424         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
425         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
426         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
427         Add beginnings of a more optimized acceptcaps function than the default
428         core one.
429
430 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
431
432         * gst/gstpad.c: (gst_pad_accept_caps):
433         Avoid getting the acceptcaps function too early.
434
435 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
436
437         * tools/gst-launch.c: (event_loop):
438         Make gst-launch handle LATENCY messages and make it recalculate the
439         latency.
440
441 2008-11-20  Michael Smith <msmith@songbirdnest.com>
442
443         * plugins/elements/gstfilesrc.c:
444           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
445           out own slightly incorrect version. Fixes use of some paths on
446           win32.
447
448 2008-11-20  Michael Smith <msmith@songbirdnest.com>
449
450         * gst/gstregistrybinary.c:
451           In win32 codepath, if we fail to write the registry, create the
452           directory for it and try again, matching the behaviour in non-win32
453           codepaths.
454
455 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
456
457         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
458         Changing the render delay changes the latency and so we must post a
459         latency message.
460
461 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
462
463         * gst/gstquery.c:
464         * gst/gstquery.h:
465         Add GstQueryType for custom queries instead of having to use the
466         not-so-very-convenient registration infrastructure to register new
467         types.
468
469 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
470
471         Patch by: Andrew Feren <acferen at yahoo dot com>
472
473         * gst/gstobject.c: (gst_object_default_deep_notify):
474         Unref the GEnumClass after usage again. Fixes bug #561501.
475
476 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
477
478         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
479         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
480         (gst_bin_change_state_func):
481         * gst/gstbin.h:
482         Add do-latency signal with the old default fallback implementation. This
483         allows for custom latency calculations for when the default is not
484         sufficient.
485         API: GstBin::do-latency signal.
486
487 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
488
489         * win32/common/libgstreamer.def:
490         Add new symbols to .def file.
491
492 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
493
494         * docs/gst/gstreamer-sections.txt:
495         * gst/gstbin.c: (gst_bin_recalculate_latency),
496         (gst_bin_change_state_func):
497         * gst/gstbin.h:
498         Add method to recalculate and redistribute the latency on a bin.
499         API: gst_bin_recalculate_latency().
500
501 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
502
503         * gst/gstbuffer.h:
504         Document the free_func.
505
506 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
507
508         * libs/gst/controller/gstinterpolation.c:
509         * libs/gst/controller/gstlfocontrolsource.c:
510         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
511         as it is mapped to a cast on non-win32 platforms.
512
513 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
514
515         * libs/gst/controller/gstcontroller.c:
516         * libs/gst/controller/gstcontrollerprivate.h:
517           Keep last-value and only call set_property if value has changed. This
518           supresses all the g_object_notifies we would trigger otherwise. It
519           also allows the user to chage the value while there is no controller
520           change.
521
522 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
523
524         * gst/gstvalue.c:
525           Don't crash if either of the string GValues is empty.
526
527 2008-11-17  Andy Wingo  <wingo@pobox.com>
528
529         * tools/gst-inspect.c (print_all_uri_handlers): New function,
530         prints a summary of what URI schemes are supported by what
531         elements.
532         (main): Plumb in support for --uri-handlers or -u, and fix the
533         argc check for -a and -u.
534
535 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
536
537         * gst/gstutils.h:
538         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
539         conversion functions.
540
541 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
542
543         * gst/gstbuffer.c: (gst_buffer_finalize):
544         Avoid costly typechecking for trivially correct pointers.
545
546         * gst/gstpoll.c: (gst_poll_wait):
547         Add some G_LIKELY here and there.
548
549         * libs/gst/base/gstadapter.c: (gst_adapter_push):
550         Add some debug info.
551
552 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
553
554         * docs/random/wtay/poll-timeout:
555         Small tweaks.
556
557 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
558
559         * tests/old/testsuite/caps/intersection.c: (main):
560         * tests/old/testsuite/plugin/loading.c: (main):
561         Remove references to deprecated API g_mem_chunk*.
562         Fixes #560442.
563
564 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
565
566         * tools/gst-inspect.c: (main):
567         Add --plugin option. Fixes #560301.
568
569 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
570
571         * docs/random/wtay/poll-timeout:
572         Quick braindump for a possible (not totally verified) atomic case.
573
574 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
575
576         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
577         (gst_registry_binary_initialize_magic),
578         (gst_registry_binary_write_cache),
579         (gst_registry_binary_check_magic):
580         * gst/gstregistrybinary.h:
581         Don't write and check a CRC for the binary registry file. It's
582         guaranteed that the registry is completely written (it's first written
583         to a temporary file and then moved) and if the registry was corrupted
584         by some hardware failure we would have bigger problems.
585
586         Bump binary registry version to 0.10.21.1 for this as it's an
587         incompatible change and to ensure that the registry gets rebuild
588         after the update.
589
590         This saves some milliseconds for reading/writing the registry.
591         Fixes bug #560399.
592
593 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
594
595         * docs/random/wtay/poll-timeout:
596         Some pseudo code for how we could implement clock timeouts with GstPoll.
597
598 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
599
600         * plugins/elements/gstfilesink.c:
601           Update Author string to match others.
602
603 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
604
605         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
606         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
607         being fixed and inline the trivial check.
608
609 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
610
611         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
612         (gst_caps_merge_structure), (gst_caps_get_structure),
613         (gst_caps_copy_nth), (gst_caps_set_simple),
614         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
615         (gst_caps_is_equal_fixed), (gst_caps_intersect),
616         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
617         (gst_caps_to_string):
618         Callgrind micro optimisations.
619         Avoid array bounds checks and force inline of trivial function.
620
621         * gst/gstobject.c: (gst_object_set_name_default):
622         -1 is equivalent to letting glib to the strlen but then there is more
623         room for optimisations and it's not our fault.
624
625         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
626         no need to clear the array, we're cool.
627
628         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
629         The most common _is_fixed() check is done on fundamental glib base
630         types so we check this first instead of doing a huge amount of
631         useless GST_TYPE_ARRAY calls.
632
633 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
634
635         * gst/gstevent.h:
636         Add a SKIP seek flag for use with advanced trickmodes.
637         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
638
639 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
640
641         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
642         No need to memset, we can clear the value ourselves.
643
644         * gst/gstvalue.c: (gst_type_is_fixed),
645         (gst_value_get_compare_func):
646         Some optimisations from a few callgrind sessions:
647         When checking if a type is fixed, check for trivial fundamental types
648         first before checking types for which we need to get the type followed
649         by the heavy duty type checks, this reduces the amount of
650         g_type_fundamental() calls a lot.
651         When getting the compare function, first check for our registered types.
652         If that fails, do the heavy duty g_type_is_a() checks, reduces the
653         amount of g_type_is_a() considerably.
654
655 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
656
657         * docs/design/part-TODO.txt:
658         Mumble something about removing GstXML.
659
660 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
661
662         * gst/gstbin.c: (gst_bin_handle_message_func):
663         Get the seqnum before we dispose the message.
664
665 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
666
667         * docs/design/part-TODO.txt:
668         Refer to the framestepping document.
669
670 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
671
672         * gst/gstbin.c: (bin_handle_async_start),
673         (gst_bin_handle_message_func), (gst_bin_query):
674         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
675         (gst_base_sink_event), (gst_base_sink_change_state):
676         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
677         (gst_base_src_loop), (gst_base_src_change_state):
678         Copy seqnums from events to messages so that they can all be related
679         back to eachother.
680
681 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
682
683         * tools/gst-launch.c: (event_loop):
684         Print the message seqnums.
685
686 2008-11-04  Andy Wingo  <wingo@pobox.com>
687
688         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
689
690 2008-11-04  Andy Wingo  <wingo@pobox.com>
691
692         Add sequence numbers to events and messages. See #559250.
693
694         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
695         API: New functions.
696
697         * gst/gstevent.h:
698         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
699         events with a new sequence number, and copy it when copying.
700         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
701         an event's sequence number.
702
703         * gst/gstmessage.h:
704         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
705         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
706         so with messages.
707
708         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
709
710 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
711
712         * docs/manual/advanced-position.xml:
713         * docs/manual/basics-bins.xml:
714         * docs/manual/basics-bus.xml:
715         * docs/manual/basics-pads.xml:
716         * docs/manual/intro-gstreamer.xml:
717         * docs/manual/intro-preface.xml:
718         Some Application Development Manual fixes thanks to
719         Andrew Feren. Fixes #558459.
720
721 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
722
723         * gst/gstregistrybinary.c:
724           Don't bother with the GTimer if we don't output the results.
725
726 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
727
728         Patch by: David Schleef  <ds@schleef.org>
729
730         * libs/gst/net/Makefile.am:
731         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
732
733 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
734
735         * gst/gstregistrybinary.c:
736           Oh my, studip, stupid me. Remove double stat() call.
737
738 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
739
740         * gst/gstpreset.c:
741           Use g_unlink instead of unlink.
742
743         * gst/gststructure.c:
744           Use glib type.
745
746         * gst/gstutils.c:
747           Add a FIXME:.
748
749         * gst/gsttaglist.c:
750         * gst/gsttypefind.c:
751         * gst/gstvalue.c:
752           Formatting & whitespaces.
753
754 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
755
756         * plugins/elements/gstidentity.c:
757           Doc typo. Use return value of parent_class->event.
758   
759         * plugins/elements/gsttypefindelement.c:
760           Chain up at the end for consistency.
761   
762 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
763
764         * docs/Makefile.am:
765         * docs/gst/gstreamer-docs.sgml:
766         * docs/gst/gstreamer-sections.txt:
767         * docs/gst/running.xml:
768         * docs/libs/gstreamer-libs-docs.sgml:
769           Change to xinclude based build - its faster and easier to maintain.
770
771 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
772
773         * gst/gstregistrybinary.c:
774         * gst/gstregistryxml.c:
775           Use g_unlink() as none of these are directories.
776
777 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
778
779         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
780         Some more comments.
781
782 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
783
784         * libs/gst/base/gstbasetransform.c:
785         (gst_base_transform_find_transform), (gst_base_transform_getrange):
786         If we have a fixate function, call it even if we already have fixed caps
787         because the subclass might add some caps. Makes audioconvert add a
788         default channel layout.
789
790 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
791
792         * libs/gst/base/gstbasetransform.c:
793         (gst_base_transform_prepare_output_buffer),
794         (gst_base_transform_getrange):
795         Clear the output buffer variable.
796         Cleanups to the error path in the getrange function.
797         Fixes #557649.
798
799 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
800
801         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
802         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
803         Use gst_buffer_try_new_and_alloc() and handle errors instead of
804         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
805         be allocated.
806
807 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
808
809         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
810         Set the last_stop to a more meaningful position when configuring the
811         segment. ie. the start/stop of the segment or clipped against the
812         updated segment boundaries.
813
814         * tests/check/gst/gstsegment.c: (GST_START_TEST):
815         Add some unit tests for the last_stop.
816
817 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
818
819         * libs/gst/base/gstbytereader.c:
820         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
821         copies of them.
822
823 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
824
825         * docs/gst/gstreamer-sections.txt:
826         * gst/gstutils.h:
827         API: Move float endianness conversion macros from libgstfloatcast
828         to core as it's useful in general, even in core. Fixes bug #555196.
829         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
830         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
831         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
832
833         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
834         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
835         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
836         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
837
838 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
839
840         * docs/libs/gstreamer-libs-sections.txt:
841         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
842         (gst_byte_reader_peek_data):
843         * libs/gst/base/gstbytereader.h:
844         * win32/common/libgstbase.def:
845         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
846         to get a pointer to the data at the current position and have
847         a guaranteed size.
848
849 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
850
851         * configure.ac:
852         Fix a bug in the output of the configure script summary
853         when --gst-disable-registry is supplied
854
855 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
856
857         * libs/gst/base/gstbitreader.c:
858         * libs/gst/base/gstbytereader.c:
859         Fix the names of 2 functions in the docs strings.
860
861 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
862
863         * libs/gst/base/gstbasetransform.c:
864         (gst_base_transform_prepare_output_buffer),
865         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
866         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
867         refcount problems as seen in banshee and maybe also in farsight2.
868         Remove atomic int now that we need to take the lock anyways.
869
870 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
871
872         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
873         (gst_base_sink_default_prepare_seek_segment),
874         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
875         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
876         (gst_base_sink_query):
877         Implement more seeking in pull mode.
878         Use pad convert functions to convert position to the requested format.
879         Fix position/duration reporting in pull mode.
880         Implement position and duration reporting in other formats than time.
881
882         * libs/gst/base/gstbasesink.h:
883         Add member to keep track of when the segment is playing.
884
885 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
886
887         * gst/gstpad.c: (gst_pad_configure_src):
888         When we use gst_pad_alloc_buffer() without wanting to set the caps we
889         also don't need to check if the caps are compatible because the caller
890         presumably is going to perform its own custom checks. Fixes some cases
891         where basetransform elements would error out when it was not needed.
892
893 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
894
895         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
896         Update comment.
897
898         * libs/gst/base/gstbasetransform.c:
899         (gst_base_transform_handle_buffer),
900         (gst_base_transform_reconfigure):
901         Add some debug info.
902
903         * win32/common/libgstbase.def:
904         Add new method.
905
906 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
907
908         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
909           Remove duplicated assignment and log a message in failure case.
910
911 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
912
913         Patch by: Dig Ge <dig.ge.cn at gmail com>
914
915         * tests/examples/helloworld/helloworld.c: (main):
916           Fix copy'n'paste bug in hello world example (#556900).
917
918 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
919
920         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
921         (gst_base_sink_query):
922         Query the total number of bytes when activating the pad in pull mode.
923         Implement duration query in pull mode by using the installed pad convert
924         function to convert from bytes to the requested format.
925
926 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
927
928         * docs/libs/gstreamer-libs-sections.txt:
929         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
930         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
931         (gst_base_sink_event), (gst_base_sink_perform_seek),
932         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
933         (gst_base_sink_send_event), (gst_base_sink_change_state):
934         * libs/gst/base/gstbasesink.h:
935         Add method to commit the state in subclasses.
936         Refactor the flush_start and flush_stop code because we need it for
937         flushing while seeking too.
938         Implement the beginnings of seeking in pull mode.
939         Use the segment last_stop field for the pulling offset.
940         Fix the pause method in pull mode.
941         Configure the segment to BYTES for pull mode.
942         API: GstBaseSink::gst_base_sink_do_preroll()
943
944 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
945
946         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
947         Update some docs.
948
949 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
950
951         * gst/gstquark.c: (_priv_gst_quarks_initialize):
952           Fix printf format warning.
953
954 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
955
956         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
957         Fix flow aggregation of tee. Error out immediately for all flow returns
958         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
959         and return OK if at least one pad is linked.
960
961         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
962         and otherwise returned the flow return of the last pad, which is wrong.
963         
964         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
965         (GST_START_TEST), (tee_suite):
966         Add unit tests for the flow aggregation.
967
968 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
969
970         * docs/design/part-TODO.txt:
971         Remove item from the todo list because it was fixed with the latency
972         state change rewrites.
973
974         * docs/design/part-seeking.txt:
975         * docs/design/part-segments.txt:
976         Update some docs.
977
978         * gst/gstevent.c: (gst_event_new_new_segment_full),
979         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
980         (gst_event_parse_buffer_size), (gst_event_new_qos),
981         (gst_event_parse_qos), (gst_event_new_seek),
982         (gst_event_parse_seek), (gst_event_new_latency),
983         (gst_event_parse_latency):
984         Use quarks to construct and parse events.
985
986         * gst/gstquark.c: (_priv_gst_quarks_initialize):
987         * gst/gstquark.h:
988         Add some more quarks to the table.
989         Emit a warning when the quark tables are not in sync.
990
991         * tests/check/gst/gstbus.c: (GST_START_TEST):
992         Add an assert.
993
994 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
995
996         * plugins/elements/Makefile.am:
997         * plugins/indexers/Makefile.am:
998           Don't install static libs for plugins. Fixes #550851 for core.
999
1000 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
1001
1002         * gst/gstbus.c: (gst_bus_source_finalize),
1003         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
1004         (gst_bus_enable_sync_message_emission),
1005         (gst_bus_disable_sync_message_emission),
1006         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
1007         Fix deadlock, g_source_get_id() cannot be called in finalize.
1008         Keep track of the watch source by keeping a pointer to the source object
1009         instead.
1010         Use the bus lock to protect access to the pointer to the current
1011         watch source.
1012
1013 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1014
1015         Base on Patch by: Olivier Crete <tester at tester dot ca>
1016
1017         * gst/gstbus.c: (gst_bus_source_finalize),
1018         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
1019         Only allow one bus watch to be set at a time. This is necessary
1020         because the dispatcher pops the message from the bus and the second
1021         watcher will then get NULL or the next message (and the first won't
1022         get this next message then, etc). If more than one "watcher" is
1023         required signal watches should be used. Fixes bug #526044.
1024
1025 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
1026
1027         * tools/gst-launch.c:
1028         Change the printing of the 'buffering...' output to avoid putting
1029         a \r in a translateable string (flagged by the TP).
1030
1031 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1032
1033         * gst/gstxml.c:
1034         Clarify that the save_thyself() and restore_thyself() virtual
1035         functions of GstObject need to be overriden, not
1036         gst_object_(save|restore)_thyself() which is impossible.
1037         Fixes bug #555700.
1038
1039 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1040
1041         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
1042         Revert a patch from 21 months ago that broke caps negotiation in pull
1043         mode. Basically, having a buffer pass over a pad will trigger the
1044         setcaps function when caps change, just like in push mode.
1045
1046 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1047
1048         * docs/design/part-negotiation.txt:
1049         Update the docs some more.
1050
1051         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1052         If we pull a buffer with non-trivial caps, suggest those caps with the
1053         max probability.
1054
1055 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1056
1057         * docs/design/part-TODO.txt:
1058         Add another limitation of pad-blocking with segment seeks not pushing
1059         EOS events.
1060
1061 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
1062
1063         * win32/common/libgstbase.def:
1064         * win32/common/libgstreamer.def:
1065         Add new symbols to the win32 defs files
1066
1067 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1068
1069         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
1070         (gst_bin_handle_message_func):
1071         The message src can be NULL, don't try to print the object names in that
1072         case.
1073
1074         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
1075         Add some more debug info.
1076
1077         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
1078         (GST_START_TEST):
1079         Add some debug.
1080         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
1081         scheduling modes.
1082
1083 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
1084
1085         * docs/design/part-negotiation.txt:
1086         Small doc update.
1087
1088         * docs/libs/gstreamer-libs-sections.txt:
1089         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1090         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1091         (gst_base_sink_init), (gst_base_sink_set_blocksize),
1092         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1093         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1094         (gst_base_sink_loop), (gst_base_sink_pad_activate),
1095         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1096         (gst_base_sink_change_state):
1097         * libs/gst/base/gstbasesink.h:
1098         Add blocksize property and methods to control the amount of data
1099         to pull.
1100         Negotiate first before activating upstream in pull mode so that they can
1101         negotiate themselves.
1102         When we operate in pull mode, we only accept the caps that we
1103         negotiated.
1104         Make the sink go ASYNC to PAUSED, like all other sinks.
1105         API: GstBaseSink::gst_base_sink_set_blocksize()
1106         API: GstBaseSink::gst_base_sink_get_blocksize()
1107         API: GstBaseSink::blocksize
1108
1109         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1110         (gst_base_src_set_live), (gst_base_src_is_live),
1111         (gst_base_src_set_format), (gst_base_src_query_latency),
1112         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1113         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1114         (gst_base_src_set_property), (gst_base_src_get_property):
1115         * libs/gst/base/gstbasesrc.h:
1116         Add typechecking in public API functions.
1117         Add methods to control the blocksize in subclasses.
1118         API: GstBaseSrc::gst_base_src_set_blocksize()
1119         API: GstBaseSrc::gst_base_src_get_blocksize()
1120
1121 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1122
1123         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1124         (buffer_probe), (event_probe), (GST_START_TEST):
1125         We now see 3 events go through our pad, since basesink now sends
1126         upstream latency events.
1127
1128 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1129
1130         * gst/gstpipeline.c: (gst_pipeline_change_state):
1131         Release the object lock before trying to flush the bus.
1132
1133 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1134
1135         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1136         Forward LATENCY events upstreams so that elements know about the total
1137         pipeline latency. Fixes #555307.
1138
1139 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1140
1141         * plugins/elements/gstqueue.c:
1142         Allow through queries when we don't know how
1143         to adjust them (not TIME or BYTES), as otherwise it's
1144         not possible to query the current position in order
1145         to seek in other formats at all.
1146
1147 2008-10-08  Andy Wingo  <wingo@pobox.com>
1148
1149         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1150
1151 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1152
1153         * gst/gstghostpad.c:
1154         * gst/gstghostpad.h:
1155         Unbreak -good build, private is a reserved c++ keyword.
1156
1157 2008-10-08  Andy Wingo  <wingo@pobox.com>
1158
1159         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1160         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1161         removal: re-add GST_GHOST_PAD_CAST to the header.
1162
1163         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1164         (GstGhostPadClass): Publically expose these structures so as to
1165         allow easy subclassing from C. Hide the member data behind a
1166         private opaque data pointer.
1167
1168         * gst/gstghostpad.c: Adapt to store instance data in the type
1169         instance's private data region, not in the public struct.
1170
1171 2008-10-08  Andy Wingo  <wingo@pobox.com>
1172
1173         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1174         template via g_object_get(), be sure to unref it.
1175
1176         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1177
1178 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1179
1180         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1181         If we can't get a cache file don't try to save something to it.
1182         Dereferencing NULL pointers usually isn't a good idea.
1183
1184 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1185
1186         * tests/check/Makefile.am:
1187         * tests/check/gst/gstabi.c:
1188         * tests/check/gst/struct_sparc.h:
1189         * tests/check/libs/libsabi.c:
1190         * tests/check/libs/struct_sparc.h:
1191         Add Sparc ABI checks
1192
1193         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1194         Cast signed integer to unsigned to avoid a compiler warning.
1195
1196 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1197
1198         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1199         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1200         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1201         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1202         (gst_byte_reader_peek_int24_be):
1203         Use new GST_READ_UINT24_(LE|BE) macros.
1204
1205 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1206
1207         * docs/gst/gstreamer-sections.txt:
1208         * gst/gstutils.h:
1209         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1210         as it's too easy to break the ISO C strict aliasing rules with simple
1211         casts to the corresponding type and this would introduce hard to debug
1212         bugs. Fixes bug #545714.
1213
1214         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1215
1216 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1217
1218         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1219         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1220           Add 'Since' bits to gtk-doc chunks for new API.
1221
1222 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1223
1224         * docs/gst/gstreamer-sections.txt:
1225         Fix documentation
1226
1227 2008-10-06  Andy Wingo  <wingo@pobox.com>
1228
1229         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1230         that will be called on the malloc_data to free it. Basically a way
1231         to avoid subclassing when all you need is a different free
1232         function, i.e. free() instead of g_free().
1233
1234         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1235         calling the free function.
1236         (gst_buffer_init): Initialize the free function to g_free.
1237
1238 2008-10-06  Andy Wingo  <wingo@pobox.com>
1239
1240         * gst/gstghostpad.h:
1241         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1242         finishes the initialization of ghost pad. Useful for language
1243         bindings and subclassers of GstGhostPad. Fixes #539108.
1244         (gst_ghost_pad_new_full): Use the new constructor.
1245
1246 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1247
1248         Base on Patch by: Olivier Crete <tester at tester dot ca>
1249
1250         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1251         (gst_bin_remove_func), (update_degree),
1252         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1253         Keep track of pads that are being linked/unlinked and resync the state
1254         changes.
1255
1256         * gst/gstpad.c: (gst_pad_get_direction),
1257         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1258         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1259         (gst_pad_link_prepare), (gst_pad_link),
1260         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1261         (gst_pad_check_pull_range), (gst_pad_get_range),
1262         (gst_pad_pull_range):
1263         Some code cleanups, use macros to check pad direction.
1264         Don't need to take the lock on the pad direction.
1265         Post structure change when pads are linked/unlinked.
1266         Change some checks into _return_if_fail().
1267
1268         * tests/check/gst/gstbin.c:
1269         (test_link_structure_change_state_changed_sync_cb),
1270         (GST_START_TEST), (gst_bin_suite):
1271         Add testcase for pad link/unlinke resync during a state change.
1272         Fixes #510354.
1273
1274 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1275
1276         * docs/gst/gstreamer-sections.txt:
1277         * gst/gstmessage.c: (gst_message_new_structure_change),
1278         (gst_message_parse_structure_change):
1279         * gst/gstmessage.h:
1280         Implement STRUCTURE_CHANGED messages. These messages will be used to
1281         signal the parent bin of link/unlink operations that could require a
1282         resync when doing a state change. See ##510354.
1283         API: gst_message_new_structure_change()
1284         API: gst_message_parse_structure_change()
1285
1286 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * gst/gstquark.c:
1289         * gst/gstquark.h:
1290         Add some more quarks for new message. See #510354.
1291
1292 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1293
1294         * docs/libs/gstreamer-libs-docs.sgml:
1295         * docs/libs/gstreamer-libs-sections.txt:
1296         * libs/gst/base/Makefile.am:
1297         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1298         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1299         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1300         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1301         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1302         (gst_bit_reader_skip_to_byte):
1303         * libs/gst/base/gstbitreader.h:
1304         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1305         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1306         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1307         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1308         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1309         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1310         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1311         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1312         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1313         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1314         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1315         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1316         * libs/gst/base/gstbytereader.h:
1317         * tests/check/Makefile.am:
1318         * tests/check/libs/bitreader.c: (GST_START_TEST),
1319         (gst_bit_reader_suite):
1320         * tests/check/libs/bytereader.c: (GST_START_TEST),
1321         (gst_byte_reader_suite):
1322         API: Add bit reader and byte reader classes, including documentation
1323         and an extensive unit test suite. Fixes bug #553554.
1324
1325 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1326
1327         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1328         (gst_base_sink_query):
1329         Improve position reporting while flushing and other intermediate state
1330         changes. Fixes #553874.
1331
1332 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1333
1334         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1335
1336         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1337         Original patch by : Simon Descaries
1338         Fix small refount leak in caps compatibility check.
1339         Fixes #551676.
1340
1341 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1342
1343         * docs/pwg/advanced-request.xml:
1344           Fix 0.8 api usage in example. Fixes #554561
1345
1346         * docs/pwg/appendix-porting.xml:
1347           Change 0.9 to 0.10 here.
1348
1349 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1350
1351         * docs/manual/basics-data.xml:
1352           Change "event-event interaction" to "element-element interaction".
1353           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1354           updates.
1355
1356 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1357
1358         * configure.ac:
1359         Back to development -> 0.10.21.1
1360
1361 === release 0.10.21 ===
1362
1363 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1364
1365         * configure.ac:
1366           releasing 0.10.21, "Take These Things From Me"
1367
1368 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1369
1370         * configure.ac:
1371         0.10.20.4 pre-release
1372
1373 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1374
1375         * libs/gst/base/gstbasetransform.c:
1376         * plugins/elements/gstcapsfilter.c:
1377         * tests/check/Makefile.am:
1378         * tests/check/elements/.cvsignore:
1379         * tests/check/elements/capsfilter.c:
1380         Fix assertion in basetransform when the subclass chooses not to
1381         allocate a buffer in prepare_buffer(), and make capsfilter error out
1382         cleanly if requested to apply caps that don't completely specify the
1383         buffer. Fixes #551509
1384
1385 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1386
1387         * libs/gst/base/gstbasetransform.c:
1388         (gst_base_transform_prepare_output_buffer):
1389         Take new caps ref because our old one might have been gone when the
1390         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1391
1392 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1393
1394         * configure.ac:
1395           Do not probe availability of check unit test library when cross
1396           compiling, as test would not work anyway. Also cleanup verbose output
1397           of the check test. Fixes #551952.
1398
1399 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1400
1401         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1402
1403         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1404         Avoid leaking the parent ref when we fail changing the state of the
1405         element using gst_element_sync_state_with_parent(). Fixes #551978.
1406
1407 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1408
1409         * docs/manual/intro-motivation.xml::
1410           Remove some bits that no longer apply, update others (#551642).
1411
1412 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1413
1414         * configure.ac:
1415         0.10.20.2 pre-release
1416
1417         * po/LINGUAS:
1418         * po/id.po:
1419         * po/pt_BR.po:
1420
1421         New translations.
1422
1423 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1424
1425         * win32/common/config.h.in:
1426           Add GST_DATADIR, hard-code cpu to x86.
1427
1428         * win32/common/libgstreamer.def:
1429           Spaces to tabs.
1430
1431 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1432
1433         * gst/gsttaglist.h:
1434           Fix Since: markers for new geo tags.
1435
1436 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1437
1438         * gst/gsttaglist.h:
1439           Fix actual tag name define after renaming from altitude to elevation.
1440
1441 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1442
1443         * gst/gstpad.c: (add_unref_pad_to_list),
1444         (gst_pad_get_internal_links_default):
1445         Add fallback when calling the deprecated function on an element that
1446         implements the new internal_link handler.
1447
1448 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1449
1450         * docs/gst/gstreamer-sections.txt:
1451         * gst/gsttaglist.c:
1452         * gst/gsttaglist.h:
1453           Add new tags for geo location and clarify purpose of existing location
1454           tag. Fixes #481169
1455
1456 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1457
1458         Patch by: Olivier Crete <tester at tester dot ca>
1459
1460         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1461         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1462         Use thread-safe internal links iterator. Fixes #549504.
1463
1464 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1465
1466         Based on patch by: Olivier Crete <tester at tester dot ca>
1467
1468         * docs/gst/gstreamer-sections.txt:
1469         * win32/common/libgstreamer.def:
1470         * gst/gstpad.c: (gst_pad_init),
1471         (gst_pad_set_iterate_internal_links_function),
1472         (int_link_iter_data_free), (iterate_pad),
1473         (gst_pad_iterate_internal_links_default),
1474         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1475         * gst/gstpad.h:
1476         Add threadsafe replacement functions for getting internal links of an
1477         element. Deprecate the old internal links functions.
1478         API:GstPad::gst_pad_set_iterate_internal_links_function()
1479         API:GstPad::GstPadIterIntLinkFunction
1480         API:GstPad::gst_pad_iterate_internal_links()
1481         API:GstPad::gst_pad_iterate_internal_links_default()
1482
1483         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1484         (gst_proxy_pad_init):
1485         Implement threadsafe internal links.
1486
1487         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1488         Unit test for internal links on tee. See #549504.
1489
1490 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1491
1492         * tests/check/Makefile.am:
1493         libs/transform1 test requires libs/test_transform.c
1494
1495 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1496
1497         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1498         Die evil deadlock, die !
1499
1500 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1501
1502         * gst/gstutils.c: (gst_element_get_compatible_pad):
1503         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1504         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1505         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1506         not steal the refcount of the given caps as stated.
1507
1508         REVERT THIS COMMIT ONCE FIXED !
1509         REVERT THIS COMMIT ONCE FIXED !
1510         REVERT THIS COMMIT ONCE FIXED !
1511         REVERT THIS COMMIT ONCE FIXED !
1512         REVERT THIS COMMIT ONCE FIXED !
1513         REVERT THIS COMMIT ONCE FIXED !
1514
1515 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1516
1517         * gst/gstiterator.c:
1518         * gst/gstiterator.h:
1519         After 3 years it's about time to revise the documentation of the
1520         iterator objects.
1521
1522 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1523
1524         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1525         Make the internal links function less thread-unsafe and add some
1526         comments, dunno why.
1527
1528 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1529
1530         * gst/gst_private.h:
1531           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1532           build with --disable-gst-debug.
1533
1534 2008-08-28  David Schleef  <ds@schleef.org>
1535
1536         * gst/gstpadtemplate.c: Revert last change, since it breaks
1537           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1538           but shouldn't be enabled until we've released fixed versions
1539           of -good and -ffmpeg.
1540
1541 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1542
1543         * gst/gstobject.c:
1544           Put the gst_object_get_name() back in.
1545
1546 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1547
1548         * gst/gstpadtemplate.c:
1549           The old behaviour was that gst_pad_template_new() takes ownership of
1550           the caps. As we now call g_object_new() which calls g_object_set() and
1551           which copies the caps, we have to unref them to not leak them. Fixes
1552           make valgrid for me.
1553
1554 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1555
1556         * gst/gsturi.c:
1557           Don't segfault on input like "tel:+1-123-555-1234".
1558
1559 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1560
1561         * gst/gstobject.c:
1562           Due to popular request also include ObjectType in
1563           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1564
1565 2008-08-26  David Schleef  <ds@schleef.org>
1566
1567         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1568           src_val must be positive, because that's not a requirement.
1569           This causes problems with converting negative granulepos
1570           values for Dirac.
1571         * gst/gstquery.c: Same, gst_query_new_convert().
1572
1573 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1574
1575         * gst/gstclock.c: (gst_clock_add_observation):
1576         Add some more debugging to the clock slaving code.
1577
1578         * win32/common/libgstbase.def:
1579         Add new basetransform method.
1580
1581 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1582
1583         * gst/gstbin.c: (gst_bin_element_set_state):
1584         Take the (recursive) state lock between getting the locked state of an
1585         element and changing the element state. This allows the application to
1586         lock an element's state and then change its state without races.
1587
1588 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1589
1590         * gst/gstbin.c: (gst_bin_element_set_state):
1591         When an element is in the locked state we still want to update the
1592         base_time of the element.
1593
1594 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1595
1596         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1597         Use the result from gst_pad_set_caps() instead of assuming the element
1598         always accepted the caps computed by the default negotiate function.
1599
1600 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1601
1602         * docs/libs/gstreamer-libs-sections.txt:
1603         * libs/gst/base/gstbasetransform.c:
1604         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1605         (gst_base_transform_chain), (gst_base_transform_suggest),
1606         (gst_base_transform_reconfigure):
1607         * libs/gst/base/gstbasetransform.h:
1608         Implement method for reconfiguring basetransform.
1609         API: GstBaseTransform::gst_base_transform_reconfigure()
1610
1611 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1612
1613         patch by: Murray Cumming <murrayc@murrayc.com>
1614
1615         * gst/gstutils.c:
1616           Mention that this is just like gst_buffer_merge() but with extra
1617           unreffing for C coders. Advise language bindings not to wrap it.
1618           Fixes Bug #533856.
1619           
1620           Also fix file comment.
1621
1622 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1623
1624         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1625
1626         * plugins/elements/gstfakesink.c:
1627         * plugins/elements/gstfakesrc.c:
1628           Call super::event() when not handling it. Fixes #544855.
1629
1630 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1631
1632         Patch by: Alessandro Decina <alessandro@nnva.org>
1633         * plugins/elements/gstfilesrc.c:
1634           Use 64 bit variants of stat functions on win32, to enable support
1635           of large files there.
1636           Fixes #547277.
1637
1638 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1639
1640         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1641         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1642         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1643         (gst_base_sink_get_position), (gst_base_sink_change_state):
1644         Improve position reporting in the flushing state.
1645         Also report the position when we are not yet prerolled but we
1646         have a newsegment event. Fixes #543444.
1647         Improve the pull-based negotiation code.
1648
1649         * tests/check/elements/fakesink.c: (GST_START_TEST),
1650         (fakesink_suite):
1651         Add testcase for position reporting while flushing in PAUSED and
1652         PLAYING.
1653
1654         * tests/check/generic/sinks.c: (GST_START_TEST):
1655         Update unit-test, we can now query the position as soon as we receive a
1656         NEWSEGMENT event.
1657
1658 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1659
1660         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1661
1662         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1663         When the subclass event handler releases the PREROLL_LOCK, we could be
1664         in the flushing state and we have to ignore the event. Fixes #548394.
1665
1666 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1667
1668         * tools/gst-launch.1.in:
1669           Document GST_REGISTRY_UPDATE environment variable.
1670
1671 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1672
1673         * libs/gst/base/gstbasetransform.c:
1674         (gst_base_transform_prepare_output_buffer):
1675         If the element is configured in passthrough mode but the
1676         prepare_output_buffer gave us a new output buffer, discard that buffer
1677         and reuse the input buffer.
1678
1679 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1680
1681         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1682
1683         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1684         (gst_tee_request_new_pad), (gst_tee_release_pad),
1685         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1686         * plugins/elements/gsttee.h:
1687         Protect pad_alloc with a new lock so that we can be sure that nothing is
1688         performing a pad_alloc when removing the pad. Fixes #547835.
1689
1690         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1691         (buffer_alloc_harness_teardown), (app_thread_func),
1692         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1693         Added testcase for shutdown race.
1694
1695 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1696
1697         * gst/gstpad.h:
1698         Add doc
1699
1700 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1701
1702         * libs/gst/base/gstbasetransform.c:
1703         (gst_base_transform_prepare_output_buffer),
1704         (gst_base_transform_buffer_alloc):
1705         Go over the buffer_alloc function again and make sure we always end up
1706         allocating a buffer.
1707         Add some more docs.
1708         Avoid doing pad alloc when we have a pending suggestion because we
1709         cannot yet deal with changing caps in that case. Fixes #547728
1710
1711 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1712
1713         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1714
1715         * docs/manual/advanced-clocks.xml:
1716         * docs/manual/clocks.png:
1717         * docs/manual/diagrams-clocks.svg:
1718           Add one more image showing different times together with a describing
1719           paragraph. Fixes #547729.
1720
1721 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1722
1723         * win32/common/libgstbase.def:
1724         Add new method.
1725
1726 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1727
1728         * libs/gst/base/gstbasetransform.c:
1729         (gst_base_transform_transform_caps),
1730         (gst_base_transform_prepare_output_buffer),
1731         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1732         Don't overwrite the outsize when calculating the expected size of a new
1733         buffer because we still need it in case we cannot process the new
1734         buffer.
1735         When converting the size of the new buffer to an upstream size, actually
1736         use the expected size of the buffer, not some other random value.
1737         Use an atomic int to signal that a new upstream caps suggestion is
1738         available.
1739         When we can convert the current buffer to a new format, check if the
1740         buffer size is of the expected size and allocate a new buffer of the
1741         expected size when this is not the case. Fixes #546883.
1742
1743         * tests/check/libs/transform1.c: (GST_START_TEST):
1744         remove ifdeffed code from the unit test.
1745
1746 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1747
1748         * pkgconfig/gstreamer-uninstalled.pc.in:
1749         * pkgconfig/gstreamer.pc.in:
1750           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1751           called gstcontroller-0.10.
1752
1753 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1754
1755         * gst/gstchildproxy.h:
1756         * gst/gstpreset.h:
1757           Remove double interface from doc-string.        
1758
1759 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * libs/gst/base/gstbasesrc.c:
1762         * libs/gst/base/gstbasetransform.c:
1763           Fix headings in docs and gtk-doc warnings.
1764
1765 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1766
1767         * gst/gstregistrybinary.c:
1768           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1769           libc.
1770           Fixes #544776.
1771
1772 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1773
1774         * libs/gst/base/gstbasetransform.c:
1775         (gst_base_transform_buffer_alloc):
1776         Fix a "may be used unitialized" warning.
1777
1778 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1779
1780         * docs/gst/gstreamer-sections.txt:
1781         * gst/gstpreset.h:
1782           Document preset-iface vmethods.
1783
1784 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1785
1786         * docs/manual/advanced-interfaces.xml:
1787           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1788           only used to discover devices.
1789
1790 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1791
1792         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1793
1794         * gst/gst.c: (init_pre):
1795         Make sure gettext returns translations in UTF-8 encoding rather
1796         than in the current locale encoding (#546822).
1797
1798 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1799
1800         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1801         Fix subset test.
1802
1803         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1804         Improve unit test subset tests and add a testcase for the subset failure
1805         cases.
1806
1807         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1808         Improve subtraction unit test.
1809
1810 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1811
1812         * plugins/elements/gsttee.c:
1813           Unlock, instead of locking again.
1814
1815 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1816
1817         * gst/gstpad.h:
1818         Clarify the docs a bit more.
1819
1820 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1821
1822         * tests/examples/metadata/read-metadata.c:
1823           Don't leak old taglist.
1824
1825 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1826
1827         Patch by: Olivier Crete <tester at tester dot ca>
1828
1829         * gst/gststructure.c:
1830         (gst_structure_fixate_field_nearest_fraction):
1831         Avoid overflows in fixation code when dealing with MAXINT values, which
1832         v4l2src seems to do.
1833         Fixes #546328.
1834
1835         * tests/check/gst/gststructure.c: (GST_START_TEST):
1836         Make a unit test to check the fix. 
1837
1838 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1839
1840         * plugins/elements/gstcapsfilter.c: (copy_func),
1841         (gst_capsfilter_set_property):
1842         Use new caps suggestion feature of basetransform to request a caps
1843         negotiation upstream.
1844
1845 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1846
1847         * docs/libs/gstreamer-libs-sections.txt:
1848         Add new function:
1849         API: GstBaseTransform::gst_base_transform_suggest()
1850
1851         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1852         (gst_base_transform_init), (gst_base_transform_transform_caps),
1853         (gst_base_transform_transform_size),
1854         (gst_base_transform_configure_caps),
1855         (gst_base_transform_can_transform),
1856         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1857         (gst_base_transform_prepare_output_buffer),
1858         (gst_base_transform_buffer_alloc),
1859         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1860         (gst_base_transform_chain), (gst_base_transform_activate),
1861         (gst_base_transform_set_passthrough),
1862         (gst_base_transform_is_passthrough),
1863         (gst_base_transform_set_in_place),
1864         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1865         (gst_base_transform_set_qos_enabled),
1866         (gst_base_transform_is_qos_enabled),
1867         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1868         (gst_base_transform_reconfigure):
1869         * libs/gst/base/gstbasetransform.h:
1870         Rewrite of basetransform to perform negotiation outside of the
1871         buffer_alloc functions.  Fixes #545853.
1872
1873         * tests/check/libs/transform1.c: (GST_START_TEST),
1874         (buffer_alloc_ct2):
1875         Update unit test.
1876
1877 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1878
1879         * tests/check/gst/gstpreset.c:
1880           Only run preset tests when $HOME is writable. Preliminary fix for
1881           #545433.
1882
1883 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1884
1885         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1886         (gst_bin_change_state_func), (bin_handle_async_done),
1887         (gst_bin_handle_message_func):
1888         Fix race for bins that simulate ASYNC state changes by inserting
1889         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1890         pending ASYNC messages even when the bin does not have ASYNC children.
1891         We note detect this behaviour because we will receive an ASYNC message
1892         that is originating from the bin itself. 
1893         Fixes races with decodebin2 state changes.
1894
1895         * tests/check/gst/gstbin.c: (GST_START_TEST):
1896         Add some more debug.
1897
1898 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1899
1900         * gst/gsttaglist.c: (_gst_tag_initialize):
1901           Fix typo.
1902
1903 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1904
1905         * gst/gsttaglist.c:
1906           Argh. actually save the text before committing. Now adds
1907           gst_tag_merge_strings_with_comma() to gst_tag_register().
1908
1909 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1910
1911         * gst/gsttaglist.c:
1912         * gst/gsttaglist.h:
1913           Do as tim pointed out and actually register the new tag. Also improve
1914           te docs and use gst_tag_merge_strings_with_comma() method to allow
1915           retriving all keywords merged in one list.
1916
1917 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1918
1919         * configure.ac:
1920         * docs/gst/gstreamer.types:
1921           Revert 'accidential' change of the configure option removal. We still
1922           need to generate the types file in configure --disable-load-save.
1923
1924 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1925
1926         * docs/gst/gstreamer-sections.txt:
1927         * gst/gsttaglist.h:
1928           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1929
1930 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1931
1932         * gst/gstpadtemplate.c:
1933           (gst_pad_template_class_init), (gst_static_pad_template_get),
1934           (gst_pad_template_new), (gst_pad_template_pad_created),
1935           (gst_pad_template_set_property), (gst_pad_template_get_property):
1936           Add "name-template", "direction", "presence" and "caps" properties,
1937           so that gst_pad_template_new() is just a thin wrapper around
1938           g_object_new(), which is better for bindings. (Fixes: #539772)
1939
1940 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1941
1942         * gst/gsturi.c:
1943           Be more liberal in what URIs we accept.
1944           Do not unescape bits of the URI for no apparent reason before passing to
1945           the element. Fixes #545352.
1946
1947 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1948
1949         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1950
1951         * gst/gst.c:
1952         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1953
1954 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1955
1956         * configure.ac:
1957         * docs/gst/gstreamer-sections.txt:
1958         * docs/gst/gstreamer.types:
1959         * docs/gst/gstreamer.types.in:
1960         * gst/Makefile.am:
1961         * gst/gst.c:
1962         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1963         * gst/gstconfig.h.in:
1964         * gst/gstelement.c: (gst_element_get_index):
1965         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1966         (gst_registry_binary_load_feature),
1967         (gst_registry_binary_read_cache):
1968         * gst/gstregistryxml.c: (load_feature),
1969         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1970         * plugins/Makefile.am:
1971         * tools/gst-indent:
1972         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1973         (print_plugin_features), (print_element_features):
1974         * tools/gst-xmlinspect.c: (print_event_masks),
1975         (print_element_info):
1976         * win32/common/gstconfig.h:
1977         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1978
1979         Disabling the indexers and URI handler code will only reduce the
1980         required amount of memory by a very small amount but on the other hand
1981         requires much more maintaince work. Apart from that many places of
1982         code are broken when disabling them.
1983
1984         Disabling the enum types doesn't reduce the required amount of memory
1985         by more than a few bytes and makes it hard to fix bugs like #539772,
1986         i.e. use the enums as GObject properties.
1987
1988 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1989
1990         * docs/design/part-TODO.txt:
1991         Add some thoughts and problems with upstream renegotiation.
1992
1993 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1994
1995         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1996         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1997         Remove silly redundant debug.
1998         Add some more debug info.
1999         Clarify the docs regarding new caps received from pad_alloc.
2000
2001 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2002
2003         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
2004         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
2005         Make setting the caps more threadsafe.
2006
2007 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2008
2009         * docs/design/part-element-transform.txt:
2010         Update docs.
2011
2012 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2013
2014         * plugins/elements/gstqueue.c: (gst_queue_init),
2015         (gst_queue_acceptcaps):
2016         Add and use a custom acceptcaps function instead of falling back to the
2017         potentially less optimized default implementation.
2018
2019 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
2020
2021         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2022           Only sanity-check the buffer size if requested_caps == buffer_caps
2023           (ie. don't take pad caps into account, they're not relevant here)
2024
2025 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2026
2027         * plugins/elements/gsttee.c:
2028         * plugins/elements/gsttee.h:
2029           Reverting as not everything is clear yet. Needs some general design
2030           work.
2031
2032 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2033
2034         * ChangeLog:
2035           ChangeLog surgery for tee commit.
2036
2037 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2038
2039         * docs/gst/gstreamer-sections.txt:
2040           Cleanup section-file.
2041
2042 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
2043
2044         * plugins/elements/gsttee.c:
2045         * plugins/elements/gsttee.h:
2046           Relay tag events in tee. Fixes parts of #474016.
2047           Downgrades 3 reoccurring debugs to log.
2048
2049 2008-07-28  Michael Smith <msmith@songbirdnest.com>
2050
2051         * configure.ac:
2052         * libs/gst/Makefile.am:
2053           Build the net library if we have winsock2.
2054
2055 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
2056
2057         patch by: Luc Pionchon <luc.pionchon@nokia.com>
2058
2059         * docs/manual/advanced-threads.xml:
2060         * docs/manual/diagrams-pipelines.svg:
2061         * docs/manual/hello-world.png:
2062         * docs/manual/linked-elements.png:
2063         * docs/manual/mime-world.png:
2064         * docs/manual/queue.png:
2065         * docs/manual/thread-buffering.png:
2066         * docs/manual/thread-synchronizing.png:
2067           Replace one diagram with two separate ones and updates others.
2068           Fixes #542401.
2069
2070 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2071
2072         * gst/gstelement.h:
2073         Fix link in documentation.
2074
2075 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2076
2077         * gst/gstmessage.c:
2078         Fix confusing documentation.
2079
2080 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2081
2082         * libs/gst/base/gstbasesrc.h:
2083         revert the changes to the header file for the ABI.
2084
2085 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2086
2087         * libs/gst/base/gstbasesrc.c:
2088         * libs/gst/base/gstbasesrc.h:
2089         Don't cache the seekable status.
2090         Fixes bug #544174
2091
2092 2008-07-24  Rene Stadler  <mail@renestadler.de>
2093
2094         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2095         code to close the pipeline graph.  This prevents the program from
2096         printing internal data flow errors.
2097
2098 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2099
2100         * docs/manual/basics-bus.xml:
2101         Correct typo. Fixes bug #544320.
2102
2103 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2104
2105         * configure.ac:
2106           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2107           Add check (taken from -base) for winsock, adds WIN32_LIBS
2108         * gst/Makefile.am:
2109           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2110           winsock.
2111           Define GST_EXPORTS when building libgstreamer (only used on win32)
2112         * gst/gst_private.h:
2113         * gst/gstinfo.h:
2114           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2115           for symbols that we need to export in both these files.
2116         * gst/gstpoll.c:
2117           Include gst_private.h higher up to avoid some compile problems on win32.
2118
2119 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2120
2121         * gst/gstvalue.c:
2122         Fix typos.
2123
2124 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2125
2126         * gst/gstcaps.c:
2127         Previous commit was wrong NULL caps does not exist
2128         and indicate an error, so also add a FIXME to
2129         gst_caps_is_equal where NULL caps are accepted.
2130
2131 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2132
2133         * gst/gstcaps.c:
2134         Allow passing of NULL to gst_caps_union
2135
2136 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2137
2138         * gst/gstghostpad.c:
2139         Add in doc that gst_ghost_pad_set_target can accept
2140         NULL to clear target
2141
2142 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2143
2144         * gst/gstplugin.c:
2145         * gst/gstregistry.c:
2146           GstRegistryPool doesn't exist; don't refer to it in docs.
2147           Don't refer to functions that don't exist in docs, it's
2148           unhelpful.
2149
2150 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2151
2152         * gst/gst.c:
2153         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2154
2155 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2156
2157         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2158
2159         * docs/pwg/building-testapp.xml:
2160         Don't use an undeclared variable in the example program.
2161         Fixes bug #542573.
2162
2163 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * gst/gstdebugutils.c:
2166           Squeeze ghost-pad links and remove <> from classname labels to save
2167           more horizontal space.
2168
2169 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2170
2171         * gst/gstdebugutils.c:
2172           Give request and sometimes pads a different shpe style. Condense the
2173           graphs a little more.
2174
2175 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2176
2177         * configure.ac:
2178           Don't require flex and bison if the parser is disabled.
2179
2180 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2181
2182         * libs/gst/controller/gstinterpolationcontrolsource.c:
2183         (_list_find_sorted_custom):
2184         Don't use declarations after statements.
2185
2186 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2187
2188         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2189         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2190         of the the child-added / -removed signals as GstChildProxy
2191         only supports GstObjects.
2192
2193 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2194
2195         * gst/gstdebugutils.c:
2196         Fix memleak
2197
2198 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2199
2200         Patch by: Alessandro Decina <alessandro at nnva dot org>
2201
2202         * gst/gstpoll.c:
2203         Fix "ignored return value" compiler warning with newer glibc.
2204
2205 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2206
2207         * gst/gstchildproxy.c:
2208         Fix copy&paste error in gst_child_proxy_removed() documentation.
2209
2210 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2211
2212         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2213           Print error debug message if plugin description fields that should
2214           be set are NULL.
2215
2216         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2217           Don't crash if the string to serialise is NULL (it really should
2218           not be, but apparently this used to work with the xml registry ...).
2219
2220 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2221
2222         * tools/gst-plot-timeline.py:
2223         Fix parsing of log messages
2224
2225 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2226
2227         * win32/common/libgstbase.def::
2228           Sort alphabetically so make check-exports doesn't barf.
2229
2230 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2231
2232         * gst/gstevent.c:
2233           Use gst_format_get_name() to improve debug output.
2234
2235         * gst/gstpreset.c:
2236           Remove #ifdef'ed code. Add TODO comment.
2237
2238         * gst/gstsegment.c:
2239           Add debug output to ease spotting format != segment.format assertions.
2240
2241 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2242
2243         * tests/check/libs/gdp.c: (gst_dp_suite):
2244         Also enable the GDP unit test again on PPC now that the bug
2245         is fixed.
2246
2247 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2248
2249         * libs/gst/dataprotocol/dataprotocol.c:
2250         Don't write to the same region of memory as a uint64 and uint16
2251         as this breaks strict aliasing rules and apparantly breaks on PPC
2252         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2253
2254 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2255
2256         * libs/gst/controller/gstinterpolationcontrolsource.c:
2257           Optimize list handling. Use own find function. Exploit that fact that
2258           the list is sorted. Also pass back the node before, so that we can
2259           insert quickly. Have a fast path for append.
2260
2261 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2262
2263         * docs/design/draft-framestep.txt:
2264         * docs/design/part-negotiation.txt:
2265           Fix two typos.
2266
2267 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2268
2269         * configure.ac:
2270           Show configuration sumary after configure run. Based on patch by
2271           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2272
2273 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2274
2275         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2276
2277         * docs/manual/advanced-autoplugging.xml:
2278         * docs/manual/advanced-threads.xml:
2279         * docs/manual/basics-bins.xml:
2280         * docs/manual/basics-elements.xml:
2281         * docs/manual/basics-helloworld.xml:
2282         * docs/manual/basics-pads.xml:
2283           Add scale factor for pdf output.
2284
2285         * docs/manual/intro-basics.xml:
2286           Switched sections "pads" and "bins" and added a pipeline diagram.
2287
2288         * docs/manual/intro-gstreamer.xml:
2289           Added more info on gstreamer.
2290
2291         * docs/manual/intro-motivation.xml:
2292           Commented out the whole section "current problem", which sounds
2293           historical and somehow osolete; it could be turned in a positive
2294           way and reused to improve the design principles.
2295
2296         * docs/manual/intro-preface.xml:
2297           - Update URLs to library.gnome.org. 
2298           - Do not mention GTK+ in preliminary reading (irrelevant). 
2299           - Mention Plugin Writer's Manual and further reading only in the
2300             previous section.
2301           - Added a list of most relevant GObject/glib topics.
2302
2303         * docs/manual/Makefile.am:
2304         * docs/manual/bin-element-ghost.fig:
2305         * docs/manual/bin-element-ghost.png:
2306         * docs/manual/bin-element-noghost.fig:
2307         * docs/manual/bin-element-noghost.png:
2308         * docs/manual/bin-element.fig:
2309         * docs/manual/bin-element.png:
2310         * docs/manual/filter-element-multi.fig:
2311         * docs/manual/filter-element-multi.png:
2312         * docs/manual/filter-element.fig:
2313         * docs/manual/filter-element.png:
2314         * docs/manual/gstreamer-overview.png:
2315         * docs/manual/hello-world.fig:
2316         * docs/manual/hello-world.png:
2317         * docs/manual/linked-elements.fig:
2318         * docs/manual/linked-elements.png:
2319         * docs/manual/mime-world.fig:
2320         * docs/manual/mime-world.png:
2321         * docs/manual/queue.fig:
2322         * docs/manual/queue.png:
2323         * docs/manual/simple-player.png:
2324         * docs/manual/sink-element.fig:
2325         * docs/manual/sink-element.png:
2326         * docs/manual/src-element.fig:
2327         * docs/manual/src-element.png:
2328         * docs/manual/diagrams-general.svg:
2329         * docs/manual/diagrams-pipelines.svg:
2330           Removed .fig, added .png counterpart.
2331           
2332           Fixes: #539137
2333
2334 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2335
2336         * plugins/elements/gstmultiqueue.c:
2337         * plugins/elements/gstmultiqueue.h:
2338         revert extra-size-buffers stuff, caused some race conditions
2339         and extra-size-buffers is not used anymore. Docs needs some updates
2340
2341 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2342
2343         * win32/common/config.h:
2344         * win32/common/gstenumtypes.c:
2345         * win32/common/gstenumtypes.h:
2346         * win32/common/gstversion.h:
2347           Update win32 files.
2348
2349 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2350
2351         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2352           (GST_DEBUG_BIN_TO_DOT_FILE):
2353           Add missing Since' markers to gtk-doc blurbs.
2354
2355 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2356
2357         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2358         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2359         (set_caps_1), (set_caps_ct1), (transform_ct1),
2360         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2361         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2362         (transform_size_ct2), (buffer_alloc_ct2):
2363         Add some more tests with switching caps in buffer_alloc.
2364
2365 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2366
2367         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2368         (gst_test_trans_class_init), (result_sink_chain),
2369         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2370         (gst_test_trans_push), (gst_test_trans_pop):
2371         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2372         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2373         (set_caps_1), (set_caps_ct1), (transform_ct1),
2374         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2375         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2376         (transform_size_ct2), (buffer_alloc_ct2),
2377         (gst_basetransform_suite):
2378         More tests, prepare for tests with switching caps in buffer_alloc.
2379
2380 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2381
2382         * plugins/elements/gstmultiqueue.c:
2383         * plugins/elements/gstmultiqueue.h:
2384         Fix dead-lock in underrun_cb
2385
2386 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2387
2388         * docs/design/part-states.txt:
2389         Fix device open/close docs.
2390
2391 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2392
2393         * ChangeLog:
2394           Mention bugnumber for last commit.
2395
2396 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2397
2398         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2399
2400         * docs/manual/manual.xml:
2401         - Reorganised the previous "introduction" bundle into Foreword,
2402         Introduction, and About GStreamer. The two first are <preface>
2403         docbook elements. The later is the first part of the book.
2404         - added intro-gstreamer.xml (content partially from
2405         intro-preface.xml)
2406         - moved appendix-win32.xml into appendix-integration.xml
2407
2408         * docs/manual/intro-preface.xml: gstreamer section moved...
2409         * docs/manual/intro-gstreamer.xml: ...here. new file.
2410
2411         * docs/manual/appendix-win32.xml: removed file. Content moved...
2412         * docs/manual/appendix-integration.xml: ...here.
2413         
2414         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2415         * docs/manual/appendix-checklist.xml: ...here.
2416         
2417         Fixes: 538764
2418
2419 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2420
2421         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2422
2423         * docs/manual/basics-helloworld.xml:
2424         * docs/manual/hello-world.fig:
2425           - Explicitely include glib.h.
2426           - Do not use global variables.
2427           - Use g_printerr() instead of g_print().
2428           - Minor formating/renaming to increase readibility.
2429           - Renamed new_pad() to on_pad_added()
2430           - Improved explenatory comments.
2431           - renamed ogg parser to ogg demuxer
2432           - Use "autoaudiosink" instead of "alsasink".
2433           Fixes: #538619
2434
2435 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2436
2437         * ChangeLog:
2438           Remove cvs conflict marker.
2439
2440 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2441
2442         * docs/README:
2443           Document that for plgin-docs we extraxt he short-desc from the element
2444           details.
2445
2446         * docs/design/part-states.txt:
2447           Tell that devices should be closed in PAUSED -> READY.
2448
2449         * docs/manual/README:
2450           Document how tests in the manual are handled.
2451
2452         * docs/manuals.mak:
2453           Typo in comment.
2454
2455 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2456
2457         * gst/gstbin.c: (bin_query_latency_fold):
2458         Only care about latency min and max when the sink is actually a live
2459         sink.
2460
2461 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2462
2463         * docs/design/part-block.txt:
2464         Fix typo.
2465
2466         * docs/design/part-element-transform.txt:
2467         Add notes about why transform needs to know input/output sizes.
2468         Add some issues that need to be solved.
2469         Add some more use cases.
2470
2471         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2472         (gst_test_trans_class_init), (result_sink_chain),
2473         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2474         (gst_test_trans_push), (gst_test_trans_pop):
2475         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2476         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2477         (set_caps_1), (set_caps_ct1), (transform_ct1),
2478         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2479         (gst_basetransform_suite):
2480         Add suport for different pad templates and buffer-alloc.
2481         Add more checks for caps and buffer-alloc.
2482         Add checks for proxy buffer alloc.
2483         Add unit test for copy transform.
2484
2485 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2486
2487         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2488
2489         * docs/manual/appendix-integration.xml:
2490         * docs/manual/appendix-licensing.xml:
2491         * docs/manual/basics-elements.xml:
2492         * docs/manual/basics-helloworld.xml:
2493         * docs/manual/basics-pads.xml:
2494         * docs/manual/highlevel-components.xml:
2495         * docs/manual/highlevel-xml.xml:
2496         * docs/manual/intro-basics.xml:
2497         * docs/manual/intro-preface.xml:
2498           Typo and formatting fixes (#538594).
2499
2500 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2501
2502         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2503         Fix some memory leaks and uses of object instances that we don't
2504         actually own.
2505
2506 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2507
2508         * plugins/elements/gstmultiqueue.c:
2509         Add functionality to extra-size-buffers property.
2510
2511 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2512
2513         * plugins/elements/gstmultiqueue.c:
2514         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2515         activate the pads if they are added in STATE_NULL.
2516
2517 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2518
2519         * docs/libs/gstreamer-libs-sections.txt:
2520         Add new API to doc
2521         * libs/gst/check/gstcheck.c:
2522         * libs/gst/check/gstcheck.h:
2523         API: gst_check_teardown_pad_by_name
2524
2525 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2526
2527         * libs/gst/check/gstcheck.c:
2528         * libs/gst/check/gstcheck.h:
2529         Also setup request pads and allow setup pads by name (#537812)
2530         API: gst_check_setup_src_pad_by_name
2531         API: gst_check_setup_sink_pad_by_name
2532
2533 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2534
2535         * tests/check/gst/gstbuffer.c:
2536         * tests/check/pipelines/parse-launch.c:
2537           Use HAVE_VALGRIND_H some more.
2538
2539 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2540
2541         * scripts/cvs-update.sh:
2542           Pass arguments to make.
2543           Run autoregen.sh if Makefile is not there.
2544
2545 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2546
2547         * configure.ac:
2548         * gst/gstinfo.c:
2549           Don't assume that <valgrind/valgrind.h> exists just because
2550           the binary is there.
2551
2552 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2553
2554         * tests/check/Makefile.am:
2555         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2556         (gst_test_trans_class_init), (gst_test_trans_init),
2557         (gst_test_trans_set_data), (result_sink_chain),
2558         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2559         (gst_test_trans_pop):
2560         * tests/check/libs/transform1.c: (GST_START_TEST),
2561         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2562         Add some test basetransform element and the beginnings of various
2563         unit tests for it.
2564
2565 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2566
2567         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2568         Increase code readability.
2569         Don't try to compare buffer offsets when ther are invalid.
2570
2571 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2572
2573         * docs/design/Makefile.am:
2574           Dist some more design docs.
2575
2576         * docs/random/moving-plugins:
2577           Small addition: good plugins mustn't have functional code
2578           within assertion macros.
2579
2580 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2581
2582         * docs/design/draft-framestep.txt:
2583         Some ideas about a framestep API
2584
2585         * docs/design/part-element-transform.txt:
2586         Start design and use cases for basetransform in order to get it
2587         fixed soon.
2588
2589 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2590
2591         * gst/gsttaglist.h:
2592           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2593           be in UTF-8 encoding.
2594
2595 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2596
2597         * gst/gstbus.c:
2598           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2599
2600 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2601
2602         * plugins/elements/gstcapsfilter.c:
2603         * plugins/elements/gstfakesink.c:
2604         * plugins/elements/gstfakesrc.c:
2605         * plugins/elements/gstfdsink.c:
2606         * plugins/elements/gstfdsrc.c:
2607         * plugins/elements/gstfilesink.c:
2608         * plugins/elements/gstfilesrc.c:
2609         * plugins/elements/gstidentity.c:
2610         * plugins/elements/gstmultiqueue.c:
2611         * plugins/elements/gstqueue.c:
2612         * plugins/elements/gsttee.c:
2613         * plugins/elements/gsttypefindelement.c:
2614           Remove short_description. Add basic docs for gsttypefindelement.
2615           Simplify markup for fakesrc/fdsrc.
2616
2617 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2618
2619         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2620         Added Since doc.
2621
2622 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2623
2624         Patch by: Joel Larsson <tilljoel at gmail dot com>
2625
2626         * docs/plugins/gstreamer-plugins.args:
2627         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2628         (gst_fd_src_init), (gst_fd_src_update_fd),
2629         (gst_fd_src_set_property), (gst_fd_src_get_property),
2630         (gst_fd_src_create):
2631         * plugins/elements/gstfdsrc.h:
2632         Add timeout property like udpsrc. Fixes #538628.
2633         Add some more docs and example pipelines.
2634
2635 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2636
2637         * docs/libs/gstreamer-libs-sections.txt:
2638         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2639         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2640         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2641         (gst_base_sink_do_sync):
2642         * libs/gst/base/gstbasesink.h:
2643         * win32/common/libgstbase.def:
2644         Add method to allow sinks to specify additional delay between the sync
2645         times and the actual rendering of the data.
2646         API: gst_base_sink_set_render_delay()
2647         API: gst_base_sink_get_render_delay()
2648
2649 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2650
2651         * configure.ac:
2652         Bump version number back to dev -> 0.10.20.1
2653
2654 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2655
2656         * docs/gst/gstreamer-sections.txt:
2657         * gst/gsttaglist.c: (_gst_tag_initialize):
2658         * gst/gsttaglist.h:
2659         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2660         Fixes bug #538568.
2661
2662 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2663
2664         * libs/gst/controller/gstcontroller.c:
2665           Revert one change, that make ret value possible uninitialized.
2666
2667 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2668
2669         * libs/gst/controller/gstcontroller.c:
2670           Use freeze/thaw notify to sync notify emission a bit (its also more
2671           efficient). Move debug output to LOG (is called a lot in a loop).
2672           Always unset g_values if the have been initialized.
2673
2674 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2675
2676         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2677         (gst_base_sink_wait_eos), (gst_base_sink_event):
2678         If we have not seen a buffer before EOS, use the segment values to
2679         report the current position instead of invalid positions.
2680
2681 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2682
2683         * docs/plugins/tmpl/.cvsignore:
2684         * tests/check/gst/.cvsignore:
2685           Ignore more.
2686
2687 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2688
2689         * libs/gst/controller/gstinterpolation.c:
2690         * libs/gst/controller/gstinterpolationcontrolsource.c:
2691         * tests/check/libs/controller.c:
2692           Rewrite handling of default values. Fix overflow with unsigned types
2693           in linear interpolation. Remove now obsolete _first_value() function.
2694           Add more tests. Fixes #538201.
2695
2696 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2697
2698         * libs/gst/base/gstbasetransform.c:
2699         (gst_base_transform_class_init), (gst_base_transform_init),
2700         (gst_base_transform_transform_caps),
2701         (gst_base_transform_prepare_output_buffer):
2702         Add debug info.
2703         When a buffer is writable, its metadata is also writable so we don't
2704         need to subbuffer (which then makes the buffer not-writable anymore).
2705
2706 === release 0.10.20 ===
2707
2708 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2709
2710         * configure.ac:
2711           releasing 0.10.20, "You Crazy Diamond"
2712
2713 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2714
2715         * configure.ac:
2716         0.10.19.3 pre-release
2717
2718 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2719
2720         * configure.ac:
2721         * gst/gstpreset.c:
2722         Rename DATADIR to GST_DATADIR to avoid build problems
2723         on win32. Patch By: David Schleef <ds@schleef.org>
2724         Fixes: #536857
2725
2726 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2727
2728         * configure.ac:
2729         Explicitely link with -ldl if dladdr() is found there. Before it was
2730         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2731         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2732
2733 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2734
2735         * gst/gsterror.c: (_gst_stream_errors_init):
2736           Fix typo (spotted by Fabricio Godoy, #536723).
2737
2738 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2739
2740         * configure.ac:
2741         0.10.19.2 pre-release
2742
2743 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2744
2745         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2746         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2747         Add some debug.
2748         Make sure we don't generate invalid QoS messages.
2749
2750 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2751
2752         * gst/gstevent.c: (gst_event_new_qos):
2753         Add some assert and docs for invalid input to the qos function.
2754
2755 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2756
2757         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2758         (gst_base_sink_get_position):
2759         The reported position must always be smaller than the last seen
2760         timestamps (or timestamp + duration for reverse).
2761
2762 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2763
2764         Patch by: Rob Bradford <rob at robster dot org dot uk>
2765
2766         * gst/gstregistry.c: (gst_registry_scan_path_level):
2767         Don't recurse into .debug directories as some distros install
2768         the debugging symbols next to the plugins in .debug directories
2769         and dlopen() crashes on them sometimes. Fixes bug #508070.
2770
2771         Add FIXME for 0.11 to not recurse into directories at all because
2772         it's very inconsistent to the behaviour of other PATH environment
2773         variables.
2774
2775 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2776
2777         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2778         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2779         Fix position query range checks in reverse playback.
2780
2781 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2782
2783         * gst/gstelement.c:
2784         * gst/gstelement.h:
2785         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2786         clear of the reference to the resulting pad must be released later
2787         or not, resulting in possible leaks. Fixes bug #533865.
2788
2789 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2790
2791         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2792
2793         * gst/gstelementfactory.c:
2794         Small doc fix. Fixes #535285.
2795
2796 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2797
2798         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2799
2800         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2801         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2802         (gst_base_src_loop), (gst_base_src_set_flushing),
2803         (gst_base_src_change_state):
2804         Make sending an EOS event to the basesrc non-blocking even if the
2805         implementation does blocking waits in the create function. This is done
2806         by unlocking the create function when EOS is sent.
2807         Fixes #535218.
2808
2809 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2810
2811         * tools/gst-inspect.c: (print_element_properties_info):
2812         If possible print the element type of GValueArray properties.
2813
2814 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2815
2816         * gst/gstiterator.c:
2817         Remove an unused field from the private GstListIterator struct.
2818
2819 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2820
2821         * libs/gst/controller/gstcontroller.c:
2822           Add parameter guards.
2823
2824 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2825
2826         * tests/check/gst/gstpipeline.c:
2827           Revert test change and add comment why it should not work.
2828
2829 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2830
2831         * tests/check/gst/gstpipeline.c:
2832           Extending the test a little to verify that we also get the NULL state-
2833           change message.
2834
2835 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2836
2837         * gst/gstpreset.c: (gst_preset_default_get_meta),
2838           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2839           (gst_preset_load_preset), (gst_preset_save_preset),
2840           (gst_preset_rename_preset), (gst_preset_delete_preset),
2841           (gst_preset_set_meta):
2842           Add Since: markers to docs blurbs.
2843
2844         * win32/common/libgstreamer.def:
2845           Add recently-added API.
2846
2847 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2848
2849         Patch by: Stefan Kost  <ensonic@users.sf.net>
2850
2851         * configure.ac:
2852         Add DATADIR for storing presets.
2853
2854         * docs/gst/gstreamer-docs.sgml:
2855         * docs/gst/gstreamer-sections.txt:
2856         * docs/gst/gstreamer.types.in:
2857         Add GstPreset to docs.
2858
2859         * gst/Makefile.am:
2860         * gst/gst.h:
2861         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2862         (preset_open_and_parse_header), (preset_parse_version),
2863         (preset_merge), (preset_get_keyfile),
2864         (gst_preset_default_get_preset_names),
2865         (gst_preset_default_get_property_names),
2866         (gst_preset_default_load_preset),
2867         (gst_preset_default_save_presets_file),
2868         (gst_preset_default_save_preset),
2869         (gst_preset_default_rename_preset),
2870         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2871         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2872         (gst_preset_default_reset), (gst_preset_get_preset_names),
2873         (gst_preset_get_property_names), (gst_preset_load_preset),
2874         (gst_preset_save_preset), (gst_preset_rename_preset),
2875         (gst_preset_delete_preset), (gst_preset_set_meta),
2876         (gst_preset_get_meta), (gst_preset_class_init),
2877         (gst_preset_base_init), (gst_preset_get_type):
2878         * gst/gstpreset.h:
2879         Add GstPreset to core. Fixes #396779
2880
2881         * tests/check/Makefile.am:
2882         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2883         (gst_preset_test_set_property), (gst_preset_test_class_init),
2884         (gst_preset_test_base_init), (gst_preset_test_get_type),
2885         (gst_preset_test_plugin_init), (GST_START_TEST),
2886         (remove_preset_file), (test_setup), (test_teardown),
2887         (gst_preset_suite):
2888         Add GstPreset unit tests.
2889
2890 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2891
2892         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2893         The default event function on a sinkpad should return TRUE when
2894         there are no internal links but should collect the return values from
2895         the internal links otherwise.
2896
2897 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2898
2899         * plugins/elements/gsttypefindelement.c:
2900         (gst_type_find_element_src_event),
2901         (gst_type_find_element_handle_event):
2902         Use faster and safer _pad_push_event().
2903
2904 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2905
2906         * docs/gst/gstreamer-sections.txt:
2907         * gst/gstutils.c: (element_find_unlinked_pad),
2908           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2909         * gst/gstutils.h:
2910           API: add gst_bin_find_unlinked_pad()
2911           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2912
2913 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2914
2915         * gst/gstclock.c:
2916         * gst/gstclock.h:
2917         * gst/gsttask.c:
2918         * gst/gsttask.h:
2919         Fixed a bunch of typos.
2920
2921 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2922
2923         * gst/gstpad.h:
2924         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2925           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2926           (gst_parse_bin_from_description_full):
2927         * gst/gstutils.h:
2928           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2929
2930 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2931
2932         * docs/pwg/advanced-tagging.xml:
2933           Small docs update, can't be bothered to rewrite the nonsensical
2934           examples right now.
2935
2936 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2937
2938         * gst/gstevent.h:
2939           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2940
2941 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2942
2943         * gst/parse/grammar.y:
2944           Remove unneeded casts.
2945
2946 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2947
2948         * gst/parse/grammar.y:
2949         * tests/check/pipelines/parse-launch.c:
2950           Get all missing elements from a parse launch string if possible
2951           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2952
2953 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2954
2955         * tests/check/Makefile.am:
2956         * tests/check/pipelines/parse-launch.c:
2957           Add some unit tests for the new gst_parse_launch*_full() API.
2958           (Exposes a previously-existing memory leak in the error code
2959           path, so adding to VALGRIND_TO_FIX for now).
2960
2961 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2962
2963         * docs/gst/gstreamer-sections.txt:
2964         * gst/gst.c: (init_post):
2965         * gst/gst_private.h: (_GstParseContext):
2966         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2967           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2968           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2969           (gst_parse_launch_full):
2970         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2971           (GstParseFlags), (GstParseContext):
2972         * gst/gstutils.c: (gst_parse_bin_from_description),
2973           (gst_parse_bin_from_description_full):
2974         * gst/gstutils.h:
2975         * gst/parse/grammar.y:
2976         * gst/parse/types.h:
2977         * win32/common/libgstreamer.def:
2978           Add new gst_parse_*_full API (#528178):
2979           API: gst_parse_launch_full()
2980           API: gst_parse_launchv_full()
2981           API: gst_parse_bin_from_description_full()
2982           API: gst_parse_context_new()
2983           API: gst_parse_context_free()
2984           API: gst_parse_context_get_missing_elements()
2985
2986 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2987
2988         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2989
2990         * docs/faq/gst-uninstalled:
2991           Also support ffmpeg in gst-uninstalled.
2992
2993 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2994
2995         * configure.ac:
2996         After discussion on IRC use the binary registry as default
2997         but allow to disable it with --disable-binary-registry.
2998
2999         * win32/common/libgstreamer.def:
3000         Add the two new symbols for the binary registry.
3001
3002 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
3003
3004         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
3005         * gst/gstutils.c: (gst_parse_bin_from_description):
3006         * gst/parse/grammar.y: (graph):
3007           More guards against bad input; typo fix; some minor clean-ups.
3008
3009 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3010
3011         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3012
3013         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3014         If nothing else can be used, use the last buffer's start time as
3015         the segment's last stop. Fixes bug #534258.
3016
3017 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
3018
3019         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3020           Move size sanity check to the right place: downstream may return
3021           a buffer with a smaller size if the buffer caps are different than
3022           the requested ones, as may happen when doing reverse negotiation.
3023
3024 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3025
3026         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
3027         (gst_file_sink_render):
3028         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
3029         (gst_file_src_start):
3030         Small cleanups. Add note adbout g_fopen() on windows and why we don't
3031         use it yet.
3032
3033 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3034
3035         * gst/gstpad.c: (gst_pad_load_and_link):
3036         * gst/gstutils.c: (gst_element_link_pads),
3037         (gst_element_unlink_pads):
3038         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3039         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3040         (gst_check_teardown_sink_pad),
3041         (gst_check_element_push_buffer_list):
3042         * tests/check/elements/fakesink.c: (GST_START_TEST):
3043         * tests/check/elements/filesink.c:
3044         * tests/check/elements/filesrc.c: (GST_START_TEST):
3045         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3046         (mq_sinkpad_to_srcpad):
3047         * tests/check/elements/tee.c: (GST_START_TEST):
3048         * tests/check/generic/sinks.c: (GST_START_TEST):
3049         * tests/check/gst/gstbin.c: (GST_START_TEST):
3050         * tests/check/gst/gstevent.c: (GST_START_TEST):
3051         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3052         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
3053         * tests/check/gst/gstquery.c: (GST_START_TEST):
3054         * tests/check/gst/gstutils.c: (GST_START_TEST):
3055         * tests/check/libs/basesrc.c: (GST_START_TEST):
3056         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
3057         (gst_parse_test_element_change_state):
3058         Don't use gst_element_get_pad().
3059
3060 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
3061
3062         * docs/Makefile.am:
3063         Fix installing plugin documentation when gtk-doc is disabled.
3064
3065 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3066
3067         * docs/manual/advanced-autoplugging.xml:
3068         * docs/manual/basics-helloworld.xml:
3069         * docs/manual/basics-pads.xml:
3070         * docs/manual/highlevel-components.xml:
3071         Avoid using a bad function in the example code.
3072
3073 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3074
3075         * gst/gstclock.c: (gst_clock_set_calibration):
3076         Fix debug of the new clock rate.
3077
3078 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3079
3080         * win32/common/libgstbase.def:
3081         Add gst_base_sink_wait_clock() to the exported symbols.
3082
3083 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
3084
3085         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
3086
3087         * libs/gst/base/gstbasetransform.c:
3088         (gst_base_transform_sink_event):
3089         Unref events that the GstBaseTransform::event vfunc didn't want to
3090         have forwarded by the base class. Closes a leak in identity.
3091         Fixes bug #446763.
3092
3093 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3094
3095         * docs/libs/gstreamer-libs-sections.txt:
3096         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3097         * libs/gst/base/gstbasesink.h:
3098         Expose a method that was previously used internally to synchronize
3099         against the clock because it can be useful for subclasses too.
3100         API: GstBaseSink::gst_base_sink_wait_clock()
3101
3102 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3103
3104         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3105           Add sanity check to make sure we don't get smaller buffers
3106           than requested (and fallback to normal buffer alloc if we do).
3107
3108 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3109
3110         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3111         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3112         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3113         Refactor adjusting the running_time with latency and offset into a
3114         separate method.
3115         When doing clipping, we still want to use the subclass get_times method,
3116         just in case the DURATION or TIMESTAMP are not set.
3117
3118 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3119
3120         * docs/gst/gstreamer-sections.txt:
3121         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3122         * gst/gsttypefind.h:
3123         * win32/common/libgstreamer.def:
3124           API: add gst_type_find_suggest_simple(), #533740.
3125
3126 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3127
3128         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3129           Use right error code when typefinding fails, so we can use
3130           the default (translated) error messages.
3131
3132 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3133
3134         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3135         (gst_base_src_start):
3136         When the subclass did not set caps on outgoing buffers, configure the
3137         caps we negotiated on the source pad.
3138         When the typefind helper does not find caps, error out properly instead
3139         of doing things with NULL caps.
3140
3141 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3142
3143         * gst/gsttypefind.h:
3144           Tabs to spaces, oh yes!
3145
3146 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3147
3148         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3149           Add David's and Benjamin's tests for array intersection to the
3150           unit test suite (#147931).
3151
3152 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3153
3154         * gst/gstevent.c:
3155           Document that gst_event_new_tag() and gst_event_new_navigation()
3156           take ownership of the taglist/structure passed to them. (#533635).
3157
3158 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3159
3160         * docs/Makefile.am:
3161         Don't descend into the plugins dir if plugin docs building
3162         is disabled.
3163
3164         * docs/README:
3165         Add a note about the new type:GTypeName syntax for the plugin
3166         documentation .types file.
3167
3168 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3169
3170         * gst/gstmessage.c: (gst_message_new_error),
3171         (gst_message_new_warning), (gst_message_new_info):
3172         * gst/gstmessage.h:
3173         Mark the debug string parameters as const. Fixes bug #533490.
3174
3175 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3176
3177         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3178         Sort buffer cache list by end offsets. This makes sure that we don't
3179         stop to search for a cached buffer that contains the requested data
3180         too early.
3181         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3182         more efficient. Fixes bug #459862.
3183
3184 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * gst/gstinfo.c:
3187           Explain why we copy the list.
3188
3189         * gst/gstpipeline.c:
3190           Improve docs.
3191
3192         * gst/gstutils.c:
3193           Add one debug-log statement to help tracing probelms with linking pads.
3194
3195 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3196
3197         * tests/check/gst/gstinfo.c:
3198         Add a test for removing the default log handler. Seems to fail under
3199         windows.
3200
3201 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3202
3203         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3204         Release pad lock before calling out to avoid a possible deadlock.
3205
3206 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3207
3208         * gst/parse/grammar.y:
3209         Remove unneeded value unset.
3210
3211         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3212         Add unit test for de/serialization of caps.
3213
3214 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3215
3216         * plugins/elements/gstfakesink.c:
3217         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3218         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3219         (gst_fake_src_class_init):
3220         Use custom marshalers that take GstMiniObject as first parameter.
3221         Using OBJECT as parameter while a GstMiniObject is given will lead
3222         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3223
3224 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3225
3226         * plugins/elements/gsttypefindelement.c:
3227         (gst_type_find_element_handle_event),
3228         (gst_type_find_element_send_cached_events),
3229         (gst_type_find_element_change_state):
3230         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3231         immediately.
3232
3233 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3234
3235         * plugins/elements/gsttypefindelement.c:
3236         (gst_type_find_handle_src_query), (stop_typefinding),
3237         (gst_type_find_element_handle_event),
3238         (gst_type_find_element_send_cached_events),
3239         (gst_type_find_element_change_state):
3240         Forward FLUSH_START events immediately and clean up instead of
3241         caching them.
3242
3243 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3244
3245         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3246
3247         * libs/gst/base/gstbasetransform.c:
3248         (gst_base_transform_buffer_alloc):
3249         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3250         fall back to default negotiation in the chain function if the caps
3251         are different from what was requested. Fixes bug #526768.
3252
3253 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3254
3255         * gst/gstsegment.c:
3256         * tests/check/gst/gstsegment.c:
3257           No, let's not use g_slice_{dup|copy} here, since they only exist
3258           since GLib 2.14 and we still depend only on >= 2.12. Also add
3259           unit test for gst_segment_copy().
3260
3261 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3262
3263         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3264           Try to fix 'dereferencing type-punned pointer will break strict
3265           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3266           changed the default GType typedef from gulong to gsize at some point,
3267           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3268           g_once_* functions all take a gsize * though, so work around the type
3269           mismatch for C++ by doing everything in gsize and casting to GType
3270           later.
3271
3272 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3273
3274         * plugins/elements/gstmultiqueue.c:
3275         Add documentation for the signals to push our core plugin docs
3276         coverage back up to 100%.
3277
3278 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3279
3280         * gst/gstinfo.h (GST_FUNCTION):
3281           Reverted GST_FUNCTION to the old version as we don't want the
3282           full signature in C++ code. Also added support for MSVC.
3283
3284 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3285
3286         * gst/gstutils.h:
3287         Intern the type name string, similar to what G_DEFINE_TYPE does.
3288
3289 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3290
3291         * gst/gstutils.h:
3292         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3293
3294 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3295
3296         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3297
3298         * libs/gst/base/gstbasetransform.c:
3299         (gst_base_transform_buffer_alloc):
3300         Don't passthrough buffer allocation too easily if the caps change.
3301         This breaks when working in passthrough mode and upstream changes
3302         it's caps. Fixes bug #526768.
3303
3304 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3305
3306         * gst/gstinfo.c (gst_debug_log_valist):
3307           Improved the __FILE__ part of debug output for MSVC.
3308
3309 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3310
3311         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3312           Declaration after statement fix for compilers like MSVC.
3313
3314 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3315
3316         * win32/common/config.h.in:
3317           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3318           use the real thing than having "???" unconditionally.
3319
3320 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3321
3322         * gst/gstinfo.h (GST_FUNCTION):
3323           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3324
3325 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3326
3327         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3328         Small code cleanup.
3329
3330         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3331         (gst_base_sink_set_flushing):
3332         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3333         Fix some comments.
3334
3335 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3336
3337         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3338         (gst_fake_src_init), (gst_fake_src_set_property),
3339         (gst_fake_src_get_property), (gst_fake_src_start):
3340         * plugins/elements/gstfakesrc.h:
3341         Added format property to control the format of the newsegment events.
3342         API: GstFakeSrc:format
3343
3344 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3345
3346         * win32/common/libgstreamer.def:
3347         Add gst_pad_has_name() to the exported symbols.
3348
3349 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3350
3351         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3352         * libs/gst/base/gstbasetransform.c:
3353         (gst_base_transform_prepare_output_buffer):
3354         Don't allow negative sizes when allocating new buffers.
3355         Fixes bug #461253.
3356
3357 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3358
3359         Patch by: Sjoerd Simons <sjoerd at luon net>
3360
3361         * gst/gstbus.c: (gst_bus_source_dispatch):
3362           Don't print a warning if the queue is empty when we try to pop
3363           here. That could happen if another thread or callback set the
3364           bus to flushing between the source's check/prepare and the
3365           dispatch being called (#531538).
3366
3367 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3368
3369         * plugins/elements/gstmultiqueue.c:
3370           Small docs fix.
3371         
3372 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3373
3374         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3375         Add unit test for deserializing uint64s and check some really large
3376         numbers in the int64 test.
3377
3378 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3379
3380         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3381         (print_interfaces), (print_element_properties_info),
3382         (print_signal_info):
3383         Use "%s" as format string instead of printing strings directly.
3384
3385 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3386
3387         * gst/gstclock.c: (gst_clock_set_calibration):
3388         Make some checks actually useful.
3389
3390         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3391         Remove some unused code. Unsigned integers tend to be >= 0.
3392
3393 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3394
3395         * gst/gstminiobject.c: (gst_value_get_mini_object):
3396           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3397           function was not in the unscheduled 0.10.19 release.
3398
3399 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3400
3401         * gst/gstregistry.c: (gst_registry_scan_path_level):
3402           Only print one log message per non-plugin file.
3403
3404 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3405
3406         * gst/gstinfo.c: (gst_debug_log_default):
3407           Fix alignment of debug log columns on 64-bit.
3408
3409 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3410
3411         * docs/libs/Makefile.am:
3412         * docs/libs/gstreamer-libs-sections.txt:
3413           Ignore private controller headers for docs.
3414
3415 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3416
3417         * libs/gst/controller/gstcontrollerprivate.h:
3418         * libs/gst/controller/gsthelper.c:
3419         * libs/gst/controller/gstinterpolation.c:
3420         * libs/gst/controller/gstinterpolationcontrolsource.c:
3421         (gst_interpolation_control_source_set_interpolation_mode):
3422         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3423         * libs/gst/controller/lib.c:
3424         Move some private declarations into private headers.
3425
3426 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3427
3428         * gst/gstdebugutils.c: (debug_dump_element_pad):
3429         Remove some code that is unused after Stefan's refactoring and uses
3430         uninitialized variables now, resulting in a compiler warning.
3431
3432 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3433
3434         * gst/gstregistry.c: (gst_registry_scan_path_level):
3435           Run g_str_has_suffix() only on the file name, not the
3436           entire file path.
3437
3438 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3439
3440         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3441           Since we're not called only from the chain function any longer,
3442           we can't assume that there's always data in the queue, so move
3443           the is_full check to the beginning of the loop (otherwise we'd
3444           hit the assert when changing the limit properties while the
3445           queue is empty or not running yet).
3446           Also, only set a discont if items were actually removed from
3447           the queue.
3448
3449         * tests/check/elements/queue.c: (test_leaky_downstream):
3450           Test case for the above.
3451
3452 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3453
3454         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3455
3456         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3457         (gst_queue_chain), (queue_capacity_change),
3458         (gst_queue_set_property):
3459         When changing thr max capacity of a leaky queue, immediatly drop buffers
3460         instead of waiting for a push on the sinkpad. Fixes #530637.
3461
3462 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3463
3464         * gst/gstdebugutils.c:
3465           Refactor code and fix handling of ghostpads and their proxypads.
3466
3467 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3468
3469         * docs/gst/gstreamer-sections.txt:
3470         * gst/gstevent.c: (gst_event_has_name):
3471         * gst/gstevent.h:
3472         * tests/check/gst/gstevent.c: (GST_START_TEST):
3473         Add method to conveniently check the name of a custom event with
3474         gst_event_has_name().
3475         Reformat the event docs so that related methods are put together instead
3476         of the default alphabetical sort.
3477         Update unit test with new method.
3478         API: GstEvent::gst_event_has_name()
3479
3480 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3481
3482         * libs/gst/check/Makefile.am:
3483           Don't add an explicit link to libgstreamer-0.10.la; it's already
3484           included in GST_OBJ_LIBS.
3485
3486 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3487
3488         * gst/gst.c:
3489         Register GstClock type from a type-safe context. Fixes bug #530317.
3490
3491 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3492
3493         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3494         * tools/gst-run.c:
3495           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3496
3497 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3498
3499         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3500         (gst_bin_dispose):
3501         Use the GLib stuff to create a private structure.
3502         Add some locking around some dispose methods to make them a little
3503         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3504
3505 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3506
3507         * libs/gst/base/gstbasesink.h:
3508         * libs/gst/base/gstbasesrc.h:
3509         * libs/gst/base/gstbasetransform.h:
3510         * libs/gst/base/gstcollectpads.h:
3511           Fix doc typos and unify caps a bit.
3512
3513 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3514
3515         * tools/gst-launch.1.in:
3516           Forgot to also add the envvar docs here.
3517
3518 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3519
3520         * gst/gst.c: (init_post), (gst_deinit):
3521         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3522           (test_concurrent_create), (gst_pipeline_suite):
3523           Ref some more classes in gst_init() to work around thread-safety
3524           issues in pre-2.16 GLibs, and add basic unit test.
3525
3526 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3527
3528         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3529         (gst_base_sink_send_event):
3530         Rearrange the latency query code. We always want to do the upstream
3531         query, even if we are not live so that the upstream elements can get the
3532         latency results too. If we fail doing the query and we are live, we
3533         return TRUE afterwards.
3534
3535 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3536
3537         patch by: Jason Zhao <e3423c@motorola.com>
3538
3539         * docs/gst/running.xml:
3540         * gst/gst.c:
3541           Enable/disable scan_and_update_registry() based on commandline switch
3542           or environment variable. Fixes #520468.
3543           
3544         * ChangeLog:
3545           Fix typo in my previous commit.
3546
3547 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3548
3549         * gst/gstregistrybinary.c:
3550           Add a warning if we hit unhandled factories when saving.
3551           More debug logging detail, but move to LOG category.
3552
3553 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3554
3555         * gst/gstregistry.c:
3556           Tell the *truth* when improving the documentation.
3557
3558 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3559
3560         * gst/gstelementfactory.c: (gst_element_factory_make):
3561         Unref the factory after it was used the last time, not before.
3562
3563         * gst/gstindexfactory.c: (gst_index_factory_make):
3564         Improve debugging a bit and don't leak a ref to the index factory with
3565         each call.
3566
3567 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3568
3569         * gst/gstregistry.c:
3570           Improve the documentation.
3571
3572 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3573
3574         * gst/gstsegment.c:
3575           The glib macro seems to be borked. Use g_slice_copy directly and cast
3576           in the hope that this fixes the warning on 64bit.
3577
3578 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3579
3580         * gst/gstsegment.c:
3581           Document the new function. Use g_slice_dup() (no need for
3582           gst_segment_init()).    
3583
3584 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3585
3586         * docs/gst/gstreamer-sections.txt:
3587           Move GParamSepc macros to standart section.
3588   
3589         * gst/gstbin.c:
3590           Dn't document _get_type - its in private section in docs anyway and
3591           this doc-blob was incomplete.
3592
3593         * gst/gstclock.h:
3594           Fix wrong symbol names in docs.
3595
3596         * gst/gstmacros.h:
3597           Add once doc sentence.
3598
3599         * tests/check/gst/.cvsignore:
3600           Ignore more.
3601
3602 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3603
3604         * docs/gst/Makefile.am:
3605           And remove those libs here.
3606
3607 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3608
3609         * docs/libs/Makefile.am:
3610           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3611
3612 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3613
3614         Patch by: Olivier Crete <tester at tester dot ca>
3615
3616         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3617         Add the min-threshold to the min latency if possible. Fixes #529148.
3618
3619 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3620
3621         * docs/gst/gstreamer.types.in:
3622           Stupid editor, I removed that line as it should go in yet.
3623
3624 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3625
3626         * docs/gst/gstreamer.types.in:
3627         * docs/libs/gstreamer-libs.types:
3628           Remove library types fro core docs and have them in libs docs.
3629           Reformat and cleanup. Add comment for miniobject types.
3630
3631 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3632
3633         * gst/gsturi.c: (gst_uri_get_protocol):
3634           Fix leak: g_strdown operates on the string in place, while
3635           g_ascii_strdown() returns a newly-allocated string.
3636
3637 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3638
3639         * tools/gst-inspect.c: (print_uri_handler_info),
3640         (print_element_info):
3641         Print the URI protocols and the URI type supported by the element.
3642
3643 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3644
3645         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3646         Use g_value_take_string() instead of the deprecated
3647         g_value_set_string_take_ownership().
3648
3649 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3650
3651         * gst/gstregistrybinary.c: (_gst_crc32):
3652         Return the old CRC instead of 0 if we give a NULL buffer
3653         or a buffer with a length of 0.
3654
3655 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3656
3657         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3658         (gst_uri_get_protocol), (gst_uri_has_protocol),
3659         (gst_uri_construct), (gst_uri_handler_set_uri):
3660         A valid URI scheme can also include '+', '-' and '.' additional
3661         to alphanumeric characters as per RFC 3986 Section 3.1.
3662
3663         Handle URI schemes case insensitive in all places and convert
3664         to lower-case when constructing an URI or setting an URI with
3665         the GstURIHandler interface. Fixes bug #528868.
3666         All elements can still assume (as before) that they will
3667         get passed URIs with a lower-case URI scheme by the GstURIHandler
3668         interface.
3669
3670 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3671
3672         * gst/gstcaps.c: (gst_static_caps_get):
3673         * gst/gstclock.c: (gst_clock_entry_new):
3674           Don't use g_atomic_set_int where it's not needed.
3675
3676 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3677
3678         * gst/gstvalue.c: (gst_value_deserialize_caps):
3679         * gst/parse/grammar.y:
3680         Fix 2 caps leaks.
3681
3682 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3683
3684         * gst/gstutils.c: (gst_atomic_int_set):
3685         Use g_atomic_int_set() here too instead of assignment +
3686         g_atomic_int_get().
3687
3688 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3689         
3690         * gst/gstutils.c:
3691         * gst/gstutils.h:
3692         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3693         now that we depend on new enough GLib.
3694
3695         * gst/gstcaps.c: (gst_static_caps_get):
3696         * gst/gstclock.c: (gst_clock_entry_new):
3697         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3698         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3699         (gst_debug_category_set_threshold):
3700         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3701         (gst_base_sink_set_qos_enabled):
3702         * libs/gst/net/gstnettimeprovider.c:
3703         (gst_net_time_provider_set_property):
3704         Use g_atomic_int_set() instead of gst_atomic_int_set().
3705
3706 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3707
3708         * gst/gstquery.c:
3709           Also use G_GINT64_CONSTANT for the queries.
3710
3711 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3712
3713         * gst/gstmessage.c:
3714           Use G_GINT64_CONSTANT in varargs function.
3715
3716 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3717
3718         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3719         Initialize the registry magic with zeroes.
3720
3721 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3722
3723         * gst/gstregistrybinary.c: (_gst_crc32),
3724         (gst_registry_binary_write),
3725         (gst_registry_binary_initialize_magic),
3726         (gst_registry_binary_write_cache),
3727         (gst_registry_binary_check_magic),
3728         (gst_registry_binary_read_cache):
3729         * gst/gstregistrybinary.h:
3730         Add crc32 checksum to the binary registry file and check this before
3731         accepting a registry file.
3732
3733         Also free the data list when writing to the registry file fails.
3734
3735 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3736
3737         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3738         (gst_registry_binary_load_feature),
3739         (gst_registry_binary_load_plugin):
3740         If an element supports the Uri interface, returns a valid pointer
3741         to the supported URI protocols but this pointer contains nothing
3742         don't try to save that as it will corrupt the registry.
3743
3744         Don't unref the plugin if we added it to the registry already but
3745         fail to load a feature as gst_registry_add_plugin() takes ownership
3746         of the plugin.
3747
3748         Improve debugging a bit.
3749
3750 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3751
3752         * gst/gsttaglist.h:
3753           Clarify some tag item docs after discussion on irc.
3754
3755 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3756
3757         * docs/gst/gstreamer-docs.sgml:
3758           Remove commented out plugins (they have their own docs). Update
3759           comments.
3760
3761 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3762
3763         * docs/gst/gstreamer-docs.sgml:
3764         * docs/gst/gstreamer-sections.txt:
3765         * gst/gstparamspecs.c:
3766         * gst/gstparamspecs.h:
3767           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3768           docs to own section.
3769
3770         * gst/gstvalue.c:
3771           This now only documents GValue.
3772           
3773         * docs/libs/gstreamer-libs-sections.txt:
3774         * libs/gst/controller/gstcontroller.h:
3775           Remove GST_PARAM_CONTROLLABLE.
3776
3777 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3778
3779         * docs/README:
3780           Correct file path. Tell about how to use -overrides.txt.
3781         * docs/design/draft-tagreading.txt:
3782           Small design update.
3783
3784 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3785
3786         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3787         (gst_registry_binary_load_plugin):
3788         Fix a typo in a debug message and revert change from yesterday as
3789         gst_registry_add_plugin() will only fail if something is really wrong
3790         already and we can't survive it anyway.
3791
3792 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3793
3794         * gst/gst.c: (init_post), (gst_deinit):
3795           Pre-register GstGError GType from a thread-safe context
3796           (fixes #527967); unref enum type classes in deinit.
3797
3798 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3799
3800         Patch by: Rene Stadler <mail at renestadler de>
3801
3802         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3803           Merging an empty list with another list in KEEP_ALL mode should
3804           yield an empty list as result and not the second list (#512578).
3805
3806         * tests/check/gst/gsttagsetter.c:
3807           Add unit test for tag merge modes and the aforementioned bug.
3808
3809 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3810
3811         Patch by: Rene Stadler <mail at renestadler de>
3812
3813         * gst/gsttaglist.h:
3814           Fix description to match the order in the table (#512577).
3815   
3816 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3819
3820         * libs/gst/net/gstnettimepacket.h:
3821         * docs/libs/gstreamer-libs-sections.txt:
3822           Define socklen_t as int if it's not defined yet. Fixes compilation
3823           with MSVC6 and other versions where socklen_t is not defined in
3824           the windows headers (#518022).
3825
3826 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3827
3828         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3829         If gst_registry_add_plugin() fails our reference to the plugin is
3830         invalid so don't try to use it anymore and instead error out.
3831
3832 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3833
3834         * tools/gst-xmlinspect.c: (print_element_info), (main):
3835           De-cruft a bit. If no argument is specified, print all elements in
3836           XML syntax rather than a freestyle list of elements like gst-inspect.
3837           Also, don't print XML header chunk unless we actually have something
3838           to print (ie. don't print it before an error message); print error
3839           message to stderr not stdout. Remove support for printing plugin
3840           info (it would just output something freestyle along the lines of
3841           gst-inspect so far), which fixes #514507. Also add license header.
3842
3843 2008-04-11  Julien Moutte  <julien@fluendo.com>
3844
3845         Mac OS X love...
3846         * configure.ac: Merge platform specific defines, introduce a new
3847         define on OS X to remember that forking when updating registry is
3848         unsafe.
3849         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3850         module.
3851         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3852         is defined.
3853         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3854         condition that leads to absolutely no plugins being registered on
3855         OS X.
3856
3857 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3860
3861         * gst/gstutils.c: (gst_pad_add_data_probe),
3862           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3863           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3864           (gst_pad_add_buffer_probe_full):
3865         * gst/gstutils.h:
3866         * docs/gst/gstreamer-sections.txt:
3867         * win32/common/libgstreamer.def:
3868           Add gst_pad_add_*_probe_full() functions with a notify callback that
3869           lets the caller free the data it passes to the probe functions. This
3870           is useful for bindings such as gst-python or gstreamermm (#526814).
3871           API: gst_pad_add_data_probe_full
3872           API: gst_pad_add_buffer_probe_full
3873           API: gst_pad_add_event_probe_full
3874
3875         * tests/check/gst/gstutils.c:
3876           Add minimal unit test to make sure freeing the data actually works
3877           as expected.
3878
3879         * tests/benchmarks/.cvsignore:
3880           Random cvsignore addendum.
3881
3882 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3883
3884         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3885           (GST_DEBUG_BIN_TO_DOT_FILE):
3886           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3887           to it in the docs (since these are macros the types of the arguments
3888           won't be shown in the docs otherwise).
3889
3890 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3891
3892         * gst/gstpad.c:
3893           Do not abort on out of memory for pad_alloc_buffer.
3894
3895 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3896
3897         * libs/gst/check/gstcheck.c:
3898           Remove blank line between symbol name ad parameters to fix gtkdoc
3899           warning.
3900
3901 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3902
3903         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3904
3905         * docs/gst/gstreamer-sections.txt:
3906         * gst/gstsegment.c:
3907         * gst/gstsegment.h:
3908         * win32/common/libgstreamer.def:
3909           Expose gst_segment_copy() to make things easier for the c++ bindings.
3910           Fixes #518932.
3911           API: gst_segment_copy()
3912
3913 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3914
3915         * gst/gst.c: (gst_init_get_option_group), (init_post):
3916           Fix const position; ref GType classes for enum types to work
3917           around thread-safety issues in GLib versions < 2.16.
3918
3919 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3920
3921         * docs/design/part-buffering.txt:
3922         Fix some typos and set the estimated total for push mode to -1.
3923
3924         * gst/gstquery.c: (gst_query_new_buffering):
3925         Set buffering-left to 0 as we're not buffering by default.
3926
3927         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3928         Implement BUFFERING query.
3929
3930 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3931
3932         Based on patch by: Milosz Derezynski <internalerror gmail com>
3933
3934         * gst/gsterror.c: (_gst_stream_errors_init):
3935         * gst/gsterror.h:
3936           Add two new error codes for encrypted content. Fixes #524659.
3937           API: GST_STREAM_ERROR_DECRYPT
3938           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3939
3940 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3941
3942         * gst/gstquery.h:
3943           Fix typo.
3944
3945         * win32/common/libgstreamer.def:
3946           Add new functions.
3947
3948 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3949
3950         * plugins/elements/gstidentity.c: (gst_identity_event),
3951         (gst_identity_start):
3952         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3953         event after processing some data. Fixes bug #526042.
3954
3955 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3956
3957         * docs/gst/gstreamer-sections.txt:
3958         * gst/gstquery.c: (gst_query_parse_latency),
3959         (gst_query_set_buffering_percent),
3960         (gst_query_parse_buffering_percent),
3961         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3962         * gst/gstquery.h:
3963         Rename _avail -> _range
3964         API: gst_query_set_buffering_range
3965         API: gst_query_parse_buffering_range
3966
3967 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3968
3969         * docs/design/part-buffering.txt:
3970         * gst/gstquark.c:
3971         * gst/gstquark.h:
3972         * gst/gstquery.c: (gst_query_parse_latency),
3973         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3974         (gst_query_parse_buffering_percent):
3975         * gst/gstquery.h:
3976         Add busy field and quark for the buffering query so that the app can
3977         only use the query to see if buffering is in progress.
3978
3979 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3980
3981         * docs/gst/gstreamer-sections.txt:
3982         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3983         (gst_message_parse_buffering_stats):
3984         * gst/gstmessage.h:
3985         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3986         (gst_query_parse_latency), (gst_query_new_buffering),
3987         (gst_query_set_buffering_percent),
3988         (gst_query_parse_buffering_percent),
3989         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3990         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3991         * gst/gstquery.h:
3992         Reorder the message docs and headers for clarity.
3993         Add aditional buffering stats API for messages.
3994         Add buffering query.
3995         Convert some leftover queries to use GstQuark.
3996         API: gst_message_set_buffering_stats
3997         API: gst_message_parse_buffering_stats
3998         API: GST_QUERY_BUFFERING
3999         API: GstBufferingMode
4000         API: gst_query_new_buffering
4001         API: gst_query_set_buffering_percent
4002         API: gst_query_parse_buffering_percent
4003         API: gst_query_set_buffering_stats
4004         API: gst_query_parse_buffering_stats
4005
4006 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4007
4008         * gst/gstmessage.c: (gst_message_new_error),
4009         (gst_message_new_warning), (gst_message_new_info),
4010         (gst_message_new_buffering), (gst_message_new_state_changed),
4011         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
4012         (gst_message_new_new_clock), (gst_message_new_segment_start),
4013         (gst_message_new_segment_done), (gst_message_new_duration),
4014         (gst_message_new_async_start), (gst_message_parse_buffering),
4015         (gst_message_parse_state_changed),
4016         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4017         (gst_message_parse_new_clock), (gst_message_parse_error),
4018         (gst_message_parse_warning), (gst_message_parse_info),
4019         (gst_message_parse_segment_start),
4020         (gst_message_parse_segment_done), (gst_message_parse_duration),
4021         (gst_message_parse_async_start):
4022         Use GstQuark for messages.
4023
4024 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4025
4026         * gst/gstquark.c: (_priv_gst_quarks_initialize):
4027         * gst/gstquark.h:
4028         Add some more quarks needed for messages and queries.
4029
4030 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
4031
4032         * docs/design/part-buffering.txt:
4033         Remove the "none" buffering mode, STREAM is a good default.
4034         Move estimated-time to the avail query, that's when it will be needed.
4035         Other small typo fixes and updates.
4036
4037 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4038
4039         * gst/gstindex.c: (gst_index_resolver_get_type):
4040           Don't put descriptions into the nick field of a GEnumValue: it's not
4041           meant for that and some language bindings rely on the nick field to
4042           construct constants and the like. Fixes #526705.
4043
4044 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
4045
4046         * NEWS:
4047         * RELEASE:
4048         * gstreamer.doap:
4049           Merge other changes from 0.10.19 release branch.
4050
4051 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
4052
4053         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4054
4055         * configure.ac:
4056         Actually build dlls when cross-compiling with mingw32.
4057         Fixes bug #526247.
4058
4059 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
4060
4061         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
4062
4063         * gst/gstpoll.c:
4064         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
4065
4066 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
4067
4068         * docs/design/draft-latency.txt:
4069         Fix typo.
4070
4071         * docs/design/part-buffering.txt:
4072         Update design docs with more buffering ideas.
4073
4074 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
4075
4076         * configure.ac:
4077           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
4078
4079 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4080
4081         * configure.ac:
4082           Revert part that belongs to the preset patch.
4083
4084 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
4085
4086         * configure.ac:
4087           Add qoutes to the define. Fixes # 525961.
4088
4089 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
4090
4091         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4092         (gst_file_index_load), (gst_file_index_add_id),
4093         (gst_file_index_get_assoc_entry):
4094         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4095         (gst_mem_index_free_id), (gst_mem_index_add_id),
4096         (gst_mem_index_index_format):
4097         Use GSlice when possible.
4098
4099 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4100
4101         * libs/gst/controller/gstinterpolationcontrolsource.c:
4102         (gst_control_point_free),
4103         (gst_interpolation_control_source_set_internal):
4104         Use GSlice for allocating the control points.
4105
4106 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4107
4108         * plugins/elements/gsttypefindelement.c:
4109         (gst_type_find_element_class_init),
4110         (gst_type_find_element_set_property),
4111         (gst_type_find_element_get_property),
4112         (gst_type_find_element_activate):
4113         * plugins/elements/gsttypefindelement.h:
4114         Cleanup properties.
4115         Fix pad leak when peer query fails.
4116         We can still typefind when the peer returns -1.
4117         Add property to force caps and bypass typefinding. This will be used in
4118         uridecodebin.
4119         API::force-caps
4120
4121 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4122
4123         * configure.ac:
4124         Require GLib 2.12.
4125
4126         * gst/glib-compat-private.h:
4127         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4128         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4129         Unconditionally use GSlice for allocation.
4130
4131         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4132         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4133         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4134         (gst_structure_free):
4135         Use GSlice for allocation.
4136
4137 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4138
4139         * gst/parse/Makefile.am:
4140         * gst/parse/grammar.tab.pre.c:
4141         * gst/parse/grammar.tab.pre.h:
4142         * gst/parse/lex._gst_parse_yy.pre.c:
4143         Require a new enough flex and bison and remove the parser hacks to use
4144         a pre-regenerated version.
4145
4146 2008-04-01  Julien Moutte  <julien@fluendo.com>
4147
4148         patch by: Jason Zhao <E3423C@motorola.com>
4149
4150         * configure.ac: Add a configure switch to disable option parsing
4151         in gst_init.
4152         Fixes #522882.
4153
4154 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4155
4156         * configure.ac:
4157         * gst/gstregistry.c:
4158           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4159           and handle this case.
4160
4161         * gst/gst.c:
4162           Add a comment here describing, why we stat each plugin and not try to
4163           be smart.
4164
4165 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4166
4167         * libs/gst/base/gstbasetransform.c:
4168         (gst_base_transform_prepare_output_buffer):
4169         Also unset the GAP flag on buffers if we're working inplace but
4170         the element is not GAP-aware.
4171
4172         Mark a comment as FIXME 0.11.
4173
4174 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4175
4176         * gst/gst.c:
4177           Fix type in log message and add one to ease seeing how long registry
4178           cache verification takes.
4179
4180         * gst/gstregistry.c:
4181           Only test plugin filenames against G_MODULE_SUFFIX.
4182
4183 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4184
4185         * gst/gstdebugutils.c:
4186           Improve handling ghost/proxy pads.
4187
4188 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4189
4190         * docs/gst/gstreamer-sections.txt:
4191         * gst/gstpad.c:
4192         * gst/gstpad.h:
4193           Expose macro to docs and fix link to it.
4194
4195 2008-03-27  Michael Smith <msmith@fluendo.com>
4196
4197         * libs/gst/dataprotocol/dataprotocol.c:
4198         (gst_dp_packet_from_event_1_0):
4199           When calculating GDP body CRC, use the correct pointer. 
4200           Fixes part of #522401.
4201
4202 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4203
4204         Patch by: Mark Nauwelaerts <manauw at skynet be>
4205
4206         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4207         (gst_identity_init), (gst_identity_prepare_output_buffer):
4208         Identity is not always a passthrough element, it can modify the buffer
4209         timestamps when it has a datarate and operates in single-segment mode.
4210         We therefore make it an in_place filter with a custom buffer prepare
4211         function that conditionally makes the input buffer metadata writable
4212         when needed.  Fixes #523985.
4213
4214 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4215
4216         Patch by: Mark Nauwelaerts <manauw at skynet be>
4217
4218         * gst/gstclock.h:
4219         * libs/gst/base/gstbasesrc.h:
4220         * libs/gst/base/gstbasetransform.c:
4221         * libs/gst/check/gstcheck.c:
4222         Small documentation fixes. Fixes #523978.
4223
4224 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4225
4226         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4227         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4228         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4229
4230 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4231
4232         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4233         (single_queue_underrun_cb):
4234         When trying to make room in the queue, bump the max allowed buffers
4235         bigger than the current amount of buffers in the queue. this fixes some
4236         nasty deadlocks in multiqueue when dynamically changing the limits of
4237         the queue.
4238
4239 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4240
4241         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4242
4243         * gst/gstcaps.c: (gst_caps_set_simple),
4244         (gst_caps_set_simple_valist), (gst_caps_intersect):
4245         * gst/gstcaps.h:
4246         Constify the field gchar * params in set_simple and friends.
4247         Fixes #522326.
4248
4249 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4250
4251         * gst/gstvalue.c: (gst_value_transform_object_string):
4252         Transform a GstObject to a more meaningfull string that includes the
4253         object type in addition to its name.
4254
4255 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4256
4257         * ChangeLog:
4258           ChangeLog surgery to add bugnumber to commit.
4259
4260 2008-03-23  Rene Stadler  <mail@renestadler.de>
4261
4262         * libs/gst/base/gstbasetransform.c:
4263         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4264
4265 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4266
4267         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4268         Rename constant everywhere and don't forget one occurence.
4269
4270 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4271
4272         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4273         Align memory to the pointer size even if the architecture allows
4274         unaligned memory access. Unaligned memory access usually comes with
4275         performance penality.
4276
4277 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4278
4279         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4280         (gst_registry_binary_check_magic),
4281         (gst_registry_binary_load_pad_template),
4282         (gst_registry_binary_load_feature),
4283         (gst_registry_binary_load_plugin):
4284         Align memory to the pointer size instead of always 32 bit. Fixes
4285         unaligned memory accesses on ia64 and friends.
4286
4287         * gst/gstregistrybinary.h:
4288         Bump binary registry format version for this as it changes the
4289         format on those architectures that don't have unaligned access
4290         and 64 bit pointers.
4291
4292 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4293
4294         * docs/pwg/advanced-dparams.xml:
4295         * docs/pwg/building-props.xml:
4296         * docs/pwg/other-source.xml:
4297         * gst/glib-compat.h:
4298         * gst/gstbin.c: (gst_bin_class_init):
4299         * gst/gstclock.c: (gst_clock_class_init):
4300         * gst/gstindex.c: (gst_index_class_init):
4301         * gst/gstobject.c: (gst_object_class_init):
4302         * gst/gstpad.c: (gst_pad_class_init):
4303         * gst/gstpipeline.c: (gst_pipeline_class_init):
4304         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4305         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4306         * libs/gst/base/gstbasetransform.c:
4307         (gst_base_transform_class_init):
4308         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4309         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4310         (_gst_check_fault_handler_sighandler),
4311         (_gst_check_fault_handler_setup), (gst_check_init):
4312         * libs/gst/controller/gstcontroller.c:
4313         (_gst_controller_class_init):
4314         * libs/gst/controller/gstlfocontrolsource.c:
4315         (gst_lfo_control_source_class_init):
4316         * libs/gst/net/gstnetclientclock.c:
4317         (gst_net_client_clock_class_init):
4318         * libs/gst/net/gstnettimeprovider.c:
4319         (gst_net_time_provider_class_init):
4320         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4321         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4322         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4323         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4324         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4325         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4326         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4327         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4328         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4329         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4330         * plugins/elements/gsttee.c: (gst_tee_class_init):
4331         * plugins/elements/gsttypefindelement.c:
4332         (gst_type_find_element_class_init):
4333         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4334         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4335         use it everywhere for GParamSpecs that use static strings (i.e. all).
4336         This gives us less memory usage, fewer allocations and thus less
4337         memory defragmentation. Fixes bug #523806.
4338
4339 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4340
4341         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4342         (gst_param_spec_mini_object):
4343         * gst/gstminiobject.h:
4344         * win32/common/libgstreamer.def:
4345         * docs/gst/gstreamer-sections.txt:
4346         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4347         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4348         GstParamSpecMiniObject into a public header for this.
4349
4350         This make GstMiniObject a bit more consistent with GObject and makes
4351         it possible to extend the param specs.
4352
4353         gst_value_dup_mini_object is mainly useful for set_property methods.
4354
4355         Fixes bug #523798.
4356
4357         * tools/gst-inspect.c: (print_element_properties_info):
4358         Print something useful for GstMiniObject properties and not just
4359         "unknown type".
4360
4361 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4362
4363         * docs/gst/gstreamer-sections.txt:
4364         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4365         (gst_registry_binary_check_magic):
4366         * gst/gstregistrybinary.h:
4367         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4368         and add it to the (private part) of the docs to fix the build.
4369
4370 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4371
4372         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4373         (gst_registry_binary_check_magic),
4374         (gst_registry_binary_read_cache):
4375         * gst/gstregistrybinary.h:
4376         Don't use GST_MAJORMINOR for the binary registry version. Instead
4377         hardcode a value that must be changed whenever the format changes
4378         in an incompatible way.
4379         Also don't GST_ERROR when there is a version mismatch, just
4380         regenerate the registry silently.
4381
4382 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4383
4384         * configure.ac:
4385         Back to development - 0.10.18.1
4386
4387 === release 0.10.18 ===
4388
4389 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4390
4391         * configure.ac:
4392           releasing 0.10.18, "So far away"
4393
4394 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4395
4396         * configure.ac:
4397         * win32/common/config.h:
4398         0.10.17.4 pre-release
4399
4400 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4401
4402         Patch by: Ole André Vadla Ravnås
4403             <ole dot andre dot ravnas at tandberg dot com>
4404
4405         * docs/gst/gstreamer-sections.txt:
4406         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4407         (gst_poll_update_winsock_event_mask),
4408         (gst_poll_prepare_winsock_active_sets),
4409         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4410         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4411         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4412         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4413         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4414         * gst/gstpoll.h:
4415         * win32/common/libgstreamer.def:
4416         Add new function gst_poll_fd_ignored() for improved Windows
4417         compatibility.
4418         Various minor fixes and cleanups. See #520808.
4419
4420 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422         * gst/gstindex.c: (gst_index_entry_free):
4423         * gst/gstindex.h:
4424           Don't free key strings which we don't own. Fixes crash in
4425           gst_index_entry_free() (#522741).
4426
4427         * tests/check/Makefile.am:
4428         * tests/check/gst/.cvsignore:
4429         * tests/check/gst/gstindex.c: (test_index_entries),
4430           (gst_index_suite), (gst_index):
4431           Add unit test for the above.
4432
4433 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4434
4435         * win32/common/libgstreamer.def:
4436         Remove symbols that were removed recently. Fixes bug #521740.
4437
4438 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4439
4440         * configure.ac:
4441         * win32/common/config.h:
4442         0.10.17.3 pre-release
4443
4444 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4445
4446         Patch by: Ole André Vadla Ravnås
4447             <ole dot andre dot ravnas at tandberg dot com>
4448
4449         * docs/gst/gstreamer-sections.txt:
4450         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4451         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4452         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4453         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4454         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4455         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4456         (gst_poll_fd_can_write), (gst_poll_wait),
4457         (gst_poll_set_controllable), (gst_poll_restart),
4458         (gst_poll_set_flushing):
4459         * gst/gstpoll.h:
4460         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4461         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4462         (gst_net_time_provider_new):
4463         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4464         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4465         * tests/benchmarks/gstpollstress.c: (main):
4466         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4467         Remove GstPollMode from the API, it does not make sense to let the
4468         application control this.
4469         Add support for Win32.
4470         Fix the testsuite. Fixes #520671.
4471
4472 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4473
4474         Patch by: Ole André Vadla Ravnås
4475             <ole dot andre dot ravnas at tandberg dot com>
4476
4477         * gst/gstregistrybinary.c:
4478         Include io.h for write() and close() when building with MSVC. Fixes
4479         bug #520877.
4480
4481 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4482
4483         * configure.ac:
4484         * gst/gst_private.h:
4485         * gst/gstconfig.h.in:
4486         * gst/gstregistry.h:
4487         * gst/gstregistrybinary.c:
4488         * win32/common/gstconfig.h:
4489           Move registry backend API to private headers where we can. Add
4490           fixme-0.11 comments for the others. Add stubs for the xml backend when
4491           using the binary to ensure they functions exists (they should not be
4492           used though). Fixes #520756.
4493
4494 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4495
4496         * configure.ac:
4497         * win32/common/config.h:
4498         0.10.17.2 prelease
4499
4500 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4501
4502         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4503         (gst_registry_binary_read_cache):
4504         * gst/gstregistryxml.c: (gst_registry_save):
4505         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4506         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4507         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4508         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4509         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4510         Fixes #520152
4511
4512 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4513
4514         * gst/gstminiobject.c:
4515         Import gst_private.h before any other header that might include other
4516         glib headers. This fixes the build on windows using native compilers.
4517
4518 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * win32/common/gstconfig.h:
4521           Add here too, just for completeness.
4522
4523 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4524
4525         * configure.ac:
4526         * gst/gstconfig.h.in:
4527         * gst/gstregistry.h:
4528           Fix broken use of config.h-defined preprocessor directive in a public
4529           header file. Add a corresponding define to gstconfig.h, since we can't
4530           really remove those function declarations from the header file now
4531           (or can we? and why are they there in the first place?).
4532
4533 2008-03-03  Andy Wingo  <wingo@pobox.com>
4534
4535         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4536         the new warning.
4537
4538         * gst/gststructure.c (gst_structure_from_string): Warn if
4539         structure_from_string didn't consume the whole string, but the
4540         caller did not provide an end pointer.
4541
4542 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4543
4544         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4545
4546         * gst/gstregistryxml.c: (read_string), (load_feature):
4547           Strings allocated by libxml2 should be freed with xmlFree(), not
4548           with g_free(). Fixes issues on windows in certain contexts (#519698).
4549
4550 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4551
4552         * gst/gstinterface.c: (gst_element_implements_interface):
4553           Don't crash if the element supports the interface queried, but does
4554           not implement GstImplementsInterface. Fixes #519584.
4555
4556         * tests/check/Makefile.am:
4557         * tests/check/gst/.cvsignore:
4558         * tests/check/gst/gstinterface.c:
4559           Add unit test for the above.
4560
4561 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4562
4563         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4564         Small doc update.
4565
4566 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4567
4568         * gst/gstsegment.c: (gst_segment_set_seek),
4569         (gst_segment_to_stream_time):
4570         Improve some comment.
4571         Update variables where it makes more sense.
4572
4573 2008-02-29  Rene Stadler  <mail@renestadler.de>
4574
4575         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4576         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4577         URIHandlers implemented using language bindings.
4578
4579 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4580
4581         * gst/gstelementfactory.h:
4582         * tests/check/elements/fakesink.c:
4583         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4584         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4585         * tests/check/elements/filesink.c: (setup_filesink):
4586         * tests/check/elements/filesrc.c: (setup_filesrc):
4587         * tests/check/elements/identity.c: (setup_identity):
4588         * tests/check/elements/tee.c:
4589         * tests/check/generic/sinks.c:
4590         * tests/check/generic/states.c: (setup), (teardown):
4591         * tests/check/gst/gst.c:
4592         * tests/check/gst/gstabi.c:
4593         * tests/check/gst/gstbin.c:
4594         * tests/check/gst/gstbus.c: (pull_messages):
4595         * tests/check/gst/gstcaps.c:
4596         * tests/check/gst/gstelement.c:
4597         * tests/check/gst/gstevent.c:
4598         * tests/check/gst/gstghostpad.c:
4599         * tests/check/gst/gstiterator.c:
4600         * tests/check/gst/gstmessage.c:
4601         * tests/check/gst/gstminiobject.c: (my_foo_init):
4602         * tests/check/gst/gstobject.c: (thread_name_object),
4603         (gst_object_suite):
4604         * tests/check/gst/gstpad.c:
4605         * tests/check/gst/gstplugin.c:
4606         * tests/check/gst/gstpoll.c:
4607         * tests/check/gst/gstquery.c:
4608         * tests/check/gst/gstsegment.c:
4609         * tests/check/gst/gststructure.c:
4610         * tests/check/gst/gstsystemclock.c:
4611         * tests/check/gst/gsttask.c:
4612         * tests/check/gst/gstutils.c:
4613         * tests/check/gst/gstvalue.c:
4614         * tests/check/gst/struct_hppa.h:
4615         * tests/check/gst/struct_i386.h:
4616         * tests/check/gst/struct_ppc32.h:
4617         * tests/check/gst/struct_ppc64.h:
4618         * tests/check/gst/struct_x86_64.h:
4619         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4620         * tests/check/libs/basesrc.c:
4621         * tests/check/libs/controller.c: (GST_START_TEST):
4622         * tests/check/libs/gdp.c:
4623         * tests/check/libs/gstnetclientclock.c:
4624         * tests/check/libs/gstnettimeprovider.c:
4625         * tests/check/libs/libsabi.c:
4626         * tests/check/libs/struct_hppa.h:
4627         * tests/check/libs/struct_i386.h:
4628         * tests/check/libs/struct_ppc32.h:
4629         * tests/check/libs/struct_ppc64.h:
4630         * tests/check/libs/struct_x86_64.h:
4631         * tests/check/pipelines/cleanup.c:
4632         * tests/check/pipelines/simple-launch-lines.c:
4633         * tests/check/pipelines/stress.c:
4634         And correct even more valid sparse warnings.
4635
4636         * win32/common/libgstreamer.def:
4637         Add gst_poll_fd_init to the list of symbols.
4638
4639 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4640
4641         * gst/gstconfig.h.in:
4642         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4643         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4644         (gst_check_log_critical_func), (gst_check_drop_buffers),
4645         (gst_check_element_push_buffer_list):
4646         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4647         (gst_controller_get_type):
4648         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4649         (gst_object_get_controller), (gst_object_get_control_source):
4650         * libs/gst/controller/gstinterpolationcontrolsource.c:
4651         (gst_interpolation_control_source_new):
4652         * libs/gst/controller/gstlfocontrolsource.c:
4653         (gst_lfo_control_source_new):
4654         * libs/gst/dataprotocol/dataprotocol.c:
4655         (gst_dp_event_from_packet_0_2):
4656         * plugins/elements/gstfdsrc.c:
4657         * plugins/elements/gstmultiqueue.c:
4658         * plugins/elements/gsttee.c:
4659         * plugins/elements/gsttypefindelement.c:
4660         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4661         (gst_file_index_add_association):
4662         * plugins/indexers/gstmemindex.c:
4663         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4664         * tests/check/elements/queue.c: (setup_queue):
4665         * tests/check/gst/gstpipeline.c:
4666         * tests/check/libs/collectpads.c: (setup), (teardown),
4667         (gst_collect_pads_suite):
4668         * tests/examples/adapter/adapter_test.c:
4669         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4670         * tests/examples/xml/createxml.c:
4671         * tests/examples/xml/runxml.c:
4672         * tools/gst-inspect.c:
4673         * tools/gst-run.c:
4674         Correct all relevant warnings found by the sparse semantic code
4675         analyzer. This include marking several symbols static, using
4676         NULL instead of 0 for pointers, not using variable sized arrays
4677         on the stack, moving variable declarations to the beginning of
4678         a block and using "foo (void)" instead of "foo ()" for declarations.
4679
4680 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4681
4682         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4683         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4684         Don't reset GstPollFDs, this is not necessary at all.
4685
4686         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4687         (delayed_restart), (delayed_control):
4688         Use GST_POLL_FD_INIT.
4689
4690 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4691
4692         * gst/gstpoll.c: (gst_poll_fd_init):
4693         * gst/gstpoll.h:
4694         Added Since tags.
4695
4696         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4697         Use some more init macros.
4698
4699 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4700
4701         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4702         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4703         Use init macros and functions.
4704
4705 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4706
4707         * docs/gst/gstreamer-sections.txt:
4708         * gst/gstpoll.c: (gst_poll_fd_init):
4709         * gst/gstpoll.h:
4710         Add INIT macro and _init method for initializing the GstPollFD.
4711
4712 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4713
4714         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4715         (gst_fd_sink_update_fd):
4716         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4717         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4718         (delayed_restart), (delayed_control):
4719         Initialize some uninitialized variables as spotted by valgrind.
4720
4721 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4722
4723         * tests/benchmarks/Makefile.am:
4724         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4725         (main):
4726         Add poll stress test.
4727
4728 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4729
4730         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4731
4732         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4733         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4734         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4735         * plugins/elements/gstfdsink.h:
4736         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4737         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4738         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4739         (gst_fd_src_uri_set_uri):
4740         * plugins/elements/gstfdsrc.h:
4741         Port to GstPoll. See #505417.
4742
4743 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4744
4745         * win32/common/libgstreamer.def:
4746         Add new gst_poll_ symbols to win32 defs.
4747
4748 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4749
4750         * docs/libs/gstreamer-libs-sections.txt:
4751         * libs/gst/net/gstnetclientclock.c:
4752         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4753         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4754         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4755         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4756         * libs/gst/net/gstnetclientclock.h:
4757         * libs/gst/net/gstnettimeprovider.c:
4758         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4759         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4760         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4761         (gst_net_time_provider_new):
4762         * libs/gst/net/gstnettimeprovider.h:
4763         Use a private stuct to not break ABI.
4764
4765 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4766
4767         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4768
4769         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4770         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4771         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4772         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4773         * libs/gst/net/gstnetclientclock.h:
4774         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4775         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4776         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4777         (gst_net_time_provider_new):
4778         * libs/gst/net/gstnettimeprovider.h:
4779         Massive code removal and cleanups because of GstPoll.
4780         Fixes #505417.
4781
4782 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4783
4784         * configure.ac:
4785         Add checks for poll, ppoll and pselect.
4786
4787         * docs/gst/gstreamer-docs.sgml:
4788         * docs/gst/gstreamer-sections.txt:
4789         Add docs for GstPoll.
4790
4791         * gst/Makefile.am:
4792         * gst/gst.h:
4793         * gst/gstpoll.c: (find_index), (selectable_fds),
4794         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4795         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4796         (gst_poll_set_mode), (gst_poll_get_mode),
4797         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4798         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4799         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4800         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4801         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4802         (gst_poll_fd_can_write), (gst_poll_wait),
4803         (gst_poll_set_controllable), (gst_poll_restart),
4804         (gst_poll_set_flushing):
4805         * gst/gstpoll.h:
4806         Add generic poll abstraction. We ideally don't want to have this in core
4807         here but in glib intead...
4808         This code will be used in various network elements and ultimately for
4809         the nanosecond precision monotonic clock (that's why it's here in core).
4810         It'll allow us to implement cancelable socket operations for windows too.
4811
4812         * tests/check/Makefile.am:
4813         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4814         (delayed_stop), (delayed_restart), (delayed_flush),
4815         (delayed_control), (gst_poll_suite):
4816         Add GstPoll unit test.
4817
4818 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4819
4820         * gst/gstfilter.c:
4821           Improve documentation of gst_filter_run(). Fixes #518627.
4822
4823 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         * docs/README:
4826           Add a few lines about the new 'check-inspected-versions' target.
4827
4828 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4829
4830         * tests/check/gst/gstevent.c:
4831           Add qos to the event test. Rename tcase/tsuite; is not only about
4832           custom events.
4833
4834 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4835
4836         * plugins/elements/gstqueue.c:
4837           Ensure that buffer metadata is writeable, before modifying. Spotted by
4838           Mike.
4839
4840 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4841
4842         * plugins/elements/gstqueue.c:
4843         * plugins/elements/gstqueue.h:
4844           When dropping buffers in leaky modes, mark next buffers we sent as
4845           DISCONT.
4846
4847 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4848
4849         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4850           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4851
4852 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4853
4854         * plugins/elements/Makefile.am:
4855         * plugins/elements/gstbufferstore.c:
4856         * plugins/elements/gstbufferstore.h:
4857         * plugins/elements/gsttypefindelement.h:
4858           Remove GstBufferStore, no idea why we were still building it.
4859           It's not used anywhere and superseded by GstAdapter.
4860
4861         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4862           (gst_file_src_create_mmap):
4863         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4864           Printf format fixes for 64-bit integers.
4865
4866 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4867
4868         * configure.ac:
4869         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4870         We're not in 0.8 times anymore.
4871
4872 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4873
4874         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4875         (gst_check_element_push_buffer_list):
4876         * libs/gst/check/gstcheck.h:
4877         Make the declaration in the header for
4878         gst_check_element_push_buffer_list match the implementation.
4879
4880         Fix up spelling, grammar and wording of the documentation in a few
4881         places, and add the Since keyword to new API functions.
4882         Use g_list_delete_link instead of g_list_remove in
4883         gst_check_drop_buffers, since it's immeasurably more efficient.
4884
4885         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4886         Use new gst_check_drop_buffers function where appropriate.
4887
4888         * win32/common/libgstbase.def:
4889         * win32/common/libgstreamer.def:
4890         Add new symbols gst_collect_pads_take_buffer, 
4891         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4892         exports
4893
4894         Changelog surgery to add API keyword to new gst_check API.
4895
4896 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4899         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4900         Update pre-generated flex files with flex 2.3.34.
4901
4902 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4903
4904         * gst/gstminiobject.c:
4905           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4906           friendly to subclasses and not require them to know all internals
4907           of their parent class.
4908
4909 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4910
4911         * docs/libs/gstreamer-libs-sections.txt:
4912         * libs/gst/base/gstcollectpads.c:
4913         * libs/gst/base/gstcollectpads.h:
4914           Add sub-buffer functions to collectpads. Fixes #516187.
4915           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4916
4917 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4918
4919         * gst/gstbuffer.c:
4920           Copy selected buffer-flags when creating subbuffers.
4921           Fixes #516395.
4922
4923 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4924
4925         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4926         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4927         * gst/gstmessage.c: (gst_message_class_init),
4928         (gst_message_finalize):
4929         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4930         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4931         (gst_mmap_buffer_finalize):
4932         Properly chain up finalize functions to the parent class.
4933
4934 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4935
4936         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4937
4938         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4939         (gst_index_set_resolver_full):
4940         * gst/gstindex.h:
4941         Add new function with option to dispose of user_data in resolver.
4942         Actually call the dispose function when finalizing the object and not
4943         just when changing the resolver/filter.
4944         API: GstIndex::gst_index_set_resolver_full()
4945
4946         * docs/gst/gstreamer-sections.txt:
4947         Add new function to docs. Fixes #515469.
4948
4949 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4950
4951         * gst/gstindex.c: (gst_index_finalize):
4952         Chain up finalize to the parent class. Fixes leaking the GstObject
4953         name and other things.
4954
4955 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4956
4957         * configure.ac:
4958         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4959         pre-releases or releases.
4960
4961         * docs/faq/gst-uninstalled:
4962         Add gst-plugins-gl
4963
4964         * docs/random/release:
4965         Change one of the steps - we only upload core & base to Gnome FTP
4966
4967 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4968
4969         * gst/gstconfig.h.in:
4970           Add 'id' for example.
4971
4972         * gst/gstpad.c:
4973         * gst/gstutils.c:
4974         * plugins/elements/gstfdsink.c:
4975           Link to signals. Doc and comment fixes.
4976
4977 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4978
4979         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4980         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4981           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4982           unused and unimplemented; finally, it is plugin features, not
4983           plugins, that have ranks.
4984           
4985 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4986
4987         * gst/gstpluginfeature.h:
4988           Clarify GstRank range docs.
4989
4990 2008-02-05  David Schleef  <ds@schleef.org>
4991
4992         * gst/gst.c: Add a separate gst_deinitialized that prevents
4993           gst_init() from being called after gst_deinit().  Fixes #509559
4994
4995 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4996
4997         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4998         (gst_bin_class_init):
4999         * gst/gstelement.c: (gst_element_base_class_init),
5000         (gst_element_class_add_pad_template):
5001         * gst/gstpadtemplate.c: (gst_pad_template_init):
5002         * gst/gstpipeline.c: (gst_pipeline_get_type),
5003         (gst_pipeline_base_init), (gst_pipeline_class_init):
5004         * libs/gst/base/gstbasesink.c:
5005         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5006         (gst_base_src_base_init), (gst_base_src_class_init):
5007         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5008         (gst_capsfilter_class_init):
5009         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5010         (gst_fake_sink_class_init):
5011         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5012         (gst_fake_src_class_init):
5013         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5014         (gst_fd_sink_class_init):
5015         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5016         (gst_fd_src_class_init):
5017         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5018         (gst_file_sink_class_init):
5019         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5020         (gst_file_src_class_init):
5021         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5022         (gst_identity_class_init):
5023         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5024         (gst_multi_queue_class_init):
5025         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5026         (gst_queue_class_init):
5027         * plugins/elements/gsttee.c: (gst_tee_base_init),
5028         (gst_tee_class_init):
5029         * plugins/elements/gsttypefindelement.c:
5030         (gst_type_find_element_base_init),
5031         (gst_type_find_element_class_init):
5032         * tests/check/gst/gstelement.c: (gst_element_suite):
5033         Revert previous changes to the behaviour of GstPadTemplates, etc
5034         and the possiblity to call them in class_init as it breaks too
5035         many elements. Reopens bug #491501.
5036
5037         Should be applied again for 0.11, thus added a few FIXME 0.11 at
5038         several places.
5039
5040 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
5041
5042         * tools/gst-launch.c:
5043         Dump one graph per pipeline state-change and state change name
5044         (if GST_DEBUG_DUMP_DOT_DIR is set).
5045
5046 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
5047
5048         * gst/gstpad.c:
5049         * tests/check/gst/gstpad.c:
5050         Be sure that we have a new copy of the caps and not
5051         reffed caps from a template
5052
5053 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5054
5055         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5056         * gst/gstpipeline.c: (gst_pipeline_get_type),
5057         (gst_pipeline_class_init):
5058         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5059         (gst_base_sink_class_init):
5060         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
5061         (gst_base_src_class_init):
5062         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5063         (gst_base_transform_class_init):
5064         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5065         (gst_collect_pads_class_init):
5066         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
5067         * libs/gst/net/gstnettimeprovider.c:
5068         (gst_net_time_provider_base_init),
5069         (gst_net_time_provider_class_init):
5070         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
5071         (gst_capsfilter_class_init):
5072         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
5073         (gst_fake_sink_class_init):
5074         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
5075         (gst_fake_src_class_init):
5076         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
5077         (gst_fd_sink_class_init):
5078         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
5079         (gst_fd_src_class_init):
5080         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
5081         (gst_file_sink_class_init):
5082         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
5083         (gst_file_src_class_init):
5084         * plugins/elements/gstidentity.c: (gst_identity_base_init),
5085         (gst_identity_class_init):
5086         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5087         (gst_multi_queue_class_init):
5088         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5089         (gst_queue_class_init):
5090         * plugins/elements/gsttee.c: (gst_tee_base_init),
5091         (gst_tee_class_init):
5092         * plugins/elements/gsttypefindelement.c:
5093         (gst_type_find_element_base_init),
5094         (gst_type_find_element_class_init):
5095         Don't use base_init where not absolutely necessary. For example it's
5096         not necessary anymore for adding pad templates or setting element
5097         details.
5098
5099         Leave empty base_init functions in several places as GST_BOILERPLATE
5100         still defines and uses them.
5101
5102 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5103
5104         * gst/gstelement.c: (gst_element_base_class_init),
5105         (gst_element_class_add_pad_template):
5106         * gst/gstpadtemplate.c:
5107         Make it possible (and recommended) to set element details and add
5108         pad templates in the class_init functions by copying the details/pad
5109         templates in GstElement's base_init.
5110
5111         Also make it possible to replace existing pad templates by adding
5112         a new one with the same name. This was done in a hackish fashion
5113         in same elements before already.
5114
5115         Don't reference pad templates that are added a second time. A
5116         new pad template has a refcount of one and is not floating anymore
5117         and to be owned by the element's class. Make this more explicit by
5118         mentioning it in the docs of gst_element_class_add_pad_template().
5119
5120         These changes are backwards compatible. Fixes bug #491501.
5121
5122         * tests/check/gst/gstelement.c:
5123         Add unit test for setting element details, adding pad templates and
5124         replacing them in a subclass.
5125
5126 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5127
5128         * tools/gst-inspect.c: (print_interfaces),
5129         (print_element_properties_info), (print_pad_info),
5130         (print_signal_info), (print_element_info):
5131         Fix a few memory leaks.
5132
5133 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5134
5135         * docs/libs/gstreamer-libs-sections.txt:
5136         * libs/gst/check/gstcheck.c:
5137         * libs/gst/check/gstcheck.h:
5138         Add more functions for unit testing: gst_check_drop_buffers,
5139         gst_check_caps_equal, gst_check_element_push_buffer_list,
5140         gst_check_element_push_buffer
5141         API: gst_check_drop_buffers
5142         API: gst_check_caps_equal
5143         API: gst_check_element_push_buffer_list
5144         API: gst_check_element_push_buffer
5145
5146 2008-02-01  Julien Moutte  <julien@fluendo.com>
5147
5148         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5149         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5150         (gst_index_finalize), (gst_index_entry_free),
5151         (gst_index_add_association): Fix memory leaks.
5152         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5153         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5154         (gst_mem_index_free_format), (gst_mem_index_free_id),
5155         (gst_mem_index_finalize): Fix memory leaks.
5156         * win32/common/config.h: Updated to CVS HEAD.
5157
5158 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5159
5160         * docs/README:
5161           Some more details about how the plugin docs works.
5162
5163         * docs/plugins/gstreamer-plugins-sections.txt:
5164           Whitespace cleanup.
5165
5166 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5167
5168         * gst/parse/grammar.tab.pre.c:
5169         * gst/parse/grammar.tab.pre.h:
5170         * gst/parse/grammar.y:
5171         * gst/parse/lex._gst_parse_yy.pre.c:
5172           Add delayed set-property. This allows to set properties on dynamicaly
5173           created objects (pads in videomxer). Fixes #509391.
5174
5175 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5176
5177         * gst/gstutils.c:
5178         Check if caps are not NULL (fix bug #510194)
5179
5180 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5181
5182         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5183         (gst_base_sink_get_position_paused):
5184         Add fixme regarding EOS in pull mode.
5185         Fix position reporting in PAUSED for negative rates.
5186
5187 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5188
5189         * gst/gstminiobject.c: (gst_mini_object_replace):
5190         When replacing a miniobject, do a quick equality check first so that we
5191         can avoid a ref/unref pair.
5192
5193 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5194
5195         * docs/design/part-synchronisation.txt:
5196         Update some docs.
5197
5198         * docs/plugins/Makefile.am:
5199         * docs/plugins/gstreamer-plugins-docs.sgml:
5200         * docs/plugins/gstreamer-plugins-sections.txt:
5201         * plugins/elements/gstmultiqueue.c:
5202         Add multiqueue to the docs.
5203
5204 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5205
5206         * configure.ac:
5207           Back to CVS
5208
5209 === release 0.10.17 ===
5210
5211 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5212
5213         * configure.ac:
5214           releasing 0.10.17, "Due Negligence"
5215
5216 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5217
5218         * gst/gstutils.c:
5219         Revert caps != NULL check temporarily for 0.10.17 release.
5220
5221 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5222
5223         * gst/gstutils.c:
5224         Check if caps are not NULL (fix bug #510194)
5225
5226 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5227
5228         * gst/gstutils.c:
5229         Fix compilation on systems that have posix timers but no
5230         monotonic clock.
5231         Fixes: #512715
5232         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5233         dot net>
5234
5235 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5236
5237         * tools/gst-inspect.c:
5238         Revert previous commit in preparation for an impromptu 0.10.17 release
5239
5240 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5241
5242         * tools/gst-inspect.c: (print_interfaces),
5243         (print_element_properties_info), (print_pad_info),
5244         (print_signal_info), (print_element_info):
5245         Fix a few memory leaks.
5246
5247 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5248
5249         * configure.ac:
5250         Back to CVS
5251
5252 === release 0.10.16 ===
5253
5254 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5255
5256         * configure.ac:
5257           releasing 0.10.16, "Special Dispensation"
5258
5259 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5260
5261         * configure.ac:
5262           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5263           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5264           not fail when trying to crosscompile on OpenEmbedded (#511750).
5265
5266 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5267
5268         * docs/manuals.mak:
5269         Use $(MAKE) instead of make to fix the build if GNU make is
5270         called different. Fixes bug #510747.
5271
5272 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * gst/gstplugin.c: (_gst_plugin_initialize):
5275           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5276           again, which I broke two commits ago when changing the API
5277           of gst_plugin_register_static(): the g_list_foreach() in
5278           _gst_plugin_register_static still assumed the old function
5279           signature and would therefore fail (re-fixes #510187).
5280
5281         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5282           (_gst_plugin_register_static), (gst_plugin_register_static):
5283           Revert the (technically correct) change to call g_thread_init() from
5284           the pre-main() constructor. This will break programs which call
5285           g_thread_init() without an if (!g_thread_supported()) guard in their
5286           main function. We could just blame it on GLib or the application, but
5287           it's probably best to just avoid this altogether and simply not use
5288           any GLib functions here and use plain old malloc() with a simple
5289           array to store the plugins to register later when gst_init() is
5290           finally called (re-fixes #510187).
5291
5292         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5293           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5294           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5295           (GST_START_TEST), (gst_plugin_suite):
5296           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5297           works.
5298
5299 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5300
5301         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5302           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5303           This makes gtk-doc complain, but results in slightly better
5304           compiler errors. The old _gst_plugin_register_static() is
5305           still guarded, so there'll be a compiler warning about that
5306           instead. Fixes #510187 too.
5307
5308 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5309
5310         * gst/gst.c: (init_post):
5311         * gst/gstplugin.c: (_gst_plugin_register_static),
5312           (gst_plugin_register_static), (_gst_plugin_initialize):
5313         * gst/gstplugin.h: (GstPluginFilter):
5314           Change API of gst_plugin_register_static() to not take
5315           a GstPluginDesc, but rather just take all the arguments
5316           in a GstPluginDesc directly. This is more intuitive and
5317           avoids certain mistakes when porting code from
5318           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5319           Fixes #510187.
5320
5321         * tests/check/gst/gstplugin.c:
5322           Fix up for changed API.
5323
5324 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5325
5326         * docs/faq/legal.xml:
5327           Update FAQ, Totem actually has an exception these days.
5328
5329 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5330
5331         * win32/common/libgstreamer.def:
5332         Add new API declarations
5333
5334 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5335
5336         * gst/gstminiobject.c:
5337           Spelling fixes for the API docs.
5338
5339 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5340
5341         * libs/gst/base/gstbasetransform.c:
5342           Fix long property description for QoS.
5343
5344 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5345
5346         * gst/gst.c:
5347         _gst_trace_on is already provided by gsttrace.h, no need to declare
5348         it ourselves.
5349
5350         * docs/libs/gstreamer-libs-sections.txt:
5351         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5352         and remove strange tcase_add_test which is outputting a warning.
5353
5354         * libs/gst/check/gstcheck.c:
5355         * libs/gst/check/gstcheck.h:
5356         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5357         and define them in gstcheck.c instead of having every .c file whcih
5358         includes gstcheck.h be defining its own copy and relying on symbol
5359         interposing to marry them all, which doesn't work on Solaris.
5360
5361         * tests/check/elements/identity.c: (GST_START_TEST):
5362         Don't define 'buffers' locally, it comes from libgstcheck.
5363
5364         * tests/check/generic/sinks.c: (send_buffer):
5365         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5366
5367         * tests/check/gst/gststructure.c: (GST_START_TEST):
5368         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5369         * tests/check/gst/gstutils.c: (GST_START_TEST):
5370         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5371         Add a bunch of casts to make various constants fit the types
5372         they're being assigned to.
5373
5374 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5375
5376         * gst/gstchildproxy.c:
5377           Improve docs and add some ideas for making this more general-purpose.
5378
5379 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         * gst/gst_private.h: (GST_CAT_TYPES):
5382           Add GST_CAT_TYPES, for consistency, and so that the other
5383           debug categories don't make fun of it. Spotted by Saur on IRC.
5384
5385 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5386
5387         * gst/parse/Makefile.am:
5388           Move types.h from EXTRA_DIST to noinst_HEADERS.
5389
5390 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5391
5392         * autogen.sh:
5393           Add -Wno-portability to the automake parameters to stop warnings
5394           about GNU make extensions being used. We require GNU make in almost
5395           every Makefile anyway.
5396
5397         * configure.ac:
5398           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5399           at the same time is required for per target flags.
5400
5401 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * gst/gstmacros.h:
5404           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5405           __GNUC__ is defined before using it.
5406
5407 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5408
5409         * docs/gst/gstreamer-sections.txt:
5410         * gst/gst.c: (init_post):
5411         * gst/gstplugin.c: (_gst_plugin_register_static),
5412           (gst_plugin_register_static), (_gst_plugin_initialize),
5413           (gst_plugin_register_func):
5414         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5415           API: add gst_plugin_register_static() and deprecate
5416           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5417           (#498924).
5418           Also, in _gst_plugin_register_static(), make sure to call
5419           g_thread_init() before calling GLib functions such as
5420           g_list_append() if we're not initialised yet, since that
5421           may lead to random crashes with older GSlice/GLib versions.
5422
5423         * tests/check/gst/gstplugin.c:
5424           Adapt unit test to above changes.
5425
5426 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5427
5428         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5429         * gst/gstcaps.c: (gst_caps_to_string):
5430         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5431           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5432           Yet another gratuitous GString micro-optimisation: add a (private)
5433           function that serialises a structure appending to an existing
5434           GString, so that when we serialise caps we don't need to alloc+free
5435           a throwaway GString for each structure (each of which also entailing
5436           multiple reallocs on the way); also use g_string_sized_new() in
5437           various places with an approximate string length to avoid reallocs
5438           within GString. See #500143.
5439
5440 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         * gst/gststructure.c: (gst_structure_id_set_value):
5443           Always check UTF-8 conformance of structure strings and not only
5444           if the debugging system is enabled; reasoning: the behaviour of
5445           the actual code shouldn't really change depending on whether the
5446           debugging system is enabled or not (#508291).
5447
5448 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5449
5450         * Makefile.am:
5451           Remove old coverage target in favour of "make lcov".
5452
5453 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5454
5455         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5456         (gst_base_src_loop):
5457         The start segment for reverse playback goes from start to last_stop.
5458
5459 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5460
5461         Patch by: Peter Kjellerstedt <pkj axis com>
5462
5463         * gst/gstclock.h:
5464         Cast the results from the timeval/spec_to_time macros to what the
5465         docs say it casts to, a GstClockTime. fixes #508175.
5466
5467 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5468
5469         * gst/gstbuffer.c:
5470         Update some comments.
5471
5472         * tools/gst-inspect.c: (print_element_properties_info):
5473         Improve printing of flags.
5474
5475 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5476
5477         * libs/gst/base/gstbasetransform.c:
5478           (gst_base_transform_transform_size):
5479           Print element name with g_warning() if there's a problem
5480           with the unit size.
5481
5482 2008-01-07  David Schleef  <ds@schleef.org>
5483
5484         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5485
5486         * libs/gst/controller/gstcontroller.h:
5487         * libs/gst/controller/gstcontrolsource.h:
5488         * libs/gst/controller/gstinterpolationcontrolsource.h:
5489         * libs/gst/controller/gstlfocontrolsource.h:
5490         * libs/gst/dataprotocol/dataprotocol.h:
5491           Fix empty prototypes.  Fixes bug #507957.
5492
5493 2008-01-07  David Schleef  <ds@schleef.org>
5494
5495         * docs/faq/dependencies.xml: Fix typo.
5496
5497 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5498
5499         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5500         (gst_base_src_loop):
5501         Don't update the last_stop position in do_seek, that's the position we
5502         did a seek to.
5503         Read backwards when we have a negative rate.
5504
5505         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5506         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5507         (filesrc_suite):
5508         Add check for reverse reading.
5509
5510 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5511
5512         Patch by: Alexis Ballier <aballier at gentoo org>
5513
5514         * tests/check/gst/gstabi.c:
5515         * tests/check/gst/struct_ppc64.h:
5516         * tests/check/libs/libsabi.c:
5517         * tests/check/libs/struct_ppc64.h:
5518           Decide which header to include based on the userland ABI target
5519           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5520           for 64-bit userland (#503590).  Might need something similar for
5521           x86 too.
5522
5523 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5526           Log the reason why fopen fails in addition to the fact that it failed.
5527           
5528 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5529
5530         * gst/parse/parse.l:
5531         Use "%option never-interactive" to prevent useless calls to isatty()
5532         on every input when parsing. Also use "%option noinput" to not define
5533         the static input/yyinput functions which we don't use anyway. This
5534         removes a compiler warning with gcc 4.3 and saves some bytes in the
5535         library.
5536         
5537         * gst/parse/lex._gst_parse_yy.pre.c:
5538         Regenerated for the above change.
5539
5540 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5541
5542         * gst/gstpad.c: (fixate_value):
5543         Don't crash when trying to fixate and empty list.
5544         Fixes #506643.
5545
5546 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5547
5548         * docs/faq/gst-uninstalled:
5549         Clarify the comments to make the usage of this script and what it
5550         does easier to understand.
5551
5552 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5553
5554         * tools/gst-plot-timeline.py:
5555         Add more options to gst-plot-timeline
5556
5557 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5558
5559         * docs/design/part-synchronisation.txt:
5560         Some more info on how the stream_time in GstBaseSink is done.
5561
5562 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5563
5564         * tests/check/generic/sinks.c: (gst_sinks_suite):
5565           Put back the tcase_set_timeout(), apparently it's needed after
5566           all; fix it up in a way that makes things work with valgrind too.
5567
5568 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5569
5570         * gst/gstdebugutils.c:
5571           Add warning when failed to open file for writing.
5572
5573 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5574
5575         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5576
5577         * gst/gstvalue.c: (gst_value_is_fixed):
5578           Optimisation: bail out of the loop as early as possible (#500143).
5579
5580 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5581
5582         * gst/gstcaps.c: (gst_caps_to_string):
5583         * gst/gstinfo.c: (gst_debug_construct_term_color):
5584         * gst/gstparse.c: (gst_parse_launchv):
5585         * gst/gstutils.c: (gst_util_dump_mem):
5586         * gst/gstvalue.c: (gst_value_serialize_any_list),
5587           (gst_value_transform_any_list_string):
5588           Bunch of gratuitous nano-optimisations.
5589
5590 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5591
5592         * tests/check/generic/sinks.c: (async_done_func),
5593           (async_done_eos_func):
5594           Fix leak in unit test (bus sync handler must unref the message
5595           if it returns GST_BUS_DROP). Don't fiddle with the default test
5596           timeout, this is smaller than the current preconfigured value
5597           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5598           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5599
5600 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5601
5602         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5603
5604         * configure.ac:
5605         Check for stdio_ext.h for the filesink changes.
5606
5607         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5608         (gst_file_sink_class_init), (gst_file_sink_init),
5609         (gst_file_sink_dispose), (gst_file_sink_set_property),
5610         (gst_file_sink_get_property), (gst_file_sink_open_file),
5611         (gst_file_sink_close_file):
5612         * plugins/elements/gstfilesink.h:
5613         Add two properties to control the buffering mode and size.
5614         API: GstFileSink::buffer-mode
5615         API: GstFileSink::buffer-size
5616         Fixes #500150.
5617
5618 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5619
5620         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5621         Add some more docs to explain why a FIXME was wrongly added. 
5622
5623 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5624
5625         * gst/gstobject.c:
5626           Fix typo in the gst_object_{ref,unref} documentation.
5627
5628 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5629
5630         * tests/check/libs/controller.c:
5631         * tests/check/libs/typefindhelper.c:
5632         * tests/check/pipelines/parse-launch.c:
5633           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5634           going to be deprecated (see #498924).
5635
5636 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5637
5638         * gst/gsttypefind.c: (gst_type_find_register):
5639           Make gst_type_find_register work for static typefind functions,
5640           ie. allow passing plugin == NULL (prerequisite for #498924).
5641
5642         * gst/gstelementfactory.c: (gst_element_register):
5643           Small docs addition.
5644
5645 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5646
5647         * gst/gstpad.c: (gst_pad_dispose):
5648         Really unlink the peer pad instead of setting the peer pointer to NULL
5649         when we dispose the pad.
5650         This correctly calls the unlink functions and makes sure that the peer
5651         does not have a handle to invalid memory. See #504671.
5652
5653         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5654         Add testsuite for above case.
5655
5656 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5657
5658         Patch by: Peter Kjellerstedt <pkj axis com>
5659
5660         * libs/gst/check/gstcheck.h:
5661           Fix detection of the check version we're compiling against (would
5662           otherwise break if check goes v0.10.0); correctly report the
5663           name of the failed test again in case of failure, instead of
5664           just 'tf' (fixes #504499).
5665
5666 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5667
5668         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5669         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5670         (gst_base_src_loop), (gst_base_src_set_flushing),
5671         (gst_base_src_change_state):
5672         Allow sending EOS to the source to make it send out an EOS event from
5673         the streaming thread.
5674         Update docs and deprecate the old NULL/READY shutdown method.
5675
5676         * tests/check/libs/basesrc.c: (GST_START_TEST),
5677         (gst_basesrc_suite):
5678         Add unit test for controlled shutdown.
5679
5680 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5681
5682         * docs/design/part-synchronisation.txt:
5683         Small updates.
5684
5685         * gst/gstsegment.c: (gst_segment_set_seek),
5686         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5687         (gst_segment_to_running_time):
5688         The seek format can be different from the segment format when the start
5689         and stop values are not to be updated, when we only do a rate change for
5690         example.
5691
5692         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5693         (gst_segment_suite):
5694         Add a testcase for the rate-only seeks, checking that the format is
5695         correctly ignored when start and stop are not updated.
5696
5697 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5698
5699         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5700
5701         * win32/vs8/grammar.vcproj:
5702         * win32/vs8/libgstcontroller.vcproj:
5703         * win32/vs8/libgstreamer.vcproj:
5704         Fix compilation with VS8 and include some missing files.
5705
5706 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5707
5708         * gst/gsttaglist.c:
5709           Small docs addition: mention that the strings returned by
5710           gst_tag_list_get_string*() are in UTF-8 encoding.
5711
5712 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5713
5714         * Makefile.am:
5715           The check-exports stuff moved to common/win32.mak, so include that.
5716
5717 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5718
5719         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5720         (gst_base_src_perform_seek), (gst_base_src_get_range),
5721         (gst_base_src_set_playing), (gst_base_src_change_state):
5722         Make _wait_playing() not check any variables so that we can call this
5723         function from subclasses. Move the checks elsewhere similar to
5724         _wait_preroll() in basesink.
5725         Add some debugging.
5726         Only signal the LIVE cond when we are going back to PLAYING.
5727
5728 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5729
5730         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5731           Use g_remove() and g_rename(). Check result of g_rename(), and
5732           don't leak the open file descriptor if we error out when writing.
5733
5734         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5735           Must check the return value of close() after writing out the new
5736           registry file.  Sometimes write problems such as out-of-diskspace
5737           are only reported when the file is closed and not already during
5738           the write.  This may have caused partial/broken registry files in
5739           some rare circumstances. Should fix #503675.
5740
5741 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5742
5743         * docs/gst/.cvsignore:
5744         * docs/libs/.cvsignore:
5745         * docs/plugins/.cvsignore:
5746         Ignore files generated by new common/* modifications
5747
5748 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5749
5750         * win32/common/libgstbase.def:
5751           Yes, you can also have a <TAB> if you want.
5752
5753 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5754
5755         * win32/common/libgstbase.def:
5756           Add new basetransform API to win export file.
5757
5758 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5759
5760         * tests/check/gst/gstbin.c:
5761           Adjust the test to the refcount change two days ago.
5762
5763 2007-12-14  David Schleef  <ds@schleef.org>
5764
5765         * docs/faq/getting.xml: Fix typo.
5766
5767 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5768
5769         * docs/libs/gstreamer-libs-sections.txt:
5770         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5771           (gst_base_transform_prepare_output_buffer),
5772           (gst_base_transform_set_gap_aware):
5773         * libs/gst/base/gstbasetransform.h:
5774           API: Add gst_base_transform_set_gap_aware() to control whether
5775           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5776           get buffers with this flag at all. Fixes #503231.
5777
5778 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * libs/gst/base/gstbasesink.c:
5781         * libs/gst/base/gstbasesrc.c:
5782         * libs/gst/base/gstbasetransform.c:
5783           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5784           thread. Correct log message in gstbasesrc.c.
5785
5786 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5787
5788         * gst/gstutils.c: (element_find_unconnected_pad):
5789           Fix possible compiler warning (#503417).
5790
5791 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5792
5793         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5794           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5795
5796 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5797
5798         * tools/gst-inspect.c: (print_element_properties_info):
5799           Add support for GstFraction properties.
5800
5801 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         * Makefile.am:
5804           Add check-exports target and run it as part of 'make check'
5805           (see #499140 and #493983).
5806
5807         * gst/gst_private.h:
5808         * gst/gstelementfactory.h:
5809         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5810         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5811           (_priv_gst_in_valgrind):
5812         * gst/gstinfo.h: (GstLogFunction):
5813         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5814           (gst_type_find_register):
5815         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5816           (gst_type_find_factory_get_type):
5817         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5818           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5819           (gst_controller_new_valist), (gst_controller_new_list),
5820           (_gst_controller_dispose), (_gst_controller_class_init):
5821         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5822         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5823           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5824           (gst_object_get_controller), (gst_object_set_controller),
5825           (gst_object_suggest_next_sync), (gst_object_sync_values),
5826           (gst_object_set_control_source), (gst_object_get_control_source),
5827           (gst_object_get_value_arrays), (gst_object_get_value_array),
5828           (gst_object_get_control_rate), (gst_object_set_control_rate):
5829         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5830         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5831           Make some functions that should be static static; rename some
5832           private symbols so that they don't get exported; add some FIXME
5833           comments so we can move accidentally exported functions into
5834           our private section in 0.11.
5835
5836         * win32/common/libgstreamer.def:
5837           Add gst_utils_get_timestamp().
5838
5839 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5840
5841         * gst/gstvalue.c:
5842         * gst/gstvalue.h:
5843           Add more missing "Since:" tags to docs.
5844
5845 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * gst/gstutils.c:
5848           Add mising "Since:" to docs.
5849
5850 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * gst/gstplugin.c:
5853           Include "glib-compat-private.h" to fix the build on system with
5854           glib < 2.10. Fixes #503131.
5855
5856 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5857
5858         * gst/gstutils.c:
5859         * gst/gstutils.h:
5860           Actually its not PURE as it gets the time from elsewhere.
5861
5862 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5863
5864         * docs/gst/gstreamer-sections.txt:
5865         * gst/gstclock.h:
5866         * gst/gstdebugutils.c:
5867         * gst/gstinfo.c:
5868         * gst/gstutils.c:
5869         * gst/gstutils.h:
5870         * libs/gst/base/gstbasesink.c:
5871         * tools/gst-launch.c:
5872           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5873           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5874           Thanks Tim for spotting.
5875           API: gst_util_get_timestamp
5876
5877 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5878
5879         * configure.ac:
5880           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5881
5882 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5883
5884         * gst/gststructure.c: (gst_structure_validate_name),
5885           (gst_structure_new_valist), (gst_structure_parse_value),
5886           (gst_structure_from_string):
5887           Don't crash in _from_string() if the structure name is not valid
5888           (fixes #501560).  Allow structure names to start with a number
5889           again (this apparently broke the ubuntu codec installer).
5890
5891         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5892           (GST_START_TEST):
5893           Add unit test for the crash; update unit tests for new behaviour.
5894
5895 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5896
5897         * gst/gstutils.c:
5898         Clarify gst_element_get_compatible_pad() documentation.
5899         Fixes #500919.
5900
5901 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5902
5903         * tests/check/Makefile.am:
5904           Don't forget to dist {gst,libs}/struct_hppa.h.
5905
5906 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5907
5908         * libs/gst/base/gstbasesink.c:
5909           Use new API to get elapsed time.
5910
5911 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5912
5913         * gst/gstdebugutils.c:
5914         * gst/gstinfo.c:
5915           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5916
5917         * tools/gst-launch.c:
5918           Use new API to get elapsed time.
5919
5920 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5921
5922         * docs/gst/gstreamer-sections.txt:
5923         * gst/gstclock.h:
5924         * gst/gstdebugutils.c:
5925         * gst/gstinfo.c:
5926           Rename new API + ChangeLog surgery to remove old name from last entry..
5927
5928 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5929
5930         * docs/gst/gstreamer-sections.txt:
5931         * gst/gstclock.h:
5932         * gst/gstdebugutils.c:
5933         * gst/gstinfo.c:
5934           Now hide the different clock stuff behind a macro.
5935
5936 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5937
5938         * configure.ac:
5939         * gst/gstdebugutils.c:
5940         * gst/gstinfo.c:
5941           Apply the posix-timer check from #361155. Conditionally use the posix
5942           timer for logging. This gives better timestamp precission, less
5943           overhead and no ntp jitter.
5944
5945 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5946
5947         * gst/gstminiobject.c: (gst_mini_object_get_type),
5948         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5949         (gst_mini_object_finalize), (gst_mini_object_copy),
5950         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5951         (gst_mini_object_replace), (param_mini_object_validate),
5952         (gst_param_spec_mini_object_get_type):
5953         Some cleanup and checking against invalid function parameters.
5954
5955 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5956
5957         * docs/gst/gstreamer-sections.txt:
5958         * gst/gstclock.h:
5959         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5960         (gst_systemclock_suite):
5961         Start merging in the easy bits of #361155, the monotonic clock patch.
5962         This one adds a few handy macros with docs and a testsuite.
5963
5964 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5965
5966         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5967         Be a bit smarter when seeking, like, don't try to do a seek when it's
5968         not needed. This avoids errors when the file is not seekable.
5969         Fixes #499771.
5970
5971 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5972
5973         * docs/gst/gstreamer-docs.sgml:
5974         * docs/gst/gstreamer-sections.txt:
5975         * docs/gst/gstreamer.types.in:
5976         * gst/Makefile.am:
5977         * gst/gst.h:
5978         * gst/gstpreset.c:
5979         * gst/gstpreset.h:
5980         * plugins/elements/gstqueue.c:
5981           Due to popular request remove preset interface again. :-(.
5982
5983 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5984
5985         * tools/gst-inspect.c:
5986           Print 'default value' for enums and flags too.
5987
5988 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5989
5990         * docs/random/ensonic/profiling.txt:
5991           More ideas.
5992
5993         * gst/gstbin.c:
5994           Fix typo and give better log output.
5995
5996         * gst/gstdebugutils.c:
5997         * gst/gstdebugutils.h:
5998           More ideas, make graphs a bit smaller and fix param name in macro.
5999
6000 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
6001
6002         * gst/gstpreset.c:
6003           Try harder to use the return value from fgets().
6004
6005 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
6006
6007         * gst/gstpreset.c:
6008           For theses two fgets we handle the error below.
6009
6010 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
6011
6012         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
6013         Only send upstream events upstream. Fixes #498746.
6014
6015 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
6016
6017         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
6018
6019         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6020         (gst_identity_init), (gst_identity_transform_ip),
6021         (gst_identity_set_property), (gst_identity_get_property):
6022         * plugins/elements/gstidentity.h:
6023         Add property to disable handoff signal emission. Fixes #498694.
6024         API: GstIdentity::signal-handoffs
6025
6026 2007-11-21  Julien Moutte  <julien@fluendo.com>
6027
6028         * docs/faq/gst-uninstalled: Yet another missing library for the
6029         uninstalled script (fft)
6030
6031 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
6032
6033         * docs/faq/developing.xml:
6034         Add a question about how to submit new translations.
6035
6036         * docs/random/release:
6037         Update the contact email address for the Translation Project
6038
6039         * plugins/elements/gstfdsrc.c:
6040         The parent_class for fdsrc is pushsrc, not GstElement.
6041
6042 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6043
6044         * gst/gstpreset.c:
6045           Plug a leak and fix saving.
6046
6047 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
6048
6049         * docs/gst/gstreamer-sections.txt:
6050         Add new gst_preset__get_property_names() function to the docs
6051         to fix the build.
6052
6053 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
6054
6055         * gst/gstpreset.c:
6056         * gst/gstpreset.h:
6057           Change _get_preset_names API to return a strv with copies. Add
6058           _get_property_names to allow implementations to filter and provide
6059           good default implementation.
6060
6061 2007-11-20  Julien MOUTTE  <julien@moutte.net>
6062
6063         * docs/faq/gst-uninstalled: Add another library to the uninstalled
6064         script (sdp).
6065
6066 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6067
6068         * gst/gstpreset.c:
6069           More cleanups, docs, and TODOs from comments that now slowly come in.
6070
6071 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6072
6073         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
6074         search path.
6075
6076 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
6077
6078         * gst/gstpreset.c:
6079           Fix bogus warning and make the property type specific code more
6080           similar.
6081
6082 2007-11-19  Julien MOUTTE  <julien@moutte.net>
6083
6084         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
6085         it build on OS X.
6086
6087 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
6088
6089         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6090         (gst_bin_add_func), (gst_bin_remove_func),
6091         (gst_bin_change_state_func), (gst_bin_continue_func):
6092         Change email, cleanups add some more debug and comments.
6093         Also set bus and clock on new elements when the pipeline was in error.
6094
6095 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
6096
6097         * gst/gstbin.c:
6098         * gst/gstdebugutils.c:
6099           Fix build with --disable-gst-debug. Fixes #497859.
6100           Spotted by Sameer Naik.
6101
6102 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6103
6104         * gst/gstevent.c:
6105           Little documentation improvment.
6106
6107         * gst/gstpreset.c:
6108           More TODO cleanups. Remove c++ comments.
6109
6110         * libs/gst/controller/gstcontroller.c:
6111           Add TODO and use quark from static string.
6112
6113         * tests/check/gst/gstmessage.c:
6114         * tests/check/gst/gststructure.c:
6115           Use quark from static string.
6116
6117 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6118
6119         * gst/gstpreset.c:
6120           Add some comments and TODOs.
6121
6122         * gst/gstpreset.h:
6123           Add padding for future changes.
6124
6125         * plugins/elements/gstqueue.c:
6126           Implement the iface.    
6127
6128 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6129
6130         * docs/gst/gstreamer-docs.sgml:
6131         * docs/gst/gstreamer-sections.txt:
6132         * docs/gst/gstreamer.types.in:
6133         * gst/Makefile.am:
6134         * gst/gst.h:
6135         * gst/gstpreset.c:
6136         * gst/gstpreset.h:
6137           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6138
6139 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6140
6141         * configure.ac:
6142
6143         Back to CVS
6144
6145 === release 0.10.15 ===
6146
6147 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6148
6149         * configure.ac:
6150           releasing 0.10.15, "October"
6151
6152 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6153
6154         * win32/vs6/libgstreamer.dsp:
6155         Convert line endings back to DOS.
6156
6157 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6158
6159         * docs/design/draft-tagreading.txt:
6160         * docs/random/ensonic/profiling.txt:
6161         Update fast tagreading draft and performance profiling ideas.
6162
6163 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6164
6165         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6166         Don't hold the object lock when unreffing a buffer because it could
6167         cause a deadlock when the finalize function wants to grab the object
6168         lock too. Fixes #495133.
6169
6170 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6171
6172         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6173         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6174         Also accumulate time correctly when doing reverse playback. Fixes
6175         #488201,
6176         When converting to running and stream time, use default values for
6177         start/stop/time/accum when comparing different formats. Fixes #494245.
6178
6179         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6180         Do running/stream time in TIME format.
6181
6182         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6183         (gst_segment_suite):
6184         2 new unit tests for segment accumulation.
6185
6186 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6187
6188         * gst/gst.c: (init_pre):
6189         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6190           (_gst_debug_bin_to_dot_file):
6191           Move getenv() back into gst_init, so everyone can live happily
6192           ever after. Make sure the symbol isn't exported though.
6193
6194 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6195
6196         Patch by: Sebastien Moutte  <sebastien moutte net>
6197
6198         * win32/common/gstenumtypes.c:
6199         * win32/common/gstenumtypes.h:
6200           Update enum types.
6201
6202         * win32/vs6/libgstreamer.dsp:
6203           Update vs6 project files (#494343).
6204
6205 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6206
6207         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6208         (gst_base_src_perform_seek), (gst_base_src_default_event),
6209         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6210         (gst_base_src_activate_pull):
6211         Unify flushing code, remove some old unlock code that is no longer used.
6212         Take the streaming lock when seeking to avoid races. Fixes #492729.
6213         Added some more comments.
6214
6215 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6216
6217         * gst/gst.c: (_gst_disable_segtrap):
6218           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6219           we can use gst_segtrap_is_enabled() there now that we have that API.
6220           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6221           to do the getenv here (and export the variable).
6222
6223         * gst/gstdebugutils.c: (debug_dump_element),
6224           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6225           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6226
6227         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6228           (gst_debug_log_default):
6229           Rename _gst_info_start_time to priv_gst_info_start_time so it
6230           doesn't get exported (was never in any header).
6231
6232         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6233           (gst_plugin_loading_mutex):
6234           Make static mutex gst_plugin_loading_mutex really static (was never
6235           in any header), and use gst_segtrap_is_enabled() instead of
6236           _gst_disable_segtrap.
6237
6238         * gst/gsttrace.c: (_gst_trace_default):
6239           Make local _gst_trace_default static (was never in any header).
6240
6241 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6242
6243         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6244
6245         * win32/common/libgstbase.def:
6246         * win32/common/libgstcontroller.def:
6247         * win32/common/libgstdataprotocol.def:
6248         * win32/common/libgstnet.def:
6249         * win32/common/libgstreamer.def:
6250           Add more missing symbols, remove some duplicates, and sort
6251           as the 'sort' command sorts it (partially fixes #493983).
6252
6253 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6254
6255         * gst/gstelement.c: (gst_element_set_state_func):
6256         Only change the state cookie if a different state was set on the
6257         element. See #492729.
6258
6259 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6260
6261         * gst/gstvalue.c:
6262           Remove unused and uninitialised type variables that were still
6263           exported for some reason (they were never in any header files
6264           though).
6265
6266 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6267
6268         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6269         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6270         (gst_base_sink_event), (gst_base_sink_get_position_last),
6271         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6272         (gst_base_sink_change_state):
6273         Don't try to report a 0 position when we don't know, return -1 and FALSE
6274         instead. This mostly happens when we are prerolling.
6275         Make sure we can report the right position before we post the ASYNC_DONE
6276         message so that a message handler can query position without races.
6277
6278         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6279         (async_done_handoff), (async_done_func), (send_buffer),
6280         (async_done_eos_func), (gst_sinks_suite):
6281         Add two tests for the above.
6282
6283 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6284
6285         * MAINTAINERS:
6286         Update with new email address.
6287
6288         * docs/design/part-TODO.txt:
6289         Add some more info about future pad-block and negotiation changes.
6290
6291         * docs/design/part-buffering.txt:
6292         Add some ideas about buffering reporting.
6293
6294 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6295
6296         * tests/check/gst/gstobject.c:
6297         Disable silly racy test that always fails on this combination of CPU
6298         and kernel.
6299
6300 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6301
6302         Patch by: Murray Cumming  <murrayc@murrayc.com>
6303
6304         * gst/gstobject.c:
6305           Corrected the registration of the parent-set and parent-unset
6306           signals: The parameter is a GstObject, not a GObject (#493134).
6307
6308 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6309
6310         * gst/gst_private.h:
6311         * gst/gstbuffer.h:
6312         * gst/gstevent.h:
6313         * gst/gstformat.h:
6314         * gst/gstmessage.h:
6315         * gst/gstplugin.h:
6316         * gst/gstquery.h:
6317         * gst/gsttaglist.h:
6318         * gst/gstvalue.h:
6319           Move declaration of private _gst_foo_initialize() functions into
6320           our private header file where they should have been all along.
6321
6322 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6323
6324         * docs/plugins/gstreamer-plugins-sections.txt:
6325         * gst/gstdebugutils.h:
6326         * gst/gstxml.h:
6327         * plugins/elements/gstqueue.c:
6328           gtk-doc fixes; trailing-comma-in-enum fix.
6329
6330 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * gst/gst.c: (gst_deinit):
6333           Clean up on deinit (not the external ones though, doesn't seem to be
6334           needed for some reason).
6335
6336 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6337
6338         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6339           Remove __declspec(dllimport) for MSVC that was copied over into core
6340           from a plugin, obviously without ever having been tested (note the
6341           single underscore in _declspec in the initial commit), and that doesn't
6342           really make sense.  See #492077.
6343
6344 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6345
6346         * gst/gst.c: (init_post):
6347         * gst/gstevent.c: (_gst_event_initialize):
6348         * gst/gstquery.c: (_gst_query_initialize):
6349         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6350           g_type_class_ref() other types as well, see #349410 and #64764.
6351
6352         * gst/gstbuffer.c: (_gst_buffer_initialize):
6353         * gst/gstmessage.c: (_gst_message_initialize):
6354           Simplify existing g_type_class_ref().
6355
6356 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6357
6358         * gst/gstformat.c: (_gst_format_initialize):
6359           g_type_class_ref() our GstFormat type to make sure we avoid the
6360           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6361           bug #64764. Should fix intermittent tee unit test failures (#474823).
6362
6363 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6364
6365         * tests/check/elements/tee.c: (test_num_buffers):
6366           Simplify, simplify, simplify - or not.  Rewrite unit test
6367           not to use gst_parse_launch(); allow N sub-streams. Increasing
6368           the number of sub-streams seems to reproduce #474823 more easily.
6369
6370 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6371
6372         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6373
6374         * gst/gsttrace.c:
6375         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6376         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6377         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6378           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6379           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6380           so use _pipe() directly (#492077).
6381
6382         * win32/common/dirent.c: (_treaddir):
6383           Add a couple of casts to make it build without warnings with MSVC.
6384
6385         * win32/common/libgstreamer.def:
6386           Add some more symbols that need to be exported.
6387
6388 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6389
6390         * tests/examples/metadata/read-metadata.c: (message_loop):
6391           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6392           arriving in a second or third tag message are added to
6393           the tag list as well.
6394
6395 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6396
6397         * libs/gst/base/gstbasesrc.c:
6398           Its "Since:" and not "@Since:". And remove an superflous cast.
6399
6400 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6401
6402         * docs/libs/gstreamer-libs-sections.txt:
6403         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6404         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6405         (gst_base_sink_get_property), (gst_base_sink_render_object),
6406         (gst_base_sink_preroll_object),
6407         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6408         (gst_base_sink_change_state):
6409         * libs/gst/base/gstbasesink.h:
6410         Add a new last-buffer property that contains the last buffer used in
6411         basesink for preroll or rendering. useful for making snapshots.
6412         API: gst_base_sink_get_last_buffer()
6413         API: GstBaseSink::last-buffer
6414
6415 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6416
6417         * docs/gst/running.xml:
6418         * gst/gst.c:
6419         * gst/gstdebugutils.c:
6420         * gst/gstdebugutils.h:
6421         * tools/gst-launch.c:
6422           Improve bin graph dumping, by using the envvar to specify a path.
6423           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6424
6425 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6426
6427         * plugins/elements/gsttypefindelement.c:
6428           (gst_type_find_element_handle_event),
6429           (gst_type_find_element_activate):
6430           Post special error message if we can't determine the type of a stream
6431           because it's empty.
6432
6433 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6434
6435         * docs/gst/running.xml:
6436         * gst/gstdebugutils.c:
6437           Document new env-var. Add one log-line after dumpng a graph.
6438
6439 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6440
6441         * configure.ac:
6442           Ugly hack to put the (recently removed and non-portable, apparently)
6443           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6444           GNU ld, because without that 'make check' fails miserably on my debian
6445           stable box.  Someone with more knowledge of linker intricacies and
6446           portability issues than me fix this properly please.
6447
6448 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6449
6450         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6451         Reset last seen position after flushing so that we don't report the old
6452         position anymore.
6453
6454 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6455
6456         * gst/gstelementfactory.c: (gst_element_register):
6457         * gst/gsturi.h:
6458         Patch from Alessandro Decina adding get_type_full and
6459         get_protocols_full private vfuncs to the URIHandler interface
6460         to allow bindings to support creating URI handlers. 
6461         Partially fixes: #339279
6462         API: GstURIHandlerInterface::get_type_full
6463         API: GstURIHandlerInterface::get_protocols_full
6464
6465 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6466
6467         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6468         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6469         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6470         Make it so that pads are considered linked until a buffer is pushed
6471         and discovered otherwise. This avoids problems with decodebin2 hanging
6472         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6473         case.
6474
6475         Make sure we lock the multiqueue when updating the max-size properties.
6476         
6477         Fix a crash on Solaris in a debug statement in get_request_pad that
6478         passes a NULL string to GST_DEBUG. 
6479
6480         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6481         (run_output_order_test):
6482         Fix the test to allow the first buffer on not-linked pads to come out
6483         of sequence while multiqueue discovers that they are not-linked.
6484
6485 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6486
6487         * configure.ac:
6488         * libs/gst/check/Makefile.am:
6489         Use a custom export symbol regex for libgstcheck, as it needs
6490         to export symbols that don't match the standard GStreamer gst_*
6491         pattern, and  --export-dynamic is not portable (only works on 
6492         GNU ld)
6493
6494         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6495         (gst_check_setup_sink_pad):
6496         Make sure to pass a message parameter to the fail_* macros.
6497
6498         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6499         Fix some compiler warnings.
6500
6501 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6502
6503         * tests/check/gst/gststructure.c: (test_to_string):
6504           Disable test that checks that white spaces are not allowed
6505           in structure names or field names, since we need to
6506           support that for now for backwards compatibility reasons.
6507
6508 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6509
6510         * docs/gst/gstreamer-sections.txt:
6511         * gst/gsttaglist.c:
6512         * gst/gsttaglist.h:
6513           API: add GST_TAG_ARTIST_SORTNAME
6514           API: add GST_TAG_ALBUM_SORTNAME
6515           API: add GST_TAG_TITLE_SORTNAME
6516           Add tag variants for sorting (#414539).
6517
6518 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6519
6520         * gst/gststructure.c:
6521           Also allow white space for names so we don't break
6522           backwards compatibility.
6523
6524 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6525
6526         * docs/design/part-TODO.txt:
6527         * docs/design/part-segments.txt:
6528         * docs/design/part-streams.txt:
6529         Small updates.
6530
6531 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6532
6533         * docs/gst/gstreamer-sections.txt:
6534          Fixed documentation from my previous commit (added new API add
6535          gst_value_set_structure(), add gst_value_get_structure() and
6536          GST_VALUE_HOLDS_STRUCTURE).
6537
6538 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6539
6540         * gst/gstdebugutils.c:
6541           Reflow code to fix uninitialized variable warning.
6542
6543 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6544
6545         * gst/gstcaps.c: (gst_caps_to_string),
6546         (gst_caps_from_string_inplace):
6547         * gst/gststructure.c: (gst_structure_get_abbrs),
6548         (gst_structure_to_string), (gst_structure_from_string):
6549         * gst/gstvalue.c: (gst_value_set_structure),
6550         (gst_value_get_structure), (gst_value_serialize_structure),
6551         (gst_value_deserialize_structure), (_gst_value_initialize):
6552         * gst/gstvalue.h:
6553         * tests/check/gst/gststructure.c: (GST_START_TEST),
6554         (gst_structure_suite):
6555         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6556          Added GstStructure to gst_value_table and its related functions.
6557          Changed gst_structure_to_string to print ';' in the end.
6558          Changed gst_caps_to_string to not print ';' beteween its
6559          fields (structures) anymore and remove the lastes ';' from latest
6560          structure. Now it is possible to have nested structures.
6561          In addition, backward compatibilty is assured by accepting '\0' as
6562          end delimiter. Fixes: #487969.
6563          API: add gst_value_set_structure()
6564          API: add gst_value_get_structure()
6565          API: add GST_VALUE_HOLDS_STRUCTURE
6566
6567 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * gst/gstbus.c:
6570           When no GSource callback has been set up, tell developer
6571           to use a function that actually exists.
6572
6573 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6574
6575         * docs/gst/gstreamer-sections.txt:
6576         * gst/Makefile.am:
6577         * gst/gst.c:
6578         * gst/gst.h:
6579         * gst/gstdebugutils.c:
6580         * gst/gstdebugutils.h:
6581         * gst/gstinfo.c:
6582         * gst/gstinfo.h:
6583         * tools/gst-launch.c:
6584           Allow dumping pipelines as dot graphs. Fixes #456573.
6585
6586 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6587
6588         * gst/gststructure.c:
6589           Allow '+' as well, it can be part of media or mime types
6590           such as image/svg+xml.
6591
6592 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6593
6594         * docs/gst/gstreamer-sections.txt:
6595         * gst/gstbus.c:
6596         * gst/gstbus.h:
6597           API: add gst_bus_pop_filtered
6598           API: add gst_bus_timed_pop_filtered
6599           Two new functions for waiting for specific message types on the
6600           bus for a specified amount of time without iterating any main
6601           loops or main contexts.
6602
6603         * tests/check/gst/gstbus.c:
6604           Some tests for the new functions.
6605
6606 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * docs/libs/gstreamer-libs-sections.txt:
6609           Make gtk-doc ignore stuff it should ignore.
6610
6611 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6612
6613         * libs/gst/check/gstcheck.c:
6614         * libs/gst/check/gstcheck.h:
6615           Allow runtime selection of unit tests to run via the GST_CHECKS
6616           environment variable (test case function names, comma-separated).
6617
6618 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6619
6620         * gst/gststructure.c:
6621         * tests/check/gst/gststructure.c:
6622           Revert serialisation change and constrain structure-names after
6623           consensus on irc. Update api documentation to reflect the change.
6624
6625 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6626
6627         * gst/gststructure.c:
6628           Improve serialization and fix tests.
6629
6630         * tests/check/gst/gststructure.c:
6631           Add another test that covers why I actually did the previous structure
6632           change.
6633
6634 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6635
6636         * tools/gst-inspect.c: (print_element_info):
6637         Don't crash when inspecting an element.
6638
6639 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6640
6641         * tests/check/gst/gststructure.c:
6642           Add unit test for escaping of structure name when serialising
6643           and deserialising to/from strings.
6644
6645 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6646
6647         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6648         (gst_single_queue_new):
6649         * plugins/elements/gstqueue.c: (gst_queue_init),
6650         (gst_queue_push_one):
6651         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6652         upstream is tricked into thinking it can suggest a format downstream
6653         while downstream does not support that format. The real problem is that
6654         core calls acceptcaps when pushing a buffer with new caps, for which we
6655         do a little workaround by setting the caps on the srcpad ourselves
6656         before pushing the buffer (until this is figured out). Fixes #486758.
6657
6658 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * gst/gststructure.c:
6661         * gst/gstvalue.c:
6662           Add some more comments and debug output. Quote structure name to fix
6663           deserialisation of some strings.
6664
6665 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6666
6667         * gst/gstbuffer.h:
6668           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6669           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6670
6671 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6672
6673         * tools/gst-inspect.c:
6674           Save approx. 400 1 byte allocs when printing. Use API to acces element
6675           details.
6676
6677         * tools/gst-run.c:
6678           Avoid a strdup.
6679
6680         * tools/gst-xmlinspect.c:
6681           Use API to acces element details.
6682
6683 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6684
6685         * gst/gstinfo.c:
6686           Fix some spelling errors.
6687
6688 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6689
6690         * gst/gstbin.c: (bin_handle_async_done):
6691         Correctly set the next state if all of our async children commited their
6692         state. This makes sure we can actually cancel the state change in
6693         progress. Fixes a regression in Rhythmbox when seeking.
6694
6695 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6696
6697         * gst/gstbin.c:
6698           Don't shadow local variable.
6699
6700         * gst/gstinfo.c:
6701           Don't shadow global function name.
6702
6703 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6704
6705         * gst/gstelementfactory.c:
6706         * gst/gstpluginfeature.c:
6707         * gst/gstpluginfeature.h:
6708         * gst/gstregistrybinary.c:
6709         * gst/gstregistryxml.c:
6710         * gst/gsttypefind.c:
6711           Use already-interned string for the private GstPluginFeature
6712           plugin_name field.
6713
6714 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6715
6716         * docs/libs/gstreamer-libs-sections.txt:
6717           Add new API to docs; fixes the build.
6718
6719 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6720         
6721         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6722
6723         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6724         (gst_base_sink_event):
6725         * libs/gst/base/gstbasesink.h:
6726         Add function to wait for EOS, subclasses can use this to correctly wait
6727         for devices to drain before performing the EOS logic. Fixes #485343.
6728         API: gst_base_sink_wait_eos()
6729
6730 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * gst/gstplugin.h:
6733           Cast description string constants in GST_PLUGIN_DEFINE macros
6734           to a (gchar*) to make C++ code using these macros compile
6735           without warning with g++-4.2 (see #462737).  Even if slightly
6736           ugly, this seems preferable to putting the description strings
6737           into the GLib quark table or making the structure member a
6738           const gchar * and doing casts in core code that allocs and
6739           frees these strings, or requiring a cast in the C++ code.
6740
6741 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * gst/gstinfo.h:
6744           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6745           to print the entire class/function signature into the log
6746           file for C++ code.  This only affects C++ code, for C code
6747           everything remains the same.
6748
6749 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6750
6751         * gst/gstbin.c: (remove_from_queue):
6752         Work around a problem with pipelines containing (semi)loops until a
6753         proper, more complicated solution is ready. See #475455.
6754
6755 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6756
6757         * gst/gstplugin.c:
6758         * gst/gstplugin.h:
6759         * gst/gstregistrybinary.c:
6760         * gst/gstregistryxml.c:
6761           Put more strings into the GLib quark table. No need to keep
6762           a hundred-something copies of identical version strings,
6763           license strings, package name strings and package origin
6764           strings around. 
6765
6766 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6767
6768         * docs/manual/advanced-dataaccess.xml:
6769           Don't imply that it's okay to unconditionally change
6770           buffer data or buffer metadata in a pad probe callback,
6771           and a bunch of other comments. Fixes #430031.
6772
6773 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6774
6775         * win32/common/gstenumtypes.c:
6776         * win32/common/gstenumtypes.h:
6777         * win32/common/gstversion.h:
6778           Update generated files.
6779
6780 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6781
6782         * docs/manual/advanced-autoplugging.xml:
6783           Prefix section with broken code with a warning (see #342432).
6784
6785 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6786
6787         * docs/manual/appendix-integration.xml:
6788         * docs/manual/basics-init.xml:
6789           Call g_thread_init() before g_option_context_new() to
6790           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6791
6792 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6793
6794         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6795         (gst_base_sink_queue_object_unlocked),
6796         (gst_base_sink_queue_object), (gst_base_sink_event),
6797         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6798         When we received EOS and are waiting for when to post the EOS message,
6799         our state is prerolled and we should not return ASYNC.
6800         Reorganize some code paths to implement this behavior.
6801
6802         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6803         (gst_sinks_suite):
6804         Add unit test to verify above EOS fix.
6805
6806 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6807
6808         * plugins/elements/gsttypefindelement.c:
6809         (gst_type_find_element_have_type), (gst_type_find_element_init),
6810         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6811         Move detecting the input caps of the sinkpad to the setcaps function.
6812         This allows us to update the output caps when we receive new input caps
6813         instead of always using the first detected caps.
6814
6815 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6816
6817         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6818         (gst_base_sink_get_position):
6819         Don't try to preroll non-async elements after a flush.
6820         Subtract latency form clock times when reporting position.
6821
6822 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6823
6824         * gst/gstpad.c: (gst_pad_pause_task):
6825         * gst/gstutils.c:
6826         Small comment and documentation update.
6827
6828 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6829
6830         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6831         (gst_base_src_set_live), (gst_base_src_is_live),
6832         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6833         (gst_base_src_default_event), (gst_base_src_wait),
6834         (gst_base_src_do_sync), (gst_base_src_get_range),
6835         (gst_base_src_pad_get_range), (gst_base_src_loop),
6836         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6837         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6838         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6839         (gst_base_src_change_state):
6840         Rework the locking of basesrc in a similar fashion to basesink. We
6841         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6842         us to handle live sources and semi live ones much better.
6843         Simplify flushing.
6844         Fix unlocking when seeking, shutting down and pausing in live sources.
6845
6846 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6847
6848         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6849         Fix compilation again.
6850
6851 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6852
6853         * gst/gstelement.c:
6854           Use meaningful categories for the logs to clean the default one.
6855
6856 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6857
6858         * tests/check/pipelines/cleanup.c:
6859           Print message name and not just number.
6860
6861 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6862
6863         * docs/design/draft-tagreading.txt:
6864           Add some more thoughts.
6865
6866 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6867
6868         * tests/check/pipelines/simple-launch-lines.c:
6869           Print message name and not just number.
6870
6871 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6872
6873         * libs/gst/base/gsttypefindhelper.c:
6874           Speedup typefinding. This is work in progress (see #459862).
6875
6876 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6877
6878         * gst/gstplugin.c:
6879           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6880           Spotted by Josep Torra Valles <josep@fluendo.com>.
6881
6882 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6883
6884         * gst/gstclock.h:
6885           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6886           field has moved to GstObject.
6887
6888 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6889
6890         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6891         (gst_base_src_get_range), (gst_base_src_change_state):
6892         Call unlock for live sources so that they can't get stuck in _create and
6893         produce a buffer before they are set back to PLAYING.
6894
6895 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6896
6897         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6898         (gst_queue_locked_dequeue):
6899         Comment the segment-related code... in the PROPER function.
6900         See #482147 and my commit from yesterday.
6901
6902 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6903
6904         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6905         Also initialize the counter that calculates the first timestamp on a
6906         buffer correctly for non-live sources.
6907
6908 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6909
6910         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6911         Disable code that's breaking the current-time-level reporting.
6912         See #482147
6913
6914 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6915
6916         * docs/gst/gstreamer-sections.txt:
6917         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6918         as they shouldn't show up. Fixes the docs build.
6919
6920 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6921         
6922         * gst/gstinfo.h:
6923         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6924         Define M_PI which is used in files which are including gstinfo.h. 
6925         VS6 includes doesn't define it.
6926         * win32/common/libgstbase.def:
6927         * win32/common/libgstcontroller.def:
6928         * win32/common/libgstreamer.def:
6929         Add new exported functions and variables.
6930         * win32/vs6/libgstcontroller.dsp:
6931         * win32/vs6/libgstreamer.dsp:
6932         Update the list of files to build.
6933         
6934 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6935
6936         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6937
6938         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6939         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6940         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6941         Improve debugging. Fixes #480858.
6942
6943 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6944
6945         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6946
6947         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6948         First patch of code cleanups, use the macros and right arguments in the
6949         macros to signal and lock the queue. See #480858.
6950
6951 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6952
6953         * gst/gstbus.c: (poll_func):
6954         Improve debugging when dealing with _poll().
6955
6956 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6957
6958         * gst/gstregistryxml.c:
6959           Fix memory leak I introduced a few days ago.
6960
6961 2007-09-26  Michael Smith <msmith@fluendo.com>
6962
6963         * gst/gstbuffer.c: (gst_buffer_finalize):
6964           Make it once again possible to free GstBuffers in the default
6965           build.
6966           The poisoning scribbles on parts of the miniobject we need in
6967           order to free it.
6968           Fixes #480341
6969
6970 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6971
6972         * docs/gst/gstreamer-sections.txt:
6973         * gst/gsttaglist.c:
6974         * gst/gsttaglist.h:
6975         API: add GST_TAG_COMPOSER, fixes #459809.
6976
6977 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6978
6979         * gst/gstplugin.c:
6980         * gst/gstplugin.h:
6981         Add the 3-clause BSD license and the MIT/X11 license to the license
6982         list. Fixes #479784.
6983
6984 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6985
6986         * docs/faq/getting.xml:
6987           Add Q+A about different GStreamer versions (#364056).
6988
6989 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6990
6991         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6992         (gst_base_sink_event), (gst_base_sink_change_state):
6993         Return correct gboolean from query function.
6994
6995 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6996
6997         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6998         (gst_base_sink_event), (gst_base_sink_query),
6999         (gst_base_sink_change_state):
7000         Simplify latency query.
7001         When not synchronizing, we can report latency without querying the peer
7002         element.
7003
7004 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7005
7006         * gst/gstobject.h:
7007         * gst/gstvalue.c:
7008         Fix small typos in the docs.
7009
7010 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
7011
7012         * docs/design/draft-latency.txt:
7013         * docs/design/draft-push-pull.txt:
7014         * docs/design/draft-tagreading.txt:
7015         * docs/design/part-MT-refcounting.txt:
7016         * docs/design/part-activation.txt:
7017         * docs/design/part-block.txt:
7018         * docs/design/part-element-source.txt:
7019         * docs/design/part-events.txt:
7020         * docs/design/part-gstbin.txt:
7021         * docs/design/part-gstelement.txt:
7022         * docs/design/part-gstobject.txt:
7023         * docs/design/part-gstpipeline.txt:
7024         * docs/design/part-messages.txt:
7025         * docs/design/part-preroll.txt:
7026         * docs/design/part-push-pull.txt:
7027         * docs/design/part-qos.txt:
7028         * docs/design/part-query.txt:
7029         * docs/design/part-scheduling.txt:
7030         * docs/design/part-seeking.txt:
7031         * docs/design/part-segments.txt:
7032         * docs/design/part-states.txt:
7033         Documentation updates and typo fixes.
7034
7035 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7036
7037         * plugins/elements/gstfakesink.c:
7038           Add some debug text to error message to indicate that
7039           we errored out on request.
7040
7041         * tools/gst-launch.c:
7042           When the state change to PLAYING fails, check for an
7043           error message on the bus and print it.
7044
7045 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7046
7047         translated by: Jorge González González <aloriel@gmail.com>
7048
7049         * po/LINGUAS:
7050         * po/es.po:
7051           Added Spanish translation.
7052
7053 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
7054
7055         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7056         Fix printf arguments.
7057
7058 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7059
7060         * tests/check/generic/states.c:
7061           Improved state change unit test.
7062
7063 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
7064
7065         * gst/gstbin.h:
7066           Move priv to the right place.
7067
7068         * gst/gstsystemclock.c:
7069           Add FIXME: and improve log.
7070
7071         * tests/check/Makefile.am:
7072         * tests/examples/manual/Makefile.am:
7073           Work with all types of registries.
7074
7075 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
7076
7077         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7078         Don't unref the event after pushing it. Fixes #478401.
7079
7080 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * .cvsignore:
7083         * tests/examples/manual/.cvsignore:
7084           Ignore registries in any format.
7085
7086 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7087
7088         * gst/glib-compat-private.h:
7089           Add compatibility macro for g_intern_string() for
7090           GLib-2.8 (any reason we can't just bump the
7091           requirement to at least 2.10?)
7092
7093         * gst/gstpadtemplate.h:
7094         * gst/gstelementfactory.c:
7095         * gst/gstregistryxml.c:
7096         * gst/gstregistrybinary.c:
7097           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7098           up the internal code accordingly.  This shouldn't be a problem, since
7099           there is no reason external code could ever assume the string in such
7100           a structure is dynamically allocated unless it did that itself;  the
7101           use of g_strdup() is private to element factories.  The new code also
7102           saves some memory by putting pad template name strings into the GLib
7103           quark table instead of allocating them dynamically.
7104           Declaring this field constant fixes warnings with g++-4.2 when using
7105           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7106
7107 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7108
7109         * gst/gstelementfactory.c:
7110           Release static caps. Fixes #475723.
7111
7112 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7113
7114         * gst/gstinfo.c:
7115         * gst/gstinfo.h:
7116           Make some internal API take const gchar * instead of just
7117           gchar * to avoid compiler warnings with g++-4.2.2 when
7118           passing string constants (partially fixes #478092).
7119
7120 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7121
7122         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7123         A latency query fails when one of the sinks fail.
7124
7125         * gst/gstelement.c: (gst_element_set_base_time):
7126         Improve debugging.
7127
7128 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7129
7130         * gst/gstbin.c: (gst_bin_continue_func):
7131         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7132         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7133         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7134
7135         Fix minor compilation warnings shown with Forte.
7136
7137 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7138
7139         * plugins/elements/gstqueue.c: (apply_buffer),
7140         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7141         Measure queue level based on the diff between head and tail timestamps
7142         even when pushing the first buffer.
7143
7144 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7145
7146         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7147         (gst_base_sink_event), (gst_base_sink_change_state):
7148         Sinks that don't preroll can always be queried for the latency.
7149         Don't post ASYNC start when we are not async.
7150
7151 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7152
7153         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7154         (gst_queue_handle_sink_event), (gst_queue_chain),
7155         (gst_queue_push_one), (gst_queue_handle_src_query),
7156         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7157         * plugins/elements/gstqueue.h:
7158         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7159         push more buffers but allow pushing of EOS and NEWSEGMENT.
7160         Add some more debug info here and there. Fixes #476514.
7161
7162 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7163
7164         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7165         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7166         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7167         (gst_base_sink_set_flushing), (gst_base_sink_query),
7168         (gst_base_sink_change_state):
7169         Latency query is allowed after we are prerolled. Introduce a new flag
7170         for this and stop abusing other variables.
7171
7172 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7173
7174         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7175         Push OOB events downstream when we get them in send_event. This allows
7176         the application to insert events in the pipeline.
7177         Add some more comments.
7178
7179 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7180
7181         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7182         (do_bin_latency), (gst_bin_change_state_func):
7183         * gst/gstpipeline.c: (gst_pipeline_change_state):
7184         Move latency query from GstPipeline to GstBin so that we can also
7185         use it when async-handling is enabled on bins.
7186
7187 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7188
7189         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7190         (gst_base_src_do_sync), (gst_base_src_change_state):
7191         Update docs.
7192         Clean up the timestamping and syncing code for pseudo live sources.
7193
7194 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7195
7196         Patch by: Steve Fink  <sphink gmail com>
7197
7198         * docs/manual/appendix-checklist.xml:
7199           Mention less -R switch in the section about debug output (#474055).
7200
7201 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7202
7203         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7204         Queue can latency to the pipeline up to the configured max size in time.
7205         Report this fact in the latency query.
7206
7207 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7208
7209         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7210
7211         * libs/gst/controller/gstinterpolation.c:
7212         * libs/gst/controller/gstlfocontrolsource.c:
7213         Use gst_guint64_to_gdouble() when converting from a uint64 or
7214         GstClockTime to double to fix the build on win32. Fixes #474371.
7215
7216 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7217
7218         * gst/gstbuffer.c: (gst_buffer_finalize):
7219         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7220         When finalizing a buffer the complete struct is filled with 0xff,
7221         thus making a use of the buffer after the final unref impossible.
7222
7223 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7224
7225         * tests/check/libs/controller.c: (GST_START_TEST):
7226         Use fail_unless_equals_int(a, b) instead of
7227         fail_unless_equals (a == b) to get better output on failures.
7228
7229 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7230
7231         * tests/check/gst/gsturi.c:
7232           Also check for the other file URI variant on win32.
7233
7234 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7235
7236         * gst/gsturi.c: (gst_uri_get_location):
7237           If there's no hostname, we want to return 'c:/foo/bar.txt'
7238           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7239
7240         * tests/check/gst/gsturi.c:
7241           Unit test for the above and a few more things.
7242
7243 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7244
7245         * docs/design/part-live-source.txt:
7246         Add docs on how live sources should timestamp.
7247
7248         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7249         Add some more debug info.
7250         For subclasses that are live and like to sync, add aditional startup
7251         latency to sync time and timestamps so that we timstamp according to the
7252         design doc.
7253
7254 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7255
7256         * gst/gstbuffer.c:
7257           Also do a g_type_class_ref() for the subbuffer type in
7258           the init function.
7259
7260 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7261
7262         * docs/gst/gstreamer-sections.txt:
7263         * gst/gstpad.c: (gst_pad_peer_query):
7264         * gst/gstpad.h:
7265         Add function to perform a query on the peer of a pad.
7266         API: gst_pad_peer_query()
7267
7268 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7269
7270         * tests/check/gst/gstsystemclock.c:
7271           Cleanup the test a little (use gst-logging and not g_message). Improve
7272           test to check if a wait reached the target.
7273
7274 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7275
7276         * docs/libs/gstreamer-libs-sections.txt:
7277           Add new API to docs and fix the build.
7278
7279 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7280
7281         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7282         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7283         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7284         (gst_base_src_get_property), (gst_base_src_do_sync):
7285         * libs/gst/base/gstbasesrc.h:
7286         Add property to make the basesrc timestamp buffers based on the current
7287         running time.
7288         API: GstBaseSrc::do-timestamp
7289         API: gst_base_src_set_do_timestamp()
7290         API: gst_base_src_get_do_timestamp()
7291
7292 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7293
7294         * docs/random/release:
7295           Really make sure translations are up-to-date before
7296           a release (#465010).
7297
7298 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7299
7300         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7301         Always destroy the timer, also in error cases.
7302
7303 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7304
7305         * docs/manual/highlevel-xml.xml:
7306         Fix XML example code. Fixes #472714.
7307
7308 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7309
7310         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7311         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7312         (gst_base_sink_query):
7313         Protect eos and have_preroll with the OBJECT lock so we don't need to
7314         take the PREROLL lock when querying the latency. Fixes #473846.
7315
7316 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7317
7318         * gst/gstelement.c:
7319           Give some log-messages a category.
7320
7321 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7322
7323         * gst/gststructure.c:
7324         (gst_structure_fixate_field_nearest_fraction):
7325         Fix fraction list fixation code. Take the fraction with the smallest
7326         difference with the target instead of the first one in the list.
7327
7328         * tests/check/gst/gststructure.c: (GST_START_TEST),
7329         (gst_structure_suite):
7330         Added test to verify correct fraction list fixation behaviour.
7331
7332 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7333
7334         * win32/common/libgstreamer.def:
7335           Export gst_bus_add_signal_watch too.
7336
7337 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7338
7339         * docs/libs/gstreamer-libs-sections.txt:
7340         Add new methods to docs.
7341
7342         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7343         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7344         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7345         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7346         * libs/gst/base/gstbasesink.h:
7347         Add ts-offset property to fine-tune the synchronisation.
7348         API: GstBaseSink::ts-offset property
7349         API: gst_base_sink_set_ts_offset()
7350         API: gst_base_sink_get_ts_offset()
7351
7352 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7353
7354         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7355         (gst_base_sink_init), (gst_base_sink_set_sync),
7356         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7357         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7358         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7359         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7360         (gst_base_sink_get_property), (gst_base_sink_change_state):
7361         * libs/gst/base/gstbasesink.h:
7362         Add async property to instruct the sink never to inform the parent about
7363         ASYNC state changes, update docs.
7364         Check argument with g_return_* for the public functions.
7365         API: GstBaseSink::async property
7366         API: gst_base_sink_set_async_enabled()
7367         API: gst_base_sink_is_async_enabled()
7368
7369 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7370
7371         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7372         Improve debugging.
7373
7374         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7375         (gst_base_src_default_query), (gst_base_src_wait),
7376         (gst_base_src_do_sync), (gst_base_src_change_state):
7377         Rearrange some code so that we can add support for measuring the 
7378         startup latency.
7379
7380 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7381
7382         * docs/random/ensonic/dynlink.txt:
7383           More thoughs on this.
7384
7385         * plugins/elements/gstcapsfilter.c:
7386           Add bugzilla ticket number to FIXME comment.
7387
7388 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7389
7390         * docs/design/part-TODO.txt:
7391         * docs/design/part-block.txt:
7392         Update some docs.
7393
7394 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7395
7396         * gst/Makefile.am:
7397           Revert patch which uses $(gst_headers) instead of $^ because it
7398           breaks make dist.
7399
7400 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7401
7402         * tests/check/gst/gstbin.c: (GST_START_TEST):
7403           Fix leaks in the new unit test.
7404
7405 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7406
7407         * gst/gst.c:
7408           Don't use GST_INFO before the debug system is actually initialised
7409           (shouldn't do any harm, but won't print anything either, so we can
7410           just as well remove it).
7411
7412         * gst/gstinfo.h:
7413           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7414           compilers that don't support variadic macros (such as MSVC), should
7415           check for debug_level <= __gst_debug_min as well, since that's the
7416           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7417           inline helper functions. Should improve performance a bit, but also
7418           makes sure uses of GST_INFO et.al are ignored if the debugging
7419           system isn't initialised yet (instead of printing an assertion
7420           failure).
7421
7422 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7423
7424         patch by: David Nečas <yeti@physics.muni.cz>
7425
7426         * gst/Makefile.am:
7427           Replace some non portable makefile constructs.
7428
7429 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7430
7431         * common/gtk-doc-plugins.mak:
7432           Grrrrr. Don't remove the types file on make clean.
7433
7434 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7435
7436         * tools/gst-launch.1.in:
7437         Add colorspace to example pipeline. Fixes #458274.
7438
7439 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7440
7441         * docs/random/release:
7442           The release manager should run 'make download-po' before making a
7443           release to make sure translations are up-to-date.
7444
7445         * po/LINGUAS:
7446         * po/be.po:
7447         * po/pl.po:
7448         * po/rw.po:
7449           Add some new translations.
7450
7451 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7452
7453         * tools/gst-launch.c: (event_loop), (main):
7454         Don´t try to do any state management when a live pipeline posts
7455         buffering messages.
7456         Also make the buffering string translatable.
7457
7458 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7459
7460         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7461         (bin_handle_async_start), (gst_bin_handle_message_func):
7462         Improve debugging.
7463         When adding elements, insert messages into the bus of the newly added
7464         element and make sure the element is the source of the message. This
7465         allows the parent bin to intercept the message and do the
7466         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7467         messages to the app (which is not allowed).
7468         Update some docs.
7469
7470         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7471         Fix testsuite so that is does not work around messages that should not
7472         have been posted in the first place.
7473
7474 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7475
7476         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7477         (update_degree), (gst_bin_sort_iterator_next):
7478         Fix annoying bug in the sorted iterator where a sink that is not really
7479         a sink (when it has downstream links) screwed up the iterator.
7480
7481         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7482         Unit test to verify the fix.
7483
7484 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7485
7486         * gst/gstmessage.h:
7487         Add some more docs for the messages.
7488
7489         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7490         (gst_base_sink_query):
7491         Add some more debugging.
7492
7493         * tools/gst-launch.c: (event_loop):
7494         When interrupting, don't try to set pipeline to PAUSED twice.
7495
7496 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7497
7498         
7499         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7500         (bin_handle_async_start), (gst_bin_handle_message_func):
7501         Move ASYNC_START message posting to where it belongs, similar to
7502         async_done. 
7503         Don't post ASYNC_START when we are in error. 
7504         Post ASYNC_START when we added an async element to a bin.
7505
7506 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7507
7508         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7509         generation from vargs. Fixes #466595.
7510
7511 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7512
7513         * gst/gstbin.c: (gst_bin_element_set_state):
7514         Always change the state of a NO_PREROLL element even if it has ASYNC
7515         elements inside (in case of a bin).
7516
7517         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7518         Unit test for this case.
7519
7520 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7521
7522         * libs/gst/check/gstbufferstraw.c:
7523         * libs/gst/check/gstcheck.h:
7524         * libs/gst/controller/gstcontroller.c:
7525         * libs/gst/controller/gstcontrolsource.h:
7526         * libs/gst/controller/gstlfocontrolsource.h:
7527         * plugins/elements/gstcapsfilter.h:
7528         * plugins/elements/gstfdsink.h:
7529         * plugins/elements/gstfdsrc.h:
7530           Add more missing docs.
7531
7532 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7533
7534         * gst/gststructure.c:
7535         Add Since tag to docs.
7536
7537 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7538
7539         * docs/gst/gstreamer-sections.txt:
7540         * gst/gststructure.c: (gst_structure_get_uint):
7541         * gst/gststructure.h:
7542         Add function to get uint from a structure.
7543         API: gst_structure_get_uint()
7544
7545 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7546
7547         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7548         (gst_caps_intersect):
7549         Fix proper check for simple caps.
7550
7551 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7552
7553         * docs/gst/Makefile.am:
7554         * docs/libs/Makefile.am:
7555           Remove cruft and do some cleanups.
7556
7557         * docs/gst/gstreamer-docs.sgml:
7558         * docs/libs/gstreamer-libs-docs.sgml:
7559           Prepare for comming gtkdoc features (rebase against online docs).
7560
7561 2007-08-10  Michael Smith <msmith@fluendo.com>
7562
7563         * docs/gst/gstreamer-sections.txt:
7564           Add gst_registry_add_path to docs.
7565
7566 2007-08-10  Michael Smith <msmith@fluendo.com>
7567
7568         * gst/gstregistry.h:
7569           Add gst_registry_add_path, which was missing from this header.
7570
7571 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7572
7573         * libs/gst/controller/gstlfocontrolsource.c:
7574           Printf format fix.
7575
7576 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7577
7578         * libs/gst/base/gstbasesink.c:
7579           Don't send an async_start message during downwards state change if 
7580           target state is less than READY
7581
7582 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7583
7584         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7585
7586         * po/LINGUAS:
7587         * po/hu.po:
7588           Added Hungarian translation.
7589
7590 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7591
7592         * po/fi.po:
7593         * po/it.po:
7594         * po/nl.po:
7595         * po/sv.po:
7596         * po/uk.po:
7597           Updated translations.
7598
7599 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7600
7601         * libs/gst/controller/Makefile.am:
7602         Dist gstlfocontrolsourceprivate.h
7603
7604 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7605
7606         * docs/libs/gstreamer-libs.types:
7607         Don't register the enum type gst_lfo_waveform_get_type() in the
7608         .types file - only GObject derived types belong.
7609
7610 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7611
7612         Patch by: <arenevier at fdn dot fr>
7613
7614         * gst/gstbuffer.h:
7615         Remove comma from last element in enum to avoid compile errors when
7616         using -pendantic. Fixes #464366.
7617
7618 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7619
7620         * docs/design/part-TODO.txt:
7621         Add some more TODO items
7622
7623         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7624         Improve debugging.
7625
7626         * gst/gstcaps.c: (gst_caps_intersect):
7627         Optimize trivial intersection case between identical caps pointers.
7628
7629         * gst/gstelement.c: (gst_element_continue_state),
7630         (gst_element_set_state_func):
7631         * gst/gstpad.c:
7632         Fix spelling and grammar mistakes.
7633
7634 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7635
7636         * po/POTFILES.in:
7637         * po/POTFILES.skip:
7638           Update POTFILES. Fixes #461599.
7639
7640 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7641
7642         * gst/gst.c:
7643         Fix confusing typo in debug output.
7644
7645 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7646
7647         reviewed by: Stefan Kost <ensonic@users.sf.net>
7648
7649         * libs/gst/controller/Makefile.am:
7650         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7651         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7652         (gst_lfo_control_source_new),
7653         (gst_lfo_control_source_set_waveform),
7654         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7655         (gst_lfo_control_source_finalize),
7656         (gst_lfo_control_source_dispose),
7657         (gst_lfo_control_source_set_property),
7658         (gst_lfo_control_source_get_property),
7659         (gst_lfo_control_source_class_init):
7660         * libs/gst/controller/gstlfocontrolsource.h:
7661         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7662         API: Add GstLFOControlSource, a control source that gives values
7663         for specific timestamps based on several periodic waveforms.
7664         Fixes #459717.
7665
7666         * tests/check/libs/controller.c: (GST_START_TEST),
7667         (gst_controller_suite):
7668         * docs/libs/gstreamer-libs-docs.sgml:
7669         * docs/libs/gstreamer-libs-sections.txt:
7670         * docs/libs/gstreamer-libs.types:
7671         Add documentation and unit tests for GstLFOControlSource.
7672
7673 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7674
7675         * configure.ac:
7676         Back to CVS
7677
7678 === release 0.10.14 ===
7679
7680 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7681
7682         * configure.ac:
7683           releasing 0.10.14, "Breathing Vacuum"
7684
7685 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7686
7687         * gst/gstelement.c: (gst_element_class_set_details_simple):
7688         * gst/gstelement.h:
7689           Make strings passed to gst_element_class_set_details_simple()
7690           constant, as they should be (#462752).
7691
7692 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7693
7694         * gst/gstbin.c: (gst_bin_change_state_func),
7695         (bin_handle_async_done), (gst_bin_handle_message_func):
7696         Don't forget about the fact that some element went ASYNC even after a
7697         resync. This makes us post the ASYNC_DONE message correctly.
7698         Fixes #462558.
7699
7700 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7701
7702         * gst/gstregistry.c: (gst_registry_add_feature):
7703         When replacing an existing feature in the registry, make sure to
7704         continue holding a reference until we've replaced the name string
7705         within our feature hash table. Make sure to use g_hash_table_replace
7706         instead of g_hash_table_insert to ensure the new name string is used
7707         as a key instead of the old one that we're about to free.
7708         Fixes: #462085
7709
7710 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7711
7712         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7713         (gst_plugin_feature_set_name):
7714         Revert patch from #459466 until after the release and we can work
7715         out exactly what the problem is (if any).
7716
7717 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7718
7719         * docs/gst/gstreamer-sections.txt:
7720         * gst/gsttaglist.c:
7721         * gst/gsttaglist.h:
7722           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7723
7724 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7725
7726         * docs/libs/Makefile.am:
7727         Include our build-prefix libs and includes before the generic ones to
7728         avoid linking against the installed libs when we want the build-tree
7729         ones.
7730
7731 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7732
7733         Patch by: Steve Fink  <sphink gmail com>
7734
7735         * docs/pwg/building-testapp.xml:
7736           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7737           if people try to build or install the example from the plugin
7738           template against a GStreamer from package using the configure
7739           defaults.
7740
7741 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7742
7743         Patch by: Steve Fink  <sphink gmail com>
7744
7745         * tools/gst-inspect.1.in:
7746           Document --print-all and --print-plugin-auto-install-info command
7747           line options in man page.
7748
7749 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7750
7751         * docs/gst/gstreamer-sections.txt:
7752         Add docs for new api function.
7753
7754 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7755
7756         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7757         * gst/gstelementfactory.h:
7758         API: gst_element_factory_has_interface()
7759         Added method to check if an element factory implements a named
7760         interface.
7761
7762 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7763
7764         * configure.ac:
7765         * docs/gst/gstreamer.types.in:
7766           Another conditional doc check.
7767
7768         * gst/gstmessage.c:
7769         * gst/gstparamspecs.h:
7770         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7771         * gst/gstvalue.c:
7772         * gst/gstxml.h:
7773           API-doc fixes.
7774
7775 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7776
7777         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7778         (gst_registry_binary_load_feature),
7779         (gst_registry_binary_load_plugin),
7780         (gst_registry_binary_read_cache):
7781           Print error just once and with additional info.
7782
7783 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7784
7785         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7786         (helper_find_suggest), (helper_find_get_length),
7787         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7788         (gst_type_find_helper_for_buffer):
7789           Cleanup the typefindhelper code and add private doc comments.
7790
7791 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7792
7793         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7794         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7795         Fix capsfilter for cases where the caps set on capsfilter will provide
7796         additional information.
7797         Fixes #449197
7798
7799 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7800
7801         * gst/gsttypefindfactory.c:
7802           Fix docs that recommened wrong function to use.
7803
7804 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7805
7806         * tools/gst-inspect.c: (print_plugin_features):
7807           Also give media-type for typefinders in element output.
7808
7809 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7810
7811         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7812         (gst_registry_remove_features_for_plugin_unlocked),
7813         (gst_registry_add_feature), (gst_registry_remove_feature),
7814         (gst_registry_lookup_feature_locked):
7815         * gst/gstregistry.h:
7816           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7817           Fixes #459501.
7818
7819 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7820
7821         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7822         (gst_plugin_feature_set_name):
7823           Avoid double memory usage for pluginfeature names. Fixes #459466.
7824
7825 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7826
7827         * gst/gstpad.h:
7828           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7829           driving the pipeline may need to explicitly check for NOT_LINKED as
7830           well, since IS_FATAL doesn't cover that.
7831
7832 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7833
7834         * docs/pwg/advanced-types.xml:
7835           Fix typo and duplicate entry in video formats list.
7836
7837 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7838
7839         * libs/gst/controller/gstinterpolation.c:
7840         Also round to the nearest int when using cubic interpolation.
7841
7842 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7843
7844         * libs/gst/controller/gstinterpolation.c:
7845         When linearly interpolating integer types, round to the nearest int
7846         by adding 0.5. Don't do it for float/double types.
7847         Fixes the failing controller test on my machine, which is somehow
7848         rounding differently than on the buildbots.
7849
7850 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7851
7852         * tools/gst-plot-timeline.py:
7853           Better log parsing (categories can have -). Adjust text vs. lines, so
7854           that they span the same y-range.        
7855
7856 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7857
7858         * docs/random/ensonic/audiobaseclasses.txt:
7859         * docs/random/ensonic/dynlink.txt:
7860         * docs/random/ensonic/profiling.txt:
7861           Save my thoughts.
7862
7863         * docs/random/moving-plugins:
7864           Add note to use g_assert type macros.
7865
7866 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7867
7868         * configure.ac:
7869         * libs/gst/check/Makefile.am:
7870           Add libm check as we use in for plugins.
7871
7872 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7873
7874         * gst/gstbin.c: (gst_bin_continue_func):
7875         Check that the state_cookie hasn't changed since the continue_func
7876         was scheduled. Avoids problems where the state changes back to
7877         something it shouldn't be because it was changed in the meantime.
7878
7879 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7880
7881         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7882         (gst_registry_binary_save_string),
7883         (gst_registry_binary_save_pad_template),
7884         (gst_registry_binary_save_feature),
7885         (gst_registry_binary_save_plugin),
7886         (gst_registry_binary_load_feature),
7887         (gst_registry_binary_load_plugin),
7888         (gst_registry_binary_read_cache):
7889           Fix memory leak. Be less verbose in the log.
7890
7891 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7892
7893         * tests/check/elements/.cvsignore:
7894         Add file to cvsignore as commanded.
7895
7896 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7897
7898         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7899         (mq_dummypad_event), (run_output_order_test):
7900         Use a GStaticMutex to protect all cases where libcheck
7901         fail_if/fail_unless macros might be called from multiple threads
7902         simultaneously to avoid errors like:
7903           "check_pack.c:107: :-1081725400:Bad message type arg"
7904
7905 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7906
7907         * tests/check/pipelines/stress.c: (GST_START_TEST):
7908         Make sure we set the pipeline back to the NULL state before
7909         dropping our final reference.
7910
7911 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7912
7913         * tests/check/elements/tee.c: (GST_START_TEST):
7914         Make the tee stress-test a little less stressful so it doesn't just
7915         time out on slow-machines, and remove a small race when it's starting 
7916         up by adding a get_state() call.
7917
7918 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7919
7920         * gst/gst.c:
7921           Avoid reading registry twice on startup. Fixes #457322.
7922
7923 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7924
7925         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7926         * pkgconfig/gstreamer-check.pc.in:
7927         Substitute the CFLAGS for libcheck into our .pc file too so that
7928         dependent modules will pick it up properly if libcheck is installed
7929         into some other prefix.
7930
7931 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7932
7933         * configure.ac:
7934         Revert the pkg-config check for libcheck, since it pulls in the
7935         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7936         a proper solution, either from the check project, or something else.
7937
7938 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7939
7940         * configure.ac:
7941           Use pkg-config to locate check.
7942
7943 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7944
7945         * gst/gsttaglist.c:
7946           Fix doc syntax.
7947
7948         * gst/gstutils.c:
7949         * gst/gstutils.h:
7950           Add deprecation guards.
7951
7952         * libs/gst/base/gstcollectpads.h:
7953           Don't document object (this is implicitly private).
7954
7955 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7956
7957         * gst/gststructure.c: (gst_structure_parse_value):
7958           When deserialising foo=bar without a type cast, check if it's a
7959           boolean before falling back to a string type, otherwise things like
7960           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7961           because the filtercaps end up having a signed=(string)true field,
7962           which causes problems later when intersection caps.
7963
7964         * tests/check/gst/gststructure.c: (GST_START_TEST):
7965           Add a unit test for this.
7966
7967 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7968
7969         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7970
7971         * libs/gst/controller/Makefile.am:
7972         * libs/gst/controller/gstcontroller.c:
7973         (gst_controlled_property_add_interpolation_control_source),
7974         (gst_controlled_property_new), (gst_controlled_property_free),
7975         (gst_controller_find_controlled_property),
7976         (gst_controller_new_valist), (gst_controller_new_list),
7977         (gst_controller_new), (gst_controller_remove_properties_valist),
7978         (gst_controller_remove_properties_list),
7979         (gst_controller_remove_properties),
7980         (gst_controller_set_property_disabled),
7981         (gst_controller_set_disabled), (gst_controller_set_control_source),
7982         (gst_controller_get_control_source), (gst_controller_get),
7983         (gst_controller_sync_values), (gst_controller_get_value_array),
7984         (_gst_controller_dispose), (gst_controller_get_type),
7985         (gst_controlled_property_set_interpolation_mode),
7986         (gst_controller_set), (gst_controller_set_from_list),
7987         (gst_controller_unset), (gst_controller_unset_all),
7988         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7989         * libs/gst/controller/gstcontroller.h:
7990         * libs/gst/controller/gstcontrollerprivate.h:
7991         * libs/gst/controller/gstcontrolsource.c:
7992         (gst_control_source_class_init), (gst_control_source_init),
7993         (gst_control_source_get_value),
7994         (gst_control_source_get_value_array), (gst_control_source_bind):
7995         * libs/gst/controller/gstcontrolsource.h:
7996         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7997         (gst_object_get_control_source):
7998         * libs/gst/controller/gstinterpolation.c:
7999         (gst_interpolation_control_source_find_control_point_node),
8000         (gst_interpolation_control_source_get_first_value),
8001         (_interpolate_none_get), (interpolate_none_get),
8002         (interpolate_none_get_boolean_value_array),
8003         (interpolate_none_get_enum_value_array),
8004         (interpolate_none_get_string_value_array),
8005         (_interpolate_trigger_get), (interpolate_trigger_get),
8006         (interpolate_trigger_get_boolean_value_array),
8007         (interpolate_trigger_get_enum_value_array),
8008         (interpolate_trigger_get_string_value_array):
8009         * libs/gst/controller/gstinterpolationcontrolsource.c:
8010         (gst_control_point_free), (gst_interpolation_control_source_reset),
8011         (gst_interpolation_control_source_new),
8012         (gst_interpolation_control_source_set_interpolation_mode),
8013         (gst_interpolation_control_source_bind),
8014         (gst_control_point_compare), (gst_control_point_find),
8015         (gst_interpolation_control_source_set_internal),
8016         (gst_interpolation_control_source_set),
8017         (gst_interpolation_control_source_set_from_list),
8018         (gst_interpolation_control_source_unset),
8019         (gst_interpolation_control_source_unset_all),
8020         (gst_interpolation_control_source_get_all),
8021         (gst_interpolation_control_source_get_count),
8022         (gst_interpolation_control_source_init),
8023         (gst_interpolation_control_source_finalize),
8024         (gst_interpolation_control_source_dispose),
8025         (gst_interpolation_control_source_class_init):
8026         * libs/gst/controller/gstinterpolationcontrolsource.h:
8027         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
8028         API: Refactor GstController into the core controller which can take
8029         a GstControlSource for providing actual values for timestamps.
8030         Implement a interpolation control source and use this for backward
8031         compatibility, deprecate a bunch of functions that are now handled
8032         by GstControlSource or GstInterpolationControlSource.
8033         Make it possible to disable the controller completely or only for
8034         specific properties. Fixes #450711.
8035         * docs/libs/gstreamer-libs-docs.sgml:
8036         * docs/libs/gstreamer-libs-sections.txt:
8037         * docs/libs/gstreamer-libs.types:
8038         Add new functions and classes to the docs.
8039         * tests/check/libs/controller.c: (GST_START_TEST),
8040         (gst_controller_suite):
8041         * tests/examples/controller/audio-example.c: (main):
8042         Port unit test and example to the new API and add some new
8043         unit tests.
8044
8045 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
8046
8047         Patch by: Mark Nauwelaerts <manauw at skynet be>
8048
8049         * plugins/elements/gstmultiqueue.c:
8050         (gst_multi_queue_get_internal_links), (apply_buffer),
8051         (single_queue_overrun_cb), (gst_single_queue_new):
8052         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
8053         the pipeline layout can be tracked correctly. Fixes #453732.
8054
8055 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
8056
8057         * docs/gst/Makefile.am:
8058         * docs/libs/Makefile.am:
8059         * docs/plugins/Makefile.am:
8060           Simplify --extra-dir as gtkdoc scans recursively.
8061
8062 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8063
8064         * tools/gst-launch.c: (main):
8065         When we got an error, there is no point in waiting for preroll when
8066         shutting down.
8067
8068 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
8069
8070         * plugins/elements/gsttee.c: (gst_tee_base_init),
8071         (gst_tee_request_new_pad), (gst_tee_release_pad),
8072         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
8073         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
8074         (gst_tee_chain):
8075         Be a lot smarter when deciding what srcpad to use for proxying
8076         the buffer_alloc. Also handle pad added/removed when doing so.
8077         Fixes #357959.
8078         Keep track of what pads we already pushed on in case we have pads
8079         added/removed while pushing. Fixes #374639 
8080
8081         * tests/check/Makefile.am:
8082         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
8083         (tee_suite):
8084         Added unit test for pad resync.
8085
8086 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8087
8088         * po/nl.po:
8089         * po/sv.po:
8090           Updated translations.
8091
8092 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8093
8094         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8095
8096         * po/LINGUAS:
8097         * po/fi.po:
8098           Added new Finnish translation.
8099
8100 2007-06-28  Wim Taymans  <wim@fluendo.com>
8101
8102         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8103         (single_queue_overrun_cb):
8104         When figuring out when a queue is filled, use our internal time estimate
8105         based on segments, just like check_full does.
8106
8107 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8108
8109         * gst/gstminiobject.c: (gst_mini_object_get_type):
8110           Remove 3 do-nothing methods.
8111
8112 2007-06-27  Wim Taymans  <wim@fluendo.com>
8113
8114         Patch by: Tim Angus <tim at ngus dot net>
8115
8116         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8117         (gst_capsfilter_set_property):
8118         Take a reference instead of a copy when setting "caps".
8119         Fix documentation to clarify this behaviour. Fixes #449414.
8120
8121 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8122
8123         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8124         * gst/gstplugin.c: (gst_plugin_init):
8125         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8126         * gst/gstquery.c: (gst_query_get_type):
8127         * gst/gstregistry.c: (gst_registry_init):
8128         * gst/gsturi.c: (gst_uri_handler_base_init):
8129           Remove empty instance_init() functions to save relocs and lessen the
8130           noise. Remove some of the function prototypes that are doubled by
8131           G_DEFINE_TYPE.
8132           
8133 2007-06-27  Wim Taymans  <wim@fluendo.com>
8134
8135         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8136
8137         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8138         Add peer and direction in the XML serialisation of ghostpads.
8139         Fixes #449226.
8140
8141 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8142
8143         * configure.ac:
8144           Preserve useful information, thanks Tim.
8145
8146 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8147
8148         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8149         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8150         (gst_single_queue_push_one), (gst_multi_queue_loop),
8151         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8152         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8153         (compute_high_id), (gst_single_queue_new):
8154         * plugins/elements/gstmultiqueue.h:
8155         Take the multiqueue lock when updating the fill level so we don't get
8156         confused. 
8157
8158         After applying a buffer or event on the src pad segment, make sure to
8159         call gst_data_queue_limits_changed() to get the data queue to unblock
8160         and check the filled state again.
8161         
8162         Rework the not-linked pad handling so the logic is that not-linked 
8163         pads can push as fast as they like, but only so they never get 
8164         ahead of any linked pads.
8165
8166         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8167         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8168         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8169
8170         Add a test to check that not-linked pads always stay behind
8171         linked pads.
8172
8173         Fixes: #430682
8174
8175 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8176
8177         * docs/random/release:
8178           Some updates to the release procedure.
8179
8180 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8181
8182         * gst/gstelementfactory.c: (__gst_element_details_clear):
8183           Microoptimization that saves stunning 80 bytes.
8184
8185 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8186
8187         * docs/plugins/gstreamer-plugins.args:
8188         * docs/plugins/inspect/plugin-coreelements.xml:
8189         * docs/plugins/inspect/plugin-coreindexers.xml:
8190           Update docs with caps info.
8191
8192 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8193
8194         * po/it.po:
8195           Updated Italian translation.
8196
8197 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8198
8199         * ChangeLog:
8200         * po/vi.po:
8201           Update Vietnamese translations.
8202
8203 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8204
8205         * libs/gst/base/gstbasesink.c:
8206           Remove unused signal enum.
8207
8208 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8209
8210         * docs/gst/gstreamer-sections.txt:
8211         * gst/gstelement.c:
8212         * gst/gstutils.c: (gst_type_register_static_full):
8213         Beef up and include the docs for gst_type_register_static_full and
8214         gst_element_class_set_details_simple and add the API keyword
8215         in the ChangeLog.
8216
8217 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8218
8219         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8220         (update_time_level), (gst_single_queue_push_one),
8221         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8222         (single_queue_overrun_cb), (single_queue_underrun_cb),
8223         (single_queue_check_full):
8224         Fix setting max-* properties after adding queues.
8225         Use IS_FILLED for checking visible items.
8226         Signal overrun if multiple queues overrun.
8227         Add extra debug output.
8228         Patch by: Wim Taymans <wim@fluendo.com>
8229
8230 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8231
8232         * gst/gstelement.c: (gst_element_class_set_details_simple):
8233         * gst/gstelement.h:
8234         * gst/gstutils.c: (gst_type_register_static_full):
8235         * gst/gstutils.h:
8236         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8237         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8238         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8239         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8240         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8241         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8242         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8243         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8244         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8245         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8246         (apply_buffer), (gst_queue_chain):
8247         * plugins/elements/gsttee.c: (gst_tee_base_init):
8248         * plugins/elements/gsttypefindelement.c:
8249         (gst_type_find_element_base_init),
8250         (gst_type_find_element_class_init):
8251           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8252           API: add gst_type_register_static_full
8253           API: add gst_element_class_set_details_simple
8254
8255 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8256
8257         * docs/pwg/advanced-types.xml:
8258           Fix typo in iana.org URI.
8259
8260 2007-06-19  Andy Wingo  <wingo@pobox.com>
8261
8262         * tests/check/pipelines/simple-launch-lines.c
8263         (test_state_change_returns): Enable pull-mode tests now that
8264         basesink has been fixed.
8265
8266         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8267         Changed from gst_base_sink_is_prerolled, reversing the sense of
8268         the return value. Returns FALSE also if the sink is in pull mode,
8269         in which case it needs no preroll.
8270         (gst_base_sink_query, gst_base_sink_change_state): Update for
8271         needs_preroll change.
8272         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8273         chaining up, in which we return SUCCESS directly if we activated
8274         in pull mode instead of ASYNC. Involves countering an async_start
8275         message sent before chaining up; not sure if this is correct, in
8276         an ideal world we only send async-start when activating in push
8277         mode.
8278
8279         * tests/check/pipelines/simple-launch-lines.c
8280         (test_state_change_returns): New test, partially disabled until
8281         basesink is fixed.
8282
8283 2007-06-19  Wim Taymans  <wim@fluendo.com>
8284
8285         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8286         (gst_multi_queue_sink_event):
8287         Fix event leak.
8288
8289 2007-06-19  Wim Taymans  <wim@fluendo.com>
8290
8291         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8292         (gst_bin_change_state_func), (bin_push_state_continue),
8293         (bin_handle_async_start), (bin_handle_async_done),
8294         (gst_bin_handle_message_func):
8295         Move the common code for posting state-change messages into
8296         one function.
8297         Broadcast the state signal after we posted the messages.
8298         Mark the bin as busy when it's doing a state-change.
8299         Make sure async-start/done messages don't interfere with the bin's
8300         state when it's busy.
8301         After the state change, let the bin check which elements completed the
8302         state change while it was busy so that it can update its state.
8303
8304 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8305
8306         * docs/random/release:
8307         Add a note about updating the doap file to the release checklist
8308
8309 2007-06-18  Wim Taymans  <wim@fluendo.com>
8310
8311         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8312         (gst_single_queue_push_one), (gst_multi_queue_chain),
8313         (gst_multi_queue_sink_event):
8314         Make sure we don't reference the buffer/event after we have given away
8315         ownership in the queue.
8316
8317 2007-06-18  Wim Taymans  <wim@fluendo.com>
8318
8319         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8320         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8321         Update queue state _after_ adding the item in the queue because else we
8322         could end up being full without the element added yet.
8323
8324 2007-06-18  Wim Taymans  <wim@fluendo.com>
8325
8326         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8327         (gst_bin_remove_func), (gst_bin_get_state_func),
8328         (gst_bin_element_set_state), (gst_bin_continue_func),
8329         (bin_push_state_continue), (bin_handle_async_start),
8330         (bin_handle_async_done), (gst_bin_handle_message_func):
8331         * gst/gstbin.h:
8332         Immediatly commit the toplevel bin state when receiving an async-done
8333         message. This enables us to avoid spawning a thread to commit the state
8334         in some common cases and it also avoids some races.
8335         Avoid spawning a state thread when adding/removing async elements to a
8336         toplevel bin. Instead we immediatly update the bin state.
8337         Get rid of iterating all the children when getting the state in the bin
8338         because it is now always up-to-date.
8339         Fix bug where locked elements would always return _SUCCESS even it they
8340         returned NO_PREROLL before being locked.
8341         Fix the order of the state_change, async-start/done messages that was
8342         sometimes incorrect.
8343         Mark the state_dirty field as deprecated, we don't need it anymore as we
8344         are always up-to-date.
8345
8346         * gst/gstelement.c: (gst_element_get_state_func),
8347         (gst_element_continue_state):
8348         Small debug inprovements.
8349         Return the previous element state return when nothing is pending instead
8350         of blindly returning SUCCESS.
8351
8352         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8353         (gst_sinks_suite):
8354         Add a whole bunch of new testcases.
8355
8356 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8357
8358         * po/uk.po:
8359         * po/vi.po:
8360           Update translations.
8361
8362 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8363
8364         * gst/gstpad.c:
8365         Fix typo in the docs.
8366
8367 2007-06-15  Wim Taymans  <wim@fluendo.com>
8368
8369         * docs/libs/gstreamer-libs-sections.txt:
8370         Add docs for new methods.
8371
8372 2007-06-15  Wim Taymans  <wim@fluendo.com>
8373
8374         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8375         (gst_multi_queue_item_new):
8376         Don't use GSlice because we don't depend on >= 2.10 yet.
8377
8378 2007-06-15  Wim Taymans  <wim@fluendo.com>
8379
8380         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8381         (update_time_level), (apply_segment), (apply_buffer),
8382         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8383         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8384         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8385         (single_queue_underrun_cb), (single_queue_check_full):
8386         Remove debug printf.
8387
8388 2007-06-15  Wim Taymans  <wim@fluendo.com>
8389
8390         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8391         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8392         (gst_data_queue_set_flushing), (gst_data_queue_push),
8393         (gst_data_queue_pop), (gst_data_queue_drop_head),
8394         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8395         * libs/gst/base/gstdataqueue.h:
8396         Various cleanups.
8397         Added methods to get the current levels and to inform the queue that the
8398         'full' limits changed.
8399
8400         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8401         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8402         (gst_single_queue_flush), (update_time_level), (apply_segment),
8403         (apply_buffer), (gst_single_queue_push_one),
8404         (gst_multi_queue_item_steal_object),
8405         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8406         (gst_multi_queue_loop), (gst_multi_queue_chain),
8407         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8408         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8409         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8410         (single_queue_underrun_cb), (single_queue_check_full),
8411         (gst_single_queue_new):
8412         Keep track of time in the queue by measuring the difference between
8413         running_time on input and output. This gives more accurate results and
8414         can compensate for segments correctly.
8415         Make a queue by default only 5 buffers deep. We will now increase the
8416         buffer size depending on the filledness of the other queues.
8417         Factor out commong flush code.
8418         Make sure we don't add additional refcounts to buffers when we can avoid
8419         it.
8420         Propagate GstFlowReturn differently.
8421         Use GSlice for intermediate GstMultiQueueItems.
8422         Keep track of EOS.
8423         Resize queues on over and underruns based on filled level of other
8424         queues.
8425         When checking if the queue is filled, prefer to measure in time if we
8426         can and fall back to bytes when no time is known.
8427
8428         * plugins/elements/gstqueue.c:
8429         Fix return value.
8430
8431 2007-06-15  Wim Taymans  <wim@fluendo.com>
8432
8433         * libs/gst/base/gstbasetransform.c:
8434         (gst_base_transform_sink_event):
8435         Work around the brokenness of the event vmethod in basetransform. Prefer
8436         to return TRUE when the subclass returned FALSE (meaning don't forward
8437         the event). 
8438
8439         * libs/gst/base/gstbasetransform.h:
8440         Clarify the docs.
8441
8442 2007-06-15  Wim Taymans  <wim@fluendo.com>
8443
8444         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8445         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8446         (gst_base_src_default_query), (gst_base_src_get_range),
8447         (gst_base_src_start):
8448         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8449         Improve debugging.
8450
8451 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8452
8453         * docs/pwg/advanced-types.xml:
8454           Added more formats to caps table.
8455
8456 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8457
8458         * tools/gst-launch.c: (main):
8459           Remove crufy code. GOption does not need this workaround.
8460
8461 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8462
8463         * libs/gst/controller/gstcontroller.c:
8464         (gst_controlled_property_set_interpolation_mode):
8465           Fix wrong getter for enums in controller.
8466
8467 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8468
8469         * libs/gst/check/gstcheck.c: (gst_check_init):
8470           Intercept criticals and warnings in the Gst-Phonon log domain, so
8471           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8472           well.
8473         
8474 2007-06-14  Edward Hervey  <edward@fluendo.com>
8475
8476         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8477         Since this file doesn't include "gst.h" it will not go through the
8478         macros that disable GST_LOG if debugging was disabled.
8479
8480 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8481
8482         * libs/gst/check/Makefile.am:
8483         * libs/gst/check/gstcheck.h:
8484         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8485         * pkgconfig/gstreamer-check.pc.in:
8486           Ugly 'fix' for the controller unit test on the p5 bot: in
8487           fail_unless_equals_float() check whether the values are 'almost
8488           equal' by allowing a small absolute error, which should be good
8489           enough for our use cases (normal numbers and values close to 0).
8490           Proper fixage left to floating point arithmetic aficionados.
8491
8492 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8493
8494         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8495         (gst_base_sink_render_object), (gst_base_sink_get_position):
8496           Add two breaks thats where missing.
8497
8498 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8499
8500         * docs/libs/gstreamer-libs-sections.txt:
8501         * libs/gst/check/gstcheck.h:
8502           API: add fail_unless_equals_float() and assert_equals_float().
8503           Add documentation for some of the macros.
8504
8505         * tests/check/libs/controller.c: (GST_START_TEST):
8506           Use newly-added asserts.
8507
8508 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8509
8510         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8511           Show the caps change in the log to help spotting the case of not
8512           exactly matching caps.
8513
8514 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8515
8516         * docs/pwg/building-boiler.xml:
8517           Fix typos, spotted by Thijs Vermeir (#447190).
8518
8519 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8520
8521         * docs/plugins/tmpl/.cvsignore:
8522         Ignore file to keep the buildbots happy
8523
8524 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8525
8526         * docs/plugins/Makefile.am:
8527         * docs/plugins/gstreamer-plugins-docs.sgml:
8528         * docs/plugins/gstreamer-plugins-sections.txt:
8529         Pull fdsink into the docs too.
8530
8531 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8532
8533         * libs/gst/controller/gstinterpolation.c:
8534         Actually use the new functions with min/max checks for the trigger and
8535         none interpolation modes for get() and get_value_array() instead of
8536         just the latter.
8537
8538 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8539
8540         * libs/gst/controller/gstcontroller.c:
8541         (gst_controlled_property_free):
8542         Unset the minimum and maximum GValues when freeing the corresponding
8543         GstControllerProperty struct.
8544
8545 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8546
8547         * libs/gst/controller/gstcontroller.c:
8548         (gst_controlled_property_new):
8549         * libs/gst/controller/gstcontrollerprivate.h:
8550         * libs/gst/controller/gstinterpolation.c:
8551         (gst_controlled_property_find_control_point_node),
8552         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8553         (interpolate_none_get_string_value_array),
8554         (interpolate_trigger_get),
8555         (interpolate_trigger_get_enum_value_array),
8556         (interpolate_trigger_get_string_value_array):
8557         Protect against values larger or smaller than the minimum or maximum
8558         allowed value for the property when using values that can be compared.
8559
8560         Optimize trigger interpolator a bit by taking the last requested value
8561         into account instead of always looping through the complete list.
8562
8563         Fix coding style a bit, everywhere else we use "return foo" instead
8564         of "return (foo)".
8565         
8566         * tests/check/libs/controller.c: (GST_START_TEST),
8567         (gst_controller_suite):
8568         Add unit test for the protection against too large or too small
8569         values.
8570
8571 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8572
8573         * docs/random/slomo/controller.txt:
8574         Add some thoughts about the future of the controller.
8575
8576 2007-06-08  Wim Taymans  <wim@fluendo.com>
8577
8578         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8579         Don't overflow in retimestamping code.
8580
8581 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8582
8583         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8584         Use gst_util_guint64_to_gdouble for conversions.
8585         * win32/common/libgstreamer.def:
8586         Add new exported functions.
8587
8588 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8589
8590         * gst/gstutils.c:
8591           Small docs addition.
8592
8593 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8594
8595         * README:
8596           Remove that test line again.
8597
8598 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8599
8600         * README:
8601           Test commit mail sending.
8602
8603 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8604
8605         * configure.ac:
8606           Fix typo and test commit mail sending.
8607
8608 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8609
8610         * tests/examples/controller/audio-example.c:
8611           Improve comment and test commit mail sending.
8612
8613 2007-06-07  Wim Taymans  <wim@fluendo.com>
8614
8615         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8616         (gst_bin_remove_func), (gst_bin_element_set_state),
8617         (bin_handle_async_start), (bin_handle_async_done),
8618         (gst_bin_handle_message_func):
8619         Add helper function to find messages.
8620         Generate the async-done messages together with the state change
8621         messages.
8622         Small cleanups in handling toplevel bins.
8623
8624 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8625
8626         * libs/gst/base/gstdataqueue.c:
8627         * libs/gst/base/gstdataqueue.h:
8628         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8629         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8630         (gst_multi_queue_sink_event):
8631         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8632           Fix multiqueue leaking buffers and events when downstream or the
8633           queue are flushing. Make refcounting assumptions explicit and
8634           document them (shouldn't break existing code that uses it other than
8635           maybe leak miniobjects, but that already happens anyway). Add unit
8636           test for the most common flushing case. Fixes #423700.
8637           
8638 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8639
8640         * libs/gst/controller/gstcontroller.c:
8641         Clarify docs: The get_all, get_value_array(s) functions
8642         don't modify the GObject properties.
8643
8644 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8645
8646         * libs/gst/controller/gstcontroller.c:
8647         (gst_controlled_property_set_interpolation_mode),
8648         (gst_controlled_property_prepend_default),
8649         (gst_controlled_property_new), (gst_controller_set_unlocked),
8650         (gst_controller_set), (gst_controller_set_from_list),
8651         (gst_controller_unset), (gst_controller_unset_all):
8652         * libs/gst/controller/gstcontrollerprivate.h:
8653         * libs/gst/controller/gstinterpolation.c:
8654         Factor out the 'set' logic into gst_controller_set_unlocked for the
8655         gst_controller_set and gst_controller_set_from_list functions.
8656
8657         To make life of the interpolators easier always add a control point
8658         at timestamp zero with the default value.
8659
8660         In the linear interpolator make things more obvious by better variable
8661         naming (slope).
8662
8663         Implement cubic interpolation mode (by using a natural cubic spline)
8664         and map the quadratic interpolation mode to this too (as quadratic
8665         doesn't make much sense, see discussion on the list).
8666
8667         * tests/check/libs/controller.c: (GST_START_TEST),
8668         (gst_controller_suite):
8669         Add unit test for the cubic interpolation mode and check everywhere
8670         if the interpolation mode could be set as expected.
8671
8672 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8673
8674         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8675           Don't use GLib-2.10 functions, we still depend on
8676           GLib-how-old-is-it-again-2.8.
8677
8678 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8679
8680         * docs/gst/gstreamer-sections.txt:
8681         * gst/Makefile.am:
8682         * gst/gst.c:
8683         * gst/gst.h:
8684         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8685         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8686         (_gst_param_fraction_values_cmp),
8687         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8688         * gst/gstparamspecs.h:
8689         * gst/gstvalue.c:
8690         * tests/check/Makefile.am:
8691         * tests/check/gst/.cvsignore:
8692         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8693         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8694         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8695         (GST_START_TEST), (gst_param_spec_suite):
8696           API: add GstParamSpecFraction, so elements can have fraction
8697           properties without lots of painful string parsing (#444648).
8698
8699 2007-06-05  Wim Taymans  <wim@fluendo.com>
8700
8701         * gst/gstobject.c: (gst_object_class_init):
8702         Fix signal signature.
8703
8704         * gst/gstsegment.c:
8705         Add small clarification in the api docs.
8706
8707         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8708         States are protected with object lock.
8709
8710 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8711
8712         * AUTHORS:
8713         I should probably be listed as an author by now.
8714
8715         * docs/random/release:
8716         Update the release doc
8717
8718 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8719
8720         * gst/gstvalue.c:
8721           Make docs for gst_value_compare() mention return enums that
8722           actually exist.
8723
8724 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8725
8726         * configure.ac:
8727           Back to CVS
8728
8729 === release 0.10.13 ===
8730
8731 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8732
8733         * configure.ac:
8734           releasing 0.10.13, "With or without you"
8735
8736 2007-05-25  Wim Taymans  <wim@fluendo.com>
8737
8738         * gst/gstbin.c: (bin_handle_async_done):
8739         Make sure that the child bin stops after completing the async state
8740         change so that the parent can continue the state change to PLAYING.
8741         Fixes #441159.
8742
8743 2007-05-25  Wim Taymans  <wim@fluendo.com>
8744
8745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8746         (unref_data), (gst_collect_pads_remove_pad),
8747         (gst_collect_pads_check_pads):
8748         Use additional refcounting to avoid crashes when dynamically adding and
8749         removing pads. Fixes #420206.
8750
8751 2007-05-24  Wim Taymans  <wim@fluendo.com>
8752
8753         * tools/gst-launch.c: (event_loop):
8754         When buffering goes from a two digit to a single digit number, make sure
8755         to remove the old second digit by writing a blank over it.
8756
8757 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8758
8759         * libs/gst/base/gstdataqueue.c:
8760           Eliminate tabs and trailing comma in enum list; fix some typos.
8761
8762 2007-05-24  Wim Taymans  <wim@fluendo.com>
8763
8764         * tests/check/gst/gstbin.c: (GST_START_TEST):
8765         Allow refcount of 3 and 4 because some state thread might still be busy
8766         with it.
8767
8768 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8769
8770         * plugins/elements/Makefile.am:
8771         * plugins/elements/gstmultiqueue.h:
8772         * plugins/elements/gstqueue.h:
8773           These are not installed headers, no need for padding.
8774
8775 2007-05-24  Wim Taymans  <wim@fluendo.com>
8776
8777         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8778         (gst_bin_continue_func):
8779         Enable latency for next release.
8780         Restore STATE_LOCK around recalc_state that was left out during the
8781         rewrite and could result in racy behaviour when _get_state and
8782         recalc_state are run concurrently. See #440463.
8783
8784 2007-05-23  Wim Taymans  <wim@fluendo.com>
8785
8786         * tests/check/gst/gstsystemclock.c: (store_callback),
8787         (GST_START_TEST):
8788         Improve test_async_order to also work when both timers are already
8789         expired when we get scheduled to check it.
8790
8791 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8792
8793         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8794         (gst_bin_set_property), (gst_bin_get_property),
8795         (gst_bin_remove_func), (gst_bin_handle_message_func):
8796         * gst/gstbin.h:
8797           'private' is a c++ keyword, let's not use that in header files,
8798           otherwise c++ compilers will throw a tantrum.
8799
8800 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8801
8802         * plugins/elements/gstelements.c:
8803         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8804         (gst_file_sink_get_current_offset):
8805         * plugins/indexers/gstindexers.c: (plugin_init):
8806           Use #ifdef for HAVE_XYZ for consistency.
8807
8808         * tests/check/Makefile.am:
8809         * tests/check/elements/.cvsignore:
8810         * tests/check/elements/filesink.c: (setup_filesink),
8811         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8812           Add some unit tests for filesink.
8813
8814 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8815
8816         Patch by: Mark Nauwelaerts <manauw at skynet be>
8817
8818         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8819         (gst_file_sink_query), (gst_file_sink_do_seek),
8820         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8821         * plugins/elements/gstfilesink.h:
8822           Fix position reporting; rename data_written member to current_pos to
8823           reflect its real meaning (fixes #412648).
8824
8825 2007-05-22  Edward Hervey  <edward@fluendo.com>
8826
8827         * docs/gst/gstreamer-sections.txt:
8828         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8829         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8830         (gst_bin_remove_func), (gst_bin_handle_message_func):
8831         * gst/gstbin.h:
8832         Add a property for bins that handle the state change of their childs.
8833         Fixes #435880
8834
8835 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8836
8837         * libs/gst/controller/gstinterpolation.c:
8838         Use an array of the correct type when using _get_value_array with
8839         linear interpolation.
8840
8841 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8842
8843         * gst/gstelement.c (gst_element_requires_clock,
8844           gst_element_provides_clock, gst_element_request_pad,
8845           gst_element_class_set_details, gst_element_class_set_details_simple,
8846           gst_element_default_send_event, gst_element_abort_state,
8847           gst_element_continue_state, gst_element_set_state,
8848           gst_element_set_state_func, iterator_activate_fold_with_resync):
8849         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8850           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8851           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8852           gst_pad_get_range, gst_pad_pull_range):
8853         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8854           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8855           GstPadActivateModeFunction, GstPadChainFunction,
8856           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8857           GstPadFixateCapsFunction, GstPadTemplate):
8858         * gst/gstpipeline.c (gst_pipeline_change_state,
8859           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8860           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8861           gst_pipeline_get_delay):
8862           Whitespace and docs fixes.
8863
8864 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8865
8866         * libs/gst/controller/gstinterpolation.c:
8867         (interpolate_trigger_get_enum_value_array),
8868         (interpolate_trigger_get_string_value_array):
8869         Add support for retrieving value arrays when using the trigger
8870         interpolation mode. 
8871
8872 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8873
8874         * libs/gst/controller/gstcontroller.c:
8875         (gst_controller_get_value_array):
8876         * libs/gst/controller/gstcontroller.h:
8877         Clarify the docs of gst_controller_get_value_array(): The array where
8878         the values should be written to must be allocated as there seems to be
8879         no way to get the size of a random GType. This doesn't change any
8880         behaviour. Also fix some typos all over the place and remove an unused,
8881         commented function that is not necessary as g_object_set() could be
8882         used instead.
8883         * tests/check/libs/controller.c: (GST_START_TEST),
8884         (gst_controller_suite):
8885         Add unit test for gst_controller_get_value_array().
8886
8887 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8888
8889         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8890
8891         Disable part of the gst_buffer_try_new_and_alloc test, because
8892         it can happily succeed on 64-bit systems where there's more address
8893         space available.
8894
8895 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8896
8897         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8898         Add unit test for the improved caps checking from bug #421543.
8899
8900 2007-05-21  Wim Taymans  <wim@fluendo.com>
8901
8902         * docs/design/part-synchronisation.txt:
8903         Small addition.
8904
8905         * gst/gstbin.c: (gst_bin_query):
8906         * plugins/elements/gstqueue.c: (apply_segment):
8907         Improve debugging.
8908
8909         * gst/gstmessage.h:
8910         Improve docs.
8911
8912 2007-05-21  Wim Taymans  <wim@fluendo.com>
8913
8914         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8915         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8916         (gst_pad_configure_src):
8917         Added simple version of improved caps checking. It was previously
8918         assumed that a setcaps function would check the validity of the caps but
8919         people prefer us to check caps against the template automatically. 
8920         Fixes #421543.
8921
8922 2007-05-21  Wim Taymans  <wim@fluendo.com>
8923
8924         * libs/gst/base/gstbasetransform.h:
8925         Fix macro for locking/unlocking the transform lock.
8926
8927 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8928
8929         * docs/plugins/tmpl/.cvsignore:
8930           Ignore more.
8931
8932 2007-05-18  Edward Hervey  <edward@fluendo.com>
8933
8934         * plugins/elements/gstqueue.c: (gst_queue_loop):
8935         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8936         for the subtle art of warning a potentially blocking thread that it
8937         should check the source pad return value, and relay the information
8938         upstream.
8939
8940 2007-05-18  Edward Hervey  <edward@fluendo.com>
8941
8942         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8943         Release the queue lock !
8944
8945 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8946
8947         * docs/libs/gstreamer-libs-sections.txt:
8948         Add the two new controller functions to the appropiate places.
8949
8950 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8951
8952         reviewed by: Stefan Kost <ensonic@users.sf.net>
8953
8954         * libs/gst/controller/gstcontroller.c:
8955         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8956         (_gst_controller_get_property), (_gst_controller_set_property),
8957         (_gst_controller_init), (_gst_controller_class_init):
8958         * libs/gst/controller/gstcontroller.h:
8959         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8960         (gst_object_get_control_rate), (gst_object_set_control_rate):
8961         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8962         Add API that provides sync suggestion timestamps for elements that
8963         call gst_object_sync_values() from which those elements can subdivide
8964         their processing loop to get the best results for the controlled
8965         properties. For now it just suggests last_sync + control_rate as
8966         new timestamp but this will be improved in the future.
8967
8968         While doing that change the control-rate property to a GstClockTime
8969         from guint and change it's meaning from samples to nanoseconds as
8970         the GstController doesn't know anything about sampling rate. Strictly
8971         speaking this breaks ABI but as the control-rate property didn't do
8972         anything in the past and as such couldn't be used this should be no
8973         problem.        
8974
8975 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8976
8977         reviewed by: Stefan Kost <ensonic@users.sf.net>
8978
8979         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8980         (gst_controller_unset_all):
8981         * libs/gst/controller/gstcontrollerprivate.h:
8982         * libs/gst/controller/gstinterpolation.c:
8983         (gst_controlled_property_find_control_point_node):
8984         Save last synced value from the list to continue searching from there
8985         in future syncs. This speeds everything up a bit.
8986         
8987 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8988
8989         reviewed by: Stefan Kost <ensonic@users.sf.net>
8990
8991         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8992         (gst_control_point_find), (gst_controlled_property_new),
8993         (gst_control_point_free), (gst_controlled_property_free),
8994         (gst_controller_set), (gst_controller_set_from_list),
8995         (gst_controller_unset), (gst_controller_unset_all),
8996         (gst_controller_sync_values):
8997         * libs/gst/controller/gstcontroller.h:
8998         * libs/gst/controller/gstcontrollerprivate.h:
8999         * libs/gst/controller/gstinterpolation.c:
9000         (gst_controlled_property_find_control_point_node),
9001         (interpolate_none_get), (interpolate_trigger_get):
9002         Add a new private GstControlPoint struct which "inherits" from
9003         GstTimedValue to allow different interpolators to store internal
9004         values next to each control point. From the outside everything is
9005         still a GstControlPoint so we don't loose binary compatibility.
9006         Also fixup all the GValue handling to not leak GValues or list nodes.
9007         * tests/check/libs/controller.c: (GST_START_TEST):
9008         Free the list nodes and GValues in the controller_misc test.
9009
9010 2007-05-17  Edward Hervey  <edward@fluendo.com>
9011
9012         * gst/gstsegment.c:
9013         Small doc fix.
9014
9015 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9016
9017         * gst/gstplugin.c: (gst_plugin_load_file):
9018           If we fail to load a plugin because of unresolved symbols or missing
9019           libraries and spew a warning to stderr, we may just as well mention
9020           which plugin it was that failed to load.
9021
9022 2007-05-13  David Schleef  <ds@schleef.org>
9023
9024         * docs/Makefile.am: the gtk-doc makefile snippet correctly
9025           handles the case when ENABLE_GTK_DOC is false, and installs
9026           the prebuilt documentation.  So gtk-doc subdirs are 
9027           unconditionally enabled.  Fixes: #349099.
9028
9029 2007-05-13  David Schleef  <ds@schleef.org>
9030
9031         * gst/gstutils.h: Reword some documentation.
9032
9033 2007-05-12  David Schleef  <ds@schleef.org>
9034
9035         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
9036           do anything with the passed "module" parameter, so remove it.
9037           Allows removal of additional vestigal code.
9038
9039 2007-05-12  David Schleef  <ds@schleef.org>
9040
9041         * gst/gstplugin.c:
9042           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
9043           Switch to using g_stat() because it's more portable.
9044
9045 2007-05-12  David Schleef  <ds@schleef.org>
9046
9047         * gst/gst.c:
9048           Add GST_DISABLE_OPTION_PARSING, in order to disable option
9049           parsing for embedded systems.
9050         * gst/gstelementfactory.c:
9051           Allow gst_element_register() to be called with plugin==NULL.
9052           Did nobody notice that static elements were broken?
9053
9054 2007-05-12  Wim Taymans  <wim@fluendo.com>
9055
9056         * tools/gst-launch.c: (event_loop):
9057         Give more interesting info when buffering starts and stops.
9058         Fix case where buffering starts but we fail to update the buffering flag
9059         because the target state is not PLAYING.
9060
9061 2007-05-12  Wim Taymans  <wim@fluendo.com>
9062
9063         * plugins/elements/gstqueue.c: (gst_queue_init),
9064         (gst_queue_finalize), (update_time_level), (apply_segment),
9065         (apply_buffer), (gst_queue_locked_flush),
9066         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
9067         (gst_queue_handle_sink_event), (gst_queue_chain),
9068         (gst_queue_push_one), (gst_queue_loop):
9069         * plugins/elements/gstqueue.h:
9070         Refactor an cleanup queue a bit.
9071         Do better time level calculations that also work when the srcpad is not
9072         yet running.
9073         Remove some unneeded debug lines.
9074
9075         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
9076         Added testcase for time level measurement.
9077         Try to make some stuff more racefree.
9078
9079 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9080
9081         * gst/gsturi.c: (gst_element_make_from_uri):
9082           Don't leak plugin feature.
9083
9084         * tests/check/Makefile.am:
9085         * tests/check/gst/.cvsignore:
9086         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9087           Add brain-dead unit test.
9088
9089 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         Patch by: Jeroen Wouters <woutersj at gmail com>
9092
9093         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9094           Treat protocol strings in a case-insensitive way (#437563).
9095
9096 2007-05-11  Michael Smith <msmith@fluendo.com>
9097
9098         * gst/gstplugin.c: (gst_plugin_load_file):
9099         * gst/gstregistry.c: (gst_registry_scan_path_level):
9100           Don't print a g_warning for any failure to load a shared object.
9101           Instead, push this down into gstplugin.c, and warn _only_ if we
9102           failed to open the module (i.e. failure to link).
9103           Avoids warnings on normal, working, non-plugin .so files.
9104
9105 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9106
9107         * gst/gstplugin.c (gst_plugin_load_file):
9108         * gst/gstregistry.c (GST_CAT_DEFAULT,
9109           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9110           Print a g_warning if there was an error when loading a plugins during
9111           registry scan. The shuld help beginners starting with gst-plugin
9112           template.
9113
9114 2007-05-10  Wim Taymans  <wim@fluendo.com>
9115
9116         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9117         (update_time_level), (gst_queue_locked_flush),
9118         (gst_queue_handle_sink_event), (gst_queue_chain),
9119         (gst_queue_push_one), (gst_queue_loop):
9120         * plugins/elements/gstqueue.h:
9121         Be smarter when calculating the current amount of data in the queue by
9122         measuring the difference between start and end timestamps (in running
9123         time) inside the queue. Fixes #432876.
9124         API: GstQueue::pushing to notify elements that we are pushing data again
9125         since the running signal is rather broken for this purpose.
9126
9127 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9128
9129         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9130           gst_queue_base_init, gst_queue_init):
9131           use GST_BOILERPLATE
9132
9133 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9134
9135         * win32/common/libgstreamer.def:
9136         Add new exported functions.
9137         * win32/vs6/grammar.dsp:
9138         Use grammar pre-generated files.
9139
9140 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9141
9142         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9143
9144         * gst/Makefile.am:
9145         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9146         * gst/gstparse.h:
9147         * gst/gstutils.c: (gst_parse_bin_from_description):
9148         * gst/gstutils.h:
9149           Maintain API and ABI when --disable-parse is used. Now that
9150           we have an appropriate error code, we can just return NULL and the
9151           appropriate error when gst_parse_launch() is used despite it having
9152           been disabled (#342564).
9153
9154         * tests/check/Makefile.am:
9155         * tests/check/pipelines/.cvsignore:
9156         * tests/check/pipelines/parse-disabled.c:
9157           Make sure these functions exist and return NULL plus a GError when
9158           --disable-parse is used.
9159
9160 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9161
9162         * tests/benchmarks/complexity.c: (main):
9163         * tests/benchmarks/mass-elements.c: (main):
9164           Set a good example and don't leak messages.
9165
9166 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9167
9168         * docs/gst/Makefile.am:
9169         * docs/libs/Makefile.am:
9170           Correct fixxrefs options.
9171
9172         * docs/plugins/Makefile.am:
9173         * docs/plugins/gstreamer-plugins-docs.sgml:
9174         * docs/plugins/gstreamer-plugins-sections.txt:
9175         * plugins/elements/Makefile.am:
9176         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9177         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9178           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9179           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9180           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9181           _GstCapsFilterClass, trans_class):
9182         * plugins/elements/gstelements.c (name, rank, type, _elements):
9183         * plugins/elements/gstidentity.c
9184           (gst_identity_check_imperfect_timestamp,
9185           gst_identity_check_imperfect_offset):
9186           Document capsfilter and add doc-blurb to identity.
9187
9188 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9189
9190         * libs/gst/controller/gstcontroller.c:
9191         (gst_controlled_property_set_interpolation_mode):
9192         * libs/gst/controller/gstinterpolation.c:
9193           Don't crash if someone tries to set an interpolation mode that
9194           is invalid or that isn't supported yet. Fixes #422295.
9195
9196         * tests/check/libs/controller.c: (GST_START_TEST),
9197         (gst_controller_suite):
9198           Add a test case for the above.
9199
9200 2007-05-03  Edward Hervey  <edward@fluendo.com>
9201
9202         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9203         Properly set the last_stop position on GstSegment. This will only happen
9204         if there is a buffer to push out.
9205
9206 2007-05-03  Wim Taymans  <wim@fluendo.com>
9207
9208         * libs/gst/base/gstbasetransform.c:
9209         (gst_base_transform_buffer_alloc):
9210         always_in_place does not mean that the sink and source caps are the
9211         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9212
9213 2007-05-03  Wim Taymans  <wim@fluendo.com>
9214
9215         * docs/libs/gstreamer-libs-sections.txt:
9216         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9217         (gst_base_src_default_query), (gst_base_src_get_range):
9218         * libs/gst/base/gstbasesrc.h:
9219         API: gst_base_src_query_latency(). Added method so that subclasses can
9220         easily get the latency values of the base source class.
9221
9222 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9223
9224         * tools/gst-inspect.c (print_implementation_info):
9225         Remove 0.8 cruft.
9226
9227 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9228
9229         * tools/Makefile.am:
9230         * tools/gst-launch.1.in:
9231           Don't create a customised man page based on the host architecture,
9232           describe the default registry path generically. That way the man
9233           page is the same for all architectures and packagers have one
9234           multilib issue less to deal with. Fixes #434926.
9235
9236 2007-05-02  Wim Taymans  <wim@fluendo.com>
9237
9238         * gst/gstpad.c:
9239         Fix documentation as spotted by rg on IRC. 
9240
9241 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9242
9243         * gst/gstutils.c:
9244           Improve docs for gst_element_{link,unlink}.
9245
9246 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9247
9248         * docs/design/part-events.txt:
9249         * docs/design/part-overview.txt:
9250         * gst/gstevent.c:
9251         * gst/gsturi.c:
9252         * gst/gsturi.h:
9253         * libs/gst/base/gstbasesink.c:
9254           Typo fixes; minor docs addition.
9255
9256 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9257
9258         * docs/gst/gstreamer-sections.txt:
9259         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9260         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9261         * gst/gsturi.h:
9262         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9263         or src that supports a given URI protocol exists.
9264
9265 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9266
9267         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9268         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9269         Set the location to NULL if "file://" is set as URI. Otherwise
9270         some random previous URI would still be set if "file://" is
9271         set on an already used filesink/filesrc.
9272
9273 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9274
9275         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9276         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9277         Special case the "file://" URI as as this is used by some
9278         applications to test with gst_element_make_from_uri if there's
9279         an element that supports the URI protocol.
9280         Also move the g_path_is_absolute() check for the location part
9281         of the URI to also check this for "file://localhost/bla" URIs.
9282
9283 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9284
9285         * docs/gst/gstreamer-sections.txt:
9286         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9287         * gst/gstbuffer.h:
9288         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9289         (gst_buffer_suite):
9290           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9291
9292 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9293
9294         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9295         (gst_registry_binary_load_pad_template),
9296         (gst_registry_binary_load_plugin),
9297         (gst_registry_binary_read_cache):
9298         * gst/gstregistrybinary.h:
9299           Implement no-mmap alternative for registry reading. Do code cleanups.
9300           Add more comments about avoiding strdups for all text data. Comments
9301           welcome.
9302
9303 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9304
9305         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9306           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9307           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9308           Comment structs and reformat to fix the build (that stuff should go
9309           into a priv. header).
9310
9311 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9312
9313         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9314         (gst_registry_binary_load_feature):
9315         * gst/gstregistrybinary.h:
9316           Refactor so that we can implement multiple features. Add support for
9317           TypeFindFactory features.
9318
9319 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9320
9321         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9322
9323         * configure.ac:
9324           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9325
9326 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9327
9328         * gst/gstbin.c: (gst_bin_element_set_state),
9329         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9330         (bin_handle_async_done), (gst_bin_handle_message_func):
9331           Fix build with --gst-disable-gst-debug
9332
9333 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9334
9335         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9336           Make sure streaming has finished before calling the ::stop() vfunc,
9337           since that vfunc might clear state which is being used in the
9338           streaming thread. This fixes a race that caused crashes in
9339           audioresample when shutting down a pipeline (#420106).
9340
9341 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9342
9343         * docs/gst/gstreamer-sections.txt:
9344           That was one byte missing.
9345
9346 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9347
9348         * configure.ac:
9349         * docs/gst/gstreamer-sections.txt:
9350         * gst/Makefile.am:
9351         * gst/gstconfig.h.in:
9352         * gst/gstobject.c: (gst_object_class_init),
9353         (gst_signal_object_class_init):
9354         * gst/gstobject.h:
9355           2nd attempt to have a xml-less build as a joined effort of #413123
9356           and #421480.
9357
9358 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9359
9360         * docs/design/draft-tagreading.txt:
9361           Added open issues/thoughts to draft.
9362
9363 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9364
9365         * gst/parse/grammar.tab.pre.c:
9366         * gst/parse/grammar.tab.pre.h:
9367         * gst/parse/lex._gst_parse_yy.pre.c:
9368         Update the prebuild parser sources.
9369
9370 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9371
9372         * gst/parse/Makefile.am:
9373         And now fix the building of the flex sources. Now everything should
9374         work as expected.
9375
9376 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9377
9378         * gst/parse/Makefile.am:
9379         Now hopefully fix the build failures by setting proper rule
9380         dependencies and moving instead of copying.
9381
9382 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9383
9384         * tests/benchmarks/complexity.gnuplot:
9385         * tests/benchmarks/complexity.scm:
9386         * tests/benchmarks/mass-elements.gnuplot:
9387         * tests/benchmarks/mass-elements.scm:
9388           Total licensification.
9389
9390 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9391
9392         * gst/parse/Makefile.am:
9393           Fix the build by correcting the rule that gave wrong files to flex.
9394
9395 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9396
9397         * tests/benchmarks/complexity.c:
9398         * tests/benchmarks/mass-elements.c:
9399           Change licence to LGPL as granted by Benjamin and Andy.
9400
9401 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9402
9403         * gst/parse/Makefile.am:
9404         Add correct grammar.tab.h dependency if compiling without new enough
9405         flex. Fixes #431150.
9406
9407 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9408
9409         * gst/parse/Makefile.am:
9410         Fix typo and use outdated sources if the flex/bison sources are newer
9411         than the pregenerated ones but flex is too old. Print a warning in
9412         that case. This should fix the build on the build bot.
9413
9414 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9415
9416         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9417         * gst/parse/Makefile.am:
9418         * gst/parse/grammar.y:
9419         * gst/parse/parse.l:
9420         Make the parser reentrant and recursively callable. This requires flex
9421         >= 2.5.31, for older versions pregenerated sources are used as we
9422         can't bump the build dependency. Finally fixes #349180.
9423
9424         * gst/gstparse.c: (gst_parse_launch):
9425         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9426         now anyway.
9427
9428         * docs/gst/Makefile.am:
9429         * docs/gst/Makefile.am:
9430         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9431         (__gst_parse_strfree), (__gst_parse_link_new),
9432         (__gst_parse_link_free), (__gst_parse_chain_new),
9433         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9434         (gst_parse_element_set), (gst_parse_free_link),
9435         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9436         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9437         (_gst_parse_launch):
9438         * gst/parse/grammar.tab.pre.h:
9439         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9440         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9441         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9442         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9443         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9444         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9445         (_gst_parse_yypop_buffer_state),
9446         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9447         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9448         (yy_fatal_error), (_gst_parse_yyget_extra),
9449         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9450         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9451         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9452         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9453         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9454         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9455         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9456         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9457         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9458         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9459         (_gst_parse_yyfree):
9460         If the installed flex version is too old use pre-generated parser
9461         sources. These pre-generated parser sources are always updated when
9462         the actual flex/bison sources change but require everybody who wants
9463         to change something in the parser to have flex >= 2.5.31 installed.
9464
9465 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9466
9467         * common/m4/gst-gettext.m4:
9468         * gst/gst-i18n-lib.h:
9469           Make --disable-nls to work
9470
9471 2007-04-17  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/gstconfig.h.in:
9474         Revert previous change that broke the build.
9475
9476 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9477
9478         * configure.ac:
9479         * gst/Makefile.am:
9480         * gst/gstconfig.h.in:
9481           Drop libxml2 dependency when building with 
9482           --enable-binary-registry --disable-loadsave
9483
9484 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9485
9486         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9487         (gst_registry_binary_read_cache):
9488         * gst/gstregistrybinary.h:
9489           Remove unnecessary <sys/mman.h> include which broke the win32 build
9490           with MingW; move includes from header file to .c file, even if the
9491           header file isn't installed; use g_strerror() where UTF-8 strings
9492           are expected, such as in GST_DEBUG messages.
9493
9494 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9495
9496         * docs/libs/gstreamer-libs-sections.txt:
9497         Remove bogus addition for API I didn't end up keeping.
9498
9499         * libs/gst/base/gstbasesrc.h:
9500         Mention Since: 0.10.13 in the documentation.
9501
9502         Add the API keyword to the previous ChangeLog entry.
9503
9504 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9505
9506         * docs/libs/gstreamer-libs-sections.txt:
9507         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9508         (gst_base_src_default_prepare_seek_segment),
9509         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9510         * libs/gst/base/gstbasesrc.h:
9511         Allow basesrc derived classes to execute seeks in other formats
9512         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9513         to prepare the GstSegment in any format that their perform_seek method
9514         will be able to understand. The default implementation provides the
9515         old behaviour of attempting to convert the seek offsets to the 
9516         configured native format.
9517
9518         API: basesrc::prepare_seek_segment vmethod.
9519
9520 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9521
9522         * gst/gstelement.c: (gst_element_get_state_func):
9523         Don't output the same debug statement twice.
9524
9525         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9526         (gst_adapter_peek), (gst_adapter_take_buffer):
9527         Optimise the case where we have buffers at the head of the queue that
9528         can be joined quickly (because they're contiguous sub-buffers) by
9529         merging them together rather than copying data out into new memory.
9530
9531         * gst/parse/grammar.y:
9532         * tests/check/pipelines/parse-launch.c:
9533         Fix a leak in an error path for parse_launch, and add a check 
9534         for it to the testsuite.
9535
9536 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9537
9538         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9539           Don't deadlock when releasing a pad - gst_pad_set_active may try
9540           and take the multiqueue lock too.
9541
9542 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9543
9544         * gst/gsterror.c: (_gst_core_errors_init):
9545         * gst/gsterror.h:
9546           API: add GST_CORE_ERROR_DISABLED (#392804).
9547
9548 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9549
9550         * docs/faq/gst-uninstalled:
9551           don't get empty paths on the PATH variables
9552         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9553           Don't format for the uncommon terminal width of 84 characters.
9554
9555 2007-04-06  Wim Taymans  <wim@fluendo.com>
9556
9557         * gst/gstpipeline.c: (reset_stream_time),
9558         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9559         Only try to select a different pipeline clock when we went back to
9560         PAUSED and not when we merely got flushed.
9561
9562 2007-04-05  Michael Smith  <msmith@fluendo.com>
9563
9564         * tools/gst-launch.1.in:
9565           fractions are better supported in gstreamer than ractions, so
9566           suggest using those.
9567
9568 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9569
9570         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9571
9572         * po/LINGUAS:
9573         * po/da.po:
9574           Added Danish translation.
9575
9576 2007-04-05  Wim Taymans  <wim@fluendo.com>
9577
9578         * libs/gst/base/gstbasesink.c:
9579         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9580         Fix leak caused when refusing newsegment after EOS.
9581
9582         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9583         (gst_fake_sink_init), (gst_fake_sink_set_property),
9584         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9585         (gst_fake_sink_render), (gst_fake_sink_change_state):
9586         * plugins/elements/gstfakesink.h:
9587         Add num-buffers property to make the element generate EOS after a
9588         configurable amount of buffers.
9589         API: fakesink::num-buffers property.
9590
9591         * tests/check/elements/fakesink.c: (GST_START_TEST),
9592         (fakesink_suite):
9593         Fix GstBus leak in test.
9594         Test for fakesink num-buffers.
9595
9596 2007-04-05  Wim Taymans  <wim@fluendo.com>
9597
9598         * libs/gst/base/gstbasesink.c:
9599         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9600         (gst_base_sink_change_state):
9601         Don't accept anything after an EOS, return UNEXPECTED instead.
9602
9603         * tests/check/elements/fakesink.c: (GST_START_TEST),
9604         (fakesink_suite):
9605         Unit test for new EOS behaviour.
9606
9607 2007-04-05  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/gstelement.c: (gst_element_get_request_pad):
9610         Make padtemplates also work when they don't contain %s or %d.
9611
9612 2007-04-05  Wim Taymans  <wim@fluendo.com>
9613
9614         * docs/gst/gstreamer-sections.txt:
9615         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9616         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9617         * gst/gstclock.h:
9618         Improve _adjust_unlocked() so that it overflows less.
9619         Add gst_clock_unadjust_unlocked to convert from external time to
9620         internal time based on calibration.
9621         Add some more debug.
9622         API: GstClock::gst_clock_unadjust_unlocked()
9623
9624 2007-04-03  Wim Taymans  <wim@fluendo.com>
9625
9626         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9627
9628         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9629         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9630         when releasing sink pad. Fixes #425400.
9631
9632 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9633
9634         * docs/random/ensonic/dynlink.txt:
9635           More work on proposal for new core api.
9636
9637         * docs/libs/gstreamer-libs-sections.txt:
9638         * libs/gst/base/gstbasetransform.h:
9639           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9640           
9641         * libs/gst/controller/gstcontroller.c:
9642         (on_object_controlled_property_changed),
9643         (gst_controller_sync_values),
9644         (gst_controller_set_interpolation_mode):
9645         * libs/gst/controller/gstcontroller.h:
9646           Less verbose logging add docs for unimplemented parts and correctly
9647           return when using unavailable parts.
9648
9649 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9650
9651         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9652         Move all the debug to the CLOCK category, and associate it with
9653         the clock object.
9654
9655 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9656
9657         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9658         Make take_buffer a bit quicker by removing redundant checks
9659         caused by calling gst_adapter_take.
9660
9661 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9662
9663         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9664           Don't leak GCond.
9665
9666         * tests/check/Makefile.am:
9667         * tests/check/elements/.cvsignore:
9668         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9669         (GST_START_TEST), (multiqueue_suite):
9670           Add some dead simple unit tests for the 'multiqueue' element
9671           (some bits don't work yet and are disabled for now).
9672
9673 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         * gst/gstelement.c: (gst_element_get_request_pad),
9676         (gst_element_class_get_request_pad_template):
9677           Make gst_element_get_request_pad() create request pads only for
9678           request pad templates and not for, say, sometimes pad templates.
9679
9680 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9681
9682         * docs/design/draft-klass.txt:
9683           Add example that needs more thinking.
9684         
9685         * docs/design/draft-missing-plugins.txt:
9686           More thoughts about wrapper plugins.
9687         
9688         * docs/random/ensonic/embedded.txt:
9689         * docs/random/ensonic/profiling.txt:
9690           More design work.
9691
9692 2007-03-25  Wim Taymans  <wim@fluendo.com>
9693
9694         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9695         (gst_base_src_loop):
9696         Only push the segment events in the PLAYING state for live sources.
9697
9698 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9699
9700         * gst/gstpipeline.c: (gst_pipeline_change_state):
9701         Modify the clock distribution path in PAUSED->PLAYING so that we 
9702         never attempt to choose a new clock unless we're actually leaving
9703         the PAUSED state for the first time. This prevents choosing a
9704         different clock when the state_change gets called for a 2nd time due
9705         to some element doing an async state change.
9706
9707 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9708
9709         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9710         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9711         (gst_pad_chain_unchecked), (gst_pad_push):
9712         Revert last commit. This needs some more thoughts.
9713
9714 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9715
9716         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9717         (gst_pad_chain_unchecked), (gst_pad_push):
9718         Check in set_caps if the caps are compatible with the pad and remove
9719         two functions that are redundant now. Fixes #421543.
9720
9721 2007-03-22  Wim Taymans  <wim@fluendo.com>
9722
9723         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9724         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9725         Unref some more to make valgrind happy.
9726
9727 2007-03-22  Wim Taymans  <wim@fluendo.com>
9728
9729         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9730         (gst_system_clock_id_wait_jitter),
9731         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9732         Fix anoying regression that survived a few releases. When adding an
9733         async entry while blocking on a sync entry, the sync entry will unblock
9734         but still be busy, so it should continue to wait instead of returning
9735         _BUSY to the app.
9736         Add some comments here and there.
9737
9738         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9739         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9740         Add testcase for this.
9741
9742 2007-03-22  Wim Taymans  <wim@fluendo.com>
9743
9744         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9745         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9746         WRONG_STATE and can silently pause the task. All other cases should
9747         error out.
9748
9749 2007-03-22  Wim Taymans  <wim@fluendo.com>
9750
9751         Patch by: Ville Syrjala <syrjala at sci dot fi>
9752
9753         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9754         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9755         Improve debugging.
9756
9757 2007-03-21  Michael Smith  <msmith@fluendo.com>
9758
9759         * docs/pwg/advanced-types.xml:
9760           Fix some errors in the typefinding docs pointed out on irc.
9761
9762 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9763
9764         * libs/gst/base/gstbasesrc.c:
9765         Clarify FIXME comment in the face of having added unlock_stop()
9766
9767 2007-03-21  Wim Taymans  <wim@fluendo.com>
9768
9769         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9770         Prepare for release where we warn against possible app breakage in the
9771         case of live pipelines along with an env var to enable/disable live
9772         preroll mode (GST_COMPAT=[no-]live-preroll).
9773
9774 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9775
9776         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9777         So we should use correct constants for checking for None offset.
9778
9779 2007-03-20  Wim Taymans  <wim@fluendo.com>
9780
9781         * docs/design/part-block.txt:
9782         Mention the fact that the newly switched element should be set to at
9783         least PAUSED.
9784
9785 2007-03-20  Wim Taymans  <wim@fluendo.com>
9786
9787         * gst/gst.c:
9788         Fix compilation with registry disabled as spotted by Saur.
9789
9790 2007-03-20  Wim Taymans  <wim@fluendo.com>
9791
9792         Patch by: Olivier Crete <tester at tester dot ca>
9793
9794         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9795         Look at the pending state too when syncing the element state to the
9796         parent. Fixes #420133.
9797
9798 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9799
9800         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9801         (gst_base_sink_change_state):
9802         * libs/gst/base/gstbasesink.h:
9803         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9804         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9805         (gst_base_src_deactivate):
9806         * libs/gst/base/gstbasesrc.h:
9807         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9808         for sub-classes to correctly clear any state they set trying to
9809         unlock, such as clearing out unlock commands from a command fd.
9810         API: basesrc::unlock_stop
9811         API: basesink::unlock_stop
9812
9813         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9814         (gst_fd_sink_render), (gst_fd_sink_unlock),
9815         (gst_fd_sink_unlock_stop):
9816         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9817         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9818         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9819
9820         Implement unlock_stop in fdsrc and fdsink.
9821         Implement seeking in fdsrc when a seekable fd is passed, as in
9822         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9823
9824 2007-03-19  Wim Taymans  <wim@fluendo.com>
9825
9826         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9827
9828         * gst/gstelement.c: (gst_element_class_init):
9829         Fix pad-added and pad-removed signal signatures so that the pad type is
9830         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9831
9832 2007-03-19  Wim Taymans  <wim@fluendo.com>
9833
9834         * docs/gst/gstreamer-sections.txt:
9835         Add new element field and method.
9836
9837         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9838         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9839         (gst_bin_recalc_state), (gst_bin_get_state_func),
9840         (gst_bin_element_set_state), (gst_bin_change_state_func),
9841         (gst_bin_continue_func), (bin_bus_handler),
9842         (bin_push_state_continue), (bin_handle_async_start),
9843         (bin_handle_async_done), (gst_bin_handle_message_func):
9844         Make async state changes a bit smarter by using new ASYNC_START and
9845         ASYNC_DONE messages. This reduces the number of times we run the state
9846         recalculation thread.
9847         Don't change state of element with a pending ASYNC_START message.
9848         Deprecate STATE_DIRTY messages.
9849         
9850         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9851         (gst_element_get_state_func), (gst_element_continue_state),
9852         (gst_element_lost_state), (gst_element_set_state_func),
9853         (gst_element_change_state):
9854         * gst/gstelement.h:
9855         Keep the state that was last set by the app in a new element field.
9856         Don't allow state changes when handling an element event.
9857         Post ASYNC_START and ASYNC_DONE messages.
9858         Change lost_state so that we go to PAUSED and wait for the parent to set
9859         us to PLAYING again (so latency calculation can be performed)
9860         Export gst_element_change_state() method so that subclasses can use it.
9861         API: gst_element_change_state()
9862         API: GST_STATE_TARGET
9863
9864         * gst/gstpipeline.c: (gst_pipeline_class_init),
9865         (reset_stream_time), (gst_pipeline_change_state),
9866         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9867         Using the new ASYNC_START message we can reset the base_time when
9868         needed. This can then be used to implement base_time redistribution in
9869         flushing seeks so that we can remove the explicit seek handling.
9870         Perform latency query and configuration when going to PLAYING.
9871
9872         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9873         (gst_base_sink_query), (gst_base_sink_change_state):
9874         Post new ASYNC_START/ASYNC_DONE messages.
9875
9876         * tests/check/generic/sinks.c: (GST_START_TEST):
9877         Fix test because the bin will not set the async element to PLAYING right
9878         away.
9879
9880         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9881         Make the message check a little stronger.
9882         Handle ASYNC messages.
9883
9884         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9885         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9886         Expect ASYNC_DONE messages.
9887
9888 2007-03-19  Wim Taymans  <wim@fluendo.com>
9889
9890         * docs/gst/gstreamer-sections.txt:
9891         * gst/gstmessage.c: (gst_message_new_async_start),
9892         (gst_message_new_async_done), (gst_message_parse_info),
9893         (gst_message_parse_async_start):
9894         * gst/gstmessage.h:
9895         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9896         support.
9897
9898 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9899
9900         * tools/gst-inspect.c:
9901         (print_plugin_automatic_install_info_codecs):
9902           Now that we don't check for the 'Codec' keyword any longer in the
9903           klass, we shouldn't spew a warning if the klass isn't a decoder or
9904           encoder (since it might be a Source/Network, for example).
9905
9906 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9907
9908         * tools/gst-inspect.c:
9909         (print_plugin_automatic_install_info_codecs):
9910           Don't require decoder/demuxer/depayloader elements or
9911           encoder/muxer/paylader elements to have 'Codec' as part of their
9912           factory class string when introspecting a plugin's capabilities.
9913           draft-klass.txt mentions that it might be removed in future, and
9914           flump3dec doesn't have it as part of its class string, so chances
9915           are others might also not have it.
9916
9917 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9918
9919         * po/af.po:
9920         * po/az.po:
9921         * po/bg.po:
9922         * po/ca.po:
9923         * po/cs.po:
9924         * po/de.po:
9925         * po/en_GB.po:
9926         * po/fr.po:
9927         * po/it.po:
9928         * po/nb.po:
9929         * po/nl.po:
9930         * po/ru.po:
9931         * po/sq.po:
9932         * po/sr.po:
9933         * po/sv.po:
9934         * po/tr.po:
9935         * po/uk.po:
9936         * po/vi.po:
9937         * po/zh_CN.po:
9938         * po/zh_TW.po:
9939           Update translations from translation project
9940
9941 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9942
9943         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9944         (gst_child_proxy_set_property):
9945           Invert precondition check to be alike the ones in the mimiced gobject
9946           api.
9947
9948 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9949
9950         * docs/design/draft-tagreading.txt:
9951         * docs/random/ensonic/audiobaseclasses.txt:
9952           Do some Architect work.
9953
9954         * gst/gstobject.c: (gst_object_set_name):
9955           Add a WARNING.
9956
9957         * gst/gstpad.c:
9958           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9959
9960 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9961
9962         * gst/gstsystemclock.c: (gst_system_clock_init),
9963         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9964         Defer starting the async system clock thread until the first async
9965         wait is scheduled. Fixes #414986.
9966
9967 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9970         (gst_single_queue_free):
9971           Fix small leak (free GstSingleQueue structure too, not only contents).
9972
9973 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9974
9975         * gst/gstbin.c:(gst_bin_add):
9976         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9977         * win32/common/libgstbase.def:
9978         * win32/common/libgstreamer.def:
9979         Add new exported functions.
9980
9981 2007-03-09  Wim Taymans  <wim@fluendo.com>
9982
9983         * docs/plugins/gstreamer-plugins-sections.txt:
9984         Fix GstTee docs.
9985
9986 2007-03-09  Wim Taymans  <wim@fluendo.com>
9987
9988         * docs/gst/gstreamer-sections.txt:
9989         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9990         * gst/gstbuffer.h:
9991         Add metadata copy functions. Fixes #393099.
9992         API: gst_buffer_copy_metadata()
9993
9994         * gst/gstutils.c: (gst_buffer_stamp):
9995         * libs/gst/base/gstbasetransform.c:
9996         (gst_base_transform_prepare_output_buffer):
9997         Use new metadata copy functions.
9998
9999 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10000
10001         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10002         (gst_identity_init), (gst_identity_check_perfect),
10003         (gst_identity_check_imperfect_timestamp),
10004         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
10005         (gst_identity_set_property), (gst_identity_get_property):
10006         * plugins/elements/gstidentity.h:
10007         Separate out check-imperfect-timestamp and check-imperfect-offset.
10008         Put back check-perfect as it was to keep compatibility.
10009
10010 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
10011
10012         * gst/gstelement.c: (gst_element_dispose):
10013         There's no need to warn if VOID_PENDING is not NONE here, as
10014         long as the state is NULL it's ok, and that's checked immediately
10015         above.
10016
10017 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10018
10019         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10020         Fix check for perfect stream to ignore buffers with -1 
10021         offsets/offset ends when checking data contiguity.
10022
10023 2007-03-08  Wim Taymans  <wim@fluendo.com>
10024
10025         * tools/gst-launch.c: (event_loop):
10026         Print INFO messages.
10027
10028 2007-03-08  Wim Taymans  <wim@fluendo.com>
10029
10030         * libs/gst/base/gstbasetransform.c:
10031         (gst_base_transform_sink_eventfunc),
10032         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10033         (gst_base_transform_activate):
10034         * libs/gst/base/gstbasetransform.h:
10035         Add support for dropping buffers with custom GstFlowReturn.
10036         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
10037         buffers or dropped buffers.
10038
10039         * docs/libs/gstreamer-libs-sections.txt:
10040         docs for new custom return code.
10041
10042         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10043         Use drop support in base class to implement drop-probability.
10044
10045 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10046
10047         * gst/gst.c: (load_plugin_func):
10048         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
10049         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10050         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
10051           Remove newlines at end of debug log strings.
10052
10053 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10054
10055         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10056         Only post bus message at max, once per buffer received.
10057
10058 2007-03-07  Wim Taymans  <wim@fluendo.com>
10059
10060         * docs/design/Makefile.am:
10061         * docs/design/part-synchronisation.txt:
10062         Add doc about synchronisation
10063
10064         * docs/design/draft-latency.txt:
10065         * docs/design/part-TODO.txt:
10066         * docs/design/part-clocks.txt:
10067         * docs/design/part-events.txt:
10068         * docs/design/part-gstbus.txt:
10069         * docs/design/part-gstpipeline.txt:
10070         * docs/design/part-live-source.txt:
10071         * docs/design/part-messages.txt:
10072         * docs/design/part-overview.txt:
10073         * docs/design/part-streams.txt:
10074         * docs/design/part-trickmodes.txt:
10075         Documentation updates.
10076
10077 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10078
10079         * gstreamer.doap:
10080         Update the doap file.
10081
10082 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10083
10084         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10085         Rename non-perfect to imperfect for Mike and for the sanctity of the
10086         language.
10087         Also make sure bus message gets emitted for data-incontiguities.
10088
10089 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10090
10091         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10092         (gst_identity_start):
10093         * plugins/elements/gstidentity.h:
10094         Emit bus message if check-perfect is true and we encounter a
10095         non-perfect stream between 2 consecutive buffers.
10096         Fixes #415394.
10097
10098 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10099
10100         * configure.ac:
10101         Back to CVS
10102
10103 === release 0.10.12 ===
10104
10105 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10106
10107         * configure.ac:
10108           releasing 0.10.12, "Inevitable Demise"
10109
10110 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10111
10112         * configure.ac:
10113          Version 0.10.11.2 (0.10.12 pre-release)
10114          Bump libtool versioning.
10115
10116 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10117
10118         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10119           Log flow-names and not numbers.
10120
10121 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10122
10123         * configure.ac:
10124           Convert to new AG_GST style.
10125
10126 2007-02-28  Wim Taymans  <wim@fluendo.com>
10127
10128         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10129         Don't unref query twice.
10130
10131 2007-02-28  Wim Taymans  <wim@fluendo.com>
10132
10133         * gst/gstvalue.c: (gst_value_transform_object_string),
10134         (_gst_value_initialize):
10135         Implement GstObject -> string transform so we print object names
10136         when serializing GValues containing GstObjects.
10137
10138 2007-02-28  Wim Taymans  <wim@fluendo.com>
10139
10140         * docs/gst/gstreamer-sections.txt:
10141         Add new stuff to docs.
10142
10143 2007-02-28  Wim Taymans  <wim@fluendo.com>
10144
10145         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10146         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10147         (gst_base_sink_change_state):
10148         Improve latency query code.
10149         Don't leak latency events.
10150
10151         * tests/check/gst/gstbin.c: (GST_START_TEST):
10152         Improve debugging.
10153
10154 2007-02-28  Wim Taymans  <wim@fluendo.com>
10155
10156         * gst/gstelement.c: (gst_element_message_full),
10157         (gst_element_get_state_func):
10158         * gst/gstelement.h:
10159         Improve docs a little. Added Since: for new macro.
10160
10161         * gst/gstobject.c: (gst_object_sink):
10162         * gst/gstpipeline.c: (gst_pipeline_change_state),
10163         (gst_pipeline_set_new_stream_time):
10164         * gst/gstpipeline.h:
10165         Improve debugging and docs.
10166
10167         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10168         Improve debugging.
10169
10170 2007-02-28  Wim Taymans  <wim@fluendo.com>
10171
10172         * gst/gstelement.c: (gst_element_message_full),
10173         (gst_element_set_locked_state), (gst_element_get_state_func),
10174         (gst_element_change_state):
10175         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10176         Documentation updates.
10177         Small code cleanups.
10178
10179         * gst/gstmessage.c: (gst_message_new_info),
10180         (gst_message_parse_info):
10181         * gst/gstmessage.h:
10182         API: gst_message_new_info()
10183         API: gst_message_parse_info()
10184         Add INFO message create and parse code.
10185
10186 2007-02-28  Wim Taymans  <wim@fluendo.com>
10187
10188         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10189         (bin_query_latency_done):
10190         Also report the live parameter of a latency query.
10191
10192 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10193
10194         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10195           Copy the current generic/states example from -base and adapt so
10196           we can use the exact same code everywhere.
10197           Check a STATES_IGNORE_ELEMENTS env var which can be used
10198           to ignore certain element factories for this test, which is
10199           what is being done in -base
10200         * tests/check/Makefile.am:
10201           Mention this environment variable.
10202
10203 2007-02-27  Wim Taymans  <wim@fluendo.com>
10204
10205         * docs/gst/gstreamer-sections.txt:
10206         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10207         (gst_bus_timed_pop), (gst_bus_pop):
10208         * gst/gstbus.h:
10209         API: gst_bus_timed_pop()
10210         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10211         message to arrive on the bus.
10212
10213         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10214         (gst_bus_suite):
10215         Two unit tests for new _timed_pop() function.
10216
10217 2007-02-23  Wim Taymans  <wim@fluendo.com>
10218
10219         * gst/gstpipeline.c: (gst_pipeline_change_state),
10220         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10221         Don't ref a NULL clock in _provide_clock_func().
10222         Don't allow an INVALID delay.
10223         Don't try to calculate base_time with an invalid start_time.
10224         Also distribute and notify a NULL clock when it was selected.
10225
10226         * tools/gst-launch.c: (event_loop):
10227         Don't crash when a NULL clock was selected in the pipeline.
10228
10229 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10230
10231         * docs/design/Makefile.am:
10232         * docs/design/draft-missing-plugins.txt:
10233         * docs/random/draft-missing-plugins.txt:
10234           Some small updates: update plugin system identifier prefix
10235           ('gstreamer.net' to 'gstreamer'), mention our new install
10236           API in libgstbaseutils rather than libgimme-codec, add
10237           reference to the online docs.
10238
10239 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10240
10241         * win32/common/config.h:
10242           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10243           use moap cl ci to only check in what is mentioned in the ChangeLog.
10244
10245 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10246
10247         * docs/gst/gstreamer-sections.txt:
10248         * gst/gstelement.h:
10249           Fix up documentation to link to the correct GstGError section.
10250           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10251
10252 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10253
10254         * tools/gst-launch.c: (event_loop):
10255           Make sure that we actually show the important message part of a
10256           warning message.
10257           No need to check if the gerror is not NULL to free; first of all
10258           g_free accepts NULL; and second the default error handler would
10259           segfault if gerror was NULL.
10260
10261 2007-02-21  Wim Taymans  <wim@fluendo.com>
10262
10263         * docs/gst/gstreamer-sections.txt:
10264         Removed docs as well.
10265
10266 2007-02-21  Wim Taymans  <wim@fluendo.com>
10267
10268         * gst/gstmessage.c: (gst_message_parse_duration):
10269         * gst/gstmessage.h:
10270         Remove new messages for release.
10271
10272 2007-02-20  Wim Taymans  <wim@fluendo.com>
10273
10274         * docs/design/part-gstghostpad.txt:
10275         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10276         (gst_ghost_pad_new_full):
10277         Make the ghostpad a parent of the internal pad again for better backward
10278         compatibility. Don't write code that relies on this however.
10279
10280         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10281         (gst_pad_link_check_hierarchy):
10282         Require that parents should be GstElements in the hierarchy check.
10283
10284 2007-02-20  Wim Taymans  <wim@fluendo.com>
10285
10286         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10287         (gst_bin_change_state_func), (bin_query_min_max_init),
10288         (bin_query_latency_fold), (bin_query_latency_done),
10289         (gst_bin_query):
10290         Improve debug info.
10291         Implement latency query.
10292
10293 2007-02-20  Wim Taymans  <wim@fluendo.com>
10294
10295         * docs/design/part-gstghostpad.txt:
10296         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10297         (gst_ghost_pad_internal_do_activate_push),
10298         (gst_ghost_pad_internal_do_activate_pull),
10299         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10300         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10301         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10302         Do not set the internal pad as a parent anymore so we can avoid
10303         hierarchy linking errors when the ghostpad has no parent yet. This also
10304         fixes failed activation because of unlinked internal pads, which in
10305         turn fixes the impossible case where you have to activate a pad before
10306         you can add it to a running element.
10307         Also fix the docs.
10308
10309         * gst/gstpad.c: (pre_activate), (post_activate),
10310         (gst_pad_set_active), (gst_pad_activate_pull),
10311         (gst_pad_activate_push), (gst_pad_check_pull_range):
10312         Add some more debug info.
10313         Mark activation mode in pre_activate so that we don't try to activate in
10314         endless loops. Fixes #385084.
10315
10316 2007-02-19  Wim Taymans  <wim@fluendo.com>
10317
10318         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10319         (gst_base_transform_check_get_range):
10320         Implement a checkgetrange function instead of relying on the default
10321         core behaviour that assumes we can operate in pull mode if we have a
10322         getrange function. First step at fixing #385084.
10323
10324 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10325
10326         * gst/gstchildproxy.h:
10327         * libs/gst/base/gstbasesink.h:
10328         * libs/gst/base/gstbasesrc.h:
10329         * libs/gst/base/gstbasetransform.h:
10330         More docs coverage and some ChangeLog surgery (add missing names)
10331
10332 2007-02-15  Wim Taymans  <wim@fluendo.com>
10333
10334         * docs/design/part-TODO.txt:
10335         * docs/design/part-activation.txt:
10336         * docs/design/part-block.txt:
10337         * docs/design/part-buffering.txt:
10338         * docs/design/part-clocks.txt:
10339         * docs/design/part-element-source.txt:
10340         * docs/design/part-events.txt:
10341         * docs/design/part-gstbin.txt:
10342         * docs/design/part-gstbus.txt:
10343         * docs/design/part-gstpipeline.txt:
10344         * docs/design/part-live-source.txt:
10345         * docs/design/part-messages.txt:
10346         * docs/design/part-overview.txt:
10347         * docs/design/part-qos.txt:
10348         * docs/design/part-query.txt:
10349         * docs/design/part-states.txt:
10350         * docs/design/part-trickmodes.txt:
10351         Some doc updates. Start renaming from stream_time to running_time where
10352         it was used wrongly.
10353
10354 2007-02-15  Wim Taymans  <wim@fluendo.com>
10355
10356         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10357         Answer LATENCY query.
10358
10359 2007-02-15  Wim Taymans  <wim@fluendo.com>
10360
10361         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10362         (GST_START_TEST):
10363         Improve debugging.
10364
10365 2007-02-15  Wim Taymans  <wim@fluendo.com>
10366
10367         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10368         (gst_pad_dispatcher):
10369         Improve debugging of default pad dispatcher and query functions.
10370
10371 2007-02-15  Wim Taymans  <wim@fluendo.com>
10372
10373         * docs/gst/gstreamer-sections.txt:
10374         Remove old unused method.
10375
10376 2007-02-13  Wim Taymans  <wim@fluendo.com>
10377
10378         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10379         Fix check
10380
10381 2007-02-13  Wim Taymans  <wim@fluendo.com>
10382
10383         * docs/design/part-seeking.txt:
10384         Some small update.
10385
10386         * gst/gstsegment.c: (gst_segment_set_seek):
10387         Revert old bogus change that should make seeking work again.
10388
10389 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10390
10391         * docs/random/ensonic/dynlink.txt:
10392         * docs/random/ensonic/interfaces.txt:
10393         * docs/random/ensonic/receipies.txt:
10394           Possible dynamic reconnection api, plus some type fixes the other two
10395           docs.
10396
10397 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10398
10399         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10400         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10401         Also check for an absolute path following file:// in the filesrc
10402         element. Remove redundant check and call g_path_is_absolute() on the
10403         unescaped location.
10404
10405 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10406
10407         * docs/design/draft-klass.txt:
10408           Add existing category analysis.
10409           
10410         * gst/gstcaps.c:
10411           Fix doc example, framerate is a fraction.
10412
10413 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10414
10415         * configure.ac:
10416         * docs/gst/Makefile.am:
10417         * docs/gst/gstreamer-sections.txt:
10418         * docs/libs/Makefile.am:
10419           Erm, forgot a bunch of --extra-dir.
10420
10421 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10422
10423         * configure.ac:
10424         * docs/gst/Makefile.am:
10425         * docs/libs/Makefile.am:
10426         * docs/plugins/Makefile.am:
10427           Add crossreferences to glib/gobject docs.
10428
10429 2007-02-12  Wim Taymans  <wim@fluendo.com>
10430
10431         * docs/design/draft-latency.txt:
10432         Small update.
10433
10434         * docs/libs/gstreamer-libs-sections.txt:
10435         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10436         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10437         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10438         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10439         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10440         (gst_base_sink_get_position), (gst_base_sink_query),
10441         (gst_base_sink_change_state):
10442         * libs/gst/base/gstbasesink.h:
10443         API: gst_base_sink_query_latency() to let subclasses query the upstream
10444         latency.
10445         API: gst_base_sink_get_latency() to let subclasses query the configured
10446         latency in the sink.
10447         Implement query and set latency.
10448         Update some docs.
10449         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10450         don't continue preroll when we are flushing. Fixes #405284.
10451
10452         * tests/check/pipelines/stress.c: (change_state_timeout),
10453         (quit_timeout), (GST_START_TEST), (stress_suite):
10454         Test for #405284.
10455
10456 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10457
10458         Patch by: René Stadler <mail at renestadler de>
10459
10460         * docs/gst/gstreamer-sections.txt:
10461         * gst/gsttaglist.c: (_gst_tag_initialize):
10462         * gst/gsttaglist.h:
10463           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10464
10465 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10466
10467         * docs/libs/Makefile.am:
10468           Fix path to core docs.
10469
10470         * gst/gstbin.c: (gst_bin_get_by_interface),
10471         (gst_bin_iterate_all_by_interface):
10472           Refix docs by also renaming 'interface' to 'iface' in implementation.
10473
10474         * docs/gst/gstreamer-sections.txt:
10475         * gst/gstcaps.c:
10476         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10477         * gst/gstchildproxy.h:
10478         * gst/gstelementfactory.c:
10479         * gst/gstpadtemplate.h:
10480         * libs/gst/controller/gstcontroller.c:
10481         (gst_controlled_property_new):
10482           Document more.
10483
10484 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10485
10486         * gst/gstbin.h:(gst_bin_get_by_interface),
10487         (gst_bin_iterate_all_by_interface):
10488         Replace interface parameter name by iface as interface is 
10489         a reserved keyword in Visual Studio for C++ projects so it removes
10490         a build error for application developpers using VS.
10491         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10492         Fix a bug on Windows in uri format check. Now the prefix checked
10493         is file:// and next we check if the path after file:// is absolute.
10494         * win32/common/libgstbase.def:
10495         * win32/common/libgstdataprotocol.def:
10496         * win32/common/libgstgstreamer.def:
10497         Add new exported functions.
10498
10499 2007-02-09  Andy Wingo  <wingo@pobox.com>
10500
10501         * tests/check/pipelines/simple-launch-lines.c
10502         (simple_launch_lines_suite, test_tee): Disable tee test until I
10503         have time to fix it :-(
10504
10505         * tests/check/Makefile.am (noinst_HEADERS): 
10506         * tests/check/libs/libsabi.c: 
10507         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10508         * tests/check/gst/gstabi.c: 
10509         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10510
10511         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10512         tests for push and pull tee behavior.
10513
10514         * plugins/elements/gsttee.h: 
10515         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10516         mark as deprecated as well as unimplemented. It was a crack idea.
10517         Add support for tee operating in pull mode, off by default.
10518
10519         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10520         normal-case logs down to LOG, raise errors to WARNING.
10521         (gst_registry_xml_read_cache): Don't log before calling a function
10522         that logs.
10523
10524         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10525         exit (registry finalize).
10526         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10527         DEBUG log when we emit signals that people don't even have the
10528         chance to connect to.
10529         (gst_registry_scan_path_level): Less logging in the normal case.
10530
10531 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10532
10533         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10534
10535         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10536         Correctly generate EOS for non-seekable files. We don't have a total
10537         length for them and would get an unexpected end of file if we only
10538         special-cased for regular files. (Fixes: #404569)
10539
10540 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10541
10542         * tests/check/elements/filesrc.c: (GST_START_TEST),
10543         (filesrc_suite):
10544         Add unit test for the GstURIHandler interface in filesrc. This also
10545         tests the newly added file://localhost/foo/bar support.
10546
10547 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10548
10549         * gst/gstelementfactory.h:
10550           The klass string is not a hierarchy. Add reference to the design doc
10551           for more information and common types.
10552
10553 2007-02-02  Wim Taymans  <wim@fluendo.com>
10554
10555         * gst/gstquery.c: (gst_query_new_latency):
10556         Remove old structure field.
10557
10558 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10559
10560         * tools/gst-launch.1.in:
10561           Give example for network streaming (#351998)
10562
10563 2007-02-02  Wim Taymans  <wim@fluendo.com>
10564
10565         * docs/gst/gstreamer-sections.txt:
10566         Add docs for new methods.
10567
10568         * gst/gstevent.c: (gst_event_new_latency),
10569         (gst_event_parse_latency):
10570         * gst/gstevent.h:
10571         Add new LATENCY event to configure latency in a pipeline.
10572         API: gst_event_new_latency
10573         API: gst_event_parse_latency
10574
10575         * gst/gstmessage.c: (gst_message_new_buffering),
10576         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10577         (gst_message_new_latency), (gst_message_parse_buffering),
10578         (gst_message_parse_lost_preroll):
10579         * gst/gstmessage.h:
10580         Added messages used in draft-latency.
10581         API: gst_message_new_lost_preroll
10582         API: gst_message_parse_lost_preroll
10583         API: gst_message_new_prerolled
10584         API: gst_message_new_latency
10585
10586         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10587         (gst_query_parse_latency):
10588         * gst/gstquery.h:
10589         Implemented new latency query as in design doc.
10590         API: gst_query_new_latency
10591         API: gst_query_set_latency
10592         API: gst_query_parse_latency
10593
10594 2007-02-02  Wim Taymans  <wim@fluendo.com>
10595
10596         * docs/design/draft-latency.txt:
10597         Slight redesign to allow for dynamic latency adjustments.
10598
10599         * docs/design/part-negotiation.txt:
10600         Fix some typos.
10601
10602 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10603
10604         reviewed by: Wim Taymans <wim@fluendo.com>
10605
10606         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10607         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10608         Allow file://localhost/foo/bar URLs and correctly fail for every other
10609         hostname that one sets. This was gnomevfssrc is linked for those if
10610         installed as it can handle it (#403172)
10611
10612 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10613
10614         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10615
10616         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10617         (unref_data), (gst_collect_pads_add_pad_full):
10618         * libs/gst/base/gstcollectpads.h:
10619         Don't put the previously added destroy notify in the GstCollectData
10620         struct as all it's padding is already used and we don't want to break
10621         ABI. Instead put in the pad's GObject data for now. This should be
10622         cleaned up for 0.11 (#402393).
10623
10624 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10625
10626         reviewed by: Wim Taymans <wim@fluendo.com>
10627
10628         * docs/libs/gstreamer-libs-sections.txt:
10629         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10630         (unref_data), (gst_collect_pads_add_pad),
10631         (gst_collect_pads_add_pad_full):
10632         * libs/gst/base/gstcollectpads.h:
10633         API: Add function to specify a destroy notification for custom
10634         GstCollectData when adding new pads in GstCollectPads (#402393).
10635
10636 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10637
10638         * po/sv.po:
10639           Update Swedish translation (#378255).
10640
10641 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10642
10643         * docs/design/draft-klass.txt:
10644           Fix the previous change, this is a list of categories and not a hierarchy.
10645
10646 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10647
10648         * docs/design/draft-klass.txt:
10649           Add info about how to get a list of used classes.
10650
10651 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10652
10653         * plugins/elements/gsttypefindelement.c:
10654         (gst_type_find_element_chain_do_typefinding),
10655         (gst_type_find_element_change_state):
10656           Don't leak found caps in chain function (no idea why that never
10657           showed up as a leak anywhere).
10658
10659 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10660
10661         * gst/gstplugin.h:
10662           Fix and expand GstPluginDesc API docs.
10663
10664 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10665
10666         * gst/gstcaps.c:
10667         * gst/gstelementfactory.c:
10668         * gst/gstpadtemplate.h:
10669           api doc fixes
10670
10671         * libs/gst/controller/gstcontroller.c:
10672         (gst_controlled_property_new):
10673         * tests/examples/controller/audio-example.c:
10674           comment fixes
10675
10676 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10677
10678         * configure.ac:
10679           comment about refining the xml deps
10680
10681         * docs/manuals.mak:
10682           comments about moving away from jade for docs
10683         
10684         * gst/gst.c:
10685           recommit the ifdefs to use the binary registry
10686         
10687         * gst/gstbin.c: (gst_bin_change_state_func):
10688           this break is obsolete
10689
10690         * gst/gstelementfactory.h:
10691           better GST_ELEMENT_DETAILS docs, add comment about translation
10692
10693         * gst/gstinfo.h:
10694           remove eol slash
10695
10696         * gst/gstobject.c: (gst_signal_object_get_type):
10697           add G_UNLIKELY as usual
10698
10699         * gst/gstpad.c: (gst_pad_event_default):
10700           add fall trhu comment
10701
10702         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10703         (gst_registry_binary_initialize_magic),
10704         (gst_registry_binary_save_string),
10705         (gst_registry_binary_save_pad_template),
10706         (gst_registry_binary_save_feature),
10707         (gst_registry_binary_save_plugin),
10708         (gst_registry_binary_write_cache),
10709         (gst_registry_binary_check_magic),
10710         (gst_registry_binary_load_pad_template),
10711         (gst_registry_binary_load_feature),
10712         (gst_registry_binary_load_plugin),
10713         (gst_registry_binary_read_cache):
10714           comment typo and formatting
10715
10716         * gst/gstutils.c: (gst_element_state_get_name),
10717         (gst_element_state_change_return_get_name):
10718           remove obsolete breaks
10719
10720         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10721           add FIXME 0.11 and remove cpp comment
10722
10723 2007-01-29  Edward Hervey  <edward@fluendo.com>
10724
10725         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10726         Fix print statement in an even more portable way.
10727
10728 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10729
10730         * docs/gst/gstreamer-sections.txt:
10731         * gst/gstutils.h:
10732           API: add GST_ROUND_DOWN_* macros (#401781).
10733
10734 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10735
10736         * docs/gst/gstreamer.types.in:
10737         * gst/gstregistry.c: (gst_registry_class_init):
10738           Document registry signals and make gtk-doc pick them up (#401381).
10739
10740 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10741
10742         * docs/pwg/building-testapp.xml:
10743           Add some audioconverts and audioresample to the pipeline, and some
10744           more comments and error handling.
10745
10746 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10747
10748         * docs/manual/manual.xml:
10749         * docs/pwg/pwg.xml:
10750           Fix typo (#400987).
10751
10752 2007-01-26  Wim Taymans  <wim@fluendo.com>
10753
10754         * gst/gstcaps.c: (gst_static_caps_get):
10755         Init caps flags too.
10756
10757 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10758
10759         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10760
10761         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10762         If not using mmap'ed files try to seek to the end instead of the
10763         start to determine whether we can seek at all. This fixes the case
10764         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10765         seeks for everything afterwards fail. Fixes #400656
10766
10767 2007-01-25  Wim Taymans  <wim@fluendo.com>
10768
10769         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10770         Add some refcount debugging.
10771         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10772         in multiple streaming threads.
10773
10774 2007-01-25  Wim Taymans  <wim@fluendo.com>
10775
10776         Patch by: David Schleef <ds at schleef dot org>
10777
10778         * docs/libs/gstreamer-libs-sections.txt:
10779         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10780         * libs/gst/base/gstadapter.h:
10781         API: gst_adapter_copy() that can reduce the amount of memcpy when
10782         getting data from the adapter. Fixes #388201.
10783
10784 2007-01-25  Edward Hervey  <edward@fluendo.com>
10785
10786         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10787         In print statements, "%x" is for guint. Fixes build on macosx.
10788
10789 2007-01-24  Edward Hervey  <edward@fluendo.com>
10790
10791         * plugins/elements/gstmultiqueue.c:
10792         (gst_multi_queue_loop):
10793         Small fix.
10794         (single_queue_overrun_cb), (single_queue_underrun_cb),
10795         (single_queue_check_full), (gst_single_queue_new):
10796         Implement single queue growth system.
10797         This uses the extra-size properties, and will grow single queues by
10798         that much if one goes full whereas there are others empty. This is
10799         called extra-mode in the code.
10800         When a single queue's levels go back below the initial max-size
10801         limits, it is no longer in extra-mode. This is to ensure we don't
10802         consume too much memory.
10803         Fixes #399875
10804
10805 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10806
10807         * gst/gst.c: (gst_init_get_option_group):
10808           Make warning about late g_thread_init() calls a bit more explicit,
10809           so that it's more obvious to application developers what they need
10810           to do if a user files a bug against their application.
10811
10812 2007-01-22  Edward Hervey  <edward@fluendo.com>
10813
10814         * plugins/elements/gstmultiqueue.c:
10815         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10816         Remove previous hack of unsetting the flushing flag for the source pad
10817         instead of activating it. Instead, fix the source pad activate function
10818         so that it no longer depends on having a parent set or not.
10819
10820 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10821
10822         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10823
10824         * docs/manual/basics-bus.xml:
10825           Fix example code, gst_element_unref() doesn't exist any longer.
10826
10827 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10828
10829         Patch by: Mark Nauwelaerts <manauw at skynet be>
10830
10831         * gst/gstpad.c:
10832           Fix two docs typoes (#399094).
10833
10834 2007-01-19  Edward Hervey  <edward@fluendo.com>
10835
10836         * docs/faq/gst-uninstalled:
10837         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10838         depending on libgstbaseutils can work in uninstalled environment.
10839
10840 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10841
10842         * gst/gsttaglist.h:
10843         * gst/gsttagsetter.c:
10844         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10845         statement for new tag.
10846
10847 2007-01-17  Edward Hervey  <edward@fluendo.com>
10848
10849         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10850         When dynamically creating single queues, activate sinkpad before adding
10851         it.
10852         We should be doing the same thing for the source pad, but we can't
10853         since it would call a method which needs the parent to be set in order
10854         to work propertly. Instead of activating the source pad, we just unset
10855         the flushing flag, which is the minimal requirement for adding a pad
10856         to an element in a state greater than READY.
10857
10858 2007-01-17  Edward Hervey  <edward@fluendo.com>
10859
10860         * docs/faq/gst-uninstalled:
10861         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10862         Mac OS X.
10863
10864 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10865
10866         * tests/check/gst/gstabi.c:
10867         * tests/check/gst/struct_hppa.h:
10868         * tests/check/libs/libsabi.c:
10869         * tests/check/libs/struct_hppa.h:
10870           Add ABI structs for HPPA (see #393796).
10871
10872 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10873
10874         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10875           Actually write ABI structs to the file specified in the GST_ABI
10876           environment variable, as the message we print claims we would.
10877
10878 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10879
10880         * tests/check/gst/gsttask.c:
10881           Fix header comment.
10882
10883 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10884
10885         * gst/gsttaglist.c: (_gst_tag_initialize):
10886           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10887           previous two entries.
10888
10889 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10890
10891         * docs/gst/gstreamer-sections.txt:
10892         * gst/gsttaglist.c: (_gst_tag_initialize):
10893         * gst/gsttaglist.h:
10894           Add tag support for beat-per-minute.
10895
10896 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10897
10898         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10899         (gst_registry_binary_initialize_magic),
10900         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10901         (gst_registry_binary_save_pad_template),
10902         (gst_registry_binary_save_feature),
10903         (gst_registry_binary_save_plugin),
10904         (gst_registry_binary_write_cache),
10905         (gst_registry_binary_check_magic),
10906         (gst_registry_binary_load_pad_template),
10907         (gst_registry_binary_load_feature),
10908         (gst_registry_binary_load_plugin),
10909         (gst_registry_binary_read_cache):
10910         * gst/gstregistrybinary.h:
10911           Use glib types, cleanup comments, impement interfaces and uri-types.
10912
10913 2007-01-13  Andy Wingo  <wingo@pobox.com>
10914
10915         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10916         getrange() to return buffers with other caps, while we fix
10917         demuxers and typefind, or otherwise change part-negotiation.txt.
10918
10919 2007-01-12  Andy Wingo  <wingo@pobox.com>
10920
10921         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10922         Factor start/stop into this private function instead of partially
10923         in activate functions and partially in the change_state function.
10924         Fixes setup before the element has changed from READY->PAUSED, as
10925         is the case in pull-mode pipelines.
10926         (gst_base_transform_sink_activate_push)
10927         (gst_base_transform_src_activate_pull): Refactor to use
10928         gst_base_transform_activate().
10929         (gst_base_transform_change_state): Removed, not needed any more.
10930
10931         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10932         Truncate before fixating.
10933         
10934         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10935         Don't set_caps() if the result of fixating is ANY, as it's not
10936         supported, and not necessary in the case of a link with no
10937         template caps on either side. Fixes tests/check/libs/basesrc in
10938         some pull-mode tests.
10939
10940         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10941         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10942         (gst_base_transform_src_activate_pull): 
10943         Track the activation mode.
10944         (gst_base_transform_setcaps): In pull mode, when activating the
10945         src pad, after activating the sink pad, activate the sink pad's
10946         peer, as discussed in part-negotiation.txt.
10947
10948         * libs/gst/base/gstbasesrc.h: 
10949         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10950         vmethod, as in basesink.
10951
10952         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10953
10954         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10955         mode, first proxy the setcaps to the peer pad.
10956         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10957         new fixate vmethod.
10958         (gst_base_sink_default_activate_pull): Rename from
10959         gst_base_sink_activate_pull.
10960         (gst_base_sink_negotiate_pull): New function, performs negotiation
10961         in pull mode before calling ::activate_pull().
10962         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10963         vmethod instead of the default implementation. I have no idea how
10964         this worked before. Negotiate before calling activate_pull.
10965
10966         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10967         sink pads in pull mode. In addition to being correct, fixes
10968         filesrc ! decodebin ! identity ! fakesink.
10969         (gst_pad_get_range, gst_pad_pull_range): Don't call
10970         gst_pad_set_caps() if the caps changes; instead error out with
10971         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10972
10973 2007-01-12  Andy Wingo  <wingo@pobox.com>
10974
10975         * docs/design/part-negotiation.txt: Update with more policy.
10976
10977 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10978
10979         * libs/gst/check/gstbufferstraw.h:
10980         * libs/gst/check/gstcheck.h:
10981           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10982           belongs.
10983
10984 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10985
10986         * tests/check/Makefile.am:
10987         * tests/check/gst/.cvsignore:
10988         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10989         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10990         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10991         (GST_START_TEST), (gst_tag_setter_suite):
10992           Add minimal unit test for beforementioned GstTagSetter bug.
10993
10994 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10995
10996         Patch by: René Stadler <mail at renestadler dot de>
10997
10998         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10999           gst_tag_list_merge() returns a new list, so it's not the best idea
11000           to ingore its return value. Effectively meant that tags could only
11001           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
11002           Also add function guard to require a non-NULL taglist as input (has
11003           always been so due to gst_tag_list_copy(), just making it explicit).
11004
11005 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11006
11007         * docs/random/draft-missing-plugins.txt:
11008           Some additions: mention new API that is supposed to be used at the
11009           various stages; short blob about new gst-inspect introspection
11010           option; mention potential future problem with plugins that have
11011           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
11012
11013 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11014
11015         * tools/gst-inspect.c:
11016         (print_plugin_automatic_install_info_codecs),
11017         (print_plugin_automatic_install_info_protocols),
11018         (print_plugin_automatic_install_info), (main):
11019         Add --print-plugin-auto-install-info option to gst-inspect, so we can
11020         introspect plugin files and get machine-parsable output that corresponds
11021         to the last bit of the missing-plugin installer string (small gotcha:
11022         doesn't take into account ranks).
11023
11024 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
11025
11026         * configure.ac:
11027         * docs/gst/gstreamer-sections.txt:
11028         * gst/Makefile.am:
11029         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
11030         (gst_registry_lookup_locked):
11031         * gst/gstregistry.h:
11032         * gst/gstregistrybinary.c: (gst_registry_binary_write),
11033         (gst_registry_binary_initialize_magic),
11034         (gst_registry_binary_save_string),
11035         (gst_registry_binary_save_pad_template),
11036         (gst_registry_binary_save_feature),
11037         (gst_registry_binary_save_plugin),
11038         (gst_registry_binary_write_cache),
11039         (gst_registry_binary_check_magic),
11040         (gst_registry_binary_load_pad_template),
11041         (gst_registry_binary_load_feature),
11042         (gst_registry_binary_load_plugin),
11043         (gst_registry_binary_read_cache):
11044         * gst/gstregistrybinary.h:
11045         * gst/gstregistryxml.c: (load_feature),
11046         (gst_registry_xml_read_cache):
11047           commit binary registry (disabled by default, see #359653)
11048
11049 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11050
11051         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
11052           Fix 'make check' too.
11053
11054 2007-01-10  Andy Wingo  <wingo@pobox.com>
11055
11056         * docs/design/part-negotiation.txt: Fix a typo, add a couple
11057         notes.
11058         
11059         * docs/design/part-negotiation.txt: Update with, um, one way that
11060         pull-mode negotiation might work?
11061
11062         * gst/gstpad.h: 
11063         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
11064         that the pad must be a src pad; makes sense to call it the other
11065         way in pull mode, and the logic is symmetric anyway.
11066
11067 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
11068
11069         * plugins/elements/gstfilesink.c:
11070           Include <stdio.h> for fseeko().
11071
11072 2007-01-10  Wim Taymans  <wim@fluendo.com>
11073
11074         * gst/gstevent.c:
11075         * gst/gstevent.h:
11076         Reserve LATENCY event.
11077
11078 2007-01-09  Wim Taymans  <wim@fluendo.com>
11079
11080         * docs/design/draft-latency.txt:
11081         Updates.
11082
11083 2007-01-09  Wim Taymans  <wim@fluendo.com>
11084
11085         * docs/design/draft-latency.txt:
11086         Updates.
11087
11088         * gst/gstelement.h:
11089         * gst/gststructure.c:
11090         * gst/gsttrace.c:
11091         Small typo fixes.
11092
11093 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11094
11095         * tests/check/.cvsignore:
11096           Ignore test-registry.xml as well.
11097
11098 2007-01-09  Wim Taymans  <wim@fluendo.com>
11099
11100         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11101         unref data at the end when we are done with the pad.
11102
11103 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11104
11105         * docs/gst/gstreamer-sections.txt:
11106         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11107         (init_post), (gst_deinit), (gst_update_registry):
11108         * gst/gst.h:
11109           API: add gst_update_registry() (#391296).
11110
11111         * tests/check/Makefile.am:
11112         * tests/check/gst/gstregistry.c:
11113         * tests/check/gst/.cvsignore:
11114           Simple unit test for the above.
11115
11116 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11117
11118         * gst/gstregistry.c: (gst_registry_scan_path_level):
11119           Plugin extension on HP-UX is .sl, add that to the list of approved
11120           plugin extensions (see #393796).
11121
11122         * tests/check/gst/gstpad.c: (GST_START_TEST):
11123           ulong => gulong. Fixes compilation with HP-UX compiler.
11124
11125         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11126           Fix compilation if valgrind headers are not available.
11127
11128 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11129
11130         * win32/common/libgstreamer.def: 
11131           Add new exported function.
11132         * win32/vs6/libgstbase.dsp: 
11133           Add gstdataqueue.c to the build.
11134         * win32/vs6/libgstcoreelements.dsp:
11135           Add gstmultiqueue.c to the build.
11136         
11137 2007-01-06  Andy Wingo  <wingo@pobox.com>
11138
11139         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11140         activate_pull(), providing for a way to specialize the process of
11141         spawning a thread to pull on the sink pad. There is a default
11142         implementation.
11143
11144         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11145         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11146         (gst_base_sink_init): Renamed pad activation functions (inserting
11147         "_pad" in their names). Refactor to use the new activate_pull
11148         vmethod, as appropriate.
11149         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11150         default activate_pull function to start a task pulling from the
11151         sink pad, as before.
11152
11153         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11154         on the pads if necessary, as in push()/chain(). Update docs.
11155         Shouldn't affect existing pull() usage as it is currently only
11156         being used on buffers without caps.
11157
11158 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11159
11160         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11161         (init_pre):
11162           Call g_thread_init() first thing in gst_init() / gst_check_init().
11163           When initialisation is done via gst_init_get_option_group() and
11164           GOption parsing, issue a warning if the GLib thread system has not
11165           been initialised yet by the time gst_init_get_option_group() is
11166           called, as it's quite likely other GLib functions such as
11167           g_option_context_new() have been called already then, and
11168           g_thread_init() must be called before any other GLib function. The
11169           application in question must be fixed in that case, since memory
11170           corruption might happen otherwise.
11171           We issue the warning because even if the GLib folks decide to work
11172           around the problem on their end in future, this is still an issue
11173           with all GLib versions >= 2.10.0, so we should warn until we depend
11174           on a GLib version we know to be safe.
11175           Update documentation as well.
11176           Closes bug #391278.
11177
11178 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11179
11180         * tools/gst-inspect.c: (main):
11181         * tools/gst-launch.c: (main):
11182         * tools/gst-typefind.c: (main):
11183         * tools/gst-xmlinspect.c: (main):
11184           Call g_thread_init() really really early, before any other GLib
11185           function (see #342564 and recent discussion on gtk-devel-list).
11186
11187 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11188
11189         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11190
11191         * gst/gst_private.h:
11192         * gst/gstconfig.h.in:
11193         * gst/gstinfo.h:
11194           On win32, all the __declspec stuff for symbol exporting is
11195           apparently only needed with MSVC, but doesn't work with MingW.
11196           Fixes compilation with MingW and #391909.
11197
11198 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11199
11200         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11201           Change some GST_ERROR_OBJECT that aren't really errors to
11202           GST_WARNING_OBJECT in order to reduce terminal spam.
11203
11204 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11205
11206         * tests/check/Makefile.am:
11207           disable test again, as there seem to be still race problems
11208
11209 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11210
11211         * tests/check/Makefile.am:
11212         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11213         (GST_START_TEST), (queue_suite):
11214           enable queue test again, add tests for the leaky behaviour
11215
11216 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11217
11218         * configure.ac:
11219         * tests/examples/Makefile.am:
11220           Compile adapter test/example only if the required headers are
11221           available (fixes #391915).
11222
11223 2007-01-01  David Schleef  <ds@schleef.org>
11224
11225         * gst/gstplugin.c:
11226           Restore the previous signal handler for SIGSEGV instead of
11227           setting to default, since we may have stolen it away from
11228           someone.  (i.e., Mono)
11229
11230 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11231
11232         * docs/random/draft-missing-plugins.txt:
11233           Some small additions and clarifications.
11234
11235 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11236
11237         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11238           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11239           since that can lead to random memory corruptions and crashes
11240           (may or may not be related to #383244, #386711, and #386711).
11241
11242 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11243
11244         * tests/check/.cvsignore:
11245         * tests/check/Makefile.am:
11246           sync .cvsignome and CLEANFILES
11247
11248 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11249
11250         * tests/check/Makefile.am:
11251           fix distcheck
11252
11253 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11254
11255         * docs/design/part-states.txt:
11256           two tiny additional comments
11257         
11258         * gst/gststructure.c:
11259           doc fixing
11260
11261         * tests/check/Makefile.am:
11262         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11263         (GST_START_TEST):
11264           disable test for now, unless it gets fixed
11265
11266 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11267
11268         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11269         (GST_START_TEST):
11270           fix race in underrun test
11271
11272 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11273
11274         * tests/check/elements/.cvsignore:
11275           ignore more
11276
11277         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11278         (GST_START_TEST):
11279           try to narrow test failure
11280
11281 2006-12-21  David Schleef  <ds@schleef.org>
11282
11283         * plugins/elements/gstfakesrc.c:
11284           Use g_random_int_range(), since it produces better random
11285           numbers in a range than almost-correct floating point code.
11286
11287 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11288
11289         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11290         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11291         (gst_check_teardown_sink_pad):
11292           do not automatically (de)activate pads
11293
11294         * tests/check/Makefile.am:
11295         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11296         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11297           add new, yet simple tests for queue
11298
11299         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11300         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11301         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11302         (GST_START_TEST):
11303         * tests/check/elements/identity.c: (cleanup_identity):
11304           consistent pad (de)activation
11305
11306 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11307
11308         Patch by: Sebastian Dröge  <slomo ubuntu com>
11309
11310         * libs/gst/base/gstcollectpads.c:
11311           Fix two doc typos (#387866).
11312
11313 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11314
11315         * docs/manual/advanced-dparams.xml:
11316           Fix typo (g_object_control_properties() doesn't exist).
11317
11318 2006-12-19  Edward Hervey  <edward@fluendo.com>
11319
11320         * gst/gstsegment.c: (gst_segment_set_seek):
11321         Fine tune the cases where the segment start/stop values are really
11322         updated.
11323         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11324         Add tests for the return values of gst_segment_set_seek().
11325
11326 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11327
11328         * gst/gst.c:
11329           Docs typo fix.
11330
11331         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11332         (gst_queue_init):
11333           Fix incorrect documentation and flesh it out a bit more.
11334           Set default values for the max properties on the GParamSpec as well,
11335           so it shows up correctly in gst-inspect.
11336
11337 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11338
11339         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11340           Correct docs of queue, add more detail and crosslink it more.
11341
11342 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11343
11344         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11345           Print additional debug info when the stream isn't perfectly
11346           timestamped; don't try to use invalid durations.
11347
11348 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11349
11350         * docs/design/Makefile.am:
11351           Dist new design docs.
11352
11353 2006-12-16  Wim Taymans  <wim@fluendo.com>
11354
11355         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11356
11357         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11358         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11359         (gst_collect_pads_stop), (gst_collect_pads_event),
11360         (gst_collect_pads_chain):
11361         * libs/gst/base/gstcollectpads.h:
11362         Add refcounting to the collectpads data so we can track when it's safe
11363         to free the data. Fixes #383382.
11364
11365 2006-12-15  Wim Taymans  <wim@fluendo.com>
11366
11367         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11368         (gst_collect_pads_remove_pad):
11369         Automatically activate/deactivate pads when they are added to a
11370         started/stoped collectpads.
11371
11372 2006-12-15  Wim Taymans  <wim@fluendo.com>
11373
11374         * gst/gstelement.c: (gst_element_add_pad):
11375         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11376         * gst/gstpad.c: (gst_pad_init):
11377         Set pads to FLUSHING when they are created. Check, warn and fix when a
11378         demuxer adds an inactive pad to itself when running. Fixes #339326.
11379
11380 2006-12-15  Wim Taymans  <wim@fluendo.com>
11381
11382         * gst/gstelement.c: (gst_element_class_init),
11383         (gst_element_default_send_event), (gst_element_send_event),
11384         (gst_element_default_query), (gst_element_query):
11385         Expose default element send_event and query handling as vmethods that
11386         subclasses can chain up to.
11387
11388 2006-12-15  Wim Taymans  <wim@fluendo.com>
11389
11390         * gst/gstelement.c: (gst_element_set_state_func):
11391         Small documentation fixes.
11392
11393 2006-12-15  Wim Taymans  <wim@fluendo.com>
11394
11395         * docs/design/draft-latency.txt:
11396         Checked in draft for handling latency in pipelines.
11397
11398 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11399
11400         * Makefile.am:
11401         * gstreamer.doap:
11402         * gstreamer.spec.in:
11403           adding .doap file
11404
11405 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11406
11407         * gst/gst.c: (init_pre), (init_post):
11408           init_pre() and init_post() might be called via our GOptionGroup or
11409           from gst_init(), and we should skip both of them if we've already
11410           been initialised, otherwise we will init some things twice or add
11411           two default log functions.
11412
11413 2006-12-13  Edward Hervey  <edward@fluendo.com>
11414
11415         * docs/manual/basics-bus.xml:
11416         No, gst_main_loop does not exist. Its g_main_loop.
11417         Discovered by somebody who abused the copy-paste technique of coding :)
11418
11419 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11420
11421         * gst/gstghostpad.c:
11422           Log ghostpad debug stuff to the GST_PADS category as well rather
11423           than just to the default category.
11424
11425 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11426
11427         * configure.ac:
11428         * gst/gst.c: (init_pre):
11429           Add some basic system details such as OS and architecture
11430           to the debug output if possible, courtesy of uname().
11431
11432 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11433
11434         * docs/gst/running.xml:
11435           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11436           environment variables.
11437
11438 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11439
11440         * tests/check/gst/gstbin.c: (GST_START_TEST):
11441         It is acceptable to have a refcount of 2 or 3 at this point in the
11442         test, because the pipeline might be just posting its state_change
11443         message. The next line then waits for that message to appear using
11444         bus_poll, so that should be fine too.
11445
11446 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11447
11448         * gst/gst.c: (ensure_current_registry_forking):
11449         Ignore EINTR when reading from the child registry pipe.
11450         Explicitly ignore the return value from close, since it makes no
11451         difference.
11452
11453         * gst/gstminiobject.c: (gst_mini_object_ref),
11454         (gst_mini_object_unref):
11455         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11456
11457         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11458         When removing cached plugins, remove their features too, so they're
11459         not visible after they've disappeared.
11460
11461         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11462         In the unlikely case that we are linking pads with no parents, don't
11463         crash trying to get the non-existent parent bin.
11464
11465         * gst/parse/grammar.y:
11466         Output debug in the PIPELINE category
11467
11468 2005-03-08  Wim Taymans  <wim@fluendo.com>
11469
11470         Patch by: René Stadler <mail at renestadler dot de>
11471
11472         * gst/gstclock.c: (gst_clock_new_periodic_id):
11473         Reject invalid clock times for interval of periodic ids.
11474         Fixes ##383506.
11475
11476 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11477
11478         * gst/gstelementfactory.c: (gst_element_factory_create):
11479         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11480         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11481         * tools/gst-inspect.c: (print_element_info):
11482         Fix refcounting of gst_plugin_feature_load to match the docs. 
11483         Fixes: #380129
11484
11485 2006-12-07  Wim Taymans  <wim@fluendo.com>
11486
11487         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11488         (gst_base_sink_get_position):
11489         Improve debugging of events.
11490
11491 2006-12-07  Wim Taymans  <wim@fluendo.com>
11492
11493         Patch by: René Stadler <mail at renestadler dot de>
11494
11495         * gst/gstclock.c: (gst_clock_id_wait):
11496         Make period ids add the interval to the origial requested time instead
11497         of the possibly updated time which can be wrong when there are multiple
11498         waiters for the same id. Fixes #382592.
11499
11500         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11501         (gst_system_clock_id_wait_jitter_unlocked),
11502         (gst_system_clock_id_wait_jitter):
11503         Fix restart in the async notify thread when an async entry is added to
11504         the front of the list. Fixes #381492. 
11505
11506         * tests/check/gst/gstsystemclock.c: (store_callback),
11507         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11508         Added test for multiple async waits.
11509         Added test for async wait order.
11510
11511 2006-12-07  Wim Taymans  <wim@fluendo.com>
11512
11513         * gst/gstbin.c: (gst_bin_query):
11514         Add some more docs about the POSITION query.
11515
11516 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11517
11518         * configure.ac:
11519         Bump version nano - back to CVS.
11520
11521 === release 0.10.11 ===
11522
11523 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11524
11525         * configure.ac:
11526           releasing 0.10.11, "Love never runs on time"
11527
11528 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11529
11530         * win32/common/libgstbase.def:
11531         * win32/common/libgstreamer.def:
11532         * win32/vs8/libgstbase.vcproj:
11533         * win32/vs8/libgstcoreelements.vcproj:
11534         * win32/vs8/libgstreamer.vcproj:
11535         Fix compilation on win32 under VS8
11536         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11537         Partially fixes #381175
11538
11539 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11540
11541         * gst/gstvalue.c: (gst_value_compare_fraction):
11542         If someone is foolish enough to compare 2 fractions with denominator =
11543         0, return UNORDERED rather than aborting.
11544
11545 2006-11-28  Edward Hervey  <edward@fluendo.com>
11546
11547         * libs/gst/base/Makefile.am:
11548         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11549         (gst_data_queue_base_init), (gst_data_queue_class_init),
11550         (gst_data_queue_init), (gst_data_queue_new),
11551         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11552         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11553         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11554         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11555         (gst_data_queue_set_flushing), (gst_data_queue_push),
11556         (gst_data_queue_pop), (gst_data_queue_drop_head),
11557         (gst_data_queue_set_property), (gst_data_queue_get_property):
11558         * libs/gst/base/gstdataqueue.h:
11559         New GstDataQueue object for threadsafe queueing. Most useful for
11560         elements that need some queueing functionnality.
11561         * docs/libs/gstreamer-libs-docs.sgml:
11562         * docs/libs/gstreamer-libs-sections.txt:
11563         Insert documentation for GstDataQueue
11564         * plugins/elements/Makefile.am:
11565         * plugins/elements/gstelements.c:
11566         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11567         (gst_multi_queue_class_init), (gst_multi_queue_init),
11568         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11569         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11570         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11571         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11572         (gst_multi_queue_loop), (gst_multi_queue_chain),
11573         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11574         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11575         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11576         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11577         (wake_up_next_non_linked), (compute_next_non_linked),
11578         (single_queue_overrun_cb), (single_queue_underrun_cb),
11579         (single_queue_check_full), (gst_single_queue_new):
11580         * plugins/elements/gstmultiqueue.h:
11581         New multiqueue element, using GstDataQueue. Used for queuing multiple
11582         streams.
11583         Closes #344639 and #347785
11584
11585 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11586
11587         * docs/pwg/advanced-types.xml:
11588           add more missing type details
11589
11590         * tools/gst-run.c: (main):
11591           remove unused variable
11592
11593 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11594
11595         * docs/libs/Makefile.am:
11596         * docs/libs/gstreamer-libs.types:
11597           add types of base classes to enable gobject specific stuff in the docs
11598
11599         * docs/random/ensonic/embedded.txt:
11600           more ideas about isolating platform specific things
11601
11602 2006-11-20  Wim Taymans  <wim@fluendo.com>
11603
11604         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11605
11606         * libs/gst/check/gstcheck.h:
11607         Fix compilation and running against 0.9.4. Fixes #377332.
11608
11609 2006-11-20  Wim Taymans  <wim@fluendo.com>
11610
11611         * gst/gstsegment.c: (gst_segment_set_seek),
11612         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11613         (gst_segment_to_running_time):
11614         Fix boundary checking in to_running_time() and to_stream_time().
11615         Fixes #377183.
11616
11617         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11618         stream and running time can now be calculated for the complete
11619         clipped segment.
11620
11621 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11622
11623         * gst/gstpad.c: (gst_pad_push_event):
11624           Can't access event structure after giving away ownership of
11625           the event.
11626
11627 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11628
11629         * docs/random/ensonic/embedded.txt:
11630         * docs/random/ensonic/profiling.txt:
11631         * docs/random/ensonic/receipies.txt:
11632           more thinking
11633
11634 2006-11-13  Wim Taymans  <wim@fluendo.com>
11635
11636         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11637
11638         * gst/gstpad.c:
11639         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11640
11641 2006-11-13  Wim Taymans  <wim@fluendo.com>
11642
11643         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11644
11645         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11646         Store new length in segment duration so we don't keep on calling the
11647         potentially expensize get_size() call. Fixes #370865.
11648
11649 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11650
11651         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11652
11653         * win32/common/libgstreamer.def:
11654           Add two missing symbols (#366492).
11655
11656 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11657
11658         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11659         (gst_adapter_take_buffer):
11660         Fix format string to use all its arguments.
11661         Remove useless >= check on a guint
11662
11663 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11664
11665         * tests/examples/adapter/.cvsignore:
11666         Ignore build file as commanded by the build-bot
11667
11668 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11669
11670         * tests/examples/adapter/Makefile.am:
11671         * tests/examples/adapter/adapter_test.c: (run_test_take),
11672         (run_test_take_buffer), (run_tests), (main):
11673
11674         Add new files from the previous commit
11675
11676 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11677
11678         * Makefile.am:
11679         * configure.ac:
11680         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11681         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11682         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11683         * libs/gst/base/gstadapter.h:
11684         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11685         (GST_START_TEST), (gst_adapter_suite):
11686         * tests/examples/Makefile.am:
11687         Do some optimisation work in GstAdapter to avoid copies in more cases.
11688         It could still do slightly better by merging buffers when
11689         gst_buffer_is_span_fast is true, but is already faster. 
11690
11691         Also, avoid traversing a single-linked list to append each incoming 
11692         buffer inside the adapter.
11693
11694         Add simple test app that times the adapter behaviour in different
11695         situations, and extend the unit test to check that bytes enter and
11696         exit the adapter in their original order.
11697
11698 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11699
11700         * docs/random/draft-missing-plugins.txt:
11701           Update: use element message instead of adding a new message
11702           type to the core; don't provide GStreamer API to initiate the
11703           plugin download, just provide API to compose the strings needed
11704           and let an external libgimmestuff handle the rest.
11705
11706 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11707
11708         * tools/gst-inspect.c: (print_element_properties_info):
11709         Print a string instead of 'unknown type' for GValueArray properties
11710
11711 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11712
11713         * docs/random/draft-missing-plugins.txt:
11714         More small fixes.
11715
11716 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * tests/examples/typefind/typefind.c: (type_found), (main):
11719           Make typefind element example work again (#371894); add a
11720           license header.
11721
11722 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         * docs/random/draft-missing-plugins.txt:
11725           Commit initial draft about how to deal with missing plugins,
11726           needs work (API too).
11727
11728 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11729
11730         * docs/pwg/advanced-types.xml:
11731           documents the new caps elements (see #363118)
11732
11733 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11734
11735         * gst/gstplugin.c: (gst_plugin_load_file):
11736         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11737         (gst_file_src_map_region), (gst_file_src_start):
11738         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11739         (gst_file_index_commit):
11740           Use g_strerror() instead of strerror() - we want UTF-8.
11741
11742 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11743
11744         Patch by: Peter Kjellerstedt <pkj at axis com>
11745
11746         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11747           Another printf fix (#371493).
11748
11749 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11750
11751         * tests/check/gst/gsttag.c:
11752           relicence (okay with author=company)
11753
11754 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11755
11756         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11757         (gst_pad_push_event):
11758           Enhance debug and improve docs
11759         
11760         * gst/gsturi.c:
11761           Fix docs
11762
11763 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11764
11765         * docs/random/ensonic/distributed.txt:
11766         * docs/random/ensonic/profiling.txt:
11767           more ideas
11768
11769 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11770
11771         * docs/gst/gstreamer-sections.txt:
11772           add new API and fix the build
11773           
11774         * gst/gstbin.c: (gst_bin_recalc_state):
11775         * gst/gstelement.c: (gst_element_message_full),
11776         (gst_element_get_state_func), (gst_element_set_state_func):
11777           use new API and improve logging
11778         
11779         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11780         * gst/gstutils.h:
11781           API: add function to get StateChangereturn names to improve logs 
11782
11783 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11784
11785         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11786           I'm considering shooting the next person to put strerror stuff
11787           in the translateable part of the message.
11788
11789 2006-11-03  Wim Taymans  <wim@fluendo.com>
11790
11791         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11792         Get the type and printf conversion specifiers right.
11793
11794 2006-11-03  Wim Taymans  <wim@fluendo.com>
11795
11796         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11797
11798         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11799         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11800         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11801         Some small cleanups. Improve debugging.
11802         * gst/gstpad.h:
11803         Signal all waiting threads with a broadcast instead of just one.
11804         Fixes #369942.
11805
11806 2006-11-03  Wim Taymans  <wim@fluendo.com>
11807
11808         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11809         (gst_fd_src_create):
11810         Add some debugging. 
11811         Only update fd when it's different from the old.
11812
11813 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11814
11815         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11816           Printf fixes for PPC/OSX, take two (#369366).
11817
11818 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11819
11820         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11821
11822         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11823         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11824         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11825           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11826           don't cast to long long for portability reasons, but use
11827           GLib's types instead.
11828
11829 2006-10-30  Michael Smith  <msmith@fluendo.com>
11830
11831         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11832           Get the arguments to lseek() the right way around.
11833           Fixes 367677.
11834
11835 2006-10-30  Wim Taymans  <wim@fluendo.com>
11836
11837         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11838
11839         * gst/gstinfo.h:
11840         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11841
11842 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11843
11844         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11845
11846         * docs/design/part-MT-refcounting.txt:
11847         * docs/random/wtay/capsnego2-docs:
11848         * gst/gstclock.c:
11849         * gst/gstxml.c:
11850           Typo fixes (#366212).
11851
11852 2006-10-28  Wim Taymans  <wim@fluendo.com>
11853
11854         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11855
11856         * gst/gst.c:
11857         * win32/common/libgstbase.def:
11858         * win32/common/libgstreamer.def:
11859         * win32/vs8/libgstbase.vcproj:
11860         * win32/vs8/libgstcontroller.vcproj:
11861         Add needed entries in .def files.
11862         Use HAVE_UNISTD_H.
11863         Rearrange def files in vs8 solutions. Fixes #366286.
11864
11865 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * win32/common/gstconfig.h:
11868           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11869           hand-made win32 gstconfig.h. Fixes #366321.
11870
11871 2006-10-27  Wim Taymans  <wim@fluendo.com>
11872
11873         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11874         (gst_ghost_pad_new_full):
11875         Make acceptcaps return TRUE when we don't have a target, just like
11876         setcaps does.
11877
11878 2006-10-27  Wim Taymans  <wim@fluendo.com>
11879
11880         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11881         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11882
11883 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11884
11885         * gst/gststructure.c: (gst_structure_id_set_value):
11886           If someone tries to set a non-UTF8 string field on a structure,
11887           don't just print a warning, but also ignore the request and do
11888           not change/add that field to the structure.
11889
11890         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11891           Test for the above.
11892
11893 2006-10-25  David Schleef  <ds@schleef.org>
11894
11895         * gst/gstinfo.c:
11896           g_hash_table_insert() needs a cast to a non-const pointer duh.
11897
11898 2006-10-25  David Schleef  <ds@schleef.org>
11899
11900         * gst/gstinfo.c:
11901         * gst/gstinfo.h:
11902           Change name parameter of _gst_debug_register_funcptr to const
11903           to reflect the constness of its use in the function as well
11904           as to quiet a gcc warning.
11905
11906 2006-10-25  Edward Hervey  <edward@fluendo.com>
11907
11908         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11909         Don't push the buffer if it's empty.
11910         Closes #363095
11911
11912 2006-10-24  Wim Taymans  <wim@fluendo.com>
11913
11914         * gst/gstevent.h:
11915         Add small comment.
11916
11917         * libs/gst/base/gstbasetransform.c:
11918         (gst_base_transform_sink_eventfunc):
11919         Debug segment values *after* updating them as this is more
11920         interesting.
11921
11922 2006-10-23  Wim Taymans  <wim@fluendo.com>
11923
11924         * docs/design/part-events.txt:
11925         Update some docs.
11926
11927         * docs/design/part-block.txt:
11928         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11929         (gst_pad_push_event):
11930         Revert BLOCKING patch, it tries to be smart without really having a
11931         clear idea what or how. So, now we discard all FLUSHING events again on
11932         a blocking pad. Should fix gnonlin again.
11933
11934 2006-10-23  Wim Taymans  <wim@fluendo.com>
11935
11936         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11937
11938         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11939         (gst_base_src_start), (gst_base_src_activate_push):
11940         Make sure size is always initialized. Fixes #364388.
11941
11942 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11943
11944         * docs/random/ensonic/distributed.txt:
11945           add some ideas about doing distributed processing
11946
11947         * docs/random/ensonic/profiling.txt:
11948           get_rusage look promising
11949
11950 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11951
11952         * docs/manual/basics-helloworld.xml:
11953           Add a cast in example to fix compile warning
11954
11955 2006-10-18  Wim Taymans  <wim@fluendo.com>
11956
11957         * gst/gstsegment.c: (gst_segment_set_last_stop),
11958         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11959         Relax arg checking again, -1 is allowed.
11960
11961 2006-10-18  Wim Taymans  <wim@fluendo.com>
11962
11963         * gst/gstsegment.c: (gst_segment_set_last_stop),
11964         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11965         _set_last_stop() must be with a value != -1
11966         A _TYPE_SET to -1 means seek to 0.
11967         Calc last_stop correctly for negative rates.
11968         Make sure we work with positive durations when updating a segment.
11969
11970 2006-10-18  Wim Taymans  <wim@fluendo.com>
11971
11972         * docs/design/part-live-source.txt:
11973         * gst/gstclock.h:
11974         Small docs fixes.
11975
11976 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11977
11978         * gst/gstbuffer.h:
11979           Add an explicit cast to GstBuffer** to keep old code that added an
11980           explicit cast to GstMiniObject** for gst_mini_object_replace()
11981           compiling without warning.
11982
11983 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11984
11985         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11986           check for validity of dates
11987
11988 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11989
11990         * docs/gst/gstreamer-sections.txt:
11991           Forgot this one, makes gtk-doc shut up.
11992
11993 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11994
11995         Patch by: Peter Kjellerstedt <pkj at axis com>
11996
11997         * gst/gstobject.h:
11998           Don't define xmlNodePtr to gpointer if the core was built with
11999           --disable-loadsave and --disable-registry, this will break
12000           applications that want to use libxml2 but are buildling against a
12001           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
12002           instead so we don't have to mess with the libxml2 namespace
12003           (#361675).
12004
12005 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
12006
12007         * gst/gstbuffer.h:
12008           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
12009           type-punned pointer warnings.
12010
12011 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
12012
12013         * gst/gstelement.h:
12014           Add casts to the correct return type to state <=> state transition
12015           macros.
12016
12017 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
12018
12019         * docs/design/part-live-source.txt:
12020           describe howto handle latency
12021         
12022         * docs/random/ensonic/profiling.txt:
12023           more ideas
12024
12025         * tools/gst-plot-timeline.py:
12026           fix log parsing for solaris, remove unused function
12027
12028 2006-10-16  Wim Taymans  <wim@fluendo.com>
12029
12030         * docs/design/part-trickmodes.txt:
12031         * gst/gstevent.c:
12032         Update some docs regarding reverse playback.
12033
12034 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
12035
12036         Patch by: Marcus Granado  <mrc dot gran at gmail com>
12037
12038         * win32/vs8/grammar.vcproj:
12039           Error out with a warning if glib-genmarshal.exe is not in path,
12040           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
12041
12042 2006-10-13  Wim Taymans  <wim@fluendo.com>
12043
12044         * gst/gstsegment.c: (gst_segment_set_seek):
12045         When seeking to stop -1, set last_stop (current position) to the
12046         duration of the segment.
12047
12048 2006-10-13  Wim Taymans  <wim@fluendo.com>
12049
12050         * gst/gstelement.h:
12051         Clarify _NO_PREROLL a bit more.
12052
12053         * gst/gstevent.c:
12054         Fix docs.
12055
12056         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
12057         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
12058         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12059         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
12060         due to wrong locking order. Fixes #361769.
12061         Remove some redundant/misplaced checks in pad_block.
12062
12063         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12064         For negative rates, count backwards from the duration.
12065
12066 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
12067
12068         * gst/gsterror.c: (_gst_library_errors_init):
12069           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
12070           up with something better).
12071
12072 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12073
12074         * win32/vs6/libgstreamer.dsp:
12075         * win32/vs7/libgstreamer.vcproj:
12076         * win32/vs8/libgstreamer.vcproj:
12077           Don't reference glib-compat.c which is currently not used and not
12078           disted; add gstquark.c which was recently added. Fixes #361730.
12079
12080 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
12081
12082         * win32/common/libgstbase.def:
12083         * win32/common/libgstcontroller.def:
12084         * win32/common/libgstreamer.def:
12085           Add gst_caps_merge() and a bunch of other recently-added functions.
12086           Fixes #361732.
12087
12088 2006-10-11  Wim Taymans  <wim@fluendo.com>
12089
12090         * docs/plugins/gstreamer-plugins.args:
12091         * docs/plugins/inspect/plugin-coreelements.xml:
12092         * docs/plugins/inspect/plugin-coreindexers.xml:
12093         Update element args.
12094
12095         * gst/gstsystemclock.c:
12096         Small comment update.
12097
12098         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12099         (gst_tee_request_new_pad), (gst_tee_release_pad),
12100         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12101         (gst_tee_sink_activate_pull):
12102         * plugins/elements/gsttee.h:
12103         Some tee loving:
12104         Add default property defines.
12105         Implement release pad function.
12106         Give properties better blubs etc.
12107         Activate pads before adding them to a running tee.
12108         Do simple buffer_alloc on the first requested pad.
12109         Post error when activation fails.
12110
12111 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12112
12113         * gst/gst.c: (ensure_current_registry_forking):
12114           Check return value of write() to make compiler happy.
12115
12116 2006-10-11  Wim Taymans  <wim@fluendo.com>
12117
12118         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12119
12120         * plugins/elements/gstqueue.c: (gst_queue_chain):
12121         Recheck queue filledness after signalling the overrun when we're about
12122         to leak downstream because we released the lock when emitting the signal
12123         and the queue could be empty again. Fixes #352345.
12124
12125 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12126
12127         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12128           Fix refcounting here too, just like we did for _new_valist() a few
12129           days ago (#357180) (thanks to René Stadler). Also remove all those
12130           'Since: 0.9' from the gtk-doc blobs.
12131
12132         * tests/check/libs/controller.c: (controller_refcount_new_list),
12133         (gst_controller_suite):
12134           Unit test for the above.
12135
12136 2006-10-10  Wim Taymans  <wim@fluendo.com>
12137
12138         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12139
12140         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12141         (gst_pad_save_thyself):
12142         Update some docs.
12143         Write pad direction in XML output. Fixes #345496.
12144
12145 2006-10-10  Wim Taymans  <wim@fluendo.com>
12146
12147         Patch by: René Stadler <mail at renestadler dot de>
12148
12149         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12150         (gst_controller_new_list), (_gst_controller_dispose),
12151         (_gst_controller_finalize), (_gst_controller_class_init):
12152         Take ref to controlled object so that it cannot disappear. 
12153         Fixes #357432.
12154
12155 2006-10-10  Wim Taymans  <wim@fluendo.com>
12156
12157         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12158         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12159         (gst_check_teardown_sink_pad):
12160         Activate/deactivate pads in setup/teardown respectively.
12161
12162 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12163
12164         Patch by: Josep Torra Valles <josep@fluendo.com>
12165
12166         * gst/Makefile.am:
12167         Cast values when making gstenumtypes.h.  This pacifies Forte
12168         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12169         in the enumeration.
12170
12171 2006-10-09  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12174         Rename some more @cur to @start to fix docs. 
12175
12176         * gst/gstsegment.c: (gst_segment_set_seek):
12177         Fix typo.
12178         time and start must always stay in sync as defined in design doc.
12179
12180         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12181         Rename param to fix docs.
12182
12183         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12184         Check that start and time are in sync.
12185
12186         * tests/check/pipelines/parse-launch.c:
12187         (gst_parse_test_element_change_state):
12188         Activate pad before adding to the element.
12189
12190 2006-10-09  Wim Taymans  <wim@fluendo.com>
12191
12192         * docs/design/part-qos.txt:
12193         Fix typo.
12194
12195         * gst/gstevent.c:
12196         * gst/gstevent.h:
12197         Update seek event docs regarding negative rates.
12198         Rename @cur to @start. 
12199
12200         * gst/gstsegment.c: (gst_segment_set_seek):
12201         * gst/gstsegment.h:
12202         Update set_seek docs regarding negative rates.
12203         Correctly update last_stop to @stop when dealing with negative
12204         rates.
12205         Rename @cur to @start. 
12206
12207         * tests/check/gst/gstpad.c: (GST_START_TEST):
12208         Activate pads before trying to use them.
12209
12210         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12211         (gst_segment_suite):
12212         Add simple check for segments and negative rates.
12213
12214 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12215
12216         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12217         * gst/gsttaglist.h:
12218         * docs/gst/gstreamer-sections.txt:
12219           API: add gst_tag_list_is_empty() (#360467).
12220
12221         * tests/check/gst/gsttag.c: (GST_START_TEST):
12222           And a test case.
12223
12224 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12225
12226         * gst/gstmessage.h:
12227         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12228         a value that doesn't fit on enumeration.
12229
12230 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12231
12232         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12233         Remove local debugging system and use Gstreamer's instead.
12234
12235 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12236
12237         Patch by: Josep Torra Valles <josep@fluendo.com>
12238
12239         * common/m4/gst-error.m4:
12240         Disable warning of statement not reached on Forte.
12241         * gst/gstmessage.h:
12242         Fix warning on Forte (value doesn't fit on enumeration).
12243         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12244         Fix warning on Forte (value doesn't fit on enumeration).
12245         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12246         DEBUG macro says it takes minimum of 2 args and so Forte
12247         complains about the use with just 1 arg.
12248         * plugins/elements/gstfdsink.c:
12249         * plugins/elements/gstfdsrc.c:
12250         * plugins/elements/gstfilesink.c:
12251         * plugins/elements/gstfilesrc.c:
12252         Use correct return type for the uri handler implementations.
12253
12254         All these fix warnings in Forte.  Fixes bug #360860.
12255
12256 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12257
12258         * gst/gstelement.h:
12259           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12260           format string, so don't use G_GNUC_PRINTF for those versions.
12261
12262 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12263
12264         * gst/gsttaglist.c: (gst_is_tag_list):
12265         * gst/gsttaglist.h:
12266           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12267
12268         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12269           Small test for the above.
12270
12271 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12272
12273         * gst/gsttaglist.h:
12274           Less tabs, more spaces.
12275
12276 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12277
12278         * gst/gstinfo.h:
12279           Those two function declarations do actually belong there, revert
12280           commit from yesterday that turned them intro macros.
12281
12282 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12283
12284         Patch by: Josep Torra Valles <josep@fluendo.com>
12285
12286         * gst/gst.c: (gst_init_get_option_group):
12287         Fix empty declaration and type mismatch.
12288         * gst/gstbin.c: (gst_bin_change_state_func):
12289         Fix type mismatch.
12290         * gst/gstelement.c: (gst_element_continue_state),
12291         (gst_element_set_state_func), (gst_element_change_state),
12292         (gst_element_change_state_func):
12293         Fix type mismatches.
12294         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12295         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12296         Cast as appropriate.
12297         * gst/gstobject.c: (gst_class_signal_connect):
12298         Cast as appropriate.  The function pointer parameter really
12299         has the wrong type but would break API if we change it.
12300         * gst/gstquery.c:
12301         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12302         order of including string.h.
12303         * gst/gstutils.c: (gst_element_state_get_name):
12304         Remove unreachable line.
12305         * gst/gstxml.c: (gst_xml_parse_doc):
12306         Fix type mismatch.
12307         All these caught by Forte.
12308
12309 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12310
12311         Patch by: Josep Torra Valles <josep@fluendo.com>
12312
12313         * common/m4/gst-error.m4:
12314         Fixed bug #360151.
12315         We need to disable warnings on Forte for empty declarations
12316         due to gst-indent adding ;s to lines that just use macros
12317         where the macro actually doesn't need a ; at end to end
12318         statement.
12319
12320 2006-10-06  Wim Taymans  <wim@fluendo.com>
12321
12322         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12323         (gst_file_sink_close_file), (gst_file_sink_event),
12324         (gst_file_sink_render):
12325         Add some FIXME for the NEWSEGMENT handling.
12326
12327 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12328
12329         * gst/parse/grammar.y:
12330         Remove static function gst_parse_element_lock as all it does
12331         is return.  Looks like cruft from 0.8.
12332
12333 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12334
12335         Patch by: Josep Torra Valles <josep@fluendo.com>
12336
12337         * common/m4/gst-error.m4:
12338         * configure.ac:
12339         * libs/gst/net/Makefile.am:
12340         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12341         libresolv.
12342
12343 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12344
12345         * gst/gstpad.c: (pre_activate):
12346         * gst/gstregistry.c: (gst_registry_scan_path_level):
12347         * gst/gstregistryxml.c: (load_plugin):
12348         * libs/gst/controller/gstcontroller.c:
12349         (gst_controlled_property_set_interpolation_mode):
12350         * libs/gst/dataprotocol/dataprotocol.c:
12351         (gst_dp_packet_from_event_1_0):
12352         * libs/gst/net/gstnetclientclock.c:
12353         (gst_net_client_clock_observe_times):
12354         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12355           Printf fixes.
12356
12357 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12358
12359         * configure.ac:
12360         * docs/gst/gstreamer-sections.txt:
12361         * gst/gstconfig.h.in:
12362         * gst/gstelement.h:
12363         * gst/gstinfo.h:
12364           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12365           whether we can use G_GNUC_PRINTF in other header files and at
12366           least check the printf format/arguments of debug messages and
12367           GST_ELEMENT_ERROR messages when the printf extension is not
12368           being used.
12369           Replace more tabs with spaces in gstinfo.h and remove two spurious
12370           function declarations in GST_DISABLE_DEBUG part with macros.
12371
12372 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12373
12374         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12375           More docs for the sync-message signal (mention that it is not
12376           emitted by default); log message structures of messages posted on
12377           the bus as well.
12378
12379 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12380
12381         * gst/gst.c: (ensure_current_registry_forking):
12382         Use a pipe pair to receive status results from the forked child, and
12383         ignore the result from waitpid. Fixes #355499
12384
12385 2006-10-02  Wim Taymans  <wim@fluendo.com>
12386
12387         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12388         (gst_ghost_pad_suite):
12389         Fix leak in check.
12390
12391 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12392
12393         * gst/gstpad.c:
12394           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12395
12396 2006-10-02  Edward Hervey  <edward@fluendo.com>
12397
12398         * docs/design/part-block.txt:
12399         Further explain the use of flushing on blocked pads.
12400         * docs/gst/gstreamer-sections.txt:
12401         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12402         (gst_pad_push_event):
12403         * gst/gstpad.h:
12404         Added new GstPadFlag : GST_PAD_BLOCKING.
12405         Adds the notion of pads really blocking, which enables to properly
12406         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12407         Fixes #358999
12408         API: gst_pad_is_blocking()
12409         API: GST_PAD_IS_BLOCKING() macro
12410         API: GST_PAD_BLOCKING GstPadFlag
12411         
12412 2006-10-02  Wim Taymans  <wim@fluendo.com>
12413
12414         Patch by: mrcgran <mrc.gran at gmail dot com>
12415
12416         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12417         Filter the proxied caps against the padtemplate if we have one.
12418
12419         * gst/gstquery.c: (gst_query_new_segment):
12420         Add include for gstinfo.h so that compilation with
12421         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12422
12423 2006-10-02  Wim Taymans  <wim@fluendo.com>
12424
12425         Patch by: Alessandro Decina  <alessandro at nnva org>
12426
12427         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12428         (gst_file_sink_set_location), (gst_file_sink_open_file),
12429         (gst_file_sink_close_file), (gst_file_sink_event),
12430         (gst_file_sink_render):
12431         Set file to NULL when closing filesink so that we can set a new filename
12432         in READY. Fixes #358613.
12433
12434 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12435
12436         Patch by: Alessandro Decina  <alessandro at nnva org>
12437
12438         * gst/gstevent.c: (_gst_event_copy):
12439           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12440           with event structures by setting the parent refcount address of the
12441           copied structure to the address of the refcount member of the newly
12442           copied event rather than the address of the refcount member of the
12443           original event. Fixes #358737.
12444
12445         * tests/check/gst/gstevent.c: (GST_START_TEST):
12446           Unit test for the above.
12447
12448 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12449
12450         * docs/design/Makefile.am:
12451           Dist some more files.
12452
12453 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12454
12455         * tests/check/libs/controller.c: (GST_START_TEST),
12456         (gst_controller_suite):
12457           Add test for the previous fix; add some more tests
12458           for correct refcounting behaviour; fix a few leaks
12459           in test cases; call gst_controller_init() at start
12460           of all tests.
12461
12462 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12463
12464         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12465         (gst_controller_set_from_list):
12466           Don't g_return_val_if_fail() on timed values with invalid timestamps
12467           inside a critical section without unlocking the mutex. Spotted by
12468           René Stadler. (#357617)
12469           Also, fix up refcounting properly: when returning an existing
12470           controller, we should increase the reference only once and not
12471           once per property and when trying to control a property again
12472           we should also increase the refcount.
12473
12474 2006-09-29  Wim Taymans  <wim@fluendo.com>
12475
12476         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12477         * libs/gst/net/gstnettimeprovider.c:
12478         (gst_net_time_provider_thread):
12479         Stop reading commands when EOF as well.
12480
12481         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12482         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12483         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12484         Unify description of the dump property.
12485
12486 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12487
12488         * tests/examples/manual/.cvsignore:
12489         OK, so it's actually cvsignore that needs changing. Stop laughing.
12490
12491 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12492
12493         * tests/examples/manual/Makefile.am:
12494         Gah, declare vars *before* using them
12495
12496 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12497
12498         * gst/gst.c: (init_pre), (scan_and_update_registry),
12499         (ensure_current_registry_nonforking),
12500         (ensure_current_registry_forking), (ensure_current_registry),
12501         (init_post), (gst_debug_help), (gst_deinit):
12502         * gst/gst_private.h:
12503         * gst/gstregistry.c: (gst_registry_finalize),
12504         (gst_registry_remove_features_for_plugin_unlocked),
12505         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12506         (gst_registry_scan_path),
12507         (_priv_gst_registry_remove_cache_plugins),
12508         (_priv_gst_registry_cleanup):
12509         * gst/gstregistry.h:
12510         Re-commit the registry changes, along with an extra fix:
12511           When a cached plugin is encountered at a different file path,
12512           update the stored path in the registry cache so that the parent
12513           process knows where it actually is now when it re-reads the registry
12514           cache. Fixes the thing that broke distcheck with the previous commit.
12515
12516         * tests/check/Makefile.am:
12517         Clean up files named 'core' too when running make clean.
12518
12519         * tests/examples/manual/Makefile.am:
12520         Set up a registry path for running these tests, and clean it properly
12521         for distcheck.
12522
12523 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12524
12525         * configure.ac:
12526         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12527         want gmodule-no-export-2.0.pc instead so that we don't drag in
12528         --export-dynamic on every project that links to GStreamer.
12529
12530         Also, make our export regex only match the start of symbols, rather 
12531         than any symbol that contains '_gst' somewhere.
12532
12533         * libs/gst/check/Makefile.am:
12534         The libgstcheck we build does however need export-dynamic, as it
12535         produces some symbols that don't match our _gst... style regex.
12536         Fixes: #318031
12537
12538 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12539
12540         * gst/gst.c: (init_pre), (scan_and_update_registry),
12541         (ensure_current_registry_nonforking),
12542         (ensure_current_registry_forking), (ensure_current_registry),
12543         (init_post), (gst_debug_help), (gst_deinit):
12544         * gst/gst_private.h:
12545         * gst/gstregistry.c: (gst_registry_finalize),
12546         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12547         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12548         (_gst_registry_cleanup):
12549         * gst/gstregistry.h:
12550           Revert previous change until I figure out why it breaks distcheck.
12551
12552 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12553
12554         * gst/gst.c: (init_pre), (scan_and_update_registry),
12555         (ensure_current_registry_nonforking),
12556         (ensure_current_registry_forking), (ensure_current_registry),
12557         (init_post), (gst_debug_help), (gst_deinit):
12558
12559           Make init_pre and init_post take the full complement of GOptionFunc
12560           args so they can return useful GErrors. Make the registry updating
12561           functions do so.
12562
12563           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12564           ensure that the registry we're about to write out doesn't contain
12565           stale information about old-deleted plugin files.
12566
12567           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12568           that deletion of plugin files is considered a registry change.
12569
12570         * gst/gst_private.h:
12571         * gst/gstregistry.c: (gst_registry_finalize),
12572         (gst_registry_remove_features_for_plugin_unlocked),
12573         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12574         (gst_registry_scan_path),
12575         (_priv_gst_registry_remove_cache_plugins),
12576         (_priv_gst_registry_cleanup):
12577         * gst/gstregistry.h:
12578         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12579         by adding _priv prefix, so that they won't appear in the global
12580         symbol table. They still do atm though because of #318031. Move the
12581         prototypes to gst_private.h
12582
12583         When removing a plugin, remove all features for that plugin too. 
12584         Fixes #340878.
12585
12586 2006-09-27  Wim Taymans  <wim@fluendo.com>
12587
12588         * docs/random/moving-plugins:
12589         Make it clear that the "compiled-in descriptions" really mean
12590         the element details.
12591
12592         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12593         (gst_base_sink_wait_preroll):
12594         Update docs.
12595
12596         * docs/libs/gstreamer-libs-sections.txt:
12597         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12598         (gst_base_src_get_range), (gst_base_src_activate_push):
12599         * libs/gst/base/gstbasesrc.h:
12600         Added function to block while waiting for PLAYING, this function
12601         is used by live sources that block on the clock.
12602         API: gst_base_src_wait_playing()
12603
12604 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12605
12606         Patch by: Peter Kjellerstedt <pkj at axis com>
12607
12608         * Makefile.am:
12609           gst-element-check.m4 is generated and should therefore be
12610           copied from the build dir rather than the source dir (#357593).
12611           'make distcheck' hasn't noticed this because we were disting
12612           the file as well, so stop doing that.
12613
12614 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12615
12616         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12617           Add some tests for gst_caps_intersect().
12618
12619         * tools/gst-launch.c: (event_loop):
12620           Print all buffering percentages we get, even the 100% one.
12621
12622 2006-09-26  Wim Taymans  <wim@fluendo.com>
12623
12624         * tools/gst-inspect.c: (print_element_properties_info),
12625         (print_signal_info):
12626         Fix printing of flags to match the look of enums.
12627
12628 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12629
12630         * gst/gstelementfactory.c:
12631           Fix typo in docs blurb.
12632
12633 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12634
12635         * gst/gsturi.c: (search_by_entry):
12636           Don't assert/crash here if a uri handler doesn't return any
12637           supported protocols. The list of protocols could be generated
12638           dynamically at runtime or at plugin registration, and an error
12639           in the underlying library shouldn't be fatal (#353301).
12640
12641 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12642
12643         * gst/gstinfo.c:
12644           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12645           (spotted by Peter Kjellerstedt).
12646
12647 2006-09-23  Wim Taymans  <wim@fluendo.com>
12648
12649         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12650
12651         * libs/gst/base/gstbasesrc.c:
12652         (gst_base_src_default_check_get_range), (gst_base_src_start),
12653         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12654         (gst_base_src_change_state):
12655         Match _start/_stop calls in the activate functions. Remove redundant
12656         _stop call from the state change function. Fixes #356910.
12657         Turn failure DEBUG into ERROR. 
12658
12659 2006-09-22  Wim Taymans  <wim@fluendo.com>
12660
12661         * docs/design/part-buffering.txt:
12662         * gst/gstmessage.c: (gst_message_new_buffering),
12663         (gst_message_parse_buffering):
12664         Update docs about buffering.
12665
12666         * docs/design/part-trickmodes.txt:
12667         Fix typo.
12668
12669 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12670
12671         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12672         (gst_controller_new_list):
12673           Ref instances when returning them again (fixes #357180)
12674
12675 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12676
12677         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12678           Don't forget to release proxy lock when there's an error.
12679
12680 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12681
12682         * gst/gstcaps.h:
12683           Add extra initialisers for Caps things, to fix some plugin warnings
12684           when using -Wextra
12685
12686 2006-09-18  Wim Taymans  <wim@fluendo.com>
12687
12688         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12689           Also set template on the internal pad so that a getcaps from the 
12690           target pad returns the template caps.
12691
12692 2006-09-18  Wim Taymans  <wim@fluendo.com>
12693
12694         * gst/gstelement.c: (gst_element_post_message),
12695         (gst_element_dispose):
12696         Use _DEBUG_OBJECT some more.
12697
12698         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12699         Avoid typechecks.
12700
12701         * tools/gst-launch.c: (main):
12702         If the toplevel element is not a GstPipeline, it must be put in a
12703         pipeline so that a bus and clock is selected.
12704
12705 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12706
12707         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12708           JITTER, RATE, and LATENCY query should be handled by the
12709           default case and not by the CONVERT query code.
12710
12711 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * gst/gstformat.c: (gst_format_register):
12714           Fix locking order (must take lock before using n_values).
12715
12716         * gst/gstvalue.c: (gst_value_serialize_enum),
12717         (gst_value_deserialize_enum_iter_cmp),
12718         (gst_value_deserialize_enum):
12719           Fix serialisation/deserialisation of custom registered GstFormats.
12720
12721         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12722           Unit test for custom format serialisation/deserialisation.
12723
12724 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12725
12726         * docs/pwg/building-boiler.xml:
12727         * plugins/elements/gstcapsfilter.c:
12728         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12729         section.
12730
12731 2006-09-16  Edward Hervey  <edward@fluendo.com>
12732
12733         * libs/gst/base/gstbasetransform.c:
12734         (gst_base_transform_buffer_alloc):
12735         Check if requested caps are the same as the sinks caps IF
12736         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12737         is FALSE.
12738         This fixes the renegotiation issues stated in #352827.
12739
12740 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12741
12742         * configure.ac:
12743         * docs/manual/advanced-autoplugging.xml:
12744         * tests/examples/Makefile.am:
12745         * tests/examples/manual/.cvsignore:
12746         * tests/examples/manual/Makefile.am:
12747         * tests/examples/manual/extract.pl:
12748           Extract the manual examples again like we used to do.
12749           Fix one of them.
12750
12751 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12752
12753         * win32/common/config.h:
12754           update for version
12755
12756 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12757
12758         * gst/gsterror.c:
12759           Documents how to receive errors.
12760
12761 2006-09-15  Wim Taymans  <wim@fluendo.com>
12762
12763         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12764         (event_loop), (main):
12765         Added some comments here and there.
12766         Post an application message when an interrupt is caught instead of doing
12767         an uncontrolled state change.
12768         Clean up the event loop.
12769         Handle buffering messages, pause/resume the pipeline.
12770         Make shutdown because of an interrupt more reliable.
12771
12772 2006-09-15  Wim Taymans  <wim@fluendo.com>
12773
12774         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12775         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12776         (gst_base_sink_preroll_object):
12777         Make sure that our internal state is correct when we commit our state
12778         asynchronously. This solves a race where a state change to PLAYING
12779         could cause the sink to remain blocked in preroll in some situations.
12780
12781 2006-09-15  Wim Taymans  <wim@fluendo.com>
12782
12783         * tools/gst-inspect.c: (print_element_properties_info),
12784         (print_signal_info):
12785         List flags as hex so it's easier to deal with.
12786
12787 2006-09-15  Wim Taymans  <wim@fluendo.com>
12788
12789         * docs/libs/gstreamer-libs-sections.txt:
12790         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12791         (gst_base_sink_do_sync):
12792         * libs/gst/base/gstbasesink.h:
12793         Expose logic to wait for preroll so that subclasses such as audiosink
12794         can also use this method.
12795         API: gst_base_sink_wait_preroll()
12796
12797 2006-09-15  Wim Taymans  <wim@fluendo.com>
12798
12799         * gst/gstobject.c: (gst_object_set_parent):
12800         * gst/gstpipeline.c: (do_pipeline_seek):
12801         Small cleanups in docs and code.
12802
12803         * gst/gstsegment.c: (gst_segment_clip):
12804         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12805         if stop == start and start is in the segment, no clipping should be
12806         done. Also add a test for this.
12807
12808 2006-09-15  Wim Taymans  <wim@fluendo.com>
12809
12810         * docs/design/part-buffering.txt:
12811         * docs/gst/gstreamer-sections.txt:
12812         * gst/gstmessage.c: (gst_message_new_buffering),
12813         (gst_message_parse_buffering):
12814         * gst/gstmessage.h:
12815         Added methods to create and parse BUFFERING messages.
12816         Added preliminary docs about buffering.
12817         API: gst_message_new_buffering
12818         API: gst_message_parse_buffering
12819
12820 2006-09-06  Wim Taymans  <wim@fluendo.com>
12821
12822         * gst/gstbin.c:
12823         Update documentation.
12824
12825         * gst/gstelement.c: (gst_element_class_init),
12826         (gst_element_release_request_pad), (gst_element_set_clock),
12827         (gst_element_get_index), (gst_element_add_pad),
12828         (gst_element_remove_pad), (gst_element_get_random_pad),
12829         (gst_element_send_event), (gst_element_get_query_types),
12830         (gst_element_query), (gst_element_post_message),
12831         (gst_element_message_full), (gst_element_continue_state),
12832         (gst_element_lost_state), (gst_element_save_thyself),
12833         (gst_element_restore_thyself):
12834         Documentation updates.
12835         Rename last bit of the new-pad -> pad-added signal rename.
12836         Fix the case where an element query would only work if the source
12837         pad was linked.
12838         Avoid some useless type checking in message handling.
12839
12840         * gst/gstevent.c:
12841         * gst/gstevent.h:
12842         * gst/gstutils.c:
12843         Documentation updates.
12844
12845 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12846
12847         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12848           add an INFO line for when we actually update the fd
12849
12850 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12851
12852         * configure.ac:
12853           back to TRUNK
12854
12855 === release 0.10.10 ===
12856
12857 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12858
12859         * configure.ac:
12860           releasing 0.10.10, "Pais"
12861
12862 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12863
12864         * docs/manual/advanced-position.xml:
12865           Fix typo in sample code.
12866
12867 2006-09-05  Wim Taymans  <wim@fluendo.com>
12868
12869         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12870         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12871         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12872         * libs/gst/net/gstnetclientclock.h:
12873         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12874         * libs/gst/net/gstnettimepacket.h:
12875         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12876         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12877         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12878         * libs/gst/net/gstnettimeprovider.h:
12879         Make stuff compile on windows. Fixes #345295.
12880
12881 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12882
12883         * gst/gst.c: (ensure_current_registry_forking):
12884           Print better details when child was terminated by signal.
12885
12886 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12887
12888         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12889           Print a warning rather than g_assert() if a plugin feature
12890           is a URI handler but returns no protocols (#353976).
12891
12892 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12893
12894         * docs/random/moving-plugins:
12895         Fix two typos.         
12896
12897 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12898
12899         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12900           Fix locking order, handle NULL function values properly.
12901
12902         * gst/gstinfo.h:
12903           Fix docs.
12904
12905         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12906           Initialise variable before using it and fix debug statement to
12907           print the address of the function rather than the address of the
12908           variable on the stack holding the address of the function.
12909
12910 2006-09-01  Wim Taymans  <wim@fluendo.com>
12911
12912         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12913         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12914         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12915         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12916         (gst_ghost_pad_parent_unset),
12917         (gst_ghost_pad_internal_do_activate_push),
12918         (gst_ghost_pad_internal_do_activate_pull),
12919         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12920         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12921         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12922         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12923         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12924         (gst_ghost_pad_new_no_target_from_template),
12925         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12926         More cleanups.
12927         Avoid needless typechecking in macros.
12928         Since the internal pad is always present and never changes, there is
12929         no need to locking or ref when retrieving it.
12930         Improve debugging a bit.
12931         Handle link errors when setting the target. Fixes #341029.
12932
12933 2006-09-01  Wim Taymans  <wim@fluendo.com>
12934
12935         * docs/libs/gstreamer-libs-sections.txt:
12936         * docs/plugins/gstreamer-plugins-sections.txt:
12937         Fix docs some more.
12938
12939         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12940         (gst_collect_pads_event):
12941         * libs/gst/base/gstcollectpads.h:
12942         Documentation updates.
12943         Free queued buffer when removing a pad.
12944
12945 2006-08-31  Michael Smith  <msmith@fluendo.com>
12946
12947         * gst/gstutils.c: (gst_element_link_pads),
12948         (gst_element_link_pads_filtered):
12949           Ensure that we set a capsfilter to NULL if we failed to link it
12950           when doing filtered linking, to avoid criticals.
12951
12952           No need to check for unreffing srcpad, which is explicly NULLed
12953           above (a trivial code cleanup).
12954
12955 2006-08-31  Wim Taymans  <wim@fluendo.com>
12956
12957         * docs/design/part-gstghostpad.txt:
12958         Update ascii art in documentation.
12959
12960         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12961         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12962         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12963         (gst_ghost_pad_internal_do_activate_push),
12964         (gst_ghost_pad_internal_do_activate_pull),
12965         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12966         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12967         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12968         (gst_ghost_pad_set_target):
12969         Small cleanups and leak fixes.
12970         Remove some checks now that the internal pad is never NULL.
12971         Fix the case where linking pads without a target would create nasty
12972         criticals. Fixes #341029.
12973         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12974         value of _set_target().
12975
12976         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12977         (gst_ghost_pad_suite):
12978         Some more tests for creating and linking untargeted ghostpads.
12979
12980 2006-08-31  Edward Hervey  <edward@fluendo.com>
12981
12982         * docs/gst/gstreamer-sections.txt:
12983         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12984         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12985         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12986         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12987         (gst_ghost_pad_new_from_template),
12988         (gst_ghost_pad_new_no_target_from_template):
12989         * gst/gstghostpad.h:
12990         Refactored *_new() functions.
12991         Templates are now used as a g_object_new() parameter.
12992         Use template in _do_getcaps() if we don't have a target.
12993         Small documentation cleanups.
12994         Added two new constructors:
12995         gst_ghost_pad_new_from_template()
12996         gst_ghost_pad_new_no_target_from_template()
12997         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12998         (gst_ghost_pad_suite):
12999         Added tests for new ghostpad instanciation functions.
13000
13001         API additions: gst_ghost_pad_new_from_template,
13002         gst_ghost_pad_new_no_target_from_template
13003
13004 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
13005
13006         * docs/random/ensonic/profiling.txt:
13007           Ideas about qos profiling.
13008
13009 2006-08-29  Wim Taymans  <wim@fluendo.com>
13010
13011         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
13012         Code cleanups.
13013         Fix memleak.
13014
13015 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
13016
13017         * gst/gstxml.c:
13018           Improve and detypofy docs.
13019
13020         * tests/check/Makefile.am:
13021         * tests/check/gst/.cvsignore:
13022         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
13023           Add a basic test suite for GstXML.
13024
13025 2006-08-29  Wim Taymans  <wim@fluendo.com>
13026
13027         * gst/gstelement.c: (activate_pads), (clear_caps),
13028         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13029         Clear the pad caps when the element shut down all of the pads and
13030         is not streaming data that could modify the caps. 
13031         Fixes #352958.
13032
13033 2006-08-28  Michael Smith  <msmith@fluendo.com>
13034
13035         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13036           Revert previous change; I misunderstood single-segment mode.
13037
13038 2006-08-28  Michael Smith  <msmith@fluendo.com>
13039
13040         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13041           Unset DISCONT on buffers when using single-segment mode.
13042
13043 2006-08-28  Wim Taymans  <wim@fluendo.com>
13044
13045         * gst/gstcaps.c: (gst_caps_merge_structure):
13046         * gst/gstcaps.h:
13047         Fix docs and indentation again.
13048
13049         * tests/check/gst/gstquery.c: (GST_START_TEST):
13050         Fix leak in tests and add some more tests.
13051
13052 2006-08-28  Edward Hervey  <edward@fluendo.com>
13053
13054         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13055         Inform GstSegment of the last stop position in order for the current
13056         segment to have a proper duration if it doesn't have a specific stop
13057         position from which a duration could be calculated.
13058         This bug was noticeable when a non-flushing, non-update new segment was
13059         followed by another segment (all buffers from the new segment were being
13060         dropped).
13061
13062 2006-08-28  Wim Taymans  <wim@fluendo.com>
13063
13064         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13065         Small comment update.
13066
13067         * plugins/elements/gstidentity.c: (gst_identity_class_init),
13068         (gst_identity_transform_ip):
13069         Drop-probability is broken, mention this in the code with a 
13070         FIXME and also in the property description.
13071         Make silent also be silent about the drop messages.
13072
13073 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
13074
13075         * docs/manual/appendix-win32.xml:
13076           Remove mention of popt, we don't depend on that any
13077           longer (#353136). Add some comments pointing out that
13078           this section is slightly outdated.
13079
13080 2006-08-28  Wim Taymans  <wim@fluendo.com>
13081
13082         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13083
13084         * gst/gstquery.c: (gst_query_new_segment):
13085         * tests/check/gst/gstquery.c: (GST_START_TEST):
13086         Initialize variables when creating a new segment query.
13087         Fixes #353121.
13088
13089 2006-08-28  Wim Taymans  <wim@fluendo.com>
13090
13091         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13092
13093         * gst/gstelement.c: (gst_element_get_bus):
13094         * tests/check/gst/gstelement.c: (GST_START_TEST):
13095         Check for NULL before _reffing the bus. Fixes #353122.
13096
13097 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
13098
13099         * docs/manual/basics-bus.xml:
13100           Docs update: fix wrong callback return value explanation; add
13101           some lines about the implicit relationship between main loop
13102           and main context; remove duplicate main loop variable declaration.
13103
13104 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13105
13106         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13107           Don't leak caps in unit test; add a few more simple
13108           checks. 
13109
13110 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13111
13112         * docs/gst/gstreamer-sections.txt:
13113         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13114         (gst_caps_structure_is_subset), (gst_caps_merge),
13115         (gst_caps_merge_structure):
13116         * gst/gstcaps.h:
13117         * libs/gst/base/gstbasetransform.c:
13118         (gst_base_transform_transform_caps):
13119         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13120           implement caps merging (fixes #352580)
13121
13122 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13123
13124         * tools/Makefile.am:
13125         * tools/gst-plot-timeline.py:
13126           add debug-log plotting developer tool (#340674)
13127
13128 2006-08-23  Wim Taymans  <wim@fluendo.com>
13129
13130         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13131         (gst_pad_stop_task):
13132         Improve debugging for task functions.
13133
13134         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13135         (gst_task_start), (gst_task_pause), (gst_task_join):
13136         Make sure that the task function started and finished after a 
13137         join(). 
13138         Don't try to push the task function on the threadpool multiple
13139         times.
13140         Improve the g_warning message with some useful suggestions
13141         about how to fix the problem. 
13142
13143 2006-08-23  Wim Taymans  <wim@fluendo.com>
13144
13145         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13146         Handle RESYNC correctly in _proxy_getcaps.
13147
13148 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13149
13150         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13151         (gst_xml_parse_memory), (gst_xml_get_element):
13152           Chain up to parent class in dispose function and also
13153           unref the elements in the toplevel_elements GList.
13154           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13155           Always return a reference in gst_xml_get_element() rather
13156           than only sometimes.
13157
13158         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13159           Don't leak GstXml object.
13160
13161 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13162
13163         * docs/gst/gstreamer-sections.txt:
13164         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13165         (gst_caps_merge):
13166         * gst/gstcaps.h:
13167         * libs/gst/base/gstbasetransform.c:
13168         (gst_base_transform_transform_caps):
13169           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13170           in a better way
13171
13172 2006-08-21  Edward Hervey  <edward@fluendo.com>
13173
13174         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13175         Implement GObject::dispose virtual method in GstXML so we can free the
13176         top_elements GList.
13177
13178 2006-08-21  Wim Taymans  <wim@fluendo.com>
13179
13180         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13181         (gst_buffer_create_sub):
13182         Copy duration/offset_end/caps when creating a subbuffer of the
13183         complete parent.
13184         Make the subbuffer read-only when we make the metadata writable for
13185         now. Fixes #351768.
13186
13187         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13188         Added check for metadata copy when creating subbuffers.
13189
13190 2006-08-21  Edward Hervey  <edward@fluendo.com>
13191
13192         * libs/gst/base/gstbasetransform.c:
13193         (gst_base_transform_buffer_alloc):
13194         Only call downstream buffer_alloc if transform element is passthrough
13195         or always_in_place. Closes #350449.
13196
13197 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13198
13199         * ChangeLog:
13200           ChangeLog surgery to add comments to previous changes
13201
13202 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13203
13204         * gst/gst.c:
13205           Add comments
13206
13207         * gst/gstpad.c: (gst_pad_set_active):
13208           Be more verbose in the log
13209
13210         * libs/gst/base/gstbasetransform.c:
13211         (gst_base_transform_transform_caps):
13212           Simplify caps to get rid of duplicates, fixes #345444
13213
13214 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13215
13216         * gst/gstvalue.c:
13217         * gst/gstvalue.h:
13218           Use these optimizations only internally.
13219
13220 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13221
13222         * gst/gstvalue.c: (gst_value_compare_list),
13223         (gst_value_compare_fraction_range),
13224         (gst_value_intersect_fraction_fraction_range),
13225         (gst_value_intersect_fraction_range_fraction_range),
13226         (gst_value_subtract_fraction_fraction_range),
13227         (gst_value_subtract_fraction_range_fraction_range),
13228         (gst_value_get_compare_func), (gst_value_compare),
13229         (gst_value_compare_with_func):
13230         * gst/gstvalue.h:
13231           Saves the expensive lookup of the compare function in many cases
13232          (#345444)
13233
13234 2006-08-18  Edward Hervey  <edward@fluendo.com>
13235
13236         * tests/check/gst/gstinfo.c: (gst_info_suite):
13237         Disable test that require gstdebug if it wasn't built in core.
13238
13239 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13240
13241         * docs/random/ensonic/logging.txt:
13242           update ideas
13243           
13244         * gst/gstinfo.c: (gst_debug_log_default):
13245           reorder fields, save some columns, add optional color codes for log
13246           levels
13247
13248 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13249
13250         * docs/random/ensonic/logging.txt:
13251           add ideas about making the logs a bit more useful
13252
13253 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13254
13255         * docs/pwg/advanced-events.xml:
13256         * docs/pwg/titlepage.xml:
13257           Update for 0.10 API (#340627). Add myself
13258           to authors list.
13259
13260 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13261
13262         * docs/libs/gstreamer-libs-docs.sgml:
13263         * docs/libs/gstreamer-libs-sections.txt:
13264         * libs/gst/check/gstbufferstraw.c:
13265           Make gstcheck stuff show up in docs (still needs to
13266           be documented properly though).
13267
13268 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13269
13270         * docs/gst/gstreamer-sections.txt:
13271         * gst/Makefile.am:
13272         * gst/gst.c: (init_post):
13273         * gst/gst_private.h:
13274         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13275         * gst/gstquark.h:
13276         * gst/gstquery.c: (gst_query_new_position),
13277         (gst_query_set_position), (gst_query_parse_position),
13278         (gst_query_new_duration), (gst_query_set_duration),
13279         (gst_query_parse_duration), (gst_query_new_convert),
13280         (gst_query_set_convert), (gst_query_parse_convert),
13281         (gst_query_new_segment), (gst_query_set_segment),
13282         (gst_query_parse_segment), (gst_query_new_seeking),
13283         (gst_query_set_seeking), (gst_query_parse_seeking):
13284         Add internal helpers for pre-registering quarks from static strings
13285         and using the quark values directly instead of looking them up when
13286         creating and parsing queries. Can be used for event construction too.
13287         Closes #350432.
13288
13289 2006-08-16  Wim Taymans  <wim@fluendo.com>
13290
13291         * gst/gstbin.c:
13292         Fix bogus docs.
13293
13294 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13295
13296         * gst/gstutils.c: (gst_util_set_value_from_string):
13297           Fix memleak (#351502).
13298
13299         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13300           Add unit test for most of gst_util_set_value_from_string()
13301           (not that one would want to encourage use of this function).
13302
13303 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13304
13305         * libs/gst/check/gstcheck.h:
13306           Use const gchar * variables in fail_unless_equals_string
13307           macro to avoid compiler warnings (and don't use tabs for
13308           indenting).
13309
13310 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13311
13312         * tools/gst-launch.c: (print_tag):
13313           More space on the left for the tag names, to cater
13314           for the 'extended comment' tag (not touching the
13315           string for the first line since it's translated).
13316
13317 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13318
13319         * libs/gst/check/gstcheck.h:
13320           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13321           print something when they fail.
13322
13323 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13324
13325         * docs/gst/gstreamer-sections.txt:
13326         * gst/gsttaglist.c: (_gst_tag_initialize):
13327         * gst/gsttaglist.h:
13328           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13329           Also change merge function for GST_TAG_COMMENT to
13330           use_first.
13331
13332 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13333
13334         * gst/gstinfo.c: (gst_debug_print_object):
13335           Make GST_PTR_FORMAT print messages as well.
13336
13337         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13338         (GST_START_TEST), (gst_info_suite):
13339           More tests.
13340
13341 2006-08-14  Edward Hervey  <edward@fluendo.com>
13342
13343         * gst/gstelementfactory.c: (gst_element_register):
13344         If the GstElementClass doesn't have a GstElementDetails with all fields
13345         filled up correctly (longname, description AND author), then error out
13346         nicely instead of crashing.
13347
13348 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13349
13350         * gst/gststructure.c:
13351           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13352
13353         * gst/gstvalue.h:
13354           Expand on the difference between arrays and lists as we use them.
13355           
13356 2006-08-14  Wim Taymans  <wim@fluendo.com>
13357
13358         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13359         If the parent state change function failed, don't assume we can safely
13360         stop the source, this will be done when the pads are deactivated.
13361
13362 2006-08-14  Wim Taymans  <wim@fluendo.com>
13363
13364         * gst/gstbuffer.c:
13365         * gst/gsttask.c: (gst_task_join):
13366         Small doc updates.
13367
13368         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13369         (gst_pad_stop_task):
13370         When pad (de)activation failed for some reason, restore the old
13371         activation mode and set the pad to flushing instead of assuming the
13372         pad is deactivated.
13373         If the _task_join() failed, reinstall the task on the pad so that it can
13374         be stopped later and return an error.
13375
13376 2006-08-11  Andy Wingo  <wingo@pobox.com>
13377
13378         * configure.ac:
13379         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13380         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13381         is only for users of API that don't want to see deprecated
13382         functions in the headers; people that want to compile out
13383         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13384         CFLAGS. Fixes the build of multifdsink, or will soon..
13385
13386 2006-08-11  Wim Taymans  <wim@fluendo.com>
13387
13388         * docs/gst/gstreamer-sections.txt:
13389         Add GstClockClass vmethod docs.
13390
13391         * gst/gstcaps.h:
13392         Mark #endif with comment for associated #if
13393
13394         * gst/gstclock.c: (gst_clock_id_wait):
13395         * gst/gstclock.h:
13396         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13397         most clock implementations.
13398         Document vmethods.
13399         Flesh out docs about resolution methods.
13400         API: GstClockClass::wait_jitter
13401
13402         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13403         (gst_system_clock_async_thread),
13404         (gst_system_clock_id_wait_jitter_unlocked),
13405         (gst_system_clock_id_wait_jitter):
13406         Use base class wait_jitter variant for improved performance
13407         due to less clock polling.
13408
13409 2006-08-11  Edward Hervey  <edward@fluendo.com>
13410
13411         * gst/gst.c: (gst_init_check), (init_post):
13412         Set gst as being initialized before scanning/updating the registry,
13413         since there might be my python plugin loader that calls gst_init() and
13414         we don't want to loop back in.
13415         Closes #350879
13416
13417 2006-08-11  Wim Taymans  <wim@fluendo.com>
13418
13419         * docs/design/part-qos.txt:
13420         Bring docs in line with the code. Mostly the sign of the jitter was
13421         wrong in the docs. Fixes #349943.
13422
13423         * gst/gstclock.c:
13424         Fix the docs for the jitter.
13425
13426         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13427         (gst_event_parse_tag), (gst_event_new_buffer_size),
13428         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13429         (gst_event_new_seek), (gst_event_parse_seek),
13430         (gst_event_new_navigation):
13431         Make sure the GstStructure has no parent when creating custom
13432         events.
13433         Add some more argument checking so that we avoid 0.0 rates.
13434         Flesh out the docs for the QoS event some more.
13435
13436 2006-08-11  Wim Taymans  <wim@fluendo.com>
13437
13438         * docs/gst/gstreamer-sections.txt:
13439         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13440         (ensure_current_registry_forking), (ensure_current_registry),
13441         (parse_one_option), (parse_goption_arg), (gst_deinit),
13442         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13443         * gst/gst.h:
13444         Doc updates.
13445         Added API and command line option to disable registry forking in
13446         addition to the environment variable.
13447         Constify some static arrays.
13448         Added some more debug.
13449         Don't deinit twice.
13450         API: gst_registry_fork_is_enabled()
13451         API: gst_registry_fork_set_enabled()
13452         API: --gst-disable-registry-fork command line option
13453         Fixes #348918.
13454
13455 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * gst/gst.c: (gst_init):
13458           Fix typo in error message.
13459
13460 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13461
13462         * libs/gst/controller/gstcontroller.h:
13463           fix ABI size-correction
13464
13465         * tests/check/libs/gdp.c: (gst_dp_suite):
13466           make tests that use deprecated API conditional
13467
13468 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13469
13470         * docs/libs/gstreamer-libs-sections.txt:
13471         * libs/gst/controller/gstcontroller.c:
13472         (_gst_controller_get_property), (_gst_controller_set_property),
13473         (_gst_controller_init), (_gst_controller_class_init):
13474         * libs/gst/controller/gstcontroller.h:
13475         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13476         (gst_object_set_control_rate):
13477           API: add gst_object_{s,g}et_control_rate(), add private data section,
13478           fix docs
13479
13480         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13481         * libs/gst/dataprotocol/dataprotocol.h:
13482           add deprecation guards to make gtk-doc happy and allow disabling cruft
13483
13484 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13485
13486         * tests/check/Makefile.am:
13487         * tests/check/gst/.cvsignore:
13488           Let's enable the new unit test as well.
13489
13490 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13491
13492         * configure.ac:
13493         * docs/gst/gstreamer-sections.txt:
13494         * gst/gstconfig.h.in:
13495         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13496         (_gst_info_printf_extension_ptr),
13497         (_gst_info_printf_extension_segment):
13498           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13499           register that lets us easily dump GstSegments into debug
13500           logs (#350419).
13501
13502         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13503         (info_segment_format_printf_extension), (gst_info_suite):
13504           Add simple unit test that logs a bunch of different segments (not
13505           valgrinded at the moment because of leaks in
13506           gst_debug_add_log_function).
13507
13508 2006-08-09  Edward Hervey  <edward@fluendo.com>
13509
13510         * libs/gst/base/gstbasetransform.c:
13511         (gst_base_transform_buffer_alloc):
13512         Even if we can't figure out the proper format to request downstream,
13513         call buffer_alloc() downstream with the input parameters without setting
13514         the caps on the srcpad. This will force negotiation in the chain
13515         function.
13516         Closes #350449
13517
13518 2006-08-08  Edward Hervey  <edward@fluendo.com>
13519
13520         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13521         Unlinking from a pad without a target is now a perfectly valid case
13522         which should NOT raise an assertion.
13523         This case would happen if a linked ghostpad its target set to NULL after
13524         it was previously linked.
13525
13526 2006-08-08  Edward Hervey  <edward@fluendo.com>
13527
13528         * tests/check/libs/gdp.c:
13529         Also comment out the test (see below).
13530
13531 2006-08-08  Edward Hervey  <edward@fluendo.com>
13532
13533         * tests/check/libs/gdp.c: (gst_dp_suite):
13534         Use the architecture information from config.h and not gcc macros
13535         in order to properly disable a test that fails on PPC64.
13536
13537 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13538
13539         * gst/gstelement.c: (gst_element_remove_pad):
13540           Don't crash printing the warning if the pad has no parent.
13541
13542 2006-08-02  Wim Taymans  <wim@fluendo.com>
13543
13544         * libs/gst/dataprotocol/dataprotocol.c:
13545         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13546         (gst_dp_crc), (gst_dp_header_payload_length),
13547         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13548         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13549         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13550         (gst_dp_event_from_packet), (gst_dp_validate_header),
13551         (gst_dp_validate_payload):
13552         Make debug category static
13553         Constify the crc table.
13554         Do some more arg checking in public functions.
13555         Fix some docs and do some small cleanups.
13556
13557         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13558         Add some more checks to see if GDP deals with bogus input.
13559
13560 2006-07-31  Wim Taymans  <wim@fluendo.com>
13561
13562         * gst/gstvalue.c: (gst_value_compare_list):
13563         Fix GstValueList comparison code. Fixes #347293.
13564
13565         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13566         Check to test GstValueList comparison.
13567
13568 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13569
13570         * gst/gstelementfactory.c: (gst_element_factory_create):
13571         Remove unnecessary ref/unref pair
13572
13573         * gst/parse/grammar.y:
13574         Make sure to free the parse buffer on all code paths.
13575         Move a g_free up to the error handler where it's easier to see.
13576
13577         * tests/check/gst/gstevent.c: (test_event):
13578         Extending timeout for downstream travelling events to 10 seconds to
13579         hopefully avoid intermittent failure on the buildbots.
13580
13581         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13582         Don't manually set the state of the src element - it will happen as a
13583         natural consequence of the pipeline changing state, and that way it
13584         will do it in the right order too.
13585
13586 2006-07-31  Wim Taymans  <wim@fluendo.com>
13587
13588         * libs/gst/base/gstbasetransform.c:
13589         (gst_base_transform_buffer_alloc):
13590         Use OBJECT_LOCK and refcounting to get the pad caps in the
13591         buffer_alloc function because the caps could change while we are
13592         busy with them. Fixes #349105
13593
13594 2006-07-31  Wim Taymans  <wim@fluendo.com>
13595
13596         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13597         Protect _PAD_CAPS with OBJECT_LOCK.
13598
13599 2006-07-31  Wim Taymans  <wim@fluendo.com>
13600
13601         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13602         (gst_pad_get_property), (gst_pad_activate_pull),
13603         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13604         (gst_pad_set_activate_function),
13605         (gst_pad_set_activatepull_function),
13606         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13607         (gst_pad_set_getrange_function),
13608         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13609         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13610         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13611         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13612         (gst_pad_set_acceptcaps_function),
13613         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13614         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13615         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13616         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13617         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13618         (gst_pad_configure_sink), (gst_pad_configure_src),
13619         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13620         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13621         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13622         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13623         (gst_pad_send_event):
13624         Use _DEBUG_OBJECT when it makes sense.
13625         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13626         Small cleanups and code reflows.
13627         Avoid caps refcounting in _accept_caps.
13628         Refactor alloc_buffer so that the code performed on the peer is in a
13629         separate function. Also if the pad does not implement a buffer alloc
13630         function, we should still check if the pad is flushing before falling
13631         back to the default allocator.
13632
13633 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13634
13635         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13636         Make all uses of identity and fakesink have silent=true to avoid
13637         serialising every passing data structure, which is breaking tests
13638         on FC4 for some unknown reason.
13639
13640 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13641
13642         * gst/parse/Makefile.am:
13643         * gst/parse/grammar.y:
13644         * gst/parse/parse.l:
13645           Reverted previous patch as it required to bump the flex dependency to
13646           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13647
13648 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13649
13650         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13651
13652         * gst/parse/Makefile.am:
13653         * gst/parse/grammar.y:
13654         * gst/parse/parse.l:
13655           push & pop the state of the lexer for reentrant use case
13656           Fixes #349180
13657
13658 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13659
13660         * libs/gst/base/gstbasesrc.h:
13661           Note in the docs that the ::newsegment vfunc is not actually used by
13662           GstBaseSrc.
13663
13664 2006-07-28  Wim Taymans  <wim@fluendo.com>
13665
13666         * libs/gst/base/gstcollectpads.c:
13667         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13668         (gst_collect_pads_clear), (gst_collect_pads_flush),
13669         (gst_collect_pads_event), (gst_collect_pads_chain):
13670         When flushing a pad, also clear the queued buffer so that we don't
13671         accidentally use it when we shouldn't.
13672         Fix leaks by inreffing incomming buffer.
13673         Flush out queued buffers in case of errors.
13674         Fixes #347452.
13675
13676 2006-07-28  Wim Taymans  <wim@fluendo.com>
13677
13678         * docs/random/phonon-gst:
13679         Random notes about a Phonon backend.
13680
13681 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13682
13683         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13684         Extra debug output
13685         * tests/check/libs/gdp.c: (gst_dp_suite):
13686         Take a whack at fixing the ppc compile using a different define to
13687         disable the broken test.
13688
13689         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13690         Remove excess g_print()
13691
13692 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13693
13694         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13695         Oops, meant to uncomment this line too to dampen the noise a bit.
13696
13697 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13698
13699         * gst/parse/grammar.y:
13700         * gst/parse/parse.l:
13701         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13702         (GST_START_TEST), (parse_suite):
13703         Fix some of the leaks exposed by extending the parse-launch testsuite,
13704         and move the 3 I can't figure out into a separate test that won't run
13705         the pipelines unless the appropriate line is uncommented.
13706
13707 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13708
13709         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13710           Requesting 0 bytes before the end of the file should result in
13711           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13712           unit test.
13713
13714 2006-07-27  Wim Taymans  <wim@fluendo.com>
13715
13716         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13717         Fix useless assert, a uint is always positive.
13718
13719         * gst/gststructure.c: (gst_structure_nth_field_name),
13720         (gst_structure_foreach), (gst_structure_map_in_place):
13721         Check input arguments for public functions to avoid obvious crashes.
13722
13723         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13724         * plugins/elements/gstfakesink.h:
13725         Do less useless typechecking.
13726
13727 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13728
13729         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13730           Do not use mmap() by default since there are a number of error
13731           conditions that we would like to handle in a non-fatal way that
13732           will result in a SIGBUS if we use mmap(). Examples: external
13733           devices (USB harddrive, portable music player) being unplugged
13734           while in use; file on mounted CD/DVD that can't be read because
13735           the medium is partly damaged. Fixes #348455 and #348475.
13736
13737 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13738
13739         * gst/gstquery.h:
13740         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13741         rates are a gdouble
13742
13743 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13744
13745         * gst/gstregistry.c:
13746           Move big documentation comment into class section header, so that it
13747           appears in the API docs.
13748
13749 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13750
13751         * docs/gst/gstreamer-sections.txt:
13752         Oops. Commit the docs additions too for new API.
13753         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13754
13755 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13756
13757         * gst/gststructure.c: (gst_structure_id_set),
13758         (gst_structure_id_set_valist):
13759         * gst/gststructure.h:
13760         Add API for setting values into structures without performing
13761         a quark lookup, if the appropriate quark is already known.
13762
13763         API: gst_structure_id_set
13764         API: gst_structure_id_set_valist
13765
13766         * gst/parse/grammar.y:
13767         * gst/parse/parse.l:
13768         Remove some dead code shown by the coverage information.
13769         Don't throw a critical g_warning when encountering a syntax error,
13770         just warn and let the normal error path handle it.
13771
13772         * plugins/elements/gstelements.c:
13773         Bump the rank of filesink up to PRIMARY so that it is preferred over
13774         gnomevfssink for file:// sink uri's
13775
13776         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13777         (GST_START_TEST), (run_delayed_test),
13778         (gst_parse_test_element_base_init),
13779         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13780         (gst_parse_test_element_change_state),
13781         (gst_register_parse_element), (parse_suite):
13782         Beef up the tests for parse syntax to check that more error cases
13783         fail as they are supposed to. Increases the test coverage a bit.
13784
13785 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13786
13787         * docs/manual/basics-elements.xml:
13788           Fix gst_element_link() example.
13789
13790         * gst/gstutils.c:
13791           Mention in API docs that one should usually gst_bin_add()
13792           elements to a bin or pipeline before doing the linking.
13793           
13794 2006-07-26  Wim Taymans  <wim@fluendo.com>
13795
13796         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13797         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13798         Avoid function call for known types by keeping the buffer and
13799         subbuffer GType global.
13800
13801         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13802         Random silly optimisations in read() path.
13803
13804 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13805
13806         * tools/gst-launch.c: (main):
13807           If the top-level of the parse is a normal bin, it doesn't do the
13808           right logic to run as a top-level element, so place it inside a
13809           pipeline.
13810
13811 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13812
13813         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13814           Remove superfluous g_object_notify() calls, GObject does
13815           that for us automatically.
13816
13817 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13818
13819         * gst/gstinfo.h:
13820           on Win32, use dllspec to export the debug category symbols
13821
13822 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13823
13824         * gst/gsttaglist.c: (_gst_tag_initialize):
13825           Allow more than one GST_TAG_IMAGE per taglist.
13826
13827 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13828
13829         * gst/gstminiobject.c:
13830           update docs
13831         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13832         (gst_fd_src_create):
13833           log recurring events at LOG level
13834           add more debug for when the fd gets set
13835
13836 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13837
13838         * gst/gstparse.c: (gst_parse_launch):
13839           Also remove reentrance checks if flex is MT safe (#348179)
13840          Fix my empty ChangeLog entry below
13841
13842 2006-07-21  Andy Wingo  <wingo@pobox.com>
13843
13844         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13845
13846         * libs/gst/check/Makefile.am
13847         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13848         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13849         * libs/gst/check/gstbufferstraw.h:
13850         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13851         functions, thus proving I am still a GStreamer haxor. OK I wrote
13852         them a long time ago, but anyways.
13853
13854 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13855
13856         * configure.ac:
13857         * gst/gstparse.c: (gst_parse_launch):
13858           Check for flex version and omit mutex if we have a MT save flex
13859           (fixes #348179)
13860
13861 2006-07-21  Wim Taymans  <wim@fluendo.com>
13862
13863         * gst/gstparse.c: (gst_parse_launch):
13864         Protect recursive calls to _parse with a recursive mutex
13865         and busy flag.
13866
13867 2006-07-21  Wim Taymans  <wim@fluendo.com>
13868
13869         * tests/check/gst/gstpad.c: (GST_START_TEST):
13870         Fix leak in test.
13871
13872 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13873
13874         * gst/gstparse.c: (gst_parse_launch):
13875           Do not hang on recursive usage of gst_parse_launch()
13876
13877 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13878
13879         * gst/gsttaglist.c:
13880           Add some more docs, comments and FIXME 0.11s here and there
13881           and also fix some typos.
13882
13883 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13884
13885         * gst/gstsegment.h:
13886           Convert tabs to spaces for better readability. 
13887
13888 2006-07-20  Edward Hervey  <edward@fluendo.com>
13889
13890         * tests/check/libs/gdp.c: (gst_dp_suite):
13891         the test_buffer test fails at line 140 on ppc64 at the following
13892         check:
13893         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13894                 GST_BUFFER_FLAG_IN_CAPS),
13895                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13896         See bug #348114 for more details.
13897
13898 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13899
13900         * docs/pwg/advanced-scheduling.xml:
13901         * gst/gstpad.c:
13902           Fix typos (#348000).
13903
13904 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13905
13906         * docs/pwg/intro-basics.xml:
13907           Fix wrong links (#347927).
13908
13909 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13910
13911         * gst/gstregistry.h:
13912         * gst/gstregistryxml.c: (load_feature),
13913         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13914         * win32/common/config.h:
13915           make --disable-index work (#342564)
13916
13917 2006-07-18  Wim Taymans  <wim@fluendo.com>
13918
13919         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13920
13921         * gst/Makefile.am:
13922         * gst/gsttrace.h:
13923         The attached patch adds two missing defines to gsttrace.h when tracing
13924         is disabled.  It also corrects one existing define.
13925         Fixes #347756.
13926
13927 2006-07-17  Wim Taymans  <wim@fluendo.com>
13928
13929         * docs/gst/gstreamer-sections.txt:
13930         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13931         * gst/gst.h:
13932         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13933         Add two functions to check and change the SIGSEGV behaviour
13934         when loading plugins.
13935         Don't mess with the SIGSEGV handler when we were told not to.
13936         Fixes #347794.
13937         API: gst_segtrap_is_enabled
13938         API: gst_segtrap_set_enabled
13939
13940 2006-07-14  Wim Taymans  <wim@fluendo.com>
13941
13942         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13943         * tests/check/elements/filesrc.c: (GST_START_TEST):
13944         Revert fix for regression in #347408 after release.
13945
13946 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13947
13948         Patch by: Antoine Tremblay <hexa00 at gmail com>
13949
13950         * gst/gstutils.c: (gst_element_unlink):
13951           Free iterator when done (#347311).
13952
13953         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13954           And add a test case for this.
13955
13956 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13957
13958         * configure.ac:
13959         Bump nano back to CVS
13960
13961 === release 0.10.9 ===
13962
13963 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13964
13965         * configure.ac:
13966           releasing 0.10.9, "On the road again"
13967
13968 2006-07-13  Wim Taymans  <wim@fluendo.com>
13969
13970         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13971         * tests/check/elements/filesrc.c: (GST_START_TEST):
13972         Revert pull-0 fix for release. Disable check. Fixes #347408.
13973
13974 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13975
13976         * libs/gst/dataprotocol/dataprotocol.c:
13977         (gst_dp_event_from_packet_1_0):
13978           Fixes #347337: failure to deserialize event packets with
13979           empty payload (only event type)
13980
13981 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13982
13983         * gst/Makefile.am:
13984           do not install a .c file in the header directory
13985
13986 2006-07-13  Edward Hervey  <edward@fluendo.com>
13987
13988         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13989         GhostPad no longer implicitely use the padtemplates of the targets.
13990         Fixes #347384
13991
13992 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13993
13994         * gst/gstvalue.c: (gst_value_compare_list),
13995         (gst_value_compare_array), (_gst_value_initialize):
13996         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13997         Make GstValueArray comparison be order dependent as designed.
13998         Add checks for value lists and value array comparisons.
13999         Fixes #347221
14000
14001 2006-07-11  Edward Hervey  <edward@fluendo.com>
14002
14003         * gst/gstbin.c: (activate_pads),
14004         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
14005         (gst_bin_change_state_func):
14006         (de)activate src pads before calling state_change on the childs.
14007         This is to avoid the case where a src ghostpad is blocked (holding the
14008         stream lock), which would block the deactivation of the ghostpad's
14009         target pad.
14010         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
14011         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
14012         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
14013         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14014         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14015         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14016         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
14017         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
14018         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
14019         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
14020         (gst_ghost_pad_class_init),
14021         (gst_ghost_pad_internal_do_activate_push),
14022         (gst_ghost_pad_internal_do_activate_pull),
14023         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
14024         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14025         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
14026         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
14027         GhostPads now create their internal GstProxyPad at creation (and not
14028         when they're linked, as it was being done previously).
14029         The internal and target pads are linked straight away.
14030         The data will also travel through the other pad in order to make
14031         pad blocking and probes non-hackish (the probe/block now really happens
14032         on the GhostPad and not on the target).
14033         * gst/gstpad.c: (gst_pad_set_blocked_async),
14034         (gst_pad_link_prepare), (gst_pad_push_event):
14035         Remove previous ghostpad cruft.
14036         * gst/gstutils.c: (gst_pad_add_data_probe),
14037         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14038         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14039         (gst_pad_remove_buffer_probe):
14040         Remove previous ghost pad cruft.
14041         Added more detailed debug statements.
14042         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14043         Fix the testsuite for refcounting changes.
14044         The comments about who has references were correct, but the refcount
14045         being checked wasn't the same (!?!).
14046
14047         Fixes #341029
14048
14049 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14050
14051         * docs/gst/gstreamer-sections.txt:
14052         * gst/gstconfig.h.in:
14053         More docs for configuration options, add docs to gtk-doc.
14054
14055 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
14056
14057         * gst/Makefile.am:
14058         * gst/gstconfig.h.in:
14059         * win32/common/config.h:
14060         Fix build when disabling tracing (fixes #344016). Also start to document
14061         the defines that disable the sub-systems.
14062
14063 2006-07-10  Edward Hervey  <edward@fluendo.com>
14064
14065         * gst/gst.c: (ensure_current_registry_forking):
14066         let's make valgrind happy...
14067
14068 2006-07-09  Wim Taymans  <wim@fluendo.com>
14069
14070         * gst/gstelement.c: (activate_pads),
14071         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
14072         Better pad activation code: Reset the collect value too on resync.
14073         Add some comments.
14074
14075 2006-07-09  Wim Taymans  <wim@fluendo.com>
14076
14077         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
14078         (gst_pad_activate_push):
14079         Use some more macros where it makes sense.
14080         Allow pad mode switching instead of asserting. When a pad
14081         is activated in one mode and we activate it in another, 
14082         deactivate it first before activating it in a different mode.
14083         Fixes #329198.
14084
14085 2006-07-08  Andy Wingo  <wingo@pobox.com>
14086
14087         * tools/gst-launch.c (main): Handle err == NULL.
14088
14089         * gst/gst.c (init_post, ensure_current_registry)
14090         (ensure_current_registry_forking)
14091         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14092         factoring out the registry scanning into separate functions. Don't
14093         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14094         Better environment var name/interface suggestions accepted.
14095
14096 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14097
14098         * gst/gstobject.c: (gst_object_set_name_default),
14099         (gst_object_set_name):
14100           Random micro-optimisation: don't use a hash table
14101           with strings as keys and the usual strdup/strcmp
14102           involved, but rather just use the GQuark of the
14103           type name as key, since it needs to be looked up
14104           anyway to get the type name string.
14105
14106         * tests/check/gst/gstobject.c: (GST_START_TEST):
14107           Fix various leaks.
14108
14109 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14110
14111         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14112         (gst_bin_iterate_all_by_interface):
14113           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14114           GTypes are gulongs and thus the top 4 bytes might be cut
14115           off on some platforms when doing GPOINTER_TO_INT, leading
14116           to invalid GTypes and bad things happening (see RH bug #179654).
14117           Also add a check to make sure the type passed in is really
14118           an interface type.
14119
14120 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14121
14122         * .cvsignore:
14123           Ignore more.
14124
14125 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14126
14127         * Makefile.am:
14128         * configure.ac:
14129         * gst-element-check.m4:
14130         * gst-element-check.m4.in:
14131           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14132           instead of the unversioned gst-inspect (#324176, #168659).
14133
14134 2006-07-06  Wim Taymans  <wim@fluendo.com>
14135
14136         * gst/gstmessage.h:
14137         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14138         warnings.
14139
14140 2006-07-06  Wim Taymans  <wim@fluendo.com>
14141
14142         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14143         (gst_base_src_wait), (gst_base_src_update_length),
14144         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14145         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14146         (gst_base_src_loop), (gst_base_src_start),
14147         (gst_base_src_activate_pull):
14148         Update docs.
14149         blocksize == 0 now means the default blocksize when working in push
14150         based mode.
14151         Remove some pointless asserts in _wait function.
14152         Fix offset/length calculations and EOS handling. We can now pull 0
14153         bytes as well, which is allowed.
14154         use _check_get_range() to decide if we can operate in _pull based
14155         mode.
14156         Fix refcounting leak when check_get_range function was not 
14157         implemented.
14158         API GstBaseSrc::blocksize range can be 0 too now (default)
14159
14160         * tests/check/elements/filesrc.c: (GST_START_TEST),
14161         (filesrc_suite):
14162         Added check to test _get_range() behaviour.
14163
14164 2006-07-06  Wim Taymans  <wim@fluendo.com>
14165
14166         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14167         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14168         (gst_pad_pull_range):
14169         * gst/gstpad.h:
14170         Lots of comments and docs added to the pad functions.
14171         Flesh out the expected behaviour of the get_range() functions.
14172
14173 2006-07-06  Wim Taymans  <wim@fluendo.com>
14174
14175         * gst/gstbus.h:
14176         * gst/gstclock.h:
14177         * gst/gstevent.h:
14178         * gst/gstiterator.h:
14179         * gst/gstpad.h:
14180         * gst/gstplugin.h:
14181         * gst/gsttask.h:
14182         Remove comma at end of enumerator list. 
14183
14184 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14185
14186         * win32/common/libgstbase.def:
14187         * win32/common/libgstdataprotocol.def:
14188         * win32/common/libsgtreamer.def:
14189         Add new exported functions.
14190
14191 2006-07-05  Wim Taymans  <wim@fluendo.com>
14192
14193         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14194         Add some more docs here and there.
14195
14196 2006-07-05  Wim Taymans  <wim@fluendo.com>
14197
14198         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14199         (gst_base_sink_loop), (gst_base_sink_get_position):
14200         When operating in pull mode update the offset so that we
14201         read sequentially.
14202
14203 2006-07-05  Wim Taymans  <wim@fluendo.com>
14204
14205         * gst/gstregistryxml.c: (read_string):
14206         Avoid strdup. (will happen in libxml, but hey!)
14207
14208         * gst/gsturi.c:
14209         Add some more docs.
14210
14211 2006-07-05  Wim Taymans  <wim@fluendo.com>
14212
14213         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14214         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14215         (gst_buffer_suite):
14216         No point in checking if the size of the subbuffer > 0, the
14217         code handles it correclty as demonstrated by unit test.
14218         Also add a unit test for the zero sized _new_and_alloc and
14219         _copy. Fixes #346663.
14220
14221 2006-07-05  Wim Taymans  <wim@fluendo.com>
14222
14223         * libs/gst/base/gstbasetransform.c:
14224         (gst_base_transform_prepare_output_buffer),
14225         (gst_base_transform_buffer_alloc),
14226         (gst_base_transform_handle_buffer):
14227         Make sure the buffer we pass to transform_ip has a refcount of
14228         1 and thus is writable. Fixes #343196
14229
14230 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14231
14232         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14233         (gst_file_src_init), (gst_file_src_set_property),
14234         (gst_file_src_get_property), (gst_file_src_map_region):
14235         * plugins/elements/gstfilesrc.h:
14236         Add "sequential" property, off by default, to use madvise and hint
14237         to the kernel that sequential access is desired.
14238         Touch all retrieved pages by default to ensure they are pulled
14239         into memory. (Closes #345720)
14240
14241 2006-07-03  Wim Taymans  <wim@fluendo.com>
14242
14243         * docs/design/part-block.txt:
14244         * docs/design/part-dynamic.txt:
14245         Small docs updates.
14246
14247 2006-07-03  Wim Taymans  <wim@fluendo.com>
14248
14249         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14250         (gst_caps_unref), (gst_static_caps_get),
14251         (gst_caps_append_structure):
14252         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14253         Use GSlice when the glib we build against is >= 2.10
14254
14255 2006-07-03  Wim Taymans  <wim@fluendo.com>
14256
14257         * gst/gstelement.c: (gst_element_pads_activate):
14258         Small cleanup in pad activation code.
14259
14260 2006-07-03  Wim Taymans  <wim@fluendo.com>
14261
14262         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14263
14264         * gst/gst-i18n-app.h:
14265         * gst/gst-i18n-lib.h:
14266         * tools/gst-inspect.c: (print_signal_info):
14267         The attached patch will make the inclusion of gettext.h unconditional in
14268         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14269         libintl.h in tools/gst-inspect.c.
14270         This allows use of --disable-nls again and fixes #344642.
14271
14272 2006-07-03  Edward Hervey  <edward@fluendo.com>
14273
14274         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14275         Implement pad blocking on events according to part-block.txt.
14276         More comments on behaviour.
14277         * tests/check/gst/gstevent.c: (test_event):
14278         Send event to peer pad of blocked pad (else it will block).
14279
14280 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14281
14282         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14283         (gst_check_run_suite):
14284           if we get the wrong message, give us the types as string
14285         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14286           Fix a translatable
14287         * tests/check/elements/filesrc.c: (GST_START_TEST):
14288           add a test for trying to open a non-existing file
14289
14290 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14291
14292         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14293           add a test for adding self
14294
14295 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14296
14297         * libs/gst/check/gstcheck.h:
14298           add some assert_ as alias for fail_unless_*
14299         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14300           increase test coverage
14301
14302 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14303
14304         * Makefile.am:
14305           include lcov.mak for lcov coverage generation
14306         * tools/Makefile.am:
14307           add to CLEANFILES
14308
14309 2006-07-02  Edward Hervey  <edward@fluendo.com>
14310
14311         * tests/check/elements/.cvsignore:
14312         moaping
14313
14314 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14315
14316         * configure.ac:
14317           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14318         * tests/check/Makefile.am:
14319           clean up gcov files
14320
14321 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14322
14323         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14324           remove gst_caps_simplify; it was not declared and not used
14325           and deprecated in 0.8
14326
14327 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * docs/faq/gst-uninstalled:
14330           don't put empty paths on PYTHONPATH
14331         * docs/gst/gstreamer-sections.txt:
14332           remove some symbols that are not there
14333
14334 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * gst/gstcaps.c: (gst_caps_compare_structures):
14337           whitespace fixes
14338         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14339         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14340           add more tests
14341
14342 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14343
14344         * libs/gst/dataprotocol/Makefile.am:
14345           build dataprotocol test by linking to the lib, instead of
14346           compiling the source, so we get coverage
14347         * tests/check/Makefile.am:
14348         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14349         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14350           add a test for filesrc
14351
14352 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14353
14354         * tests/check/gst/gststructure.c: (GST_START_TEST),
14355         (gst_structure_suite):
14356           Push coverage from 59.04% to 70.00%
14357
14358 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14359
14360         * tests/check/Makefile.am:
14361           gst-inspect every element; this makes sure that we also get
14362           coverage on element's get/set functions
14363
14364 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14365
14366         * configure.ac:
14367           set CFLAGS and friends to -O0 if gcov is being used
14368           add GCOV LIBS
14369         * gst/Makefile.am:
14370         * libs/gst/base/Makefile.am:
14371         * libs/gst/check/Makefile.am:
14372         * libs/gst/controller/Makefile.am:
14373         * libs/gst/dataprotocol/Makefile.am:
14374         * libs/gst/net/Makefile.am:
14375         * plugins/elements/Makefile.am:
14376         * plugins/indexers/Makefile.am:
14377           add makefile rules to generate gcov data and clean up
14378         * tests/check/Makefile.am:
14379           add a coverage target that generates an html overview
14380           of coverage data
14381
14382 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14383
14384         * tests/check/elements/fakesink.c:
14385         * tests/check/elements/fakesrc.c:
14386         * tests/check/elements/fdsrc.c:
14387         * tests/check/elements/identity.c:
14388         * tests/check/generic/sinks.c: (gst_sinks_suite):
14389         * tests/check/generic/states.c:
14390         * tests/check/gst/gst.c:
14391         * tests/check/gst/gstabi.c:
14392         * tests/check/gst/gstbin.c:
14393         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14394         * tests/check/gst/gstbus.c: (gst_bus_suite):
14395         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14396         * tests/check/gst/gstelement.c:
14397         * tests/check/gst/gstevent.c: (gst_event_suite):
14398         * tests/check/gst/gstghostpad.c:
14399         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14400         * tests/check/gst/gstmessage.c: (gst_message_suite):
14401         * tests/check/gst/gstminiobject.c:
14402         * tests/check/gst/gstobject.c:
14403         * tests/check/gst/gstpad.c:
14404         * tests/check/gst/gstpipeline.c:
14405         * tests/check/gst/gstplugin.c:
14406         * tests/check/gst/gstquery.c: (gst_query_suite):
14407         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14408         * tests/check/gst/gststructure.c:
14409         * tests/check/gst/gstsystemclock.c:
14410         * tests/check/gst/gsttag.c:
14411         * tests/check/gst/gsttask.c: (gst_task_suite):
14412         * tests/check/gst/gstutils.c:
14413         * tests/check/gst/gstvalue.c:
14414         * tests/check/libs/adapter.c:
14415         * tests/check/libs/basesrc.c:
14416         * tests/check/libs/collectpads.c:
14417         * tests/check/libs/controller.c:
14418         * tests/check/libs/gdp.c: (gst_dp_suite):
14419         * tests/check/libs/gstnetclientclock.c:
14420         * tests/check/libs/gstnettimeprovider.c:
14421         * tests/check/libs/libsabi.c: (libsabi_suite):
14422         * tests/check/libs/typefindhelper.c:
14423         * tests/check/pipelines/cleanup.c:
14424         * tests/check/pipelines/parse-launch.c:
14425         * tests/check/pipelines/simple-launch-lines.c:
14426         * tests/check/pipelines/stress.c: (stress_suite):
14427           use the new macro
14428
14429 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14430
14431         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14432         * libs/gst/check/gstcheck.h:
14433           create a macro and function so that the simple unit test
14434           case can be just one macro to create main()
14435
14436 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14437
14438         * gst/gstbin.c: (gst_bin_restore_thyself):
14439         * gst/gstxml.c: (gst_xml_make_element):
14440           Fix deserialisation from XML. Set parent manually
14441           instead of using gst_bin_add(), since gst_bin_add()
14442           will unlink all pads of the element being added.
14443           Fixes #341667.
14444
14445 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14446
14447         Patch by: Peter Kjellerstedt <pkj at axis com>
14448
14449         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14450           Fix missing g_strdup() and double free when using the
14451           --gst-plugin-load command line option (#346097).
14452
14453 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14454
14455         * gst/gstinfo.c:
14456           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14457
14458         * libs/gst/net/gstnetclientclock.c:
14459         * libs/gst/net/gstnettimeprovider.c:
14460           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14461
14462 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14463
14464         * docs/manual/advanced-dataaccess.xml:
14465           Fix buffer probe example compilation in
14466           ADM (#345708).
14467         
14468 2006-06-22  Edward Hervey  <edward@fluendo.com>
14469
14470         * gst/gstelement.c: (gst_element_pads_activate):
14471         We need to deactivate src pads first and then sink pads.
14472         The reason is the src pads might be blocking while holding the streaming
14473         lock, so we need to deactivate them first so that deactivating the sink
14474         pads doesn't block (since it will require the streaming lock).
14475
14476 2006-06-22  Wim Taymans  <wim@fluendo.com>
14477
14478         * libs/gst/base/gstbasetransform.c:
14479         (gst_base_transform_buffer_alloc):
14480         Forgot to remove two unneeded unrefs.
14481         Simplify a check _is_equal allready checks the obvious case.
14482
14483 2006-06-22  Wim Taymans  <wim@fluendo.com>
14484
14485         * docs/design/part-block.txt:
14486         Some docs about what pad_block should do.
14487
14488 2006-06-22  Wim Taymans  <wim@fluendo.com>
14489
14490         * gst/gstcaps.c: (gst_caps_replace):
14491         Fix crasher when passed NULL. Doc clarification.
14492         Optimize for the trivial case.
14493
14494         * gst/gstpipeline.c: (gst_pipeline_change_state):
14495         Small cleanups.
14496
14497         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14498         Small documentation cleanup.
14499
14500         * libs/gst/base/gstbasetransform.c:
14501         (gst_base_transform_buffer_alloc):
14502         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14503         is what we need and it avoids a whole lot of redundant 
14504         refcount operations.
14505
14506 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14507
14508         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14509
14510         * docs/manual/advanced-dataaccess.xml:
14511           Fix 'Embedding static elements' section to use
14512           GST_PLUGIN_DEFINE_STATIC (#345607).
14513
14514 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14515
14516         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14517           Attempt to 'fix' spuriously failing test case: it seems like the
14518           timeout of half a second is simply too small when the system is under
14519           load otherwise, and the timeout doesn't really seem to serve any
14520           particular purpose here. Give the pipeline a few seconds to preroll
14521           first, and then give it another half a second to go from PAUSED to
14522           PLAYING and marshal the message into the main thread.
14523
14524 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14525
14526         * tools/gst-feedback-m.m:
14527           Don't only use unversioned tools, try versioned tools as well
14528           (#345086).
14529
14530 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14531
14532         * gst/gstbus.c: (gst_bus_class_init):
14533           Fix some typos, make docs more explicit.
14534
14535 2006-06-20  Wim Taymans  <wim@fluendo.com>
14536
14537         * tests/check/gst/gstghostpad.c: (block_callback),
14538         (GST_START_TEST), (gst_ghost_pad_suite):
14539         Added some more ghostpad tests, mainly blocking
14540         and probes.
14541
14542 2006-06-16  Wim Taymans  <wim@fluendo.com>
14543
14544         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14545         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14546         (gst_file_sink_event), (gst_file_sink_render):
14547         * plugins/elements/gstfilesink.h:
14548         Check if we can seek in the file instead of assuming
14549         we always can. Post an error when we are asked to seek in a
14550         non-seekable file (like a fifo). Fixes #343312.
14551         Some cleanups.
14552
14553 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14554
14555         * tools/gst-launch.1.in:
14556           Un-garble (fourcc) bit in filtered caps section.
14557
14558 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14559
14560         * docs/manual/advanced-autoplugging.xml:
14561         * docs/manual/basics-helloworld.xml:
14562         * docs/manual/highlevel-components.xml:
14563           Don't leak bus reference in sample code.
14564
14565 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14566
14567         * autogen.sh:
14568           Add default for new --enable-plugin-docs switch.
14569
14570         * configure.ac:
14571           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14572           Fixes #344039.
14573
14574         * docs/Makefile.am:
14575           Use new ENABLE_PLUGIN_DOCS conditional.
14576
14577 2006-06-14  Wim Taymans  <wim@fluendo.com>
14578
14579         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14580         Make it clear with a FIXME and a real define what the #if 0
14581         previously disabled.
14582
14583 2006-06-14  Wim Taymans  <wim@fluendo.com>
14584
14585         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14586         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14587         * libs/gst/base/gstbasetransform.c:
14588         (gst_base_transform_sink_eventfunc):
14589         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14590         Don't randomly and silently reset a segment when the format 
14591         changes as this is a bug somewhere upstream. Fixes #330379.
14592
14593 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14594
14595         Patch by: Wouter Paesen  <wouter at kangaroot net>
14596
14597         * libs/gst/controller/gstcontroller.c:
14598         (gst_controlled_property_new):
14599           Fix controlling of float properties (#344849).
14600
14601         * tests/check/libs/controller.c:
14602         (gst_test_mono_source_get_property),
14603         (gst_test_mono_source_set_property),
14604         (gst_test_mono_source_class_init), (GST_START_TEST):
14605           While we're at it, add some float stuff to unit test.
14606
14607 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14608
14609         * docs/README:
14610         * docs/images/gdp-header.svg:
14611           add a gdp image
14612         * docs/libs/Makefile.am:
14613         * docs/libs/gdp-header.png:
14614         * libs/gst/dataprotocol/dataprotocol.c:
14615           add it to the API docs
14616         * docs/manual/intro-motivation.xml:
14617           fix typo
14618
14619 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14620
14621         * gst/gst.c: (scan_and_update_registry), (init_post):
14622           If the fork()'ed child process can't write the updated registry cache
14623           file to disk for some reason, make it exit with a failure exit code,
14624           so that the parent can then re-scan the plugins itself and update the
14625           registry structures in memory and work with that (rather than failing
14626           when creating elements because seemingly no plugins are available).
14627           Refactor registry scanning code into separate function for this and
14628           also separate fork() and non-fork() code paths. Fixes #344748.
14629
14630 2006-06-13  Wim Taymans  <wim@fluendo.com>
14631
14632         * docs/manual/advanced-dataaccess.xml:
14633         Fix wrong PluginDesc. Fixes #344755.
14634
14635 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14636
14637         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14638           Fix silly bug that prevented us from creating
14639           ~/.gstreamer-0.10 and writing the registry in one
14640           go (the first call to g_mkstemp() would overwrite the
14641           placeholder in the template string, so the second call
14642           to g_mkstemp() after creating the missing directory
14643           would then error out with 'invalid argument').
14644
14645 2006-06-13  Edward Hervey  <edward@fluendo.com>
14646
14647         * gst/gst.c: (init_post):
14648         Free string.
14649
14650 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14651
14652         * gst/glib-compat-private.h:
14653         * gst/glib-compat.c:
14654         * gst/glib-compat.h:
14655         * gst/gstvalue.c: (gst_value_serialize_flags):
14656           remove GLib 2.6 compatibility code
14657
14658 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14659
14660         * gst/parse/Makefile.am:
14661           Fix build with 'make -j N' even more (#340016).
14662
14663 2006-06-12  Wim Taymans  <wim@fluendo.com>
14664
14665         * docs/gst/gstreamer-sections.txt:
14666         Fix docs.
14667
14668 2006-06-12  Wim Taymans  <wim@fluendo.com>
14669
14670         * gst/gstsegment.c: (gst_segment_set_duration),
14671         (gst_segment_set_last_stop), (gst_segment_set_seek),
14672         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14673         (gst_segment_to_running_time), (gst_segment_clip):
14674         Use G_UNLIKELY to help the compiler a bit.
14675
14676 2006-06-12  Wim Taymans  <wim@fluendo.com>
14677
14678         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14679
14680         * gst/gstevent.c: (gst_event_get_type):
14681         * gst/gstmessage.c:
14682         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14683         (gst_pad_push):
14684         constify quark registration strings. Fixes #344115
14685         Avoid unneeded type checking is _pad_push() by internally
14686         calling gst_pad_chain_unchecked().
14687
14688 2006-06-12  Wim Taymans  <wim@fluendo.com>
14689
14690         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14691         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14692         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14693         (gst_buffer_is_span_fast), (gst_buffer_span):
14694         Init _type for consistency.
14695         Use _FLAGS macro to avoid type check.
14696         Avoid unneeded type checks in subbufer code.
14697
14698 2006-06-12  Wim Taymans  <wim@fluendo.com>
14699
14700         * gst/gst.c: (gst_debug_help):
14701         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14702         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14703         (gst_plugin_feature_list_free):
14704         * gst/gstregistry.c: (gst_registry_add_plugin),
14705         (gst_registry_add_feature), (gst_registry_plugin_filter),
14706         (gst_registry_feature_filter), (gst_registry_find_plugin),
14707         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14708         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14709         * gst/gstregistryxml.c: (load_feature),
14710         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14711         * gst/gstminiobject.c: (gst_mini_object_unref),
14712         (gst_mini_object_replace), (gst_value_mini_object_free),
14713         (gst_value_mini_object_copy):
14714         Use _CAST macros to avoid unneeded type checking.
14715         Added some more G_UNLIKELY.
14716
14717 2006-06-12  Wim Taymans  <wim@fluendo.com>
14718
14719         * gst/gstbuffer.h:
14720         Avoid unneeded type checking.
14721         API: GST_BUFFER_IS_DISCONT
14722
14723         * gst/gstminiobject.h:
14724         Avoid type check in flag accessor.
14725
14726         * gst/gstelementfactory.h:
14727         * gst/gstplugin.h:
14728         * gst/gstpluginfeature.h:
14729         Add _CAST macros.
14730         API: GST_ELEMENT_FACTORY_CAST
14731         API: GST_PLUGIN_CAST
14732         API: GST_PLUGIN_FEATURE_CAST
14733
14734 2006-06-12  Wim Taymans  <wim@fluendo.com>
14735
14736         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14737         (gst_object_unref):
14738         Add G_UNLIKELY in type registration.
14739         Avoid type check in _ref/_unref since that is also
14740         done in glib.
14741
14742 2006-06-12  Wim Taymans  <wim@fluendo.com>
14743
14744         * gst/gsterror.c: (gst_g_error_get_type):
14745         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14746         (gst_static_pad_template_get_type):
14747         * gst/gsttaglist.c: (gst_tag_list_get_type):
14748         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14749         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14750         * gst/gsturi.c: (gst_uri_handler_get_type):
14751         * gst/gstvalue.c: (gst_date_get_type):
14752         * gst/gstxml.c: (gst_xml_get_type):
14753         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14754         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14755         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14756         Add G_UNLIKELY in type registration.
14757
14758 2006-06-12  Wim Taymans  <wim@fluendo.com>
14759
14760         * tools/gst-inspect.c: (print_signal_info):
14761         Properly print enum values.
14762
14763 2006-06-12  Wim Taymans  <wim@fluendo.com>
14764
14765         * gst/gstinfo.c: (gst_debug_set_active),
14766         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14767         * gst/gstinfo.h:
14768         Add some G_[UN]LIKELY.
14769         Maintain __gst_debug_min to avoid formatting the arguments of
14770         debug messages that will be dropped anyway to avoid a lot of 
14771         overhead from the debugging system.
14772
14773 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14774
14775         * po/POTFILES.in:
14776         * po/POTFILES.skip:
14777           add missing files containing translatable strings, tell intltool about
14778           one exception
14779
14780 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14781
14782         * tests/check/libs/.cvsignore:
14783         add test-binary to ignore list
14784
14785 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14786
14787         * docs/libs/gstreamer-libs-docs.sgml:
14788         reorder (put dp into a chapter) and indent
14789
14790 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14791
14792         * configure.ac:
14793           back to HEAD
14794
14795 === release 0.10.8 ===
14796
14797 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14798
14799         * configure.ac:
14800           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14801
14802 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14803
14804         * gst/gst.c: (init_post):
14805           move pid declaration to declaration block
14806
14807 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14808
14809         * gst/gst.c: (init_post):
14810           use _exit() instead of exit() in our forked child; this ensures
14811           that none of the registered exit handlers from whatever is using
14812           GStreamer get executed.  This fixes gnome-mixer-applet failing
14813           to load, because ORBit would shut down.
14814           Spotted by: Edward Hervey  <edward@fluendo.com>
14815           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14816           Fixes #344474
14817
14818 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14819
14820         * configure.ac:
14821           back to TRUNK
14822
14823 === release 0.10.7 ===
14824
14825 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14826
14827         * configure.ac:
14828           releasing 0.10.7, "Soepeke, ik zie ou"
14829
14830 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14831
14832         * configure.ac:
14833         * po/af.po:
14834         * po/az.po:
14835         * po/bg.po:
14836         * po/ca.po:
14837         * po/cs.po:
14838         * po/de.po:
14839         * po/en_GB.po:
14840         * po/fr.po:
14841         * po/it.po:
14842         * po/nb.po:
14843         * po/nl.po:
14844         * po/ru.po:
14845         * po/sq.po:
14846         * po/sr.po:
14847         * po/sv.po:
14848         * po/tr.po:
14849         * po/uk.po:
14850         * po/vi.po:
14851         * po/zh_CN.po:
14852         * po/zh_TW.po:
14853         * win32/common/config.h:
14854           0.10.6.2 prerelease
14855
14856 2006-06-07  Wim Taymans  <wim@fluendo.com>
14857
14858         * gst/gstindex.c: (gst_index_gtype_resolver):
14859         * tools/gst-xmlinspect.c: (print_plugin_info):
14860         Fix leak spotted by coverity checker. Fixes #343827
14861         Fix another other leak found by paolo borelli.
14862
14863 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14864
14865         * libs/gst/dataprotocol/dataprotocol.c:
14866         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14867         (gst_dp_version_get_type), (gst_dp_init),
14868         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14869         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14870         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14871         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14872         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14873         (gst_dp_packetizer_free):
14874         * libs/gst/dataprotocol/dataprotocol.h:
14875           API: add a GstDPPacketizer object, and create/free functions
14876           API: add GstDPVersion enum
14877           Add 1.0 event function that uses the string serialization
14878           Serialize more useful buffer flags
14879           Fixes #343988
14880
14881 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14882
14883         * tests/check/Makefile.am:
14884         * tests/check/gst/gstabi.c:
14885         * tests/check/gst/struct_ppc64.h:
14886         * tests/check/libs/libsabi.c:
14887         * tests/check/libs/struct_ppc64.h:
14888           add ppc64 structure sizes
14889
14890 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14891
14892         * tests/check/Makefile.am:
14893         * tests/check/gst/gstabi.c:
14894         * tests/check/gst/struct_x86_64.h:
14895         * tests/check/libs/libsabi.c:
14896         * tests/check/libs/struct_x86_64.h:
14897           generate and add structure size lists for x86_64
14898
14899 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14900
14901         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14902         * libs/gst/check/gstcheck.h:
14903           factor out the method from tests that checks size of structures,
14904           and add code to generate the header containing these sizes
14905         * tests/check/gst/gstabi.c: (GST_START_TEST):
14906         * tests/check/gst/struct_i386.h:
14907         * tests/check/libs/libsabi.c: (GST_START_TEST):
14908         * tests/check/libs/struct_i386.h:
14909           use it
14910
14911 2006-06-06  Michael Smith  <msmith@fluendo.com>
14912
14913         * gst/gstsegment.h:
14914           Don't use c++-style comments, fixes #343929
14915
14916 2006-06-05  Edward Hervey  <edward@fluendo.com>
14917
14918         * gst/gst.c:
14919         plugin_paths is not used if we build without registry support.
14920
14921         * gst/gstsegment.c: (gst_segment_copy): 
14922         _copy() was always returning NULL...
14923
14924 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14925
14926         * libs/gst/dataprotocol/dataprotocol.c:
14927         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14928         (gst_dp_packet_from_event):
14929           factor out CRC code
14930
14931 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14932
14933         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14934           make sure we unset caps
14935
14936 2006-06-02  Michael Smith  <msmith@fluendo.com>
14937
14938         * libs/gst/check/gstcheck.c: (gst_check_init),
14939         (gst_check_chain_func):
14940         * libs/gst/check/gstcheck.h:
14941           Add a cond/mutex to the check support lib, signal this whenever we
14942           add to the buffers list. This will allow tests to not busy-wait on
14943           the buffer-list.
14944
14945 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14946
14947         * libs/gst/dataprotocol/dataprotocol.c:
14948         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14949         (gst_dp_packet_from_event):
14950           factor out some common header init code
14951
14952 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14953
14954         * docs/libs/gstreamer-libs-sections.txt:
14955         * docs/libs/tmpl/gstdataprotocol.sgml:
14956         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14957         * libs/gst/dataprotocol/dataprotocol.h:
14958           API: make gst_dp_crc() public
14959
14960 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14961
14962         * plugins/indexers/gstindexers.c: (plugin_init):
14963         conditionally register fileindexer (fixes #343598)
14964
14965 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14966
14967         * gst/gsttagsetter.h:
14968         Can't cast ifaces to a class
14969
14970         * libs/gst/net/gstnetclientclock.h:
14971         * libs/gst/net/gstnettimeprovider.h:
14972         * plugins/elements/gstfakesink.h:
14973         * plugins/elements/gstfakesrc.h:
14974         * plugins/elements/gstfdsink.h:
14975         * plugins/elements/gstfdsrc.h:
14976         * plugins/elements/gstfilesink.h:
14977         * plugins/elements/gstfilesrc.h:
14978         * plugins/elements/gstidentity.h:
14979         * plugins/elements/gstqueue.h:
14980         * plugins/elements/gsttee.h:
14981         * plugins/indexers/gstfileindex.c:
14982         * plugins/indexers/gstmemindex.c:
14983         * tests/old/examples/plugins/example.h:
14984         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14985
14986 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14987
14988         * libs/gst/dataprotocol/dataprotocol.c:
14989         (gst_dp_header_from_buffer):
14990           make sure we zero the whole ABI-compatible area
14991
14992 2006-06-01  Wim Taymans  <wim@fluendo.com>
14993
14994         Patch by: Alessandro Decina <alessandro at nnva dot org>
14995
14996         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14997         Make sure the EOS flag is cleared from pads after a flush
14998         or stop. Fixes #343538.
14999
15000         * tests/check/libs/collectpads.c: (GST_START_TEST),
15001         (gst_collect_pads_suite):
15002         Added test for collectpads reusage after EOS.
15003
15004 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
15005
15006         * gst/gst.c:
15007          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
15008         * win32/common/libgstbase.def:
15009          export gst_collect_pads_set_flushing
15010         * win32/common/libgstreamer.def:
15011          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
15012          gst_value_fraction_multiply
15013         * win32/vs6/gst_inspect.dsp:
15014          add a link to intl.lib
15015
15016 2006-05-30  Wim Taymans  <wim@fluendo.com>
15017
15018         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15019         (gst_collect_pads_chain):
15020         Handle the case where a pad is removed from the collection
15021         that could cause the other pads to become collectable.
15022
15023 2006-05-30  Wim Taymans  <wim@fluendo.com>
15024
15025         * gst/gstelement.c:
15026         Clarify the use of _release_request_pad() and
15027         _get_request_pad() a bit better.
15028
15029         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
15030         (gst_adapter_take_buffer):
15031         Fix some doc and comment typos.
15032
15033 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15034
15035         * docs/gst/gstreamer-sections.txt:
15036         * docs/libs/gstreamer-libs-sections.txt:
15037           add declared symbols
15038
15039 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
15040
15041         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15042         Add debug that can be enabled using a #define at the top of the file,
15043         for dumping stats about how late/early we were when waking up from
15044         waiting on the clock.
15045
15046 2006-05-30  Wim Taymans  <wim@fluendo.com>
15047
15048         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
15049         When rebuilding the pad list, don't leak the previous list.
15050
15051 2006-05-30  Wim Taymans  <wim@fluendo.com>
15052
15053         Patch by: Lutz Mueller <lutz at topfrose dot de>
15054
15055         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15056         (gst_base_src_get_query_types), (gst_base_src_update_length):
15057         Publish supported query types.
15058         Update last_stop field in get_range mode so the position
15059         query works. Fixes #342321.
15060
15061 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
15062
15063         * docs/gst/gstreamer-sections.txt:
15064         * gst/gsttaglist.c: (_gst_tag_initialize):
15065         * gst/gsttaglist.h:
15066           API: add GST_TAG_PREVIEW_IMAGE (#343341).
15067
15068 2006-05-30  Wim Taymans  <wim@fluendo.com>
15069
15070         Patch by: Alessandro Decina <alessandro at nnva dot org>
15071
15072         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
15073         Unlock mutex when removing an unknown pad.
15074         Fixes #343334.
15075
15076         * tests/check/Makefile.am:
15077         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
15078         (push_event), (setup), (teardown), (GST_START_TEST),
15079         (gst_collect_pads_suite), (main):
15080         Added collecpads check, disabled for now as check crashes for
15081         some reason.
15082
15083 2006-05-29  Wim Taymans  <wim@fluendo.com>
15084
15085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15086         Don't leak pads lists.
15087
15088 2006-05-29  Wim Taymans  <wim@fluendo.com>
15089
15090         * docs/libs/gstreamer-libs-sections.txt:
15091         * libs/gst/base/gstcollectpads.c:
15092         (gst_collect_pads_set_flushing_unlocked),
15093         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15094         (gst_collect_pads_stop):
15095         * libs/gst/base/gstcollectpads.h:
15096         API: gst_collect_pads_set_flushing()
15097         Added api to set the pads to flushing, useful for seeking
15098         code in elements using collectpads.
15099         Clear segment when receiving a flush.
15100
15101 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15102
15103         * gst/gst.c: (add_path_func), (init_post):
15104           Don't scan registry paths passed via --gst-plugin-path immediately
15105           (will crash, because absolutely nothing is set up and no types are
15106           registered etc.); do this later in init_post(). Fixes #343057.
15107
15108 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15109
15110         * gst/gst.c: (init_post):
15111           if we have fork, fork while reading/rebuilding the registry
15112           so the parent doesn't take the hit of having all plugins loaded
15113           in memory.  Fixes #342777.
15114         * configure.ac:
15115           Check if we have fork()
15116         * win32/common/config.h.in:
15117           no fork() on win32
15118
15119 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15120
15121         * plugins/elements/gstelements.c:
15122         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15123         (gst_file_src_init), (gst_file_src_set_property),
15124         (gst_file_src_get_property), (gst_file_src_start):
15125         * plugins/elements/gstfilesrc.h:
15126           API: GstFileSrc::use-mmap
15127
15128         Add a use-mmap property to enable easier testing of all code paths.
15129         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15130         in the absence of gnomevfssrc. (Closes #340501)
15131
15132 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15133
15134         * tools/gst-inspect.c:
15135         Add missing include, removes warning of ngettext not being defined on
15136         some arches.
15137
15138 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15139
15140         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15141         Handle NULL input and output pointers silently as a failed conversion,
15142         rather than g_warnings.
15143
15144 2006-05-25  Wim Taymans  <wim@fluendo.com>
15145
15146         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15147         Initialize variable before using. Fixes #342820.
15148
15149 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15150
15151         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15152           Fix off-by-one bug that would only allow peeks of N-1 bytes
15153           from the start even if the buffer to typefind on contains
15154           in fact N bytes of data (makes vorbis typefinding from a
15155           vorbis identification header buffer work).
15156
15157         * tests/check/Makefile.am:
15158         * tests/check/libs/.cvsignore:
15159         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15160         (gst_typefindhelper_suite), (main), (foobar_typefind),
15161         (plugin_init):
15162           Add very basic unit test for gst_type_find_helper_for_buffer()
15163           that checks for the problem fixed above.
15164
15165 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15166
15167         * tools/gst-inspect.c: (print_interfaces),
15168         (print_element_properties_info), (print_element_list), (main):
15169           add more translatable strings
15170
15171 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15172
15173         Patch by: Julien Moutte  <julien at moutte net>
15174
15175         * docs/gst/gstreamer-sections.txt:
15176           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15177           
15178         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15179         (gst_fake_sink_preroll):
15180         * plugins/elements/gstfakesink.h:
15181           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15182
15183 2006-05-23  Wim Taymans  <wim@fluendo.com>
15184
15185         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15186         * gst/gstpad.h:
15187         Added _CUSTOM error and success GstFlowReturn that can be
15188         used be elements internally. 
15189         Added macro to check for SUCCESS flowreturns.
15190         API: GST_FLOW_CUSTOM_SUCCESS
15191         API: GST_FLOW_CUSTOM_ERROR
15192         API: GST_FLOW_IS_SUCCESS
15193
15194         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15195         Added check for GstFlowReturn sanity.
15196
15197 2006-05-23  Wim Taymans  <wim@fluendo.com>
15198
15199         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15200
15201         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15202         (gst_collect_pads_event):
15203         clear/reset segment info in FLUSH_STOP.
15204         Fixes #336929.
15205
15206 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15207
15208         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15209         (gst_collect_pads_check_collected):
15210         Flush queued buffer on _stop(), fixes playing again (#342454)
15211
15212 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15213
15214         * tests/check/gst/gststructure.c: (GST_START_TEST),
15215         (gst_structure_suite):
15216           add a test for a complete structure
15217
15218 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15219
15220         * docs/faq/developing.xml:
15221         * docs/faq/faq.xml:
15222         * docs/faq/troubleshooting.xml:
15223         * docs/faq/using.xml:
15224           Some minor FAQ updates that won't change the fact that
15225           our FAQ is badly structured, full of information hardly
15226           anyone new to GStreamer needs to know and lacking lots
15227           of information people constantly ask for.
15228           
15229 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15230
15231         * gst/gstpad.c: (gst_pad_set_caps):
15232           Short-circuit gst_pad_set_caps if setting the existing
15233           caps pointer again, and avoid printing debug and 
15234           reffing/unreffing the caps.
15235
15236         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15237           There's actually no need to set the caps before pushing -
15238           the acceptcaps method will handle it anyway.
15239
15240 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15241
15242         * docs/gst/gstreamer-sections.txt:
15243         * win32/common/libgstreamer.def:
15244         * gst/gstutils.c: (gst_element_seek_simple):
15245         * gst/gstutils.h:
15246           API: add gst_element_seek_simple() (#342238).
15247
15248 2006-05-18  Edward Hervey  <edward@fluendo.com>
15249
15250         * gst/gsttypefind.c: (gst_type_find_get_type):
15251         * gst/gsttypefind.h:
15252         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15253         registered for GstTypeFind pointers. This allows wrapping the structure
15254         in bindings (i.e. gst-python).
15255
15256 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15257
15258         * gst/gsttagsetter.c:
15259           Docs additions and fixes (see #339918).
15260
15261 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15262
15263         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15264         The caps intersection algorithm can produce multiple copies of the
15265         caps. Until that is fixed, we need to simplify the result to be
15266         sure whether the allowed caps are fixed or not.
15267
15268         * plugins/elements/gstqueue.c: (gst_queue_init),
15269         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15270         (gst_queue_push_one):
15271         Proxied buffer alloc should not set the caps on the source pad.
15272         When pushing buffers, we always accept the caps change that triggers.
15273         This prevents negotiation errors caused by caps changing mid-stream 
15274         and then being refused on our source pad (because upstream is now
15275         refusing those caps).
15276
15277 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15278
15279         * tests/examples/helloworld/helloworld.c: (main):
15280           Must plug audioconvert and audioresample between decoder
15281           and audio sink.
15282
15283 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15284
15285         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15286         (load_feature), (load_plugin):
15287         Allow empty strings for some of the plugin fields so we don't 
15288         drop valid plugin entries that were written out correctly
15289         (Fixes #341479)
15290
15291 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15292         
15293         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15294           Use g_remove and g_rename instead of remove and rename that don't 
15295           handle utf8 characters. rename was failing for users who had specific
15296           characters in their name then the registry was built at each 
15297           gstreamer init.
15298         * win32/vs6/gst_inspect.dsp:
15299         * win32/vs6/gst_launch.dsp:
15300         * win32/vs6/libgstbase.dsp:
15301         * win32/vs6/libgstcoreelements.dsp:
15302         * win32/vs6/libgstreamer.dsp:
15303           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15304           build of libgstreamer and clean unused libraries in projects link 
15305           settings.
15306
15307 2006-05-17  Edward Hervey  <edward@fluendo.com>
15308
15309         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15310         The queue is not responsible for pushing an EOS when receiving a fatal
15311         flow error. It's up to the real element driving the pipeline to do that.
15312
15313 2006-05-16  Edward Hervey  <edward@fluendo.com>
15314
15315         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15316         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15317         buffer returned a fatal error. It should just send an EOS and stop
15318         its task.
15319         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15320         when pushing buffers on the queue and will be able to handle the event.
15321
15322 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15323
15324         * docs/manual/basics-bins.xml:
15325         * docs/manual/basics-init.xml:
15326           Fix typos and minor errors in sample code (#341856).
15327
15328 2006-05-16  Wim Taymans  <wim@fluendo.com>
15329
15330         * docs/design/part-qos.txt:
15331         Fix indexes in formulas to make more sense.
15332
15333 2006-05-15  Wim Taymans  <wim@fluendo.com>
15334
15335         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15336         Don't report POSITION based on clock time if sync is
15337         disabled in a sink.
15338
15339 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15340
15341         * gst/gstobject.h:
15342           Add cast to make compiler happy - refcount variable was a gint
15343           in GstObject but is a guint in GObject and g_atomic_int_get()
15344           wants a gint *.
15345
15346 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15347
15348         * gst/parse/Makefile.am:
15349           chain commands using &&, which also makes parallel make work
15350
15351 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15352
15353         * docs/gst/gstreamer-sections.txt:
15354         * gst/gstevent.c:
15355         * gst/gstevent.h:
15356         * gst/gstmessage.h:
15357           Minor docs fixes.
15358
15359 === release 0.10.6 ===
15360
15361 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15362
15363         * configure.ac:
15364           releasing 0.10.6, "Take the cannoli"
15365
15366 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15367
15368         * tools/gst-launch.c: (print_tag):
15369           Fix use of uninitialized variable in the hypothetical
15370           case that some broken plugin creates a GST_TAG_IMAGE
15371           tag containing a NULL buffer (#341667).
15372
15373 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15374
15375         * tools/gst-launch.c: (print_tag):
15376           Print something more intelligible for image tags when
15377           using the -t switch (#341556).
15378
15379 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15380
15381         * Makefile.am:
15382           updates for win32
15383         * configure.ac:
15384           define GST_MAJORMINOR so we have it available in win32/common/config.h
15385           Possibly remove it from our Makefile.am files later
15386         * win32/common/config.h:
15387         * win32/common/config.h.in:
15388           added GST_MAJORMINOR
15389         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15390         * win32/common/gstversion.h:
15391           updated
15392
15393 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15394
15395         * win32/MANIFEST:
15396           Update win32 files listing.
15397         * win32/common/gstversion.h:
15398           Add GST_MAJORMINOR definition.
15399         * win32/common/libgstreamer.def:
15400           Add new exported functions.
15401           
15402 2006-05-12  Michael Smith  <msmith@fluendo.com>
15403
15404         * gst/gstplugin.c: (gst_plugin_load_file):
15405           If an so file has no plugin entry point, unload the module.
15406
15407 2006-05-11  Wim Taymans  <wim@fluendo.com>
15408
15409         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15410         (gst_queue_set_property):
15411         Don't forget to signal the _chain or _loop function 
15412         when the queue size or thresholds change since that might
15413         cause them to make progres again.
15414
15415 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15416
15417         * gst/gstclock.c: (gst_clock_class_init):
15418         * gst/gstindex.c: (gst_index_class_init):
15419         * gst/gstobject.c: (gst_object_class_init):
15420         * gst/gstpad.c: (gst_pad_class_init):
15421         * gst/gstpipeline.c: (gst_pipeline_class_init):
15422         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15423         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15424         * libs/gst/base/gstbasetransform.c:
15425         (gst_base_transform_class_init):
15426         * libs/gst/net/gstnetclientclock.c:
15427         (gst_net_client_clock_class_init):
15428         * libs/gst/net/gstnettimeprovider.c:
15429         (gst_net_time_provider_class_init):
15430         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15431         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15432         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15433         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15434         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15435         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15436         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15437         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15438         * plugins/elements/gsttee.c: (gst_tee_class_init):
15439         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15440         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15441           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15442
15443 2006-05-11  Wim Taymans  <wim@fluendo.com>
15444
15445         * gst/gstbuffer.c: (_gst_buffer_initialize):
15446         Register subbufer along with the buffer type so that
15447         it does not accidentally gets registered from N
15448         different streaming threads in a non threadsafe way.
15449
15450 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15451
15452         * gst/gstbuffer.h:
15453         * gst/gstevent.h:
15454         * gst/gstmessage.h:
15455           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15456           gst_event_ref() and gst_message_ref() functions again
15457           (ugly hack, please do fix if there's a better way besides
15458           overrides.txt, which doesn't seem to work).
15459
15460 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15461
15462         * libs/gst/check/gstcheck.h:
15463           add an assert for setting state to avoid lots of repetitive code
15464           in the future
15465
15466 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15467
15468         * gst/gstvalue.c: (gst_value_serialize_flags):
15469           fix a leak if no flags are set
15470         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15471           fix leak in tests
15472
15473 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15474
15475         * docs/manual/basics-pads.xml:
15476           Expand a bit on caps and filtered links and update
15477           examples that were still using the no longer existing
15478           gst_pad_link_filtered() (#338206).
15479
15480 2006-05-10  Wim Taymans  <wim@fluendo.com>
15481
15482         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15483         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15484         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15485         (gst_collect_pads_stop):
15486         * libs/gst/base/gstcollectpads.h:
15487         No need to call _stop in _finalize.
15488         Iterate the main pad list in _finalize.
15489         Added some more debug.
15490         Free lists and data in the right order.
15491         Also free data whem doing _remove_pad when stopped for
15492         backward compatibility protect ::started with PAD_LOCK as
15493         well.
15494
15495 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15496
15497         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15498         (gst_structure_parse_value):
15499           add some comments
15500           rename a method so that it actually says what it does better
15501
15502 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15503
15504         * gst/gstevent.c: (_gst_event_initialize):
15505         * gst/gstformat.c: (_gst_format_initialize):
15506           make sure some essential types used by events are registered
15507           as part of gst_init()
15508         * gst/gstvalue.c: (gst_value_serialize_flags):
15509           if no flags are set, serialize them to a value that represents NONE
15510           so that deserializing them works
15511         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15512           add tests for serialization and deserialization of flags
15513
15514 2006-05-10  Wim Taymans  <wim@fluendo.com>
15515
15516         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15517         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15518         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15519         (gst_collect_pads_event), (gst_collect_pads_chain):
15520         Update docs.
15521         Better debug info.
15522         Catch and return errors from the collect function
15523         Refuse data on eos pads.
15524
15525 2006-05-10  Edward Hervey  <edward@fluendo.com>
15526
15527         * gst/gstinterface.h:
15528         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15529         GInterface type checking.
15530         They were previously using non-defined macros.
15531
15532 2006-05-09  Wim Taymans  <wim@fluendo.com>
15533
15534         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15535         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15536         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15537         (gst_collect_pads_start), (gst_collect_pads_stop),
15538         (gst_collect_pads_peek), (gst_collect_pads_pop),
15539         (gst_collect_pads_available), (gst_collect_pads_read),
15540         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15541         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15542         (gst_collect_pads_chain):
15543         * libs/gst/base/gstcollectpads.h:
15544         Clean up the mess that is collectpads, add comments and
15545         FIXMEs where needed.
15546         Maintain a separate pad list so we can add pads while
15547         collecting the other ones. For this we need a new separate 
15548         lock (see comics).
15549         Fix memory leak in finalize.
15550         Refactor some weird code to set/unset pad flushing flags, mark
15551         with comments.
15552         Don't crash in _available, _read, _flush when we're EOS.
15553
15554         * tests/check/libs/.cvsignore:
15555         Ignore adapter check binary.
15556
15557 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15558
15559         * gst/gstindex.c: (gst_index_resolver_get_type):
15560         * plugins/elements/gstfakesink.c:
15561         (gst_fake_sink_state_error_get_type):
15562         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15563         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15564         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15565           Const-ify GEnumValue arrays.
15566
15567 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15568
15569         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15570           Add test case for flags + gst_buffer_make_metadata_writable().
15571
15572 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15573
15574         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15575           gst_buffer_make_metadata_writable() should maintain the
15576           buffer flags (those that make sense at least) (see #340859).
15577
15578 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15579
15580         * tools/gst-inspect.c:
15581         * tools/gst-launch.c:
15582         * tools/gst-typefind.c:
15583         * tools/gst-xmlinspect.c:
15584         * tools/tools.h:
15585           Fix up includes: need to include stdlib.h in tools.h for exit().
15586
15587 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15588
15589         * gst/gsttaglist.c: (_gst_tag_initialize):
15590         * gst/gsttaglist.h:
15591           API: add GST_TAG_IMAGE tag (#340721).
15592
15593 2006-05-08  Wim Taymans  <wim@fluendo.com>
15594
15595         * gst/gstquery.c:
15596         Added some docs for the segment query.
15597
15598 2006-05-08  Wim Taymans  <wim@fluendo.com>
15599
15600         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15601         (gst_base_src_loop), (gst_base_src_change_state):
15602         Always push non-flushing serialized events in the streaming 
15603         thread.
15604
15605 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15606
15607         * gst/gsterror.c: (_gst_stream_errors_init):
15608           Add a missing error string.
15609
15610 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15611
15612         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15613         Add applied_rate to the debug
15614
15615         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15616         Copy applied_rate into the outgoing NEWSEGMENT event
15617
15618 2006-05-08  Wim Taymans  <wim@fluendo.com>
15619
15620         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15621
15622         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15623         (gst_base_sink_change_state):
15624         call ::unlock before taking the PREROLL_LOCK so we can safely
15625         handle elements that lock in ::render.
15626         Fixes #340174.
15627
15628 2006-05-08  Edward Hervey  <edward@fluendo.com>
15629
15630         * autogen.sh: (CONFIGURE_DEF_OPT): 
15631         Darwin's libtoolize is in fact called glibtoolize.
15632         Adding glibtoolize to the list of accepted names for libtoolize.
15633
15634 2006-05-08  Wim Taymans  <wim@fluendo.com>
15635
15636         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15637         Unify error handling, don't post an error message
15638         when a push() returns EOS but perform our normal EOS
15639         handling code. Fixes #340772.
15640
15641 2006-05-08  Wim Taymans  <wim@fluendo.com>
15642
15643         * docs/design/part-overview.txt:
15644         Make upsteam/downstream concepts more clear.
15645         Give an example of serialized/non-serialized events.
15646
15647         * docs/design/part-events.txt:
15648         * docs/design/part-streams.txt:
15649         Mention applied_rate.
15650
15651         * docs/design/part-trickmodes.txt:
15652         Mention applied rate, flesh out some more use cases.
15653
15654         * gst/gstevent.c: (gst_event_new_new_segment),
15655         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15656         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15657         (gst_event_parse_tag), (gst_event_new_buffer_size),
15658         (gst_event_parse_buffer_size), (gst_event_new_qos),
15659         (gst_event_parse_qos), (gst_event_parse_seek),
15660         (gst_event_new_navigation):
15661         * gst/gstevent.h:
15662         Add applied_rate field to NEWSEGMENT event.
15663         API: gst_event_new_new_segment_full()
15664         API: gst_event_parse_new_segment_full()
15665
15666         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15667         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15668         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15669         * gst/gstsegment.h:
15670         Add applied_rate to GstSegment structure.
15671         Make calculation of stream_time and running_time more correct
15672         wrt rate/applied_rate.
15673         Add some more docs.
15674         API: GstSegment::applied_rate field
15675         API: gst_segment_set_newsegment_full();
15676
15677         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15678         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15679         * libs/gst/base/gstbasetransform.c:
15680         (gst_base_transform_sink_eventfunc),
15681         (gst_base_transform_handle_buffer):
15682         Parse and use applied_rate in the GstSegment field.
15683
15684         * tests/check/gst/gstevent.c: (GST_START_TEST):
15685         Add check for applied_rate field.
15686
15687         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15688         (gstsegments_suite):
15689         Add more checks for various GstSegment operations.
15690
15691 2006-05-08  Wim Taymans  <wim@fluendo.com>
15692
15693         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15694         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15695         (gst_base_sink_get_position), (gst_base_sink_change_state):
15696         Store the sync time of the buffer end position separatly in a
15697         new variable eos_rtime so we can properly sync the EOS event.
15698         Fixes #340697.
15699         Fix the docs for gst_base_sink_set_qos_enabled().
15700         Don't set segment start to invalid value when we receive a 
15701         non TIME newsegment.
15702         get closer to handling position reporting for negative rates 
15703         correctly.
15704
15705 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15706
15707         * gst/gstcaps.c:
15708         Docs about how to print caps for debug purposes.
15709
15710         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15711         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15712
15713 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15714
15715         * gst/gstelement.c:
15716           use full enum names and preprend a '%' in docs strings to make recent 
15717           gtk-doc turn that into a link
15718
15719 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15720
15721         * docs/manual/basics-bins.xml:
15722         * docs/manual/basics-bus.xml:
15723         * docs/manual/basics-pads.xml:
15724           Some typo fixes, some additions, some clarifications. 
15725
15726 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15727
15728         * tools/gst-inspect.c: (main):
15729         * tools/gst-launch.c: (main):
15730         * tools/gst-run.c: (main):
15731         * tools/gst-typefind.c: (main):
15732         * tools/gst-xmlinspect.c: (main):
15733           Use the string passed to g_option_context_new() for
15734           what it's intended for - the program name is already
15735           printed elsewhere.
15736
15737 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15738
15739         * tools/Makefile.am:
15740         * tools/gst-inspect.c: (main):
15741         * tools/gst-launch.c: (main):
15742         * tools/gst-xmlinspect.c: (main):
15743         * tools/tools.h:
15744           Add back --version command line option (#340460).
15745
15746         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15747           Add --version option and use GOption for argument parsing; refactor a
15748           bit; accept directories as arguments and recurse into them; lastly,
15749           print a decent error message when things go wrong.
15750
15751 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15752
15753         * docs/manual/basics-bins.xml:
15754         Don't mention GstThread (#340611)
15755         * docs/manual/basics-elements.xml:
15756         Update link to GObject tutorial (#340607)
15757         
15758 2006-05-05  Wim Taymans  <wim@fluendo.com>
15759
15760         * gst/gstbuffer.h:
15761         * gst/gstminiobject.c:
15762         Add note about refcounting and miniobject/buffer writeability
15763         to docs. Fixes #340604
15764
15765         * gst/gstelementfactory.h:
15766         Added some explanation about @klass.
15767
15768 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15769
15770         * docs/manual/intro-motivation.xml:
15771         * docs/manual/manual.xml:
15772         Avoid CORBA & Bonobo references (#340598)
15773
15774 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15775
15776         * docs/manual/basics-bus.xml:
15777         * docs/manual/basics-pads.xml:
15778         Fix up some inaccuracies and omissions (#340609)
15779         
15780 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15781
15782         * gst/gstghostpad.c:
15783           Small typo in docs (#340625)
15784
15785 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15786
15787         * gst/parse/Makefile.am:
15788           Make 'make -j' proof (see #340698).
15789
15790 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15791
15792         * configure.ac:
15793           Require GLib-2.8 here as well.
15794
15795 2006-05-05  Wim Taymans  <wim@fluendo.com>
15796
15797         * gst/glib-compat.c:
15798         * gst/gst.c: (init_pre):
15799         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15800         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15801         (gst_object_dispatch_properties_changed):
15802         * gst/gstobject.h:
15803         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15804         * gst/gststructure.c: (gst_structure_set_valist):
15805         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15806         Remove pre glib2.8 compatibility, fixes #340508
15807
15808 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15809
15810         * gst/gsttaglist.h:
15811           Mention type of tags in doc blurbs.
15812
15813 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15814
15815         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15816         (gst_pad_configure_src), (gst_pad_push):
15817         Restore acceptcaps checking behaviour now that good plugins have
15818         been released.
15819
15820 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15821
15822         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15823
15824         * gst/gst.c:
15825         * gst/gstbus.c:
15826         * gst/gstclock.c:
15827         * gst/gstevent.c:
15828         * gst/gstformat.c:
15829         * gst/gstmessage.c:
15830         * gst/gstparse.c:
15831         * gst/gstquery.c:
15832         * gst/gstutils.c:
15833         * gst/parse/Makefile.am:
15834         * libs/gst/base/gstadapter.c:
15835         * libs/gst/base/gstbasesrc.c:
15836         * libs/gst/base/gstpushsrc.c:
15837         * libs/gst/base/gsttypefindhelper.c:
15838         * plugins/elements/gstfakesrc.c:
15839         * plugins/elements/gstidentity.c:
15840           Make sure gstprivate.h and/or config.h are
15841           always included first, otherwise some of our
15842           defines (like _FILE_OFFSET_BITS) might be
15843           redefined in the system headers. Fixes build
15844           on opensolaris (#340016).
15845
15846 2006-05-04  Wim Taymans  <wim@fluendo.com>
15847
15848         * docs/libs/gstreamer-libs-sections.txt:
15849         API: addition: gst_adapter_take_buffer()
15850         
15851         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15852         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15853         (gst_adapter_available_fast):
15854         * libs/gst/base/gstadapter.h:
15855         Prepare for optimizing the hell out of this hugely inefficient
15856         piece of code. 
15857         Added gst_adapter_take_buffer() so we can at least start thinking
15858         about subbuffering and merging.
15859         Added some comments.
15860
15861         * tests/check/Makefile.am:
15862         * tests/check/libs/adapter.c: (GST_START_TEST),
15863         (gst_adapter_suite), (main):
15864         Added GstAdapter check.
15865
15866 2006-05-04  Wim Taymans  <wim@fluendo.com>
15867
15868         * docs/design/part-overview.txt:
15869         Fix some typos, add blurb about buffer flags.
15870
15871 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15872
15873         * docs/libs/gstreamer-libs-sections.txt:
15874           make sure GstBaseTransformClass shows up in the docs
15875         * libs/gst/base/gstbasetransform.c:
15876         * libs/gst/base/gstbasetransform.h:
15877           move docs so gtk-doc picks it up now
15878
15879 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15880
15881         * docs/libs/gstreamer-libs-sections.txt:
15882           add missing symbols to docs
15883
15884 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15885
15886         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15887           back out the newsegment handling change, see #340060 for ongoing
15888           discussion
15889
15890 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15891
15892         * tools/gst-run.c: (get_candidates), (main):
15893           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15894           work); fix typo in error message. Fixes #340079.
15895
15896 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15897
15898         * common/Makefile.am:
15899         * docs/Makefile.am:
15900         * docs/faq/Makefile.am:
15901         * docs/gst/Makefile.am:
15902         * docs/libs/Makefile.am:
15903         * docs/manual/Makefile.am:
15904         * docs/plugins/Makefile.am:
15905         * docs/pwg/Makefile.am:
15906         * docs/slides/Makefile.am:
15907         * docs/upload.mak:
15908         * common/upload.mak:
15909           move upload.mak to common
15910
15911 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15912
15913         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15914           add more asserts on refcounts
15915           do more cleanup at end of tests
15916           fix test leaks showing in FC5
15917
15918 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15919
15920         * plugins/elements/gsttypefindelement.c:
15921         (gst_type_find_element_handle_event):
15922         reverted wrong change and reflowed code to avoid others falling into
15923         this trap
15924
15925 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15926
15927         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15928           fix changelog entry about last collectpads change,
15929           add notes about proper fix
15930
15931 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15932
15933         * gst/gst.c:
15934         * gst/gstregistry.c: (gst_registry_scan_path_level),
15935         (gst_registry_scan_path):
15936         * gst/gstregistry.h:
15937           only write out registry if it has changed, fixes #338339
15938
15939 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15940
15941         * gst/gstbin.c:
15942         * gst/gstpipeline.c:
15943         * plugins/elements/gstcapsfilter.c:
15944         * plugins/elements/gstfakesink.c:
15945         * plugins/elements/gstfakesrc.c:
15946         * plugins/elements/gstfdsink.c:
15947         * plugins/elements/gstfdsrc.c:
15948         * plugins/elements/gstfilesink.c:
15949         * plugins/elements/gstfilesrc.c:
15950         * plugins/elements/gstidentity.c:
15951         * plugins/elements/gstqueue.c:
15952         * plugins/elements/gsttee.c:
15953         * plugins/elements/gsttypefindelement.c:
15954         (gst_type_find_element_handle_event):
15955           make GstElementDetails const
15956
15957 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15958
15959         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15960         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15961         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15962           more detailed debug and formatting cleanup,
15963           forward newsegments to src-pad (so that e.g. adder not eats them)
15964
15965 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15966
15967         * gst/gstutils.c: (gst_element_link_pads):
15968           cleanup double code
15969
15970 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15971
15972         * libs/gst/controller/gstcontroller.c:
15973         (gst_controller_sync_values):
15974           some little tuning
15975         * tests/check/libs/controller.c: (GST_START_TEST),
15976         (gst_controller_suite):
15977           a new test for live value handling
15978
15979 2006-04-28  Wim Taymans  <wim@fluendo.com>
15980
15981         * gst/gstutils.c: (push_and_ref):
15982         Added some more docs.
15983         Fix refcount issue whith gst_element_found_tags() helper 
15984         function. Fixes #338335
15985
15986         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15987         Added testsuite for gst_element_found_tags().
15988
15989 2006-04-28  Michael Smith  <msmith@fluendo.com>
15990
15991         * gst/gstvalue.c: (gst_value_serialize_flags):
15992           Avoid NULL dereference when trying to serialize flags containing
15993           invalid values.
15994
15995 2006-04-28  Michael Smith  <msmith@fluendo.com>
15996
15997         * plugins/elements/gsttypefindelement.c:
15998         (gst_type_find_element_handle_event):
15999           If we get EOS before any data is accumulated, don't use
16000           uninitialised local variables.
16001
16002 2006-04-28  Michael Smith  <msmith@fluendo.com>
16003
16004         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
16005         (gst_dp_event_from_packet):
16006           Fixes in reading/writing events over GDP (not currently used?) - 
16007           dereferencing NULL events for unknown/invalid event types, memory
16008           leak, and change g_warning to GST_WARNING.
16009
16010 2006-04-28  Wim Taymans  <wim@fluendo.com>
16011
16012         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
16013         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16014         (gst_base_sink_get_position), (gst_base_sink_change_state):
16015         When frame dropping is enabled, we should not ignore frames
16016         without a duration.
16017         Update some documentation.
16018
16019 2006-04-28  Wim Taymans  <wim@fluendo.com>
16020
16021         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16022         (gst_base_src_send_event), (gst_base_src_change_state):
16023         Documentation updates.
16024
16025 2006-04-28  Wim Taymans  <wim@fluendo.com>
16026
16027         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
16028         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
16029         handle EAGAIN, EINTR and short writes correctly. Also clean
16030         up some error cases, avoid a deadlock on bad file descriptors and
16031         use GST_DEBUG_OBJECT.
16032         Fixes #339843
16033
16034 2006-04-28  Wim Taymans  <wim@fluendo.com>
16035
16036         * gst/gstvalue.c: (gst_value_serialize_buffer),
16037         (gst_value_deserialize_buffer):
16038         Don't try to serialize a GValue with a NULL buffer. 
16039         Fixes #339821.
16040
16041         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16042         Added check for serialisation of NULL buffers.
16043
16044 2006-04-28  Wim Taymans  <wim@fluendo.com>
16045
16046         * gst/gstminiobject.c: (gst_value_take_mini_object):
16047         Taking a NULL miniobject is valid, fix the case where
16048         we try to unref the NULL miniobject.
16049
16050 2006-04-28  Wim Taymans  <wim@fluendo.com>
16051
16052         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
16053
16054         * gst/gstbin.c: (gst_bin_handle_message_func):
16055         Update docs.
16056         Don't leak bin refcount when a state recalc is
16057         in progress and we delay another one #339808.
16058
16059 2006-04-28  Wim Taymans  <wim@fluendo.com>
16060
16061         * docs/design/part-TODO.txt:
16062         Mention QoS as an ongoing work item.
16063
16064         * docs/design/part-buffering.txt:
16065         New doc about buffering that needs to be fleshed out
16066         at some point.
16067
16068         * docs/design/part-qos.txt:
16069         More QoS policy for decoders/demuxers/transforms
16070
16071         * docs/design/part-trickmodes.txt:
16072         Small update.
16073
16074 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16075
16076         * configure.ac:
16077           back to HEAD
16078
16079 === release 0.10.5 ===
16080
16081 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
16082
16083         * configure.ac:
16084           releasing 0.10.5, "Fogo"
16085
16086 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16087
16088         patch by: Wim Taymans
16089
16090         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16091         (gst_pad_configure_src), (gst_pad_push):
16092         * gst/gstpipeline.c: (gst_pipeline_init):
16093           Fix internal data flow errors.  Fixes #338711.
16094
16095 2006-04-12  Wim Taymans  <wim@fluendo.com>
16096
16097         * tests/check/gst/gstelement.c: (GST_START_TEST):
16098         Don't leak the factory.
16099
16100 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16101
16102         * configure.ac:
16103         * win32/common/config.h:
16104           prerelease
16105
16106 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16107
16108         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16109         (gst_controller_unset_all):
16110           Free allocated GstTimedValues when freeing list nodes.
16111           Should fix leaks 'make check-valgrind' complains about.
16112
16113         * win32/common/libgstcontroller.def:
16114           Add gst_controller_unset_all.
16115
16116 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16117
16118         * docs/libs/gstreamer-libs-sections.txt:
16119         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16120         (gst_controller_unset_all):
16121         * libs/gst/controller/gstcontroller.h:
16122         API: Added new method gst_controller_unset_all()
16123         fixed gst_controller_unset()
16124         * tests/check/libs/controller.c: (GST_START_TEST),
16125         (gst_controller_suite):
16126         Added two testcases for new and fixed method
16127
16128 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16129
16130         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16131           MSG_DONTWAIT is not defined on Cygwin, so work
16132           around that (fixes #317048).
16133           
16134 2006-04-11  Wim Taymans  <wim@fluendo.com>
16135
16136         * gst/gstelementfactory.c: (gst_element_register),
16137         (gst_element_factory_create), (gst_element_factory_make):
16138         Some cleanups.
16139         Fixed a FIXME.
16140         Updated docs (Fixes #131079)
16141
16142         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16143         Small cleanups.
16144
16145         * tests/check/gst/gstelement.c: (GST_START_TEST),
16146         (gst_element_suite):
16147         Added testcase for elementfactory class field.
16148
16149 2006-04-10  Wim Taymans  <wim@fluendo.com>
16150
16151         * gst/gstsegment.c:
16152         Added some more docs.
16153
16154         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16155         (gst_base_sink_reset_qos):
16156         Calculate more accurate rate values.
16157
16158 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16159
16160         * gst/gst_private.h:
16161           add a new #ifdef to use __declspec(dllimport) only for
16162           other modules and not for gstreamer core
16163         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16164           use gst_guint64_to_gdouble for conversion
16165         * win32/common/libgstreamer.def:
16166           add new exported functions
16167         * win32/vs6/gst_inspect.dsp:
16168         * win32/vs6/gst_launch.dsp:
16169         * win32/vs6/libgstbase.dsp:
16170         * win32/vs6/libgstcontroller.dsp:
16171         * win32/vs6/libgstcoreelements.dsp:
16172         * win32/vs6/libgstdataprotocol.dsp:
16173         * win32/vs6/libgstnet.dsp:
16174           update project files
16175
16176 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16177
16178         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16179         * gst/gstclock.c: (gst_clock_class_init):
16180         * gst/gstelement.c: (gst_element_class_init):
16181         * gst/gstindex.c: (gst_index_class_init):
16182         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16183         * gst/gstobject.c: (gst_object_class_init),
16184         (gst_signal_object_class_init):
16185         * gst/gstpad.c: (gst_pad_class_init):
16186         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16187         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16188         * gst/gstregistry.c: (gst_registry_class_init):
16189         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16190         * gst/gsttask.c: (gst_task_class_init):
16191         * gst/gstxml.c: (gst_xml_class_init):
16192         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16193         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16194         (gst_base_src_loop):
16195         * libs/gst/controller/gstcontroller.c:/
16196         (_gst_controller_class_init):
16197         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16198         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16199         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16200         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16201         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16202         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16203
16204 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16205
16206         * gst/gstpad.c: (gst_pad_link):
16207           Must set peer pads before calling the link function, otherwise
16208           a task started from a link function might get a flow-not-linked
16209           result when trying to push because the other thread where the
16210           linking happens hasn't had a chance to set the peers yet. This
16211           might happen for example when a queue gets linked to a downstream
16212           element, as queue starts a streaming task when its source pad
16213           gets linked. Happens in real life when playing back flac/musepack
16214           files in playbin (#332390).
16215           
16216 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16217
16218         * gst/gstindex.h:
16219         * gst/gstxml.h:
16220         * libs/gst/base/gstadapter.h:
16221         * libs/gst/base/gstbasesink.h:
16222         * libs/gst/base/gstbasesrc.h:
16223         * libs/gst/base/gstbasetransform.h:
16224         * libs/gst/base/gstcollectpads.h:
16225         * libs/gst/base/gstpushsrc.h:
16226         Fix broken GObject macros
16227
16228 2006-04-07  Wim Taymans  <wim@fluendo.com>
16229
16230         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16231         Initialize start and stop times, thanks valgrind.
16232
16233 2006-04-07  Wim Taymans  <wim@fluendo.com>
16234
16235         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16236         Be a bit nicer to badly behaving upstream elements that expect
16237         us to deal with non TIME segments and timestamps (such as fakesrc
16238         in the testsuite).
16239
16240 2006-04-07  Wim Taymans  <wim@fluendo.com>
16241
16242         * gst/gstbus.c:
16243         Small documentation clarification about the signal watch.
16244
16245         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16246         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16247         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16248         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16249         (gst_base_sink_get_position_last),
16250         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16251         Convert and store timestamps in stream time and running time, the
16252         raw timestamps are not useful, also document this better.
16253         Use different window sizes for good and bad QoS observations so
16254         we react to badness a little quicker.
16255         Keep track of the amount of rendered and dropped buffers.
16256         Send QoS timestamps in running time.
16257
16258         * libs/gst/base/gstbasetransform.c:
16259         (gst_base_transform_sink_eventfunc),
16260         (gst_base_transform_handle_buffer):
16261         Compare QoS timestamps against running time.
16262
16263 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16264
16265         * gst/gstpad.c:
16266           Typo fixes in docs.
16267
16268 2006-04-06  Michael Smith  <msmith@fluendo.com>
16269
16270         * gst/gstpad.c: (gst_pad_set_property):
16271           Use g_value_get_object() instead of g_value_dup_gst_object(),
16272           to avoid double-reffing the pad template (which we then sink,
16273           so this worked previously if (and only if) the pad template
16274           was floating.
16275
16276         * gst/gstpadtemplate.c: (gst_pad_template_init),
16277         (gst_pad_template_pad_created):
16278           Never return floating references to pad templates, create
16279           them as initially-sunken.
16280
16281           Document an extra function (and make this stop sinking our
16282           pad template, since that is now guaranteed to do nothing,
16283           since we created it sunken).
16284
16285         * gst/gstghostpad.c:
16286           Fix docs typo.
16287
16288 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16289
16290         * gst/gstinfo.c: (__gst_in_valgrind):
16291           Add some newlines.
16292
16293         * plugins/elements/gsttypefindelement.c:
16294         (gst_type_find_element_chain):
16295           Don't leak buffer caps.
16296
16297 2006-04-06  Michael Smith  <msmith@fluendo.com>
16298
16299         * gst/parse/grammar.y:
16300           Fix a leak in parse-launch for any source-or-sink named element 
16301           references used.
16302
16303         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16304           Unref the pipeline if it exists after we've failed parsing.
16305
16306 2006-04-05  Michael Smith  <msmith@fluendo.com>
16307
16308         * gst/gstpipeline.c: (gst_pipeline_init):
16309           When we create a pipeline bus, initially create it in flushing mode.
16310           Fixes leaks in at least one test, and makes a new pipeline work the
16311           same as one that has gone to READY and then back to NULL.
16312
16313         * gst/gstelement.c:
16314           Typo fix in docs.
16315
16316 2006-04-05  Michael Smith  <msmith@fluendo.com>
16317
16318         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16319           Unref a pad we reffed.
16320         * tests/check/gst/gstutils.c: (GST_START_TEST):
16321           Unref bins
16322
16323 2006-04-05  Michael Smith  <msmith@fluendo.com>
16324
16325         * gst/gstquery.c: (gst_query_set_formats),
16326         (gst_query_set_formatsv):
16327           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16328
16329 2006-04-05  Michael Smith  <msmith@fluendo.com>
16330
16331         * tests/check/generic/sinks.c: (GST_START_TEST):
16332           Fix a variety of memleaks in sinks check, which are only sometimes 
16333           shown by running the tests under valgrind (weird?).
16334
16335 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16336
16337         * docs/version.entities.in:
16338           Fix the substituted entity name after thomas' changes on the
16339           weekend.
16340
16341 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16342
16343         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16344         VALGRIND_PRINTF
16345         
16346 2006-04-05  Andy Wingo  <wingo@pobox.com>
16347
16348         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16349
16350         * libs/gst/base/gstbasetransform.c
16351         (gst_base_transform_sink_eventfunc): When resetting our segment on
16352         FLUSH_STOP, also update the flag saying we haven't seen a
16353         newsegment.
16354
16355 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16356
16357         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16358
16359         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16360         (gst_plugin_check_license):
16361           minor clean-ups: G_DEFINE_TYPE already takes care of the
16362           parent_class stuff, no need to do it twice. Mark array of
16363           license strings as constant. (#337103)
16364           
16365 2006-04-04  Michael Smith  <msmith@fluendo.com>
16366
16367         * tools/gst-inspect.c: (print_element_list):
16368           Free the right plugin list; fixes a memory leak.
16369
16370 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16371
16372         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16373
16374         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16375           Don't error out on empty buffers (#336945).
16376           
16377 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16378
16379         * docs/libs/gstreamer-libs-sections.txt:
16380         * gst/gsttaglist.c:
16381         * libs/gst/base/gstbasesink.c:
16382         * libs/gst/base/gstbasesink.h:
16383         * libs/gst/base/gstbasesrc.c:
16384         * libs/gst/base/gstbasesrc.h:
16385           Documentation updates. Make BaseSink and BaseSrc docs contain the
16386           class structure so that people can actually see the prototypes for
16387           virtual functions they're supposed to be overriding.
16388
16389 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16390
16391         * plugins/elements/gsttypefindelement.c:
16392         (gst_type_find_element_chain):
16393           More debug info; when skipping typefinding, send cached
16394           events in all cases.
16395
16396 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16397
16398         * configure.ac:
16399           use new AS_VERSION and AS_NANO macros
16400         * gst/gst-i18n-lib.h:
16401         * gst/gst.c:
16402         * gst/gsterror.c:
16403         * gst/gstversion.h.in:
16404         * win32/common/config.h:
16405         * win32/common/config.h.in:
16406           update accordingly
16407
16408 2006-03-31  Michael Smith  <msmith@fluendo.com>
16409
16410         * plugins/elements/gsttypefindelement.c:
16411         (gst_type_find_element_chain):
16412           Do not typefind content if the buffers already have caps.
16413           Neccesary for icydemux (#333657), and the right thing to do anyway.
16414
16415 2006-03-30  Wim Taymans  <wim@fluendo.com>
16416
16417         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16418         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16419         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16420         (gst_base_sink_record_qos_observation),
16421         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16422         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16423         (gst_base_sink_change_state):
16424         More QoS measurements as described in the design doc.
16425         Get rid of ringbuffer with observations, running average is
16426         more simple and equally good.
16427         Calculates valid proportion now.
16428         Added beginning of flood measurement.
16429
16430 2006-03-29  Wim Taymans  <wim@fluendo.com>
16431
16432         * docs/design/part-qos.txt:
16433         * gst/gstclock.c:
16434         Small documentation updates and additions.
16435
16436 2006-03-29  Wim Taymans  <wim@fluendo.com>
16437
16438         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16439         (gst_base_src_send_event), (gst_base_src_loop),
16440         (gst_base_src_change_state):
16441         Perform the EOS logic when we reach the segment stop position.
16442         Fix compilation on gcc4.1
16443
16444 2006-03-29  Wim Taymans  <wim@fluendo.com>
16445
16446         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16447
16448         * plugins/elements/gstqueue.c: (gst_queue_init),
16449         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16450         (gst_queue_set_property):
16451         * plugins/elements/gstqueue.h:
16452         In queue, when EOS is received, if minimum threshold > max_size -
16453         current_level, there is chance that queue blocks forever in conditional
16454         item del wait. This is because the queue is not emptied completely due
16455         to minimum threshold.  Here is another approach. Instead of setting
16456         cur_levels to max in EOS, just zero all minimum threshold levels. This
16457         should make sure that queue gives out all data. When going to READY
16458         (stop) state, just reset the original minimum threshold levels.
16459         Fixes #336336.
16460
16461 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16462
16463         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16464         (gst_type_find_element_handle_event),
16465         (gst_type_find_element_send_cached_events),
16466         (gst_type_find_element_change_state):
16467         * plugins/elements/gsttypefindelement.h:
16468           When typefinding is done in push mode, we should cache
16469           events we receive during typefinding instead of just
16470           dropping them (e.g. newsegment, custom events from
16471           dvdreadsrc etc.) and then send them out once we've
16472           determined the type of the stream (and decodebin
16473           has had a chance to plug in a decoder/demuxer).
16474           
16475 2006-03-27  Wim Taymans  <wim@fluendo.com>
16476
16477         * docs/design/part-qos.txt:
16478         First QoS ideas.
16479
16480 2006-03-27  Wim Taymans  <wim@fluendo.com>
16481
16482         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16483
16484         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16485         (gst_base_src_send_event), (gst_base_src_change_state):
16486         Handle element seek correctly when we are streaming.
16487         Fixes #326998.
16488
16489 2006-03-24  Michael Smith  <msmith@fluendo.com>
16490
16491         * docs/faq/gst-uninstalled:
16492           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16493           allow you to correctly run intalled applications built against old 
16494           core, using plugins that require updated core (e.g. running
16495           installed totem against a full uninstalled gstreamer stack)
16496
16497 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16498
16499         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16500         more debug details
16501
16502 2006-03-24  Wim Taymans  <wim@fluendo.com>
16503
16504         * docs/gst/gstreamer-sections.txt:
16505         Rearrange the order of the methods so that related methods
16506         are grouped together in sections.
16507
16508 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16509
16510         * gst/gstelement.c:
16511           Little clarification in the docs
16512
16513 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16514
16515         * docs/README:
16516         formatting fix
16517         * plugins/elements/gstidentity.c:
16518         * plugins/elements/gstqueue.c:
16519         * plugins/elements/gsttee.c:
16520         * plugins/elements/gsttypefindelement.c:
16521         GST_ELEMENT_DETAILS formatting
16522
16523 2006-03-24  Wim Taymans  <wim@fluendo.com>
16524
16525         * libs/gst/base/gstbasesink.h:
16526         Only add fields, not insert or we break ABI.
16527
16528 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16529
16530         * win32/common/libgstbase.def:
16531         * win32/common/libgstreamer.def:
16532           Update, add recently added functions.
16533
16534 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16535
16536         * docs/gst/gstreamer-sections.txt:
16537         * gst/gstutils.c: (gst_pad_query_peer_position),
16538         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16539         * gst/gstutils.h:
16540           API: add some new utility functions:
16541            - gst_pad_query_peer_position()
16542            - gst_pad_query_peer_duration()
16543            - gst_pad_query_peer_convert()
16544           
16545 2006-03-23  Wim Taymans  <wim@fluendo.com>
16546
16547         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16548         (gst_base_sink_init), (gst_base_sink_finalize),
16549         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16550         (gst_base_sink_set_property), (gst_base_sink_get_property),
16551         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16552         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16553         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16554         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16555         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16556         (gst_base_sink_preroll_object), (gst_base_sink_event),
16557         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16558         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16559         (gst_base_sink_query), (gst_base_sink_change_state):
16560         Decouple max-lateness and the fact that QoS messages are generated
16561         with a new property (qos).
16562         added API: GstBaseSink::async_play()
16563         Add vmethod so subclasses can be notified of ASYNC playing
16564         state changes.
16565         Collect timestamp start and stop to report better current
16566         position in EOS/PLAYING/PAUSED/READY/NULL.
16567         Refactor QoS/frame dropping and other measurements.
16568         API: GstBaseSrc::qos
16569         Fixes #326311
16570
16571         * libs/gst/base/gstbasesink.h:
16572         Added Private struct.
16573         API: gst_base_sink_set_qos_enabled()
16574         API: gst_base_sink_is_qos_enabled()
16575
16576 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16577
16578         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16579           If compiling against GLib-2.8 or newer, try to read the
16580           registry file using GMappedFile first before falling back
16581           to fopen() + fread() (#332151).
16582
16583 2006-03-22  Wim Taymans  <wim@fluendo.com>
16584
16585         * gst/gstinfo.c: (gst_debug_set_active),
16586         (gst_debug_category_set_threshold):
16587         Disable debugging unless explicitly activated.
16588         Fixes #335480.
16589
16590 2006-03-22  Wim Taymans  <wim@fluendo.com>
16591
16592         * gst/gstelement.c: (gst_element_set_locked_state),
16593         (gst_element_dispose):
16594         Cleanup the error case.
16595
16596         * gst/gstobject.c: (gst_object_dispose):
16597         print a critical when some object was disposed with
16598         a parent, also revive the object since it might
16599         crash the parent.
16600
16601 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16602
16603         * tools/gst-launch.1.in:
16604           Fix another typo.
16605
16606 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16607
16608         * configure.ac:
16609         * tests/check/Makefile.am:
16610           disable some tests when we don't have a registry
16611         * tests/check/gst/gstutils.c: (gst_utils_suite):
16612           don't build the part that needs parsing
16613
16614 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16615
16616         * gst/Makefile.am
16617         * tests/examples/Makefile.am:
16618           fix --disable-parse build
16619
16620 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16621
16622         * tools/gst-feedback.1.in:
16623           Fix typo: s/feeback/feedback/ (#133494).
16624
16625 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16626
16627         * tools/Makefile.am:
16628         * tools/gst-launch.1.in:
16629           Add FILES section and correct entry about GST_REGISTRY_PATH
16630           environment variable (#133495; #133494).
16631
16632 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16633
16634         * tools/Makefile.am:
16635         * tools/gst-md5sum.1.in:
16636         * tools/gst-md5sum.c:
16637           Remove gst-md5sum and man page (the md5sink element
16638           required was removed ages ago)
16639
16640 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * gst/gststructure.c: (gst_structure_id_set_value):
16643           Make sure that string fields in structures/taglists
16644           contain valid UTF-8 - we don't want to pass rubbish to
16645           applications because of a buggy plugin (cp. #334167).
16646
16647 2006-03-21  Edward Hervey  <edward@fluendo.com>
16648
16649         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16650         (gst_bin_handle_message_func):
16651         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16652         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16653         (gst_element_set_bus_func):
16654         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16655         * gst/gstminiobject.c: (gst_value_set_mini_object),
16656         (gst_value_take_mini_object):
16657         * gst/gstpad.c: (gst_pad_set_pad_template):
16658         * gst/gstpipeline.c: (gst_pipeline_dispose),
16659         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16660         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16661         (gst_collect_pads_chain):
16662         * libs/gst/net/gstnettimeprovider.c:
16663         (gst_net_time_provider_set_property):
16664         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16665         It's in fact all issues with gst_*object_replace().
16666
16667 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16668
16669         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16670         
16671         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16672         * pkgconfig/gstreamer-check.pc.in:
16673           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16674
16675 2006-03-21  Edward Hervey  <edward@fluendo.com>
16676
16677         * gst/gstbuffer.h:
16678         * gst/gstevent.h:
16679         * gst/gstmessage.h:
16680         gst_[buffer|event|message]_ref() macros are replaced by a static
16681         inline functions because gcc-4.1 will about if the return value
16682         isn't used.
16683         * tests/check/gst/gstevent.c: (event_probe):
16684         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16685
16686 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16687
16688         * gst/gstutils.h:
16689         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16690         the type' case. (Closes: #335195 for now). In the future, when we
16691         depend on GLib 2.10, we could also intern the type name using
16692         g_intern_static_string()
16693
16694 2006-03-20  Wim Taymans  <wim@fluendo.com>
16695
16696         * gst/gstbin.c: (gst_bin_handle_message_func),
16697         (bin_query_max_init), (bin_query_position_fold),
16698         (bin_query_position_done), (gst_bin_query):
16699         Position query should also take max of all streams.
16700
16701 2006-03-20  Wim Taymans  <wim@fluendo.com>
16702
16703         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16704         (gst_fake_src_finalize):
16705         Fix leaks in fakesrc.
16706
16707         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16708         Fix leaks in the testcase.
16709
16710 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16711
16712         * gst/gst_private.h:
16713           add win32 specific import decoration(__declspec(dllimport)) 
16714           for all extern GstDebugCategory * variables
16715         * win32/common/libgstbase.def:
16716         * win32/common/libgstcontroller.def:
16717         * win32/common/libgstreamer.def:
16718           Add some exports, remove empty lines
16719         * win32/common/libgstdataprotocol.def:
16720         * win32/common/libgstdataprotocol.dsp:
16721         * win32/common/libgstnet.def:
16722         * win32/common/libgstnet.dsp:
16723           new project files and exportation files added
16724         
16725 2006-03-19  Wim Taymans  <wim@fluendo.com>
16726
16727         * tests/check/libs/basesrc.c: (eos_event_counter):
16728         Use proper return value for probe.
16729
16730 2006-03-17  Wim Taymans  <wim@fluendo.com>
16731
16732         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16733         (gst_pad_push):
16734         Don't leak buffers, caps and pads on negotiation errors.
16735
16736 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16737
16738         * docs/faq/cvs.xml:
16739         * docs/faq/dependencies.xml:
16740         * docs/faq/developing.xml:
16741         * docs/faq/faq.xml:
16742         * docs/faq/general.xml:
16743         * docs/faq/getting.xml:
16744         * docs/faq/legal.xml:
16745         * docs/faq/troubleshooting.xml:
16746         * docs/faq/using.xml:
16747         Faq review and update.
16748
16749 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16750
16751         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16752         (gst_pad_push):
16753         Don't pound the cpu to pieces by checking get_caps when accept_caps
16754         is called with the same caps as the pad already has.
16755         Use GST_DEBUG_OBJECT when outputting caps change information.
16756
16757 2006-03-15  Wim Taymans  <wim@fluendo.com>
16758
16759         * gst/gstclock.c: (gst_clock_class_init):
16760         Fix docs.
16761
16762 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16763
16764         * gst/gstbuffer.h:
16765         Documentation fix.
16766
16767         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16768         (gst_pad_accept_caps), (gst_pad_configure_sink),
16769         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16770         Make the default acceptcaps behaviour be to check the requested 
16771         caps against the gst_pad_get_caps output. 
16772
16773         Ensure that gst_pad_accept_caps is used to check caps when a pad
16774         doesn't have a setcaps function, so that pads automatically refuse 
16775         caps that they don't allow in their pad template. (Fixes #332986)
16776
16777         When a buffer with attached caps is pushed, ensure that the source 
16778         pad receives those caps even if the element didn't call
16779         gst_pad_set_caps first.
16780
16781 2006-03-15  Wim Taymans  <wim@fluendo.com>
16782
16783         * libs/gst/base/gstadapter.c:
16784         Add some docs.
16785
16786 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16787
16788         * win32/common/libgstbase.def:
16789         * win32/common/libgstcontroller.def:
16790         * win32/common/libgstreamer.def:
16791           Add a whole bunch of missing functions (#334434).
16792
16793 2006-03-14  Wim Taymans  <wim@fluendo.com>
16794
16795         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16796         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16797         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16798         Better debug info when we receive a segment event.
16799         Reorganize a bit so we can pass the get_times() results around.
16800         Use the segment format when calculating the running time.
16801         Don't do QoS is sync is disabled or we have no clock or the
16802         element does not want us to sync to the clock.
16803         Don't drop buffers if QoS is disabled for now.
16804
16805 2006-03-14  Wim Taymans  <wim@fluendo.com>
16806
16807         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16808         Marked the stats property as unimplemented so people don't get
16809         wild ideas.
16810         Add debug message when regression goes wrong.
16811         Added some more docs.
16812
16813 2006-03-14  Wim Taymans  <wim@fluendo.com>
16814
16815         * gst/gstsegment.c: (gst_segment_to_stream_time):
16816         Return correct return type in case of errors.
16817
16818 2006-03-14  Wim Taymans  <wim@fluendo.com>
16819
16820         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16821           Don't segfault on invalid formats.
16822
16823 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16824
16825         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16826           Can't use gst_segment_to_running_time() when the segment
16827           is not in GST_TIME_FORMAT (like with filesink, for example).
16828           Stops flac encoding pipelines from spewing critical warnings
16829           at EOS (#331248).
16830           
16831 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16832
16833         * gst/gstpipeline.c: (gst_pipeline_class_init):
16834           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16835
16836         * plugins/elements/gsttypefindelement.c:
16837         (gst_type_find_element_handle_event):
16838           Don't try to typefind empty streams.
16839
16840 2006-03-14  Wim Taymans  <wim@fluendo.com>
16841
16842         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16843         (gst_base_sink_do_qos):
16844         Separate QoS calculation.
16845         Only drop buffers when lateness is bigger than the 
16846         duration of the buffer.
16847
16848 2006-03-13  Wim Taymans  <wim@fluendo.com>
16849
16850         * gst/gstpipeline.c: (gst_pipeline_set_property),
16851         (gst_pipeline_get_property), (do_pipeline_seek),
16852         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16853         (gst_pipeline_get_delay):
16854         Don't deadlock when reading properties.
16855
16856 2006-03-13  Wim Taymans  <wim@fluendo.com>
16857
16858         * libs/gst/base/gstbasetransform.c:
16859         (gst_base_transform_class_init), (gst_base_transform_init),
16860         (gst_base_transform_sink_event),
16861         (gst_base_transform_sink_eventfunc),
16862         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16863         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16864         (gst_base_transform_set_property),
16865         (gst_base_transform_get_property),
16866         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16867         (gst_base_transform_set_qos_enabled),
16868         (gst_base_transform_is_qos_enabled):
16869         * libs/gst/base/gstbasetransform.h:
16870         Make basetransform virtual method for src events too.
16871         Handle QOS in basetransform.
16872         API: gst_base_transform_update_qos()
16873         API: gst_base_transform_set_qos_enabled()
16874         API: gst_base_transform_is_qos_enabled()
16875
16876 2006-03-13  Wim Taymans  <wim@fluendo.com>
16877
16878         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16879         (gst_base_sink_do_sync):
16880         Small cleanups.
16881         Use QOS debug category.
16882
16883 2006-03-13  Wim Taymans  <wim@fluendo.com>
16884
16885         * plugins/elements/gstqueue.c:
16886         Very small doc update.
16887
16888 2006-03-13  Wim Taymans  <wim@fluendo.com>
16889
16890         * gst/gst_private.h:
16891         * gst/gstinfo.c: (_gst_debug_init):
16892         Added QOS debug category
16893
16894 2006-03-13  Wim Taymans  <wim@fluendo.com>
16895
16896         * docs/gst/gstreamer-sections.txt:
16897         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16898         * gst/gstbin.h:
16899         * gst/gstbus.c: (gst_bus_class_init):
16900         * gst/gstbus.h:
16901         * gst/gstclock.c:
16902         * gst/gstelement.c: (gst_element_set_locked_state):
16903         * gst/gstsegment.c:
16904         Documentation updates.
16905
16906         * gst/gstpipeline.c: (gst_pipeline_get_type),
16907         (gst_pipeline_class_init), (gst_pipeline_init),
16908         (gst_pipeline_dispose), (gst_pipeline_set_property),
16909         (gst_pipeline_get_property), (do_pipeline_seek),
16910         (gst_pipeline_send_event), (gst_pipeline_change_state),
16911         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16912         (gst_pipeline_get_delay):
16913         * gst/gstpipeline.h:
16914         Added methods for setting the delay.
16915         API: gst_pipeline_set_delay()
16916         API: gst_pipeline_get_delay()
16917         Add pipeline debug category
16918         Various cleanups.
16919         Updated docs.
16920         Don't reset stream time when seek failed.
16921
16922 2006-03-13  Wim Taymans  <wim@fluendo.com>
16923
16924         * docs/design/draft-klass.txt:
16925         * docs/design/part-clocks.txt:
16926         * docs/design/part-events.txt:
16927         * docs/design/part-gstbin.txt:
16928         * docs/design/part-gstpipeline.txt:
16929         * docs/design/part-messages.txt:
16930         * docs/design/part-negotiation.txt:
16931         * docs/design/part-overview.txt:
16932         * docs/design/part-preroll.txt:
16933         * docs/design/part-seeking.txt:
16934         * docs/design/part-states.txt:
16935         * docs/design/part-streams.txt:
16936         Documentation updates.
16937
16938 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16939
16940         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16941         us to leak strings...
16942
16943 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16944
16945         * libs/gst/net/gstnettimeprovider.c:
16946           fix docs
16947         * win32/common/config.h:
16948           update
16949
16950 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16951
16952         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16953
16954         * configure.ac:
16955           Don't check for libgnomeui (leftover from old examples
16956           that aren't built or disted any longer) (#334303).
16957           
16958 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16959
16960         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16961         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16962           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16963           there's no space left on the device.
16964
16965 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16966
16967         * gst/gstclock.h:
16968           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16969           to cast the input to GstClockTime before comparing with
16970           another GstClockTime value.
16971
16972 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16973
16974         * configure.ac:
16975           back to trunk
16976
16977 === release 0.10.4 ===
16978
16979 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16980
16981         * configure.ac:
16982           releasing 0.10.4, "Light"
16983
16984 2006-03-10  Michael Smith  <msmith@fluendo.com>
16985
16986         * libs/gst/dataprotocol/dataprotocol.c:
16987           Fix docs for dataprocotol to not get the return types completely
16988           wrong for a few functions.
16989
16990 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16991
16992         * docs/gst/gstreamer-sections.txt:
16993         * gst/gstpipeline.c: (gst_pipeline_class_init),
16994         (gst_pipeline_init), (gst_pipeline_set_property),
16995         (gst_pipeline_get_property), (gst_pipeline_change_state),
16996         (gst_pipeline_set_auto_flush_bus),
16997         (gst_pipeline_get_auto_flush_bus):
16998         * gst/gstpipeline.h:
16999           Add new API: gst_pipeline_set_auto_flush_bus() and
17000           gst_pipeline_get_auto_flush_bus() to disable automatic
17001           flushing of the pipeline's GstBus when going from READY
17002           to NULL state (#332045).
17003
17004 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17005
17006         * docs/gst/gstreamer-sections.txt:
17007         * gst/gsturi.c: (gst_uri_has_protocol):
17008         * gst/gsturi.h:
17009            Add new API: gst_uri_has_protocol() (#333779).
17010
17011 2006-03-09  Wim Taymans  <wim@fluendo.com>
17012
17013         * gst/gstclock.c: (gst_clock_entry_new),
17014         (gst_clock_id_compare_func), (gst_clock_id_wait),
17015         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
17016         (gst_clock_init), (gst_clock_get_internal_time),
17017         (gst_clock_set_master), (do_linear_regression),
17018         (gst_clock_add_observation), (gst_clock_set_property):
17019         * gst/gstclock.h:
17020         Review docs.
17021         Small cleanups.
17022         Fix a possible segfault when the window-size is made smaller.
17023         Calculate jitter before performing the clock wait. Ideally
17024         the clock implementation should calculate jitter but we need
17025         API breakage for that.
17026
17027         * gst/gstsystemclock.c: (gst_system_clock_init):
17028         Docs review.
17029         
17030         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17031         Remove leftover else
17032
17033         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
17034         (gst_systemclock_suite):
17035         Added check to test GST_CLOCK_DIFF.
17036
17037 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
17038
17039         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
17040         (gst_type_find_helper_get_range):
17041           If we are provided with the size, we should implement
17042           GstTypeFind::get_length, so that typefind functions who
17043           want to can actually peek at the middle of a file.
17044
17045 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
17046
17047         * docs/manual/advanced-dataaccess.xml:
17048           Add some very very basic error checking.
17049
17050         * docs/pwg/appendix-checklist.xml:
17051           Some updates to the list of things to check when writing an element.
17052
17053 2006-03-08  Wim Taymans  <wim@fluendo.com>
17054
17055         * docs/design/part-element-transform.txt:
17056         Added some docs about the design of tranform elements.
17057
17058         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
17059         (gst_base_src_loop), (gst_base_src_change_state):
17060         Mark buffers with the DISCONT flag.
17061
17062 2006-03-08  Michael Smith  <msmith@fluendo.com>
17063
17064         * gst/gstregistry.h:
17065         * gst/gstregistryxml.c: (gst_registry_save),
17066         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
17067         (gst_registry_xml_save_pad_template),
17068         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
17069         (gst_registry_xml_write_cache):
17070           Rewrite registry-saving to avoid race conditions and check for
17071           failed writes.
17072
17073 2006-03-08  Wim Taymans  <wim@fluendo.com>
17074
17075         * libs/gst/base/gstbasetransform.c:
17076         (gst_base_transform_transform_caps),
17077         (gst_base_transform_transform_size),
17078         (gst_base_transform_prepare_output_buffer),
17079         (gst_base_transform_get_unit_size),
17080         (gst_base_transform_buffer_alloc),
17081         (gst_base_transform_handle_buffer),
17082         (gst_base_transform_change_state):
17083         Cleanups, separate normal flow from errors, add sensible
17084         DEBUG lines.
17085         Don't try to renegotiate when allocating an output buffer.
17086         Also copy DISCONT buffer flag when copying a buffer.
17087         Reset the transform after we finish streaming, not during.
17088
17089 2006-03-08  Wim Taymans  <wim@fluendo.com>
17090
17091         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17092         Use last buffer timestamp in qos message.
17093
17094 2006-03-07  Wim Taymans  <wim@fluendo.com>
17095
17096         Patch by: Christophe Fergeau
17097
17098         * docs/pwg/advanced-tagging.xml:
17099         * docs/pwg/building-pads.xml:
17100           fixes #333416
17101
17102 2006-03-07  Wim Taymans  <wim@fluendo.com>
17103
17104         * docs/libs/gstreamer-libs-sections.txt:
17105         Added basesink new methods.
17106
17107         * gst/gstevent.c:
17108         * gst/gstevent.h:
17109         Docs updates. Flesh out the QoS docs.
17110
17111         * libs/gst/base/gstadapter.c:
17112         Small doc clarification about ownership and flushing.
17113
17114         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17115         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17116         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17117         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17118         * libs/gst/base/gstbasesink.h:
17119         API additions: 
17120         Added new methods to allow subclass to control max-lateness 
17121         and sync.
17122         Generate very basic QoS events based on last sync observation.
17123         Updated docs, fix typo, added some QoS blurb.
17124
17125         * libs/gst/base/gstbasesrc.c:
17126         Remove obsolete _get_state() calls from docs.
17127
17128 2006-03-07  Wim Taymans  <wim@fluendo.com>
17129
17130         * docs/libs/gstreamer-libs-sections.txt:
17131         * libs/gst/base/gstbasetransform.h:
17132         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17133         Fix docs for GstBaseSrc.
17134
17135 2006-03-07  Wim Taymans  <wim@fluendo.com>
17136
17137         * docs/gst/gstreamer-sections.txt:
17138         * gst/gstbuffer.h:
17139         * gst/gstvalue.c:
17140         * libs/gst/base/gstbasetransform.h:
17141         Small documentation fixes.
17142
17143 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17144
17145         * gst/gstvalue.c:
17146           Document thread-unsafety of gst_value_register_foo_func()
17147           when used at the same time as gst_value_foo() (#322628).
17148
17149 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17150
17151         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17152         (gst_push_src_check_get_range):
17153           Push sources don't support pull mode by default.
17154
17155 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17156
17157         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17158         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17159         (gst_base_src_default_check_get_range):
17160         * libs/gst/base/gstbasesrc.h:
17161           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17162           provide default implementation, and rename
17163           gst_base_src_check_get_range() to
17164           gst_base_src_pad_check_get_range() for clarity.
17165
17166 2006-03-06  Wim Taymans  <wim@fluendo.com>
17167
17168         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17169         Make property overridable.
17170
17171 2006-03-06  Wim Taymans  <wim@fluendo.com>
17172
17173         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17174         (gst_base_sink_init), (gst_base_sink_set_property),
17175         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17176         * libs/gst/base/gstbasesink.h:
17177         API addition: Make max-lateness a property.
17178
17179 2006-03-06  Wim Taymans  <wim@fluendo.com>
17180
17181         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17182         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17183         Don't ever draw a frame that is >10ms late.
17184
17185 2006-03-06  Michael Smith  <msmith@fluendo.com>
17186
17187         * gst/gstmessage.c: (_gst_message_copy):
17188           When copying a message, set the parent_refcount of the enclosed
17189           structure to point at the copy, not the original message.
17190
17191 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17192
17193         Patch by: Christophe Fergeau
17194
17195         * gst/gstutils.h:
17196           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17197           usable in c++ code (#333417)
17198
17199 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17200
17201         * gst/gstclock.h:
17202           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17203
17204 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * libs/gst/base/gstbasetransform.c:
17207         (gst_base_transform_transform_caps):
17208           Make sure caps are writable before passing them to
17209           gst_caps_append().
17210
17211 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17212
17213         * gst/gsterror.h:
17214           Fix some minor docs errors.
17215
17216 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17217
17218           Patch by: Ross Burton <ross at burtonini dot com>
17219
17220         * gst/gsterror.c: (_gst_resource_errors_init):
17221         * gst/gsterror.h:
17222           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17223
17224 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17225
17226         * gst/gst.c:
17227         Add a check and output a g_warning when GStreamer is built
17228         against GLib 2.6 but running against 2.8 or higher, and vice 
17229         versa. (Closes: #323542)
17230
17231 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17232
17233         * gst/parse/parse.l:
17234           Commit patch for parse_launch syntax from #331255. Removes 
17235           support for quoted strings and mimetypes when writing filtered 
17236           caps. See the bug report for more details - I'm pretty sure this
17237           obscure feature is not in use by _anyone_ anywhere.
17238
17239           With this simple change, the size of the gstreamer.so here 
17240           drops from 2193KB to 1565KB.
17241
17242 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17243
17244         * plugins/elements/gsttypefindelement.h:
17245         * plugins/elements/gsttypefindelement.c:
17246         (gst_type_find_element_src_event), (start_typefinding),
17247         (stop_typefinding), (gst_type_find_element_handle_event),
17248         (gst_type_find_element_chain),
17249         (gst_type_find_element_chain_do_typefinding):
17250           Use gst_type_find_helper_for_buffer() for chain-based
17251           typefinding.
17252
17253 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17254
17255         * plugins/elements/gsttypefindelement.c:
17256         (gst_type_find_element_class_init),
17257         (gst_type_find_element_set_property),
17258         (gst_type_find_element_get_property):
17259           Deprecate "maximum" property (not only was it only taken into
17260           account for typefinding in push-mode anyway, it also was never
17261           actually possible to set it in the first place because the
17262           property was registered with the numeric property ID for the
17263           "minimum" property). Register "maximum" property correctly,
17264           for the sake of future copy'n'pasters. Remove some cruft
17265           from property get/set functions.
17266
17267 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17268
17269         * plugins/elements/gsttypefindelement.c:
17270         (gst_type_find_element_activate):
17271           Use gst_type_find_helper_get_range() here, so we
17272           can honour the "minimum" property and also emit
17273           the signal with the correct probability of the found caps.
17274
17275 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17276
17277         * docs/libs/gstreamer-libs-sections.txt:
17278         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17279         (helper_find_suggest), (gst_type_find_helper_get_range),
17280         (gst_type_find_helper):
17281         * libs/gst/base/gsttypefindhelper.h:
17282           New API: gst_type_find_helper_get_range() (#333042).
17283
17284 2006-03-02  Michael Smith  <msmith@fluendo.com>
17285
17286         * gst/gstregistryxml.c: (load_feature):
17287           Asserting on a failure to read part of the registry is Not Cool.
17288           Just log a warning and return NULL (which is already handled)
17289
17290 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17291
17292         * win32/common/libgstbase.def:
17293           added export of gst_type_find_helper_for_buffer
17294         * win32/common/libgstbase.def:
17295           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17296           gst_ghost_pad_get_target
17297
17298 2006-02-28  Wim Taymans  <wim@fluendo.com>
17299
17300         * docs/design/draft-klass.txt:
17301         We use Filter now.
17302         Added Connector to mark elements that are only used to
17303         allow pipeline connections.
17304         Moved Debug to extra feature since most of them are 
17305         functionally something else.
17306
17307 2006-02-28  Wim Taymans  <wim@fluendo.com>
17308
17309         * docs/design/draft-klass.txt:
17310         Some updates and clarifications.
17311
17312 2006-02-28  Wim Taymans  <wim@fluendo.com>
17313
17314         * docs/design/draft-klass.txt:
17315         Proposal for klass field values.
17316
17317         * docs/design/part-streams.txt:
17318         Start of a doc describing stream anatomy.
17319
17320 2006-02-28  Wim Taymans  <wim@fluendo.com>
17321
17322         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17323         Help the compiler a bit with type registration.
17324         Use existing forward cod path instead of duplicating it when 
17325         handling a message.
17326         
17327         * gst/gstbus.c: (gst_bus_get_type):
17328         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17329         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17330         * gst/gstclock.c: (gst_clock_get_type):
17331         * gst/gstelement.c: (gst_element_get_type),
17332         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17333         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17334         * gst/gstminiobject.c: (gst_mini_object_get_type):
17335         * gst/gstpad.c: (gst_pad_get_type):
17336         * gst/gstsegment.c: (gst_segment_get_type):
17337         * gst/gststructure.c: (gst_structure_get_type):
17338         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17339         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17340         * gst/gstvalue.c:
17341         Help compiler with type registration.
17342
17343         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17344         Small doc update.
17345
17346 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17347
17348         * plugins/elements/gsttypefindelement.c:
17349         (gst_type_find_element_handle_event):
17350           When we get an EOS event and have not found a type yet
17351           (most likely because we had not yet accumulated
17352           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17353           type given the data we have so far. Fixes typefinding
17354           for very short streams again, most notably quicktime
17355           redirections as used on Apple's trailer site (#331701).
17356
17357 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17358
17359         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17360         (gst_type_find_helper):
17361           Try typefinding factories with the highest rank first.
17362
17363 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17364
17365         * docs/libs/gstreamer-libs-docs.sgml:
17366         * docs/libs/gstreamer-libs-sections.txt:
17367         * libs/gst/base/gsttypefindhelper.c:
17368           Add section for typefind helper and add documentation
17369           for the old and the new function.
17370
17371 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17372
17373         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17374         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17375         (gst_type_find_helper_for_buffer):
17376         * libs/gst/base/gsttypefindhelper.h:
17377           New API: gst_type_find_helper_for_buffer() (#332723).
17378           
17379 2006-02-27  Michael Smith  <msmith@fluendo.com>
17380
17381         Patch by: Loïc Minier
17382
17383         * configure.ac:
17384         * docs/Makefile.am:
17385         * docs/slides/Makefile.am:
17386           prevent CVS directories getting disted.
17387
17388 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17389
17390         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17391           Use the REFCOUNTING category for caps refcounting.
17392           
17393 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17394
17395         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17396           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17397
17398 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17399
17400         * plugins/elements/gsttypefindelement.c:
17401         (gst_type_find_element_activate):
17402           Use gst_pad_check_pull_range() before _activate_pull()
17403           to avoid unnecessary open/close (see #331690).
17404
17405 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17406
17407         * gst/gstutils.c:
17408           Docs enhancement: make it crystal clear what the
17409           gst_pad_add_*_probe() callbacks should look like.
17410
17411 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17412
17413         * libs/gst/base/gstbasesrc.c:
17414           Document how applications can stop recording from
17415           live sources (see #330996).
17416
17417 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17418
17419         * tests/check/Makefile.am:
17420         * tests/check/libs/basesrc.c: (eos_event_counter),
17421         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17422         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17423         (gst_basesrc_suite), (main):
17424           ... and add some tests for the base source EOS stuff.
17425
17426 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17427
17428         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17429           Test case originally showed the problem fixed below,
17430           but was then amended. Add checks back at the place
17431           where they used to be.
17432
17433 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17434
17435         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17436         (gst_base_src_init), (gst_base_src_loop),
17437         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17438         (gst_base_src_change_state):
17439         * libs/gst/base/gstbasesrc.h:
17440           Don't unconditionally send EOS when going from PAUSED to
17441           READY state, esp. make sure we don't send two EOS events
17442           in some cases (e.g. one when reaching EOS and one when
17443           going from PAUSED to READY). Also, we don't want to send
17444           EOS events when operating in pull mode. However, we do
17445           want to send an EOS event when shutting down a live
17446           source explicitly, for example (fixes #330996).
17447           
17448 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17449
17450         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17451           Update src->read_position after a seek when not using mmap.
17452           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17453
17454 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17455
17456         * gst/Makefile.am:
17457         * gst/gstparse.h:
17458         * gst/gstutils.c:
17459         * gst/gstutils.h:
17460         Make things work with --disable-parse as they do with 
17461         --disable-load-save - the symbols involved disappear, but the
17462         header is still installed and GST_DISABLE_PARSE is included via
17463         gstconfig.h
17464
17465 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17466
17467         * libs/gst/base/gstbasetransform.c:
17468         (gst_base_transform_change_state): Fix a stupid bug. I was 
17469         sure I compiled that.
17470
17471 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17472
17473         * gst/gstpad.c: (gst_pad_set_blocked_async):
17474         * gst/gstutils.c: (gst_pad_add_data_probe),
17475         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17476         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17477         (gst_pad_remove_buffer_probe): Make those function act on the
17478         ghostpad target when it's a ghostpad. (Closes #331727)
17479
17480 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17481
17482         * libs/gst/base/gstbasetransform.c:
17483         (gst_base_transform_change_state): Make basetransform reusable.
17484         (Closes #331898)
17485
17486 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17487
17488         * docs/random/release:
17489         Move the current documentation of how to do a release to the top
17490         of the file.
17491
17492         * gst/gstbin.c: (gst_bin_class_init),
17493         (gst_bin_handle_message_func):
17494         Allow multiple state-recalculation threads. (Closes #328873)
17495
17496 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17497
17498         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17499         * gst/gstpad.c: (gst_pad_set_event_function),
17500         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17501         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17502         2 strings. You can't use the STR_NULL macro on that.
17503
17504 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17505
17506         * gst/gstpad.c: (gst_pad_set_event_function),
17507         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17508         (gst_pad_set_getcaps_function)
17509         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17510           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17511           So now, we can use --gst-debug-level=5 on Windows
17512         * win32/common/libgstcontroller.def:
17513           Added export of gst_controller_init
17514         * win32/vs6/libgstcontroller.dsp:
17515           Fixed Release post build configuration
17516
17517 2006-02-17  Wim Taymans  <wim@fluendo.com>
17518
17519         * tests/check/gst/gstquery.c: (GST_START_TEST):
17520         Added another check.
17521
17522 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17523
17524         * plugins/elements/gsttypefindelement.c: (find_peek):
17525           We can do peeks at non-zero offsets, as long as they
17526           fall within the buffer we have.
17527
17528 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17529
17530         * tests/check/Makefile.am:
17531         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17532         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17533         (parse_suite), (main):
17534           Add testsuite for parse launch syntax
17535
17536 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17537
17538         * plugins/elements/gsttypefindelement.c:
17539         (gst_type_find_element_chain):
17540           When typefinding is unsuccessful in the chain function, don't
17541           error out immediately. Only error out with NO_CAPS_FOUND if
17542           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17543           otherwise simply wait for more data so we can try typefinding
17544           again with more data later. Also, don't attempt to typefind
17545           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17546           this should improve typefinding from network sources where the
17547           size of the first buffer can be somewhat random.
17548
17549 2006-02-14  Wim Taymans  <wim@fluendo.com>
17550
17551         * docs/gst/gstreamer-sections.txt:
17552         * gst/gstpadtemplate.c:
17553         * gst/gstpadtemplate.h:
17554         Fix padtemplate docs, fixes #328805.
17555
17556 2006-02-14  Wim Taymans  <wim@fluendo.com>
17557
17558         * tools/gst-launch.c: (main):
17559         NO_PREROLL is not an ERROR so don't send confusing messages
17560         to the user.
17561
17562 2006-02-14  Wim Taymans  <wim@fluendo.com>
17563
17564         Patch by: Torsten Schoenfeld
17565
17566         * gst/gstregistry.c: (gst_registry_get_default),
17567         (_gst_registry_cleanup):
17568         Protect default registry with lock and ref/sink it.
17569         Fixes #324818
17570
17571 2006-02-14  Wim Taymans  <wim@fluendo.com>
17572
17573         * gst/gstbuffer.c:
17574         * gst/gstquery.c: (gst_query_list_add_format),
17575         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17576         (gst_query_parse_formats_nth):
17577         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17578         Docs fixes.
17579
17580 2006-02-14  Wim Taymans  <wim@fluendo.com>
17581
17582         * docs/gst/gstreamer-sections.txt:
17583         Reworked query docs.
17584
17585         * gst/gstquery.c: (gst_query_new_formats),
17586         (gst_query_list_add_format), (gst_query_set_formats),
17587         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17588         (gst_query_parse_formats_nth):
17589         * gst/gstquery.h:
17590         Flesh out formats query, added some new methods.
17591         Fix part of #324398.
17592
17593         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17594         Added query creation tests.
17595
17596 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17597
17598         * gst/gstpad.c: (fixate_value):
17599         Add a default fixation for fraction lists.
17600
17601 2006-02-13  Wim Taymans  <wim@fluendo.com>
17602
17603         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17604         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17605         (gst_task_join):
17606         * gst/gsttask.h:
17607         Detect and warn for obvious deadlocks. fixes #320340
17608         Fix error case where lock was not released.
17609
17610         * tests/check/Makefile.am:
17611         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17612         (task_func), (gst_element_suite), (main):
17613         Add task check.
17614
17615 2006-02-13  Wim Taymans  <wim@fluendo.com>
17616
17617         * docs/gst/gstreamer-sections.txt:
17618         * gst/gstbus.c:
17619         Add new functions to docs.
17620
17621 2006-02-13  Wim Taymans  <wim@fluendo.com>
17622
17623         * docs/design/part-TODO.txt:
17624         Updated TODO list, basesrc supports seeking to non-bytes
17625         formats.
17626
17627         * docs/design/part-element-sink.txt:
17628         Update docs.
17629
17630         * gst/gstbin.c: (bin_replace_message),
17631         (gst_bin_handle_message_func):
17632         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17633         * gst/gstevent.c: (gst_event_finalize):
17634         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17635         (gst_pad_send_event):
17636         Use shiny new _TYPE_NAME macros.
17637
17638         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17639         Move debug statement up.
17640
17641         * gst/gstelement.c: (gst_element_set_locked_state):
17642         Add some debugging.
17643
17644 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17645
17646         * docs/gst/gstreamer-sections.txt:
17647         * gst/gstmessage.h:
17648         * gst/gstquery.h:
17649           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17650           macros (#330906). Also, document the already existing
17651           GST_QUERY_TYPE macro.
17652
17653 2006-02-13  Wim Taymans  <wim@fluendo.com>
17654
17655         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17656         (event_probe), (GST_START_TEST):
17657         Only events up to the pipeline EOS are counted, there are
17658         some more when going to NULL currently which we don't care
17659         about for now.
17660
17661 2006-02-13  Wim Taymans  <wim@fluendo.com>
17662
17663         * gst/gstpad.c: (gst_pad_send_event):
17664         Correctly check flushing and emit probes. fixes #330125
17665
17666 2006-02-10  Andy Wingo  <wingo@pobox.com>
17667
17668         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17669         structure.
17670         (gst_bus_init): Cache the location of the private data in the
17671         instance structure.
17672         (gst_bus_enable_sync_message_emission) 
17673         (gst_bus_disable_sync_message_emission): Implement new public
17674         functions.
17675         (gst_bus_post): Emit the sync-message signal if the user asked for
17676         it. Fixes #330684.
17677
17678         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17679         location of the bus-private structure.
17680         (gst_bus_enable_sync_message_emission)
17681         (gst_bus_disable_sync_message_emission): API addition
17682
17683 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17684
17685         Patch by: Vincent Torri
17686
17687         * docs/pwg/building-boiler.xml:
17688         PWG patch from #326800
17689
17690 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17691
17692         * configure.ac:
17693         * docs/Makefile.am:
17694         * docs/design/Makefile.am:
17695           Dist design docs.
17696
17697 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17698
17699         * configure.ac:
17700           back to CVS
17701
17702 === release 0.10.3 ===
17703
17704 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17705
17706         * configure.ac:
17707           releasing 0.10.3, "Like a virgin"
17708
17709 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17710
17711         * configure.ac:
17712           2nd prerelease of 0.10.3
17713           Bump libtool versioning.
17714
17715 2006-02-07  Andy Wingo  <wingo@pobox.com>
17716
17717         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17718         update last_stop if we're in TIME format and the timestamp is
17719         valid.
17720
17721         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17722         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17723         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17724         If we get a new newsegment with a different format, adapt
17725         accordingly.
17726
17727         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17728         of 0. Not a problem, really.
17729
17730         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17731         warn if sync=true.
17732
17733 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17734
17735         * configure.ac:
17736           Prelease of 0.10.3
17737
17738 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17739
17740         * win32/vs7:
17741           project files updated to the default vs7 configuration
17742         * win32/common/libgstbase.def:
17743         * win32/common/libgstreamer.def:
17744           added new symbols,
17745           removed empty lines,
17746           sorted all exported symbols alphabetically
17747         * win32/common/dirent.c:
17748         * win32/common/dirent.h:
17749         * win32/common/gchar.h:
17750           use windows line end.
17751           
17752 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17753
17754         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17755           Send EOS event when stopping.
17756
17757 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17758
17759         * docs/README:
17760           Tell folks what to do if the plugin-foobar.xml file
17761           hasn't been generated for a newly-added plugin.
17762
17763 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17764
17765         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17766         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17767         (gst_collect_pads_start), (gst_collect_pads_stop),
17768         (gst_collect_pads_event): Collectpads now holds a reference
17769         to the GstPad that was added. Indeed we don't want to look
17770         at pads that might just go away with no warning...
17771
17772 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17773
17774         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17775         (gst_collect_pads_start), (gst_collect_pads_stop),
17776         (gst_collect_pads_event), (gst_collect_pads_chain):
17777         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17778         Mark Nauwelaerts's patch on bug #328491.
17779
17780 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17781
17782         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17783         (gst_utils_suite):
17784           Add some simple tests for gst_parse_bin_from_description() and
17785           gst_bin_find_unconnected_pad() (#329069).
17786
17787 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17788
17789         * tools/gst-launch.c: (event_loop), (main):
17790           Catch errors during preroll (#320084).
17791
17792 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17793
17794         * plugins/elements/gsttypefindelement.c:
17795         (gst_type_find_element_activate):
17796           Post TYPE_NOT_FOUND error message when typefinding
17797           is unsuccessful in the activate function as well.
17798
17799 2006-02-02  Wim Taymans  <wim@fluendo.com>
17800
17801         * docs/design/part-element-sink.txt:
17802         Updated doc.
17803
17804 2006-02-02  Wim Taymans  <wim@fluendo.com>
17805
17806         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17807         (gst_base_sink_render_object),
17808         (gst_base_sink_queue_object_unlocked):
17809         Only keep track of prerollable items when we are 
17810         prerolling.
17811         Before rendering after preroll, always check if we
17812         have queued items.
17813         Added some more debugging.
17814
17815 2006-02-02  Wim Taymans  <wim@fluendo.com>
17816
17817         * gst/gstelement.c: (gst_element_continue_state),
17818         (gst_element_set_state_func), (gst_element_change_state):
17819         Fixed #326576, been running this for quite some time with
17820         no regressions at all.
17821
17822 2006-02-02  Wim Taymans  <wim@fluendo.com>
17823
17824         * common/gst.supp:
17825         Added more suppressions
17826
17827 2006-02-02  Wim Taymans  <wim@fluendo.com>
17828
17829         * docs/design/part-element-sink.txt:
17830         Updated document.
17831
17832         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17833         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17834         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17835         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17836         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17837         (gst_base_sink_preroll_object),
17838         (gst_base_sink_queue_object_unlocked),
17839         (gst_base_sink_queue_object), (gst_base_sink_event),
17840         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17841         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17842         (gst_base_sink_get_position), (gst_base_sink_change_state):
17843         * libs/gst/base/gstbasesink.h:
17844         Totally refactored matching the design doc.
17845         Use two segments, one to clip incomming buffers and another to
17846         perform sync.
17847         Handle queueing correctly, bypass the queue when playing.
17848         Make EOS cancelable.
17849         Handle errors correctly when operating in pull based mode.
17850
17851         * tests/check/elements/fakesink.c: (GST_START_TEST),
17852         (fakesink_suite):
17853         Added new check for sinks.
17854
17855 2006-02-02  Wim Taymans  <wim@fluendo.com>
17856
17857         * gst/gstsegment.c: (gst_segment_clip):
17858         No reason to refuse to clip when start == -1
17859
17860 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17861
17862         * docs/README:
17863         * docs/manual/intro-basics.xml:
17864         * docs/manual/intro-preface.xml:
17865         * docs/manual/manual.xml:
17866         * docs/pwg/advanced-dparams.xml:
17867         * docs/pwg/intro-basics.xml:
17868         * docs/pwg/intro-preface.xml:
17869         * docs/pwg/pwg.xml:
17870           describe dparams (controller) for plugins
17871           unify docs a little more
17872
17873 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17874
17875         * docs/gst/gstreamer-sections.txt:
17876         * gst/gstutils.c: (element_find_unconnected_pad),
17877         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17878         * gst/gstutils.h:
17879           Add new API: gst_parse_bin_from_description() and
17880           gst_bin_find_unconnected_pad() (#329069).
17881
17882 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17883
17884         * docs/manual/README:
17885           uncover a nasty detail of the docs build
17886
17887 2006-01-31  Wim Taymans  <wim@fluendo.com>
17888
17889         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17890         Don't cache duration messages if we're not going to use or
17891         free them.
17892
17893 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17894
17895         * docs/manual/advanced-dparams.xml:
17896         * docs/pwg/advanced-dparams.xml:
17897           more dparam docs
17898         * gst/gstindex.c:
17899           fix docs
17900         * libs/gst/controller/lib.c: (gst_controller_init):
17901           init just once
17902
17903 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17904
17905         * gst/gstelement.c: (gst_element_message_full):
17906           also show file/line/func if no additional debug was given
17907
17908 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17909         
17910         * win32/vs7/grammar.vcproj:
17911           activate copy of autogenerated files for Release mode
17912
17913 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17914         
17915         * win32/common/libgstreamer.def:
17916           export gst_value_compare
17917
17918 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17919
17920         * plugins/elements/Makefile.am:
17921         * plugins/elements/gstelements.c:
17922         * plugins/elements/gstfdsink.c: (_do_init),
17923         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17924         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17925         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17926         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17927         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17928         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17929         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17930         * plugins/elements/gstfdsink.h:
17931         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17932
17933 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17934
17935         * docs/manual/advanced-dparams.xml:
17936           describe controller
17937         * docs/manual/advanced-position.xml:
17938         * docs/manual/basics-init.xml:
17939         * docs/manual/manual.xml:
17940         * docs/manual/titlepage.xml:
17941         * docs/pwg/pwg.xml:
17942         * docs/pwg/titlepage.xml:
17943           cleanup xml (more to come)
17944         * libs/gst/controller/gstcontroller.c:
17945           fix typo
17946
17947 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17948         
17949         * win32/vs6/grammar.dsp:
17950           add autogen of gstmarshal.c,h for Release mode
17951                 
17952 2006-01-30  Wim Taymans  <wim@fluendo.com>
17953
17954         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17955         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17956         (gst_base_sink_handle_object), (gst_base_sink_event),
17957         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17958         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17959         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17960         (gst_base_sink_deactivate), (gst_base_sink_activate),
17961         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17962         (gst_base_sink_query), (gst_base_sink_change_state):
17963         Basesink cleanups, remove some old code.
17964         Handle the case where a subclass can preroll in the render
17965         method (mostly audiosinks).
17966         Handle more events.
17967         Remove some locks around variables that are now protected
17968         with the PREROLL_LOCK (clock_id, flushing, ..).
17969         Optimize position query some more, do correct locking.
17970         Remove old code to push queue in state change, this is not
17971         needed anymore since preroll blocks on all prerollable items 
17972         now.
17973         Almost implemented as described in design doc.
17974
17975 2006-01-30  Wim Taymans  <wim@fluendo.com>
17976
17977         * tests/check/gst/gstbin.c: (GST_START_TEST):
17978         Wait for refcount to settle down before checking.
17979
17980 2006-01-30  Wim Taymans  <wim@fluendo.com>
17981
17982         * docs/design/part-element-sink.txt:
17983         Pseudo code overview of desired sink behaviour regarding
17984         preroll.
17985
17986 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17987         * win32/vs6/grammar.dsp:
17988           fix some bugs in Release mode for autogenerated files
17989                 
17990 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17991         * win32/common/libgstbase.def:
17992         * win32/common/libgstreamer.def:
17993           export some new symbols: gst_base_src_set_format,
17994           gst_iterator_next, gst_structure_set_valist
17995
17996 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17997
17998         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17999         Set pad functions unconditionally. Fixes #329105.
18000
18001 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
18002         * win32/vs8:
18003           add vs8 project files created by Sergey Scobich
18004
18005 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
18006
18007         * gst/gstutils.c: (gst_element_unlink_pads):
18008         Don't leak pad references.
18009
18010         * tests/check/elements/fakesink.c: (GST_START_TEST):
18011         * tests/check/generic/sinks.c: (GST_START_TEST):
18012         * tests/check/generic/states.c: (GST_START_TEST):
18013         * tests/check/gst/gstbin.c: (GST_START_TEST):
18014         * tests/check/gst/gstcaps.c: (GST_START_TEST):
18015         * tests/check/gst/gstelement.c: (GST_START_TEST):
18016         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
18017         * tests/check/gst/gstiterator.c: (GST_START_TEST):
18018         * tests/check/gst/gstvalue.c: (GST_START_TEST):
18019         Fix a bunch of leaks. Make generic/sinks.c
18020         use a bit less cpu by slowing the buffer rate
18021         between fakesrc and fakesink.
18022         
18023 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
18024         * gst/gstcaps.c:
18025         * gst/gstelement.c: (gst_element_send_event):
18026         * gst/gstevent.c:
18027         * gst/gstinfo.c:
18028         * gst/gstiterator.c:
18029         * gst/gstiterator.h:
18030         * gst/gstpad.c: (gst_pad_send_event):
18031         * gst/gststructure.c:
18032         * gst/gsturi.c:
18033         * gst/gstutils.c:
18034         * gst/gstvalue.c:
18035         * libs/gst/base/gstadapter.c:
18036           doc fixes, to link to function, just write gst_cool_function(), don't
18037           prefix with '#'
18038
18039 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18040
18041         * plugins/elements/gsttee.c: (gst_tee_do_push),
18042         (gst_tee_handle_buffer):
18043         Always prefer an actual return value from a src
18044         pad in place of NOT_LINKED. This means we return
18045         WRONG_STATE when all src pads are WRONG_STATE
18046         instead of NOT_LINKED.
18047
18048         Lock when replacing the last message to prevent
18049         racing with the get_property method.
18050
18051         Add debug output
18052
18053 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18054
18055         * tests/check/Makefile.am:
18056         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
18057         (main):
18058         Add a very simple check that should have caught the memleak I fixed
18059         last night (if not for the slice allocator hiding it)
18060
18061 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
18062
18063         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18064         (gst_bin_remove_func), (gst_bin_handle_message_func),
18065         (bin_query_duration_fold), (bin_query_generic_fold):
18066         Clean up references to the clock provider when disposed or when
18067         handling a clock-lost message from it.
18068
18069         Unref sinks when performing a query via gst_iterator_fold, as the
18070         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
18071
18072         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
18073         (gst_clock_set_master):
18074         Drop our reference to the master clock, if any, when we are disposed.
18075
18076         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
18077         Chain up in dispose. 
18078
18079 2006-01-26  Wim Taymans  <wim@fluendo.com>
18080
18081         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
18082         Add some debugging.
18083
18084 2006-01-26  Julien MOUTTE  <julien@moutte.net>
18085
18086         * plugins/elements/gsttee.c: (gst_tee_do_push),
18087         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18088         handles pad being NOT_LINKED or in WRONG_STATE.
18089
18090 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18091
18092         * win32/MANIFEST:
18093           more updating
18094
18095 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18096
18097         * win32/MANIFEST:
18098           remove obsolete entry
18099
18100 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18101
18102         * docs/gst/gstreamer-sections.txt:
18103         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18104         (gst_bin_iterate_sources), (gst_bin_send_event):
18105         * gst/gstbin.h:
18106         * gst/gstelement.c: (gst_element_send_event):
18107         * gst/gstevent.c:
18108         * gst/gstpad.c: (gst_pad_send_event):
18109           added code for downstream events, reviewed docs in gstevent.c
18110
18111 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18112
18113         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18114         We only query position using the clock in the playing state.
18115         Query peer in the other cases.
18116         * win32/common/config.h: Updates.
18117
18118 2006-01-24  Wim Taymans  <wim@fluendo.com>
18119
18120         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18121         A clock entry that is scheduled for the exact time of the
18122         clock is still in time.
18123
18124         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18125         (gst_base_sink_do_sync):
18126         Add some more debug info.
18127
18128 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18129
18130         * win32/vs7:
18131           Add new vs7 project files and solution.
18132
18133 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18134
18135         * win32/vs7:
18136           all files removed as they were out-dated.
18137
18138 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18139
18140         * docs/random/release:
18141           update notes
18142         * gst/gstbin.c: (gst_bin_init):
18143         * gst/gstbus.c: (gst_bus_new):
18144         * gst/gstbus.h:
18145         * gst/gstpipeline.c: (gst_pipeline_init):
18146           use gst_bus_new(), improve logging, fix docs
18147         * win32/common/config.h:
18148           update for cvs build
18149
18150 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18151
18152         * autogen.sh:
18153           up required version of automake to 1.7
18154
18155 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18156
18157         * win32/common/libgstreamer.def:
18158           export gst_buffer_is_metadata_writable
18159
18160 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18161
18162         * docs/gst/gstreamer-sections.txt:
18163         * gst/gstevent.h:
18164           Add gst_event_replace() (#327001)
18165
18166 2006-01-20  Wim Taymans  <wim@fluendo.com>
18167
18168         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18169         Make it actually compile too..
18170
18171 2006-01-20  Wim Taymans  <wim@fluendo.com>
18172
18173         * gst/gstcaps.c:
18174         Clarify behaviour of _is_equal() when passing NULL parameters.
18175
18176         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18177         (gst_pad_set_caps):
18178         Cleanups. Don't unref NULL caps.
18179         When setting the same caps, protect caps of the pad with
18180         proper lock.
18181         Use full functionality of _is_equal() when comparing caps.
18182
18183 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18184
18185         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18186         Don't loop infinitely if there are no buffers to present. Partially
18187         fixes #327197, but collectpads is just broken for reusing elements
18188         to do multiple encodes atm.
18189
18190 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18191
18192         * tools/gst-inspect.c: (print_element_features):
18193         * tools/gst-xmlinspect.c: (main):
18194         URL_HANDLER is not a plugin feature we can search for in
18195         the registry.
18196
18197 2006-01-19  Edward Hervey  <edward@fluendo.com>
18198
18199         * gst/gstelement.c: (gst_element_pads_activate): 
18200         When activating, do src pads first, then sink pads.
18201         When de-activating, do sink pads first, then src pads.
18202
18203 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18204
18205         * docs/gst/gstreamer-sections.txt:
18206         Add gst_index_add_associationv to the docs
18207
18208 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18209
18210         * gst/gstevent.c:
18211           Fix docs typo
18212
18213         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18214         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18215           Do some refactoring. Doesn't actually change functionality,
18216           but makes landing the DRAIN event easier later.
18217
18218 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18219
18220         * docs/pwg/advanced-scheduling.xml:
18221           Update from 0.9.x to 0.10 API and make example a bit
18222           clearer.
18223
18224 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18225
18226         * docs/gst/gstreamer-sections.txt:
18227         Add gst_buffer_(is|make)_metadata_writable methods.
18228
18229 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18230
18231         * docs/design/part-sparsestreams.txt:
18232         Update sparse streams doc, hopefully for greater clarity
18233
18234 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18235
18236         * docs/design/part-events.txt:
18237         Remove mention of FILLER events.
18238         Add DRAIN event.
18239
18240         * docs/design/part-sparsestreams.txt:
18241         Write some things about using NEWSEGMENT to keep sparse streams
18242         flowing.
18243
18244 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18245
18246         * gst/gstbin.c: (gst_bin_dispose):
18247           Guard gst_object_unref call against a NULL object (dispose
18248           can theoretically be called multiple times).
18249           
18250 2006-01-18  Wim Taymans  <wim@fluendo.com>
18251
18252         * gst/gstbin.c: (gst_bin_element_set_state):
18253         * gst/gstclock.c: (gst_clock_id_wait):
18254         Added some more debug info.
18255
18256         * libs/gst/base/gstadapter.c:
18257         Added more docs.
18258
18259         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18260         (gst_base_sink_do_sync), (gst_base_sink_chain):
18261         Added some comments.
18262
18263 2006-01-18  Wim Taymans  <wim@fluendo.com>
18264
18265         * tests/check/Makefile.am:
18266         * tests/check/elements/fakesink.c: (chain_async_buffer),
18267         (chain_async), (chain_async_return), (GST_START_TEST),
18268         (fakesink_suite), (main):
18269         Added fakesink test that checks prerolling and clipping
18270         behaviour.
18271
18272         * tests/check/gst/gstutils.c: (GST_START_TEST):
18273         Make check run faster so that buildbots don't timeout.
18274
18275 2006-01-18  Wim Taymans  <wim@fluendo.com>
18276
18277         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18278         (gst_base_sink_do_sync):
18279         Some cleanups.
18280         When the sink finishes blocking on the preroll buffer, it can
18281         immediatly render it instead of rendering when the next buffer
18282         arrives.
18283
18284 2006-01-18  Wim Taymans  <wim@fluendo.com>
18285
18286         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18287         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18288         (gst_base_sink_chain):
18289         Small cleanups.
18290         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18291         Don't store _last_stop if the buffer is dropped.
18292
18293 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18294
18295         * plugins/elements/gsttypefindelement.c:
18296         (gst_type_find_element_class_init):
18297           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18298           object method handler that sets the caps on the pad and we want
18299           that to happen before we emit the signal (fixes e.g. feeding a
18300           plain text file to decodebin).
18301
18302 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18303
18304         * gst/gstplugin.c: Add MPL and Proprietary as license options
18305
18306 2006-01-18  Andy Wingo  <wingo@pobox.com>
18307
18308         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18309         symbol was exported before, it appears this was just an oversight.
18310         Fixes #168703.
18311         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18312
18313         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18314         prototype to gint. OK since this prototype was not in the header.
18315
18316 2006-01-17  Andy Wingo  <wingo@pobox.com>
18317
18318         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18319         registry while we remove plugins.
18320
18321         * tools/gst-inspect.c (print_element_info): Don't unref the
18322         factory arg, that should be the responsibility of whatever code
18323         received the ref. Fixes a double-free when called from
18324         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18325         (main): Unref the factory if we have one.
18326         (print_element_list): No change -- relies on the
18327         plugin_feature_list_free to free the list of features.
18328
18329 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18330
18331         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18332         (gst_buffer_make_metadata_writable):
18333         * gst/gstbuffer.h:
18334         * libs/gst/base/gstbasetransform.c:
18335         (gst_base_transform_prepare_output_buf):
18336         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18337         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18338           Replace gst_buffer_(make|is)_metadata_writable patch now
18339           that the release is out.
18340
18341 2006-01-17  Andy Wingo  <wingo@pobox.com>
18342
18343         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18344         in the present tense without reference to versions.
18345
18346         * gst/gstregistry.c (gst_registry_add_plugin)
18347         (gst_registry_remove_plugin, gst_registry_remove_feature)
18348         (gst_registry_find_feature, gst_registry_get_feature_list)
18349         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18350         (gst_registry_lookup, gst_registry_scan_path)
18351         (_gst_registry_remove_cache_plugins)
18352         (gst_registry_get_feature_list_by_plugin): Add argument
18353         validation.
18354
18355 === release 0.10.2 ===
18356
18357 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18358
18359         * configure.ac:
18360           releasing 0.10.2, "If man is five"
18361
18362 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18363
18364         * gst/gstbuffer.c:
18365         * gst/gstbuffer.h:
18366         * libs/gst/base/gstbasetransform.c:
18367         (gst_base_transform_prepare_output_buf):
18368         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18369         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18370           Back out patch until after the release.
18371
18372 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18373
18374         * gst/gstminiobject.c:
18375           Spelling fix in docs.
18376         * ChangeLog - remove conflict indicator
18377
18378 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18379
18380         Reviewed By: Andy Wingo
18381
18382         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18383         (gst_buffer_make_metadata_writable):
18384         * gst/gstbuffer.h:
18385           Add gst_buffer_(is|make)_metadata_writable as analogues of
18386           gst_buffer_(is|make)_writable.
18387
18388         * libs/gst/base/gstbasetransform.c:
18389         (gst_base_transform_prepare_output_buf):
18390         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18391           Use name gst_buffer_(is|make)_metadata_writable functions.
18392
18393         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18394           Test gst_buffer_(is|make)_metadata_writable
18395         
18396           (Closes: #324162)
18397
18398 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18399
18400         * docs/manual/Makefile.am:
18401           don't do parallel make
18402         * configure.ac:
18403           AC_SUBST HOST_CPU
18404         * win32/common/config.h.in:
18405           add generations for HOST_CPU and GST_MAJORMINOR
18406         * win32/common/config.h:
18407           commit generated result
18408
18409 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18410
18411         * docs/manual/appendix-integration.xml:
18412           Update GNOME integration section to use gst_init_get_option_group()
18413           instead of the old popt stuff (#322911). Also, GNOME applications
18414           should  now use gconf*sink and gconf*src instead of the old gconf
18415           helper lib we had.
18416
18417 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18418
18419
18420         * docs/gst/gstreamer-docs.sgml:
18421         * docs/gst/gstreamer-sections.txt:
18422         * docs/libs/gstreamer-libs-sections.txt:
18423           add new API entries to the docs
18424         * libs/gst/controller/Makefile.am:
18425         * libs/gst/controller/gstcontroller.c:
18426         * libs/gst/controller/gstcontroller.h:
18427         * libs/gst/controller/gstcontrollerprivate.h:
18428         * libs/gst/controller/gsthelper.c:
18429         * libs/gst/controller/gstinterpolation.c:
18430           move private structs to private header
18431         * po/README:
18432           gstreamer-0.7 -> gstreamer-0.10
18433         * tests/check/libs/struct_i386.h:
18434           remove private structs
18435
18436 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18437
18438         * plugins/indexers/Makefile.am:
18439           Fixes as part of #317048
18440
18441 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18442
18443         * plugins/indexers/Makefile.am:
18444           fix #316086 - compilation when mmap is missing
18445
18446 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18447
18448         * libs/gst/base/gstbasesink.c:
18449           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18450           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18451         * win32/common/config.h:
18452           added some defines GST_MAJORMINOR and HOST_CPU
18453         * win32/common/libgstbase.def:
18454         * win32/common/libgstreamer.def:
18455           added some exported functions.
18456
18457 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18458
18459         * libs/gst/controller/gstcontroller.c:
18460         (gst_controlled_property_set_interpolation_mode),
18461         (gst_controlled_property_new):
18462         * libs/gst/controller/gstcontroller.h:
18463         * libs/gst/controller/gstinterpolation.c:
18464         (interpolate_none_get_string_value_array):
18465           make G_TYPE_STRING controlable
18466
18467 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18468
18469         * tools/README:
18470         * tools/gst-feedback.1.in:
18471         * tools/gst-inspect.1.in:
18472         * tools/gst-launch.1.in:
18473         * tools/gst-md5sum.1.in:
18474         * tools/gst-typefind.1.in:
18475         * tools/gst-xmlinspect.1.in:
18476         * tools/gst-xmllaunch.1.in:
18477           cleanup man-pages, remove reference to gst-register, document env-vars
18478
18479 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18480
18481         * gst/gstbuffer.c: (gst_buffer_span):
18482           gst_buffer_span should copy the timestamp of the first buffer
18483           if they were both originally overlapping subbuffers of the 
18484           same parent, using the same logic as the 'slow copy' case.
18485
18486 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18487
18488         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18489           Need to awaken ALL the pads when we pop a buffer, otherwise
18490           collectpads only works when there is 2 input streams.
18491
18492 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18493
18494         * docs/random/ensonic/media-device-daemon.txt:
18495           more ideas (dbus)
18496         * gst/gstbuffer.c:
18497           fix doc example, add clarification
18498         * tools/gst-launch.1.in:
18499           add initial info about GST_PLUGIN_PATH, needs more work
18500
18501 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18502
18503         * docs/manual/basics-bins.xml:
18504         * docs/manual/basics-elements.xml:
18505         * docs/manual/intro-basics.xml:
18506           Some more minor docs additions and updates.
18507
18508 2006-01-11  Wim Taymans  <wim@fluendo.com>
18509
18510         * docs/manual/basics-bins.xml:
18511         * docs/manual/basics-elements.xml:
18512         Some small fixes as pointed out by Ser-ver on IRC.
18513
18514 2006-01-10  Edward Hervey  <edward@fluendo.com>
18515
18516         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18517         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18518         the single-segment mode.
18519
18520 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18521
18522         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18523
18524         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18525         (gst_base_src_perform_seek), (gst_base_src_send_event),
18526         (gst_base_src_set_property), (gst_base_src_get_property),
18527         (gst_base_src_loop), (gst_base_src_start),
18528         (gst_base_src_activate_push):
18529         * libs/gst/base/gstbasesrc.h:
18530           Name (private) union; makes Sun's Forte compiler happy (#324900).
18531
18532 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18533
18534         * README:
18535           gst-register is gone.
18536
18537 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18538
18539         * gst/gstvalue.c: (_gst_value_initialize):
18540           make the G_TYPE_DATE instantiation work if debug is disabled
18541
18542 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18543
18544         * gst/gstmessage.c: (gst_message_parse_tag),
18545         (gst_message_parse_error), (gst_message_parse_warning):
18546           Don't crash when return location for error/warning debug
18547           string is NULL; add fact that return locations can be
18548           NULL to docs where appropriate.
18549
18550 2006-01-05  Wim Taymans  <wim@fluendo.com>
18551
18552         * gst/gstplugin.c: (gst_plugin_load_file):
18553         Replace strdup by g_strdup.
18554
18555 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18556
18557         * docs/pwg/advanced-types.xml:
18558           fix doc borkage
18559
18560 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18561
18562         submitted by: Abel Cheung
18563
18564         * po/LINGUAS:
18565         * po/zh_TW.po:
18566           Added Chinese (traditional) translation
18567
18568 2006-01-04  Wim Taymans  <wim@fluendo.com>
18569
18570         * docs/manual/basics-pads.xml:
18571         * docs/plugins/Makefile.am:
18572         * docs/plugins/gstreamer-plugins-docs.sgml:
18573         * docs/plugins/gstreamer-plugins-sections.txt:
18574         * docs/pwg/advanced-clock.xml:
18575         * docs/pwg/advanced-scheduling.xml:
18576         * docs/pwg/advanced-types.xml:
18577         * plugins/elements/gstfdsink.c:
18578         * plugins/elements/gstfdsrc.c:
18579         * plugins/elements/gstfdsrc.h:
18580         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18581         * plugins/elements/gstidentity.h:
18582         * plugins/elements/gstqueue.h:
18583         * plugins/elements/gsttee.c:
18584         * plugins/elements/gsttee.h:
18585         * plugins/elements/gsttypefindelement.c:
18586         (gst_type_find_element_class_init):
18587         * plugins/elements/gsttypefindelement.h:
18588         Small updates to various docs.
18589         Added core plugins to docs.
18590
18591 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18592
18593         * common/gst.supp:
18594           add a suppression for liboil's uninitialized variable
18595
18596 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18597
18598         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18599
18600         * gst/gstutils.h:
18601           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18602           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18603           compiler switch is being used (#325429).
18604
18605 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18606
18607         * gst/gstbin.c: (gst_bin_query):
18608           Disable duration query caching in bins until it gets
18609           fixed (see #324807).
18610
18611 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18612
18613         * tools/gst-inspect.c: (print_element_properties_info):
18614           Handle properties of POINTER and BOXED type.
18615
18616 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18617
18618         * gst/gst.c: (init_post):
18619           Init tags stuff and some other things before loading
18620           any static plugins (there may be other static plugins
18621           than just the GStreamer ones, and they may want to
18622           register their own tags or formats or whatever, and
18623           preferably without segfaulting).
18624
18625         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18626           Print at least a warning in the debug logs if we drop a
18627           query just because we don't know how to adjust the value
18628           in the particular format.
18629
18630 2005-12-24  David Schleef  <ds@schleef.org>
18631
18632         * tools/gstreamer-completion:
18633           Replacement for gst-complete written in sh and sed.  Only
18634           completes names of features, but that's 90% of what I want
18635           it for.  Properties are not available in registry.xml.  (Maybe
18636           they should be...)
18637
18638 === release 0.10.1 ===
18639
18640 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18641
18642         * configure.ac:
18643           releasing 0.10.1, "Nollaig chridheil"
18644
18645 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18646
18647         * docs/faq/cvs.xml:
18648           Add missing quote, should be make ERROR_CFLAGS="".
18649
18650 2005-12-20  Wim Taymans  <wim@fluendo.com>
18651
18652         * docs/design/part-trickmodes.txt:
18653         More documentation on trickmodes.
18654
18655 2005-12-20  Edward Hervey  <edward@fluendo.com>
18656
18657         * gst/gstcaps.c: (gst_static_caps_get_type):
18658         * gst/gstcaps.h:
18659           API addition: GST_TYPE_STATIC_CAPS
18660         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18661         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18662         * gst/gstpadtemplate.h:
18663           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18664         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18665         bindings.
18666
18667 2005-12-18  Wim Taymans  <wim@fluendo.com>
18668
18669         * libs/gst/base/gstadapter.c:
18670         * libs/gst/base/gstadapter.h:
18671         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18672         (gst_base_sink_get_position):
18673         * libs/gst/base/gstbasesink.h:
18674         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18675         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18676         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18677         (gst_base_src_send_event), (gst_base_src_update_length),
18678         (gst_base_src_get_range), (gst_base_src_loop),
18679         (gst_base_src_start):
18680         * libs/gst/base/gstbasesrc.h:
18681         * libs/gst/base/gstbasetransform.h:
18682         * libs/gst/base/gstcollectpads.h:
18683         * libs/gst/base/gstpushsrc.c:
18684         * libs/gst/base/gstpushsrc.h:
18685         * libs/gst/dataprotocol/dataprotocol.c:
18686         * libs/gst/dataprotocol/dataprotocol.h:
18687         * libs/gst/net/gstnetclientclock.h:
18688         * libs/gst/net/gstnettimeprovider.h:
18689         Documentation updates.
18690
18691 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18692
18693         * docs/manual/basics-helloworld.xml:
18694           Remove superfluous closing bracket in helloworld example.
18695
18696 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18697
18698         * tools/gst-launch.1.in:
18699           Update gst-launch man page; add a section with useful
18700           environment variables. Fixes #323882.
18701
18702 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18703
18704         * gst/gst.c:
18705         * gst/gst_private.h:
18706           change some char* into char[]
18707
18708 2005-12-16  Wim Taymans  <wim@fluendo.com>
18709
18710         * gst/gstregistryxml.c: (load_feature):
18711         Cleanups.
18712         Don't use g_object_unref on GstObjects so that we avoid
18713         leaks on unsafe glibs.
18714
18715 2005-12-16  Wim Taymans  <wim@fluendo.com>
18716
18717         * gst/gstbin.c: (gst_bin_recalc_state):
18718         Small doc updates.
18719
18720 2005-12-16  Wim Taymans  <wim@fluendo.com>
18721
18722         * common/check.mak:
18723         Added make forever target for check.
18724
18725 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18726
18727         * gst/gst.c: (init_post):
18728           make the registry cache file HOST_CPU-dependent
18729
18730 2005-12-16  Andy Wingo  <wingo@pobox.com>
18731
18732         * plugins/elements/gstbufferstore.c
18733         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18734         return value.
18735
18736         * tests/check/gst/gstobject.c
18737         (test_fake_object_name_threaded_unique): Pay attention to
18738         g_list_sort return value.
18739
18740 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18741
18742         * tools/gst-feedback-m.m:
18743           Update for 0.9/0.10 (fixes #323870).
18744
18745 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18746
18747         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18748           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18749           
18750         * tests/check/gst/gstminiobject.c: (my_foo_init),
18751         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18752         (test_value_collection), (gst_mini_object_suite):
18753           Add test to ensure refcounts end up as expected when passing
18754           GstMiniObjects through g_object_get() and g_object_set().
18755
18756 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18757
18758         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18759         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18760         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18761         of collectpads. This version removes a lot of races without
18762         touching API/ABI. Yay !
18763
18764 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18765
18766         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18767           Don't allow activation of a srcpad in pull_range if it has no
18768           getrange function.
18769           Change some debug statements to be a little clearer
18770
18771         * plugins/elements/gsttypefindelement.c:
18772         (gst_type_find_handle_src_query):
18773           Check that we have a peer before executing queries thereupon.
18774
18775         * tests/examples/metadata/read-metadata.c: (message_loop):
18776           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18777           immediately return us any available message with 0 timeout.
18778
18779 2005-12-12  Michael Smith  <msmith@fluendo.com>
18780
18781         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18782           Don't unref factories after calling them.
18783         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18784         * plugins/elements/gsttypefindelement.c:
18785         (gst_type_find_element_chain):
18786           Free lists of factories after using them. Fixing typefinding memory
18787           leaks.
18788
18789 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18790
18791         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18792         (gst_plugin_feature_load):
18793           more meaningful debug output
18794         * configure.ac:
18795         * tests/Makefile.am:
18796         * tests/old/examples/Makefile.am:
18797           make make distcheck happy again
18798
18799 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18800
18801         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18802           Catch the special case where we are operating chain-based,
18803           but the downstream peer pad has no chain function. Emit a
18804           custom error message in this case instead of letting the
18805           core generate one implying that this is some sort of core
18806           bug. It's not, it just means that whatever got plugged
18807           into the pipeline downstream when we announced the type
18808           can only operate pull-based, while our source can only
18809           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18810           Error string has not been marked for translation yet, as
18811           it probably needs some more work first.
18812
18813         (gst_type_find_element_get_best_possibility):
18814           Add helper function to find the best of all available
18815           found possibilities that qualify given the min. threshold.
18816
18817         (gst_type_find_element_handle_event):
18818           Fix the case where we get an EOS while still in TYPEFIND
18819           mode (we want to chose the best of all possible types,
18820           not just the first type that happens to be in our unsorted
18821           list of possible types).
18822
18823         (gst_type_find_element_chain):
18824           Make sure we return GST_FLOW_ERROR when we errored out
18825           in stop_typefinding(); also, don't just find the best of
18826           all found type entries and then use the last examined
18827           type entry, but actually use the best entry.
18828
18829 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18830
18831         * tests/examples/typefind/typefind.c: (type_found):
18832         * tests/examples/xml/runxml.c: (xml_loaded):
18833           More gcc4 fixes and a mem leak fix.
18834
18835 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18836
18837         * tests/examples/xml/createxml.c: (object_saved):
18838           gcc 4 fixes
18839
18840 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18841
18842         * tests/Makefile.am:
18843           enable the examples even more
18844
18845 2005-12-12  Andy Wingo  <wingo@pobox.com>
18846
18847         * libs/gst/net/gstnettimeprovider.c
18848         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18849         (gst_net_time_provider_set_property)
18850         (gst_net_time_provider_get_property):
18851         API addition: Export "active" as a GObject property.
18852         (gst_net_time_provider_thread): Only respond to time queries if
18853         the time provider is active.
18854
18855         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18856         NetTimeProvider, preserving binary compat.
18857
18858 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18859
18860         * tests/examples/controller/audio-example.c: (main):
18861         * tests/examples/launch/Makefile.am:
18862           convert comments again
18863
18864 2005-12-12  Wim Taymans  <wim@fluendo.com>
18865
18866         * libs/gst/base/gstpushsrc.c:
18867         Fix typo.
18868
18869 2005-12-12  Wim Taymans  <wim@fluendo.com>
18870
18871         * docs/libs/gstreamer-libs-sections.txt:
18872         Added new symbol to docs.
18873
18874         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18875         (gst_base_src_init), (gst_base_src_set_format),
18876         (gst_base_src_default_query), (gst_base_src_query),
18877         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18878         (gst_base_src_perform_seek), (gst_base_src_send_event),
18879         (gst_base_src_default_event), (gst_base_src_event_handler),
18880         (gst_base_src_set_property), (gst_base_src_get_property),
18881         (gst_base_src_wait), (gst_base_src_do_sync),
18882         (gst_base_src_update_length), (gst_base_src_get_range),
18883         (gst_base_src_check_get_range), (gst_base_src_loop),
18884         (gst_base_src_default_negotiate), (gst_base_src_start),
18885         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18886         (gst_base_src_change_state):
18887         * libs/gst/base/gstbasesrc.h:
18888         Implement seeking to other formats than _BYTES.
18889         Implement more seeking methods correctly.
18890         Doc updates.
18891         Added query vmethod.
18892         Added do_seek vmethod to make life easier for subclasses
18893         when seeking.
18894         API addition: gst_base_src_set_format()
18895
18896 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18897
18898         * tests/examples/Makefile.am:
18899           added that too
18900
18901 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18902
18903         * configure.ac:
18904         * docs/random/ensonic/media-device-daemon.txt:
18905         * tests/examples/controller/.cvsignore:
18906         * tests/examples/controller/Makefile.am:
18907         * tests/examples/controller/audio-example.c: (main):
18908         * tests/examples/helloworld/.cvsignore:
18909         * tests/examples/helloworld/Makefile.am:
18910         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18911         * tests/examples/launch/.cvsignore:
18912         * tests/examples/launch/Makefile.am:
18913         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18914         * tests/examples/metadata/.cvsignore:
18915         * tests/examples/metadata/Makefile.am:
18916         * tests/examples/metadata/read-metadata.c: (message_loop),
18917         (make_pipeline), (print_tag), (main):
18918         * tests/examples/queue/.cvsignore:
18919         * tests/examples/queue/Makefile.am:
18920         * tests/examples/queue/queue.c: (event_loop), (main):
18921         * tests/examples/typefind/.cvsignore:
18922         * tests/examples/typefind/Makefile.am:
18923         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18924         (main):
18925         * tests/examples/xml/.cvsignore:
18926         * tests/examples/xml/Makefile.am:
18927         * tests/examples/xml/createxml.c: (object_saved), (main):
18928         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18929         * tests/old/examples/Makefile.am:
18930         * tests/old/examples/TODO:
18931         * tests/old/examples/controller/.cvsignore:
18932         * tests/old/examples/controller/Makefile.am:
18933         * tests/old/examples/controller/audio-example.c:
18934         * tests/old/examples/helloworld/.cvsignore:
18935         * tests/old/examples/helloworld/Makefile.am:
18936         * tests/old/examples/helloworld/helloworld.c:
18937         * tests/old/examples/launch/.cvsignore:
18938         * tests/old/examples/launch/Makefile.am:
18939         * tests/old/examples/launch/mp3parselaunch.c:
18940         * tests/old/examples/launch/mp3play:
18941         * tests/old/examples/manual/Makefile.am:
18942         * tests/old/examples/metadata/Makefile.am:
18943         * tests/old/examples/metadata/read-metadata.c:
18944         * tests/old/examples/queue/.cvsignore:
18945         * tests/old/examples/queue/Makefile.am:
18946         * tests/old/examples/queue/queue.c:
18947         * tests/old/examples/typefind/.cvsignore:
18948         * tests/old/examples/typefind/Makefile.am:
18949         * tests/old/examples/typefind/typefind.c:
18950         * tests/old/examples/xml/.cvsignore:
18951         * tests/old/examples/xml/Makefile.am:
18952         * tests/old/examples/xml/createxml.c:
18953         * tests/old/examples/xml/runxml.c:
18954           applied some simple fixing to some examples
18955           re-enabled the working examples
18956
18957 2005-12-12  Wim Taymans  <wim@fluendo.com>
18958
18959         * gst/gstsegment.c: (gst_segment_init),
18960         (gst_segment_set_last_stop), (gst_segment_set_seek),
18961         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18962         (gst_segment_to_running_time):
18963         Added more documentation.
18964         Make sure the last_pos value is updated properly.
18965         Make sure to_stream_time and to_running_time don't
18966         operate on wrong values.
18967
18968         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18969         Update check.
18970
18971 2005-12-12  Michael Smith  <msmith@fluendo.com>
18972
18973         * plugins/elements/gsttypefindelement.c: (free_entry),
18974         (gst_type_find_element_chain):
18975           Now that we're not leaking factories, make sure we keep references
18976           to them while we need them.
18977
18978 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18979
18980         * tests/check/gst/struct_i386.h:
18981           ifdef out the XML structs
18982
18983 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18984
18985         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18986           floor is not needed, F is always positive; this obviates the
18987           need for adding -lm when building without libxml
18988
18989 2005-12-12  Wim Taymans  <wim@fluendo.com>
18990
18991         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18992         Take current playback rate into account when reporting
18993         the position.
18994
18995 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18996
18997         * docs/manual/mime-world.fig:
18998           Let's try this again, this time with a file that is
18999           actually in XFig format.
19000
19001 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19002
19003         * docs/manual/mime-world.fig:
19004           Add audioconvert element to diagram so that it
19005           matches the text and the code (fixes #319526).
19006
19007 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19008
19009         * docs/pwg/building-chainfn.xml:
19010         * docs/pwg/building-pads.xml:
19011         * docs/pwg/building-state.xml:
19012         * docs/pwg/other-source.xml:
19013           Update state change stuff for 0.10 (fixes #322969).
19014
19015 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19016
19017         * docs/manual/advanced-dataaccess.xml:
19018         * docs/manual/appendix-checklist.xml:
19019         * docs/manual/appendix-programs.xml:
19020         * docs/manual/basics-pads.xml:
19021         * docs/manual/highlevel-components.xml:
19022         * docs/manual/manual.xml:
19023           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
19024           add converters in front of pipelines; remove curly
19025           brackets for threads stuff, they no longer exist; use
19026           GST_TYPE_FRACTION for framerates; update some pieces of
19027           code to 0.10, but there's plenty more to do.
19028
19029         * docs/manual/appendix-porting.xml:
19030           Expand on asynchroneous state changes; s/0.9/0.10/;
19031           mention disappearance of gst_init_get_popt_table()
19032           (fixes #322916).
19033
19034 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
19035
19036         * docs/faq/using.xml:
19037           Spider no longer exists, and neither does gst-launch-ext.
19038           Update examples to use decodebin and playbin and put
19039           converters in front of sinks (fixes #323726).
19040
19041 2005-12-09  Michael Smith  <msmith@fluendo.com>
19042
19043         * plugins/elements/gsttypefindelement.c: (find_peek),
19044         (gst_type_find_element_chain):
19045           Fix leaking element factories in typefinding.
19046           Fix problem where we forgot about a probable type on non-seekable
19047           files, and thus later mis-typefound it.
19048
19049 2005-12-09  Michael Smith  <msmith@fluendo.com>
19050
19051         * common/m4/gst-makecontext.m4:
19052         * common/m4/gst-mcsc.m4:
19053         * configure.ac:
19054         * win32/common/config.h:
19055         * win32/common/config.h.in:
19056           Remove makecontext stuff; not used in 0.10 and causes problems on
19057           HPUX according to bug #322441
19058
19059 2005-12-07  Wim Taymans  <wim@fluendo.com>
19060
19061         * tests/check/Makefile.am:
19062         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
19063         (main):
19064         * tests/check/libs/struct_i386.h:
19065         Added ABI check for libs
19066
19067 2005-12-07  Wim Taymans  <wim@fluendo.com>
19068
19069         * tests/check/Makefile.am:
19070         And add the struct_i386.h to dist.
19071
19072 2005-12-07  Wim Taymans  <wim@fluendo.com>
19073
19074         * tests/check/Makefile.am:
19075         * tests/check/gst/.cvsignore:
19076         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
19077         (main):
19078         * tests/check/gst/struct_i386.h:
19079         Added check for ABI compatibility.
19080
19081 2005-12-07  Wim Taymans  <wim@fluendo.com>
19082
19083         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19084         (gst_fake_src_get_times), (gst_fake_src_create):
19085         Fix broken sync option, fixes #323259
19086
19087 2005-12-07  Wim Taymans  <wim@fluendo.com>
19088
19089         * gst/gstbuffer.c:
19090         Small docs update.
19091
19092         * gst/gstcaps.c: (gst_caps_is_equal):
19093         Don't assert on NULL <--> X. Fixes #323260
19094
19095         * gst/gstminiobject.c: (gst_mini_object_replace):
19096         If we're doing atomic operations, we might just as well use
19097         the proper way to get an atomic pointer.
19098
19099         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19100         Clean up debugging.
19101
19102 2005-12-07  Michael Smith  <msmith@fluendo.com>
19103
19104         * gst/parse/grammar.y:
19105           Remove handling of { } for threads.
19106
19107 2005-12-06  David Schleef  <ds@schleef.org>
19108
19109         * libs/gst/base/gstbasetransform.c: speling fix.
19110
19111 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19112
19113         * docs/libs/tmpl/gstdataprotocol.sgml:
19114         * docs/random/omega/testing/gstobject.c:
19115         * gst/gst.c:
19116         * gst/gstclock.c:
19117         * gst/gstelement.c:
19118         * gst/gstelementfactory.c:
19119         * gst/gsterror.c:
19120         * gst/gstevent.c:
19121         * gst/gstghostpad.c:
19122         * gst/gstinfo.c:
19123         * gst/gstpadtemplate.c:
19124         * gst/gstregistryxml.c:
19125         * gst/gsttaglist.c:
19126         * gst/gsttagsetter.c:
19127         * gst/gsttypefind.c:
19128         * gst/gstvalue.c:
19129         * libs/gst/base/gstbasesrc.c:
19130         * libs/gst/net/gstnetclientclock.c:
19131         * libs/gst/net/gstnettimeprovider.c:
19132         * plugins/elements/gstfakesrc.c:
19133         * plugins/elements/gstfdsrc.c:
19134         * plugins/elements/gstfilesrc.c:
19135         * plugins/elements/gstidentity.c:
19136         * plugins/elements/gstqueue.c:
19137         * plugins/elements/gsttypefindelement.c:
19138         * plugins/indexers/gstfileindex.c:
19139         * plugins/indexers/gstmemindex.c:
19140         * tests/check/gst/gsttag.c:
19141         * tests/old/examples/cutter/cutter.c:
19142         * tests/old/examples/mixer/mixer.c:
19143         * tests/old/examples/xml/runxml.c: (main):
19144         * tests/old/testsuite/caps/normalisation.c:
19145         * tests/old/testsuite/debug/global.c:
19146         * tests/old/testsuite/parse/parse1.c:
19147         * tools/gst-xmlinspect.c:
19148         * win32/common/dirent.c:
19149           expand tabs
19150
19151 === release 0.10.0 ===
19152
19153 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19154
19155         * configure.ac:
19156           releasing 0.10.0, "Maroilles"
19157
19158 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19159
19160         submitted by: Funda Wang <fundawang@linux.net.cn>
19161
19162         * po/LINGUAS:
19163         * po/zh_CN.po:
19164           added Chinese (Traditional) translation
19165
19166 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19167
19168         * docs/gst/gstreamer-sections.txt:
19169         * docs/libs/tmpl/gstdataprotocol.sgml:
19170         * docs/random/thomasvs/TODO:
19171         * gst/gstutils.c:
19172         * gst/gstutils.h:
19173           fix docs
19174
19175 2005-12-05  Andy Wingo  <wingo@pobox.com>
19176
19177         patch by: Wim Taymans <wim@fluendo.com>
19178
19179         * libs/gst/base/gstbasetransform.c
19180         (gst_base_transform_prepare_output_buf)
19181         (gst_base_transform_buffer_alloc):
19182         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19183         alloc_buffer_and_set_caps.
19184
19185         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19186         set_caps on the source pad.
19187         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19188         alloc_buffer used to do. Fixes #322874.
19189
19190         * docs/gst/gstreamer-sections.txt: 
19191         * docs/design/part-negotiation.txt: 
19192         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19193         changes.
19194
19195 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19196
19197         patch by: Sebastien Moutte
19198
19199         * win32/MANIFEST:
19200         * win32/common/config.h.in:
19201         * win32/vs6/libgstcontroller.dsp:
19202           win32 build fixes
19203
19204 2005-12-05  Wim Taymans  <wim@fluendo.com>
19205
19206         * gst/gstcaps.c: (gst_caps_is_equal):
19207         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19208         (gst_fake_src_create):
19209         Back out previous code changes, leave doc updates, file bugs 
19210         instead. 
19211
19212 2005-12-05  Wim Taymans  <wim@fluendo.com>
19213
19214         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19215         (gst_fake_src_get_times), (gst_fake_src_create):
19216         * plugins/elements/gstfakesrc.h:
19217         Fix broken sync code.
19218
19219 2005-12-05  Wim Taymans  <wim@fluendo.com>
19220
19221         * gst/gstcaps.c: (gst_caps_is_equal):
19222         Comparing NULL against !NULL yields different caps, not a
19223         failure.
19224
19225 2005-12-05  Wim Taymans  <wim@fluendo.com>
19226
19227         * gst/gstpipeline.c:
19228         Fix small typo in docs.
19229
19230 2005-12-05  Andy Wingo  <wingo@pobox.com>
19231
19232         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19233
19234         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19235         registries/plugins with a MAJORMINOR one.
19236         (plugin_desc): Rename library from gstcoreleements to
19237         staticelements. Fixes #323222.
19238
19239 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19240
19241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19242           Change debug category to 'collectpads' from 'collect_pads'
19243           (fixes #323250).
19244
19245 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19246
19247         patch by: Sebastien Moutte
19248
19249         * libs/gst/controller/gstinterpolation.c:
19250           use convert function for uint64/double
19251         * win32/vs6/libgstcontroller.dsp:
19252           link to GLib
19253
19254 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19255
19256         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19257         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19258         * gst/gstutils.h:
19259         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19260           add tests that seem to show that the guint64/gdouble conversions
19261           are correct.
19262
19263 2005-12-02  Wim Taymans  <wim@fluendo.com>
19264
19265         * gst/gstregistry.c: (gst_registry_add_path):
19266         * gst/gstregistry.h:
19267         * gst/gstregistryxml.c:
19268         Fix docs again.
19269
19270 2005-12-02  Wim Taymans  <wim@fluendo.com>
19271
19272         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19273         (gst_util_uint64_scale_int):
19274         Small cleanup.
19275
19276         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19277         Add debug log line.
19278
19279         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19280         Add FIXME.
19281
19282 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19283
19284         * win32/MANIFEST:
19285         * win32/common/config.h:
19286         * win32/vs6/gstreamer.dsw:
19287         * win32/vs6/libgstcoreelements.dsp:
19288         * win32/vs6/libgstelements.dsp:
19289           renamed core elements plugin
19290
19291 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19292
19293         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19294         (get_candidates):
19295           do piece-wise major/minor comparison so 0.9 < 0.10
19296           also allow .exe extensions for tools
19297
19298 2005-12-02  Michael Smith  <msmith@fluendo.com>
19299
19300         * gst/gst.c:
19301           Escape a % to make gtkdoc happier; bug 322958.
19302
19303 === release 0.9.7 ===
19304
19305 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19306
19307         * configure.ac:
19308           releasing 0.9.7, "My Dog Has No Nose"
19309
19310 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19311
19312         * common/gst-xmlinspect.py:
19313         * configure.ac:
19314         * docs/libs/tmpl/gstdataprotocol.sgml:
19315         * docs/random/release:
19316         * po/af.po:
19317         * po/az.po:
19318         * po/bg.po:
19319         * po/ca.po:
19320         * po/cs.po:
19321         * po/de.po:
19322         * po/en_GB.po:
19323         * po/fr.po:
19324         * po/it.po:
19325         * po/nb.po:
19326         * po/nl.po:
19327         * po/ru.po:
19328         * po/sq.po:
19329         * po/sr.po:
19330         * po/sv.po:
19331         * po/tr.po:
19332         * po/uk.po:
19333         * po/vi.po:
19334         * win32/common/config.h:
19335         * win32/common/config.h.in:
19336         * win32/vs6/gst_inspect.dsp:
19337         * win32/vs6/gst_launch.dsp:
19338         * win32/vs6/libgstbase.dsp:
19339         * win32/vs6/libgstelements.dsp:
19340         * win32/vs6/libgstreamer.dsp:
19341         * win32/vs7/GStreamer.vcproj:
19342         * win32/vs7/gst-inspect.vcproj:
19343         * win32/vs7/gst-launch.vcproj:
19344         * win32/vs7/libgstbase.vcproj:
19345           bump GST_MAJORMINOR to 0.10
19346           reset libtool version
19347
19348 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19349
19350         * po/LINGUAS:
19351         * po/bg.po:
19352           Added Bulgarian translation by (Alexander Shopov)
19353
19354 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19355
19356         * tests/check/gst/gstplugin.c:
19357           fix test
19358
19359 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19360
19361         * common/gst-xmlinspect.py:
19362         * common/gtk-doc-plugins.mak:
19363         * configure.ac:
19364         * docs/Makefile.am:
19365         * docs/gst/Makefile.am:
19366         * docs/gst/gstreamer-docs.sgml:
19367         * docs/gst/gstreamer-sections.txt:
19368         * docs/gst/gstreamer.types:
19369         * docs/gst/gstreamer.types.in:
19370         * docs/plugins/Makefile.am:
19371         * docs/plugins/gstreamer-plugins-docs.sgml:
19372         * docs/plugins/gstreamer-plugins-sections.txt:
19373         * docs/plugins/gstreamer-plugins.types:
19374         * docs/plugins/inspect.stamp:
19375         * docs/plugins/inspect/plugin-coreelements.xml:
19376         * docs/plugins/inspect/plugin-coreindexers.xml:
19377         * docs/plugins/scanobj-build.stamp:
19378         * gstreamer.spec.in:
19379         * plugins/elements/Makefile.am:
19380         * plugins/elements/gstelements.c:
19381         * plugins/elements/gstfakesink.c:
19382         * plugins/elements/gstfakesrc.c:
19383         * plugins/elements/gstfilesink.c:
19384         * plugins/elements/gstfilesrc.c:
19385         * plugins/elements/gstqueue.c:
19386         * plugins/indexers/Makefile.am:
19387         * plugins/indexers/gstindexers.c:
19388           document core plugins in a separate document just like all the
19389           others
19390           rename these plugins to something starting with core
19391
19392 2005-12-01  Andy Wingo  <wingo@pobox.com>
19393
19394         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19395         padding here before, but it missed the commit.
19396
19397 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19398
19399         * libs/gst/controller/gstinterpolation.c:
19400           whitespace prices have crashed, we should feel free to use some now
19401           use gst_guint64_to_gdouble
19402
19403 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19404
19405         * libs/gst/controller/gstcontroller.c:
19406         * libs/gst/controller/gsthelper.c:
19407         * libs/gst/controller/gstinterpolation.c:
19408         * libs/gst/controller/lib.c:
19409           wrap config.h include
19410
19411 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * docs/gst/gstreamer-sections.txt:
19414           update docs
19415
19416 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19417
19418         * plugins/elements/gstelements.c:
19419         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19420         (gst_fd_sink__class_init), (gst_fd_sink__init),
19421         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19422         (gst_fd_sink__get_property):
19423         * plugins/elements/gstfdsink.h:
19424         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19425         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19426         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19427         (gst_fd_src_unlock), (gst_fd_src_set_property),
19428         (gst_fd_src_get_property), (gst_fd_src_create),
19429         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19430         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19431         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19432         (gst_fd_src_uri_handler_init):
19433         * plugins/elements/gstfdsrc.h:
19434         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19435           more anal cleanup
19436
19437 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19438
19439         * docs/gst/Makefile.am:
19440         * docs/gst/gstreamer.types.in:
19441         * gst/Makefile.am:
19442           fix the docs build
19443
19444 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * configure.ac:
19447         * gst/Makefile.am:
19448         * gst/gst.c:
19449         * gst/gstplugin.h:
19450         * gst/gstregistry.h:
19451         * tests/benchmarks/complexity.c:
19452         * tests/benchmarks/mass-elements.c:
19453         * tests/check/Makefile.am:
19454         * tools/Makefile.am:
19455         * tools/gst-inspect.c:
19456         * tools/gst-xmlinspect.c:
19457           various fixes to make
19458           --disable-nls --disable-registry --disable-loadsave
19459           --disable-parse --disable-gst-debug
19460           work and get the core .so down to 360444 bytes after stripping
19461
19462 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19463
19464         * Makefile.am:
19465         * configure.ac:
19466           descend into tests
19467         * docs/random/thomasvs/TODO:
19468         * tests/Makefile.am:
19469         * tests/README:
19470           add a README
19471
19472 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19473
19474         * win32/GStreamer.vcproj:
19475         * win32/MANIFEST:
19476         * win32/Makefile:
19477         * win32/Makefile.inspect:
19478         * win32/Makefile.launch:
19479         * win32/Makefile.register:
19480         * win32/README.txt:
19481         * win32/gst-inspect.vcproj:
19482         * win32/gst-launch.vcproj:
19483         * win32/gst-register.vcproj:
19484         * win32/gstelements.vcproj:
19485         * win32/gstgetbits.def:
19486         * win32/gstgetbits.vcproj:
19487         * win32/gstreamer-dbg.def:
19488         * win32/gstreamer.def:
19489         * win32/libgstbase.def:
19490         * win32/libgstbase.vcproj:
19491         * win32/link_oldruntime.c:
19492         * win32/mman.c:
19493         * win32/mman.h:
19494         * win32/mman.inl:
19495         * win32/msvc71.sln:
19496           move even more stuff, win32/ is nice and clean now
19497
19498 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19499
19500         * libs/gst/control/.cvsignore:
19501         * win32/MANIFEST:
19502         * win32/config.h:
19503         * win32/dirent.c:
19504         * win32/dirent.h:
19505         * win32/gstbytestream.def:
19506         * win32/gstbytestream.vcproj:
19507         * win32/gstconfig.h:
19508         * win32/gstenumtypes.c:
19509         * win32/gstenumtypes.h:
19510         * win32/gstoptimalscheduler.vcproj:
19511         * win32/gstversion.h:
19512         * win32/gtchar.h:
19513         * win32/testsuite/bins.vcproj:
19514         * win32/testsuite/bytestream.vcproj:
19515         * win32/testsuite/caps.vcproj:
19516         * win32/testsuite/cleanup.vcproj:
19517         * win32/testsuite/clock.vcproj:
19518         * win32/testsuite/debug.vcproj:
19519         * win32/testsuite/dlopen.vcproj:
19520         * win32/testsuite/dynparams.vcproj:
19521         * win32/testsuite/elements.vcproj:
19522         * win32/testsuite/ghostpads.vcproj:
19523         * win32/testsuite/indexers.vcproj:
19524         * win32/testsuite/negotiation.vcproj:
19525         * win32/testsuite/parse.vcproj:
19526         * win32/testsuite/plugin.vcproj:
19527         * win32/testsuite/refcounting.vcproj:
19528         * win32/testsuite/schedulers.vcproj:
19529         * win32/testsuite/states.vcproj:
19530         * win32/testsuite/tags.vcproj:
19531         * win32/testsuite/threads.vcproj:
19532           remove old win32 stuff that isn't maintained and should be
19533           reorganized
19534
19535 2005-11-30  Andy Wingo  <wingo@pobox.com>
19536
19537         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19538         loading the gst.interfaces python module bork.
19539
19540         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19541         available since GLib 2.2. Fixes #318031.
19542
19543 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19544
19545         * Makefile.am:
19546         * check/.cvsignore:
19547         * check/Makefile.am:
19548         * check/elements/.cvsignore:
19549         * check/elements/fakesrc.c:
19550         * check/elements/fdsrc.c:
19551         * check/elements/identity.c:
19552         * check/generic/.cvsignore:
19553         * check/generic/states.c:
19554         * check/gst-libs/.cvsignore:
19555         * check/gst-libs/controller.c:
19556         * check/gst-libs/gdp.c:
19557         * check/gst/.cvsignore:
19558         * check/gst/capslist.h:
19559         * check/gst/gst.c:
19560         * check/gst/gstbin.c:
19561         * check/gst/gstbuffer.c:
19562         * check/gst/gstbus.c:
19563         * check/gst/gstcaps.c:
19564         * check/gst/gstelement.c:
19565         * check/gst/gstevent.c:
19566         * check/gst/gstghostpad.c:
19567         * check/gst/gstiterator.c:
19568         * check/gst/gstmessage.c:
19569         * check/gst/gstminiobject.c:
19570         * check/gst/gstobject.c:
19571         * check/gst/gstpad.c:
19572         * check/gst/gstpipeline.c:
19573         * check/gst/gstplugin.c:
19574         * check/gst/gstsegment.c:
19575         * check/gst/gststructure.c:
19576         * check/gst/gstsystemclock.c:
19577         * check/gst/gsttag.c:
19578         * check/gst/gstutils.c:
19579         * check/gst/gstvalue.c:
19580         * check/net/.cvsignore:
19581         * check/net/gstnetclientclock.c:
19582         * check/net/gstnettimeprovider.c:
19583         * check/pipelines/.cvsignore:
19584         * check/pipelines/cleanup.c:
19585         * check/pipelines/simple_launch_lines.c:
19586         * check/pipelines/stress.c:
19587         * check/states/.cvsignore:
19588         * check/states/sinks.c:
19589         * configure.ac:
19590         * examples/Makefile.am:
19591         * examples/appreader/.cvsignore:
19592         * examples/appreader/Makefile.am:
19593         * examples/appreader/appreader.c:
19594         * examples/controller/.cvsignore:
19595         * examples/controller/Makefile.am:
19596         * examples/controller/audio-example.c:
19597         * examples/cutter/.cvsignore:
19598         * examples/cutter/Makefile.am:
19599         * examples/cutter/cutter.c:
19600         * examples/cutter/cutter.h:
19601         * examples/events/Makefile.am:
19602         * examples/events/seek.c:
19603         * examples/helloworld/.cvsignore:
19604         * examples/helloworld/Makefile.am:
19605         * examples/helloworld/helloworld.c:
19606         * examples/helloworld2/.cvsignore:
19607         * examples/helloworld2/Makefile.am:
19608         * examples/helloworld2/helloworld2.c:
19609         * examples/launch/.cvsignore:
19610         * examples/launch/Makefile.am:
19611         * examples/launch/mp3parselaunch.c:
19612         * examples/launch/mp3play:
19613         * examples/manual/.cvsignore:
19614         * examples/manual/Makefile.am:
19615         * examples/manual/extract.pl:
19616         * examples/metadata/Makefile.am:
19617         * examples/metadata/read-metadata.c:
19618         * examples/mixer/.cvsignore:
19619         * examples/mixer/Makefile.am:
19620         * examples/mixer/mixer.c:
19621         * examples/mixer/mixer.h:
19622         * examples/pingpong/.cvsignore:
19623         * examples/pingpong/Makefile.am:
19624         * examples/pingpong/pingpong.c:
19625         * examples/plugins/.cvsignore:
19626         * examples/plugins/Makefile.am:
19627         * examples/plugins/example.c:
19628         * examples/plugins/example.h:
19629         * examples/pwg/.cvsignore:
19630         * examples/pwg/Makefile.am:
19631         * examples/pwg/extract.pl:
19632         * examples/queue/.cvsignore:
19633         * examples/queue/Makefile.am:
19634         * examples/queue/queue.c:
19635         * examples/queue2/.cvsignore:
19636         * examples/queue2/Makefile.am:
19637         * examples/queue2/queue2.c:
19638         * examples/queue3/.cvsignore:
19639         * examples/queue3/Makefile.am:
19640         * examples/queue3/queue3.c:
19641         * examples/queue4/.cvsignore:
19642         * examples/queue4/Makefile.am:
19643         * examples/queue4/queue4.c:
19644         * examples/retag/.cvsignore:
19645         * examples/retag/Makefile.am:
19646         * examples/retag/retag.c:
19647         * examples/retag/transcode.c:
19648         * examples/thread/.cvsignore:
19649         * examples/thread/Makefile.am:
19650         * examples/thread/thread.c:
19651         * examples/typefind/.cvsignore:
19652         * examples/typefind/Makefile.am:
19653         * examples/typefind/typefind.c:
19654         * examples/xml/.cvsignore:
19655         * examples/xml/Makefile.am:
19656         * examples/xml/createxml.c:
19657         * examples/xml/runxml.c:
19658         * tests/Makefile.am:
19659         * tests/check/Makefile.am:
19660         * testsuite/.cvsignore:
19661         * testsuite/Makefile.am:
19662         * testsuite/Rules:
19663         * testsuite/caps/.cvsignore:
19664         * testsuite/caps/Makefile.am:
19665         * testsuite/caps/app_fixate.c:
19666         * testsuite/caps/audioscale.c:
19667         * testsuite/caps/caps.c:
19668         * testsuite/caps/caps.h:
19669         * testsuite/caps/caps_strings:
19670         * testsuite/caps/compatibility.c:
19671         * testsuite/caps/deserialize.c:
19672         * testsuite/caps/enumcaps.c:
19673         * testsuite/caps/eratosthenes.c:
19674         * testsuite/caps/filtercaps.c:
19675         * testsuite/caps/fixed.c:
19676         * testsuite/caps/fraction-convert.c:
19677         * testsuite/caps/fraction-multiply-and-zero.c:
19678         * testsuite/caps/intersect2.c:
19679         * testsuite/caps/intersection.c:
19680         * testsuite/caps/normalisation.c:
19681         * testsuite/caps/random.c:
19682         * testsuite/caps/renegotiate.c:
19683         * testsuite/caps/sets.c:
19684         * testsuite/caps/simplify.c:
19685         * testsuite/caps/string-conversions.c:
19686         * testsuite/caps/structure.c:
19687         * testsuite/caps/subtract.c:
19688         * testsuite/caps/union.c:
19689         * testsuite/debug/.cvsignore:
19690         * testsuite/debug/Makefile.am:
19691         * testsuite/debug/category.c:
19692         * testsuite/debug/commandline.c:
19693         * testsuite/debug/global.c:
19694         * testsuite/debug/output.c:
19695         * testsuite/debug/printf_extension.c:
19696         * testsuite/dlopen/.cvsignore:
19697         * testsuite/dlopen/Makefile.am:
19698         * testsuite/dlopen/dlopen_gst.c:
19699         * testsuite/dlopen/loadgst.c:
19700         * testsuite/elements/.cvsignore:
19701         * testsuite/elements/Makefile.am:
19702         * testsuite/elements/gst-inspect-check.in:
19703         * testsuite/elements/struct_i386.h:
19704         * testsuite/elements/struct_size.c:
19705         * testsuite/indexers/.cvsignore:
19706         * testsuite/indexers/Makefile.am:
19707         * testsuite/indexers/cache1.c:
19708         * testsuite/indexers/indexdump.c:
19709         * testsuite/parse/.cvsignore:
19710         * testsuite/parse/Makefile.am:
19711         * testsuite/parse/parse1.c:
19712         * testsuite/parse/parse2.c:
19713         * testsuite/plugin/.cvsignore:
19714         * testsuite/plugin/Makefile.am:
19715         * testsuite/plugin/README:
19716         * testsuite/plugin/dynamic.c:
19717         * testsuite/plugin/linked.c:
19718         * testsuite/plugin/loading.c:
19719         * testsuite/plugin/registry.c:
19720         * testsuite/plugin/static.c:
19721         * testsuite/plugin/static2.c:
19722         * testsuite/plugin/testplugin.c:
19723         * testsuite/plugin/testplugin2.c:
19724         * testsuite/plugin/testplugin2_s.c:
19725         * testsuite/plugin/testplugin_s.c:
19726         * testsuite/refcounting/.cvsignore:
19727         * testsuite/refcounting/Makefile.am:
19728         * testsuite/refcounting/bin.c:
19729         * testsuite/refcounting/element.c:
19730         * testsuite/refcounting/element_pad.c:
19731         * testsuite/refcounting/mainloop.c:
19732         * testsuite/refcounting/mem.c:
19733         * testsuite/refcounting/mem.h:
19734         * testsuite/refcounting/object.c:
19735         * testsuite/refcounting/pad.c:
19736         * testsuite/refcounting/sched.c:
19737         * testsuite/refcounting/thread.c:
19738         * testsuite/states/.cvsignore:
19739         * testsuite/states/Makefile.am:
19740         * testsuite/states/bin.c:
19741         * testsuite/states/locked.c:
19742         * testsuite/states/parent.c:
19743         * testsuite/threads/.cvsignore:
19744         * testsuite/threads/159566.c:
19745         * testsuite/threads/159852.c:
19746         * testsuite/threads/Makefile.am:
19747         * testsuite/threads/queue.c:
19748         * testsuite/threads/signals.c:
19749         * testsuite/threads/staticrec.c:
19750         * testsuite/threads/thread.c:
19751         * testsuite/threads/threadb.c:
19752         * testsuite/threads/threadc.c:
19753         * testsuite/threads/threadd.c:
19754         * testsuite/threads/threade.c:
19755         * testsuite/threads/threadf.c:
19756         * testsuite/threads/threadg.c:
19757         * testsuite/threads/threadh.c:
19758         * testsuite/threads/threadi.c:
19759           move all of these under tests
19760
19761 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19762
19763         * configure.ac:
19764         * tests/Makefile.am:
19765           fix distcheck
19766
19767 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19768
19769         * docs/gst/gstreamer-sections.txt:
19770         * tests/sched/.cvsignore:
19771         * tests/sched/Makefile.am:
19772         * tests/sched/cases/(fs-fs).xml:
19773         * tests/sched/cases/(fs-i-fs).xml:
19774         * tests/sched/cases/(fs-i-i-fs).xml:
19775         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19776         * tests/sched/dynamic-pipeline.c:
19777         * tests/sched/interrupt1.c:
19778         * tests/sched/interrupt2.c:
19779         * tests/sched/interrupt3.c:
19780         * tests/sched/runtestcases:
19781         * tests/sched/runxml.c:
19782         * tests/sched/sched-stress.c:
19783         * tests/sched/sort.c:
19784         * tests/sched/testcases:
19785         * tests/sched/testcases1.tc:
19786         * tests/seeking/.cvsignore:
19787         * tests/seeking/Makefile.am:
19788         * tests/seeking/seeking1.c:
19789         * tests/threadstate/.cvsignore:
19790         * tests/threadstate/Makefile.am:
19791         * tests/threadstate/test1.c:
19792         * tests/threadstate/test2.c:
19793         * tests/threadstate/threadstate1.c:
19794         * tests/threadstate/threadstate2.c:
19795         * tests/threadstate/threadstate3.c:
19796         * tests/threadstate/threadstate4.c:
19797         * tests/threadstate/threadstate5.c:
19798           remove obsolete tests
19799         * configure.ac:
19800         * tests/bench-complexity.scm:
19801         * tests/bench-mass_elements.scm:
19802         * tests/complexity.c:
19803         * tests/complexity.gnuplot:
19804         * tests/instantiate/.cvsignore:
19805         * tests/instantiate/Makefile.am:
19806         * tests/instantiate/caps.c:
19807         * tests/mass_elements.c:
19808         * tests/network-clock-utils.scm:
19809         * tests/network-clock.scm:
19810         * tests/plot-data:
19811         First pass at cleaning up tests/ dir before moving the rest
19812         Combined with CVS surgery
19813
19814 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19815
19816         * po/POTFILES.in:
19817           queue has moved, update
19818
19819 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19820
19821         * docs/gst/gstreamer-sections.txt:
19822           remove double entries from the docs
19823         * gst/gst_private.h:
19824         * gst/gstinfo.c: (_gst_debug_init):
19825           remove the THREAD debug category
19826         * gst/Makefile.am:
19827         * gst/gstqueue.c:
19828         * gst/gstqueue.h:
19829         * docs/gst/gstreamer.types:
19830         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19831         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19832           completely move queue and fix up debugging categories
19833
19834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19835
19836         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19837           make initialization portable, using LL is not
19838
19839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19840
19841         * win32/common/gstconfig.h:
19842           add large padding
19843
19844 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19845
19846         * win32/common/libgstreamer.def:
19847           rename symbols; sort base section
19848
19849 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19850
19851         * gst/gstclock.c: (do_linear_regression):
19852           remove crack non-portable handrolled DEBUG macro
19853
19854 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19855
19856         * docs/random/release:
19857           update notes
19858         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19859         (gst_object_flags_get_type), (register_gst_bin_flags),
19860         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19861         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19862         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19863         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19864         (gst_caps_flags_get_type), (register_gst_clock_return),
19865         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19866         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19867         (gst_clock_flags_get_type), (register_gst_state),
19868         (gst_state_get_type), (register_gst_state_change_return),
19869         (gst_state_change_return_get_type), (register_gst_state_change),
19870         (gst_state_change_get_type), (register_gst_element_flags),
19871         (gst_element_flags_get_type), (register_gst_core_error),
19872         (gst_core_error_get_type), (register_gst_library_error),
19873         (gst_library_error_get_type), (register_gst_resource_error),
19874         (gst_resource_error_get_type), (register_gst_stream_error),
19875         (gst_stream_error_get_type), (register_gst_event_type_flags),
19876         (gst_event_type_flags_get_type), (register_gst_event_type),
19877         (gst_event_type_get_type), (register_gst_seek_type),
19878         (gst_seek_type_get_type), (register_gst_seek_flags),
19879         (gst_seek_flags_get_type), (register_gst_format),
19880         (gst_format_get_type), (register_gst_index_certainty),
19881         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19882         (gst_index_entry_type_get_type),
19883         (register_gst_index_lookup_method),
19884         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19885         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19886         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19887         (gst_index_flags_get_type), (register_gst_debug_level),
19888         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19889         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19890         (gst_iterator_result_get_type), (register_gst_iterator_item),
19891         (gst_iterator_item_get_type), (register_gst_message_type),
19892         (gst_message_type_get_type), (register_gst_mini_object_flags),
19893         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19894         (gst_pad_link_return_get_type), (register_gst_flow_return),
19895         (gst_flow_return_get_type), (register_gst_activate_mode),
19896         (gst_activate_mode_get_type), (register_gst_pad_direction),
19897         (gst_pad_direction_get_type), (register_gst_pad_flags),
19898         (gst_pad_flags_get_type), (register_gst_pad_presence),
19899         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19900         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19901         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19902         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19903         (gst_plugin_flags_get_type), (register_gst_rank),
19904         (gst_rank_get_type), (register_gst_query_type),
19905         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19906         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19907         (gst_tag_flag_get_type), (register_gst_task_state),
19908         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19909         (gst_alloc_trace_flags_get_type),
19910         (register_gst_type_find_probability),
19911         (gst_type_find_probability_get_type), (register_gst_uri_type),
19912         (gst_uri_type_get_type), (register_gst_parse_error),
19913         (gst_parse_error_get_type):
19914         * win32/common/gstenumtypes.h:
19915         * win32/common/gstversion.h:
19916           update visual studio generated files
19917
19918 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19919
19920         * win32/vs6/libgstbase.dsp:
19921         * win32/vs6/libgstelements.dsp:
19922           update project files for new locations
19923
19924 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19925
19926         * Makefile.am:
19927           remove some files
19928         * README:
19929           reinstate and update
19930         * DEVEL:
19931         * REQUIREMENTS:
19932           removed
19933         * LICENSE:
19934         * docs/random/LICENSE:
19935           moved to random
19936
19937 2005-11-30  Edward Hervey  <edward@fluendo.com>
19938
19939         * gst/gsttypefind.c: (gst_type_find_register):
19940         * gst/gsttypefind.h:
19941         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19942         (gst_type_find_factory_dispose):
19943         * gst/gsttypefindfactory.h:
19944         Fix memory leak in GstTypeFindFactory.
19945
19946 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19947
19948         * gst/gst.c:
19949         * plugins/elements/Makefile.am:
19950         * plugins/elements/gstelements.c:
19951         * plugins/elements/gstqueue.c:
19952           move queue from core to the elements plugin
19953
19954 2005-11-29  Andy Wingo  <wingo@pobox.com>
19955
19956         * libs/gst/base/gstbasetransform.h: 
19957         * libs/gst/base/gstbasesrc.h: 
19958         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19959
19960         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19961         of pointers by which to pad very extensible base classes (like the
19962         ones in libs/gst/base).
19963
19964 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19965
19966         * docs/gst/gstreamer-docs.sgml:
19967         * docs/gst/gstreamer-sections.txt:
19968         * docs/libs/gstreamer-libs-docs.sgml:
19969         * docs/libs/gstreamer-libs-sections.txt:
19970           moving documentation from core to lib
19971
19972 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19973
19974         * check/Makefile.am:
19975         * configure.ac:
19976         * docs/gst/Makefile.am:
19977         * gst/Makefile.am:
19978         * gst/base/.cvsignore:
19979         * gst/base/Makefile.am:
19980         * gst/base/README:
19981         * gst/base/gstadapter.c:
19982         * gst/base/gstadapter.h:
19983         * gst/base/gstbasesink.c:
19984         * gst/base/gstbasesink.h:
19985         * gst/base/gstbasesrc.c:
19986         * gst/base/gstbasesrc.h:
19987         * gst/base/gstbasetransform.c:
19988         * gst/base/gstbasetransform.h:
19989         * gst/base/gstcollectpads.c:
19990         * gst/base/gstcollectpads.h:
19991         * gst/base/gstpushsrc.c:
19992         * gst/base/gstpushsrc.h:
19993         * gst/base/gsttypefindhelper.c:
19994         * gst/base/gsttypefindhelper.h:
19995         * gst/check/Makefile.am:
19996         * gst/check/gstcheck.c:
19997         * gst/check/gstcheck.h:
19998         * gst/net/Makefile.am:
19999         * gst/net/gstnet.h:
20000         * gst/net/gstnetclientclock.c:
20001         * gst/net/gstnetclientclock.h:
20002         * gst/net/gstnettimepacket.c:
20003         * gst/net/gstnettimepacket.h:
20004         * gst/net/gstnettimeprovider.c:
20005         * gst/net/gstnettimeprovider.h:
20006         * libs/gst/Makefile.am:
20007         * libs/gst/base/Makefile.am:
20008         * libs/gst/base/gstbasetransform.c:
20009         * libs/gst/check/Makefile.am:
20010         * plugins/elements/Makefile.am:
20011         * po/POTFILES.in:
20012           CVS surgery + support to move base, check, and net out of gst
20013           and into libs/gst
20014
20015 2005-11-29  Andy Wingo  <wingo@pobox.com>
20016
20017         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
20018
20019         * gst/gststructure.h (struct _GstStructure): Only one pointer of
20020         padding.
20021
20022         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
20023
20024         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
20025
20026         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
20027
20028         * gst/gstobject.h: (struct _GstObject): Only one pointer of
20029         padding; reduces object size by about 30%. We don't expect
20030         anything else to go into gstobject.
20031
20032         * gst/gstminiobject.h (struct _GstMiniObject)
20033         (struct _GstMiniObjectClass): Only one pointer of padding; the
20034         payload is only a pointer and two ints anyway. For the class there
20035         are only two methods as well.
20036         
20037         * gst/gstelement.h (struct _GstElementClass): Removed
20038         the state_changed signal callback, it is not used.
20039
20040 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20041
20042         * docs/gst/gstreamer.types:
20043           fix includes, though they are a little dinky
20044
20045 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20046
20047         * check/Makefile.am:
20048           look in the right place for elements, a lot more chance of
20049           success
20050         * gst/Makefile.am:
20051           remove indexers and elements subdirs
20052         * plugins/Makefile.am:
20053           make indexers conditional
20054
20055 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20056
20057         * Makefile.am:
20058         * configure.ac:
20059         * plugins/elements/Makefile.am:
20060         * plugins/elements/gstcapsfilter.c:
20061         * plugins/elements/gstfilesink.c:
20062         * plugins/elements/gstfilesrc.c:
20063         * plugins/elements/gstidentity.c:
20064         * plugins/indexers/Makefile.am:
20065           do CVS surgery and related build fixery to move elements
20066           and indexers in a new gstreamer/plugins directory, out of the
20067           gst/ directory
20068
20069 2005-11-29  Andy Wingo  <wingo@pobox.com>
20070
20071         * check/Makefile.am:
20072         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20073         * pkgconfig/gstreamer-net.pc.in:
20074         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
20075         #322257.
20076
20077 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20078
20079         * tools/Makefile.am:
20080         * tools/gst-complete.1.in:
20081         * tools/gst-complete.c:
20082         * tools/gst-compprep.1.in:
20083         * tools/gst-compprep.c:
20084           removing -compprep and -complete
20085
20086 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20087
20088         * gst/gstevent.c: (gst_event_new_new_segment),
20089         (gst_event_parse_new_segment):
20090         * gst/gstevent.h:
20091           fix #320529 - clean up new_segment API and structure.
20092           Let's hope everyone was using the methods, and not the structure.
20093
20094 2005-11-29  Edward Hervey  <edward@fluendo.com>
20095
20096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20097         (gst_base_sink_event), (gst_base_sink_do_sync),
20098         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20099         Properly handle non GST_FORMAT_TIME segment
20100         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20101         Properly handle non GST_FORMAT_TIME segment
20102         * gst/gstsegment.c:
20103         This function is valid if the accumulator is 0 and the format
20104         is different from the requested format.
20105         
20106 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20107
20108         * docs/gst/gstreamer-sections.txt:
20109         Add gst_query_new_seeking and gst_query_parse_seeking to the
20110         docs.
20111
20112 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20113
20114         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20115           Treat a pad alloc with new caps the same as if we were not
20116           negotiated, in order to allow a changing upstream output
20117           to produce a new format of data.
20118
20119 2005-11-29  Edward Hervey  <edward@fluendo.com>
20120
20121         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20122         (gst_base_transform_event), (gst_base_transform_eventfunc):
20123         The event virtual method is now properly implemented, with a default
20124         handler
20125         Sub classes should call the parent_class event method. They should
20126         return FALSE if they had a problem handling the given event, or don't
20127         want GstBaseTransform to send that even downstream
20128         * gst/elements/gstidentity.c: (gst_identity_class_init),
20129         (gst_identity_init), (gst_identity_event),
20130         (gst_identity_transform_ip), (gst_identity_set_property),
20131         (gst_identity_get_property):
20132         * gst/elements/gstidentity.h:
20133         Added the single-segment boolean property.
20134         If set to TRUE, it will output a single segment of data, starting from
20135         0, will eat up all incoming newsegment, and modify the timestamp of the
20136         buffers accordingly
20137
20138 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20139
20140         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20141           Don't ref NULL target pad (#322751). Improve docs.
20142
20143 2005-11-29  Michael Smith  <msmith@fluendo.com>
20144
20145         * gst/gstregistryxml.c: (load_plugin):
20146           Don't crash if we failed to load a feature from a plugin. 
20147
20148 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20149
20150         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20151         (GST_START_TEST):
20152           use more check API and less GLib API
20153
20154 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20155
20156         * Makefile.am:
20157           don't run checks if we don't have check
20158         * common/check.mak:
20159           remove the registry when running make torture
20160         * docs/gst/gstreamer-sections.txt:
20161           remove second multiply
20162         * gst/gstqueue.c: (gst_queue_loop):
20163           fix a compile warning when disabling debug
20164
20165 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20166
20167         * gst/gstinfo.h:
20168         Hey! Let's print the pad name if the pointer != NULL instead
20169         of when it == NULL :-)
20170
20171 2005-11-28  Wim Taymans  <wim@fluendo.com>
20172
20173         * check/gst/gstutils.c: (GST_START_TEST):
20174         Updated check, add some scaling accuracy checking code.
20175
20176         * gst/gstutils.c: (gst_util_div128_64),
20177         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20178         (gst_util_uint64_scale_int):
20179         Fix 6 times faster division code. Optimize for common 
20180         1/1 and less common X/1 cases.
20181
20182 2005-11-28  Wim Taymans  <wim@fluendo.com>
20183
20184         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20185         More checks.
20186
20187         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20188         (do_linear_regression), (gst_clock_add_observation):
20189         Cleanups.
20190         Release lock when the clock cannot be slaved.
20191         Catch the case where the regression returned an invalid denominator.
20192
20193         * gst/gstutils.c: (gst_util_div128_64_iterate),
20194         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20195         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20196         Add protentially more performant non-iterative 128/64 divide function
20197         that unfortunatly does not work yet.
20198         Shortcut the trivial 0/X = 0 case.
20199         Remove the warnings on overflow.
20200
20201 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20202
20203         * gst/gstplugin.c: (gst_plugin_register_func):
20204           everything causing a plugin not to load should be at least a WARNING
20205
20206 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20207
20208         * docs/random/ensonic/dparams.txt:
20209           some TODOs for the next dev cycle
20210         * libs/gst/controller/gstcontroller.c:
20211         (gst_controlled_property_set_interpolation_mode),
20212         (gst_controlled_property_new):
20213         * libs/gst/controller/gstcontroller.h:
20214           use base type to assign acccessor functions
20215
20216 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20217
20218         * check/Makefile.am:
20219         Oops, that should have been top_srcdir
20220
20221 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20222
20223         * check/Makefile.am:
20224         * check/elements/fdsrc.c: (GST_START_TEST):
20225         Use a cmdline define to specify the location of a file to use for
20226         testing, to avoid breaking distcheck.
20227
20228 2005-11-28  Andy Wingo  <wingo@pobox.com>
20229
20230         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20231
20232 2005-11-28  Edward Hervey  <edward@fluendo.com>
20233
20234         * tools/gst-launch.c: (main):
20235         Clarify the output strings, makes it easier to translate.
20236         Fixes #322626
20237
20238 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20239
20240         * gst/Makefile.am:
20241           don't try and build net if we don't even have <sys/socket.h>
20242
20243 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20244
20245         * check/Makefile.am:
20246         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20247         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20248           Add tests for fdsrc seekability
20249
20250         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20251         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20252         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20253         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20254         * gst/elements/gstfdsrc.h:
20255           fdsrc should not be a 'live' source.
20256           Implement seeking on seekable fd's.
20257
20258         * gst/gstquery.c: (gst_query_new_seeking),
20259         (gst_query_parse_seeking):
20260         * gst/gstquery.h:
20261           Implement SEEKING query functions: 
20262             *_new_seeking and *_parse_seeking
20263
20264 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20265
20266         * gst/gstelement.c: (gst_element_dispose):
20267           don't loop forever
20268
20269         * gst/gstiterator.c:
20270         * gst/gststructure.c:
20271           doc fixes
20272
20273         * libs/gst/controller/gstcontroller.c:
20274         (gst_controlled_property_set_interpolation_mode):
20275         * libs/gst/controller/gstcontroller.h:
20276         * libs/gst/controller/gstinterpolation.c:
20277         (interpolate_none_get_enum_value_array):
20278           support controlling enums
20279
20280 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20281
20282         * gst/gstvalue.c:
20283           Improve documentation for gst_value_union().
20284
20285         * gst/gstvalue.h:
20286           Change return value for union, intersect and subtract functions
20287           from gint to gboolean.
20288
20289 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20290
20291         * gst/gstvalue.c: (gst_value_serialize_any_list),
20292         (gst_value_transform_any_list_string),
20293         (gst_value_deserialize_list), (gst_value_deserialize_array),
20294         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20295         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20296         (gst_value_set_fraction_range_full),
20297         (gst_value_deserialize_fraction_range),
20298         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20299         (gst_value_deserialize_boolean),
20300         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20301         (gst_value_serialize_float), (gst_value_deserialize_float),
20302         (gst_string_wrap), (gst_value_deserialize_string),
20303         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20304         (gst_value_union_int_range_int_range),
20305         (gst_value_intersect_int_range_int_range),
20306         (gst_value_intersect_double_range_double_range),
20307         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20308         (gst_value_subtract_int_range_int_range),
20309         (gst_value_subtract_double_double_range),
20310         (gst_value_subtract_double_range_double_range),
20311         (gst_value_deserialize_fraction):
20312         * gst/gstvalue.h:
20313           Use gint, gdouble and gchar in our API instead of int, double and
20314           char (and make usage in gstvalue.c more consistent).
20315
20316 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20317
20318         * check/Makefile.am:
20319         * libs/gst/controller/Makefile.am:
20320         * libs/gst/dataprotocol/Makefile.am:
20321           fix up Makefile.am and remove GST_ENABLE_NEW
20322
20323 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20324
20325         * configure.ac:
20326         * gst/Makefile.am:
20327         * gst/base/Makefile.am:
20328         * gst/check/Makefile.am:
20329         * gst/elements/Makefile.am:
20330         * gst/net/Makefile.am:
20331           update LDFLAGS use some more
20332
20333 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20334
20335         * common/m4/gst-doc.m4:
20336           Fixes #312589
20337
20338 2005-11-26  Edward Hervey  <edward@fluendo.com>
20339
20340         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20341         This shouldn't issue a g_warning since it returns NULL if it
20342         couldn't find the plugin, and all functions using this behave
20343         properly on a NULL return. Switching to a GST_WARNING.
20344
20345 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20346
20347         * gst/gstbin.c: (gst_bin_handle_message_func):
20348         Don't leak clock messages.
20349
20350 2005-11-25  Wim Taymans  <wim@fluendo.com>
20351
20352         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20353         (gst_util_uint64_scale_int):
20354         Optimisations, remove unneeded vars.
20355
20356 2005-11-25  Wim Taymans  <wim@fluendo.com>
20357
20358         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20359         Added more checks for the high precision uint64 cases.
20360
20361         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20362         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20363         Implement high precision (guint64 * guint64) / guint64.
20364
20365 2005-11-24  Wim Taymans  <wim@fluendo.com>
20366
20367         * gst/base/gstbasesrc.c: (gst_base_src_query):
20368         Fix wrong percentage query.
20369
20370         * gst/gstutils.c: (gst_util_uint64_scale),
20371         (gst_util_uint64_scale_int):
20372         Add some more common cases that can be handled 
20373         efficiently to _scale.
20374
20375 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20376
20377         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20378         (gst_mini_object_suite):
20379           don't use check calls from threads; check probably isn't
20380           threadsafe and using a lock to make it threadsafe would
20381           defeat the purpose of this check
20382         * gst/check/gstcheck.c:
20383         * gst/check/gstcheck.h:
20384           use GST_DEBUG some more
20385
20386 2005-11-24  Wim Taymans  <wim@fluendo.com>
20387
20388         * gst/gstutils.c: (gst_util_uint64_scale),
20389         (gst_util_uint64_scale_int):
20390         Chain trivial case to _scale_int.
20391
20392 2005-11-24  Wim Taymans  <wim@fluendo.com>
20393
20394         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20395         Added test for scaling.
20396
20397         * gst/gstclock.h:
20398         Small doc fix.
20399
20400         * gst/gstutils.c: (gst_util_uint64_scale_int):
20401         Implemented high precision scaling code.
20402
20403 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20404
20405         * gst/gstinfo.h:
20406           do not crash on pad==NULL
20407
20408 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20409
20410         Patch by: Stefan Kost
20411
20412         * common/gtk-doc.mak:
20413         * docs/gst/Makefile.am:
20414         * docs/libs/Makefile.am:
20415           Fix distcheck issues for the libraries docs build
20416           Closes #319599.
20417
20418 2005-11-24  Michael Smith <msmith@fluendo.com>
20419
20420         * docs/manual/basics-helloworld.xml:
20421           Fix bug #315027: memory leak in example code in docs.
20422
20423 2005-11-24  Michael Smith <msmith@fluendo.com>
20424
20425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20426           Unlock the PREROLL_LOCK in a failure case.
20427
20428 2005-11-24  Wim Taymans  <wim@fluendo.com>
20429
20430         * docs/gst/gstreamer-sections.txt:
20431         * gst/base/gstadapter.h:
20432         * gst/base/gstbasesink.h:
20433         * gst/base/gstbasesrc.h:
20434         * gst/base/gstbasetransform.h:
20435         * gst/base/gstpushsrc.h:
20436         * gst/elements/gstfakesink.h:
20437         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20438         * gst/elements/gstfakesrc.h:
20439         * gst/elements/gstfilesink.h:
20440         * gst/elements/gstfilesrc.h:
20441         * gst/gst.c:
20442         * gst/gstbin.c:
20443         * gst/gstbuffer.c: (_gst_buffer_copy):
20444         * gst/gstbus.h:
20445         * gst/gstcaps.c:
20446         * gst/gstchildproxy.c:
20447         * gst/gstclock.c:
20448         * gst/gstelement.c:
20449         * gst/gstelementfactory.c:
20450         * gst/gstelementfactory.h:
20451         * gst/gstevent.c:
20452         * gst/gstghostpad.h:
20453         * gst/gstindex.h:
20454         * gst/gstinterface.h:
20455         * gst/gstminiobject.c:
20456         * gst/gstminiobject.h:
20457         * gst/gstpad.c:
20458         * gst/gstpad.h:
20459         * gst/gstpadtemplate.h:
20460         * gst/gstpipeline.h:
20461         * gst/gstpluginfeature.h:
20462         * gst/gstquery.h:
20463         * gst/gstqueue.h:
20464         * gst/gsttaglist.c:
20465         * gst/gsttaglist.h:
20466         * gst/gsttagsetter.c:
20467         * gst/gsttagsetter.h:
20468         * gst/gsttrace.c:
20469         * gst/gsttrace.h:
20470         * gst/gsttypefind.h:
20471         * gst/gsturi.h:
20472         * gst/gstvalue.c:
20473         * gst/net/gstnetclientclock.c:
20474         * gst/net/gstnetclientclock.h:
20475         * gst/net/gstnettimepacket.c:
20476         * gst/net/gstnettimeprovider.c:
20477         * gst/net/gstnettimeprovider.h:
20478         Doc fixes.
20479
20480 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20481
20482         * configure.ac: back to HEAD
20483
20484 === release 0.9.6 ===
20485
20486 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20487
20488         * configure.ac:
20489           releasing 0.9.6, "Always On Time"
20490
20491 2005-11-23  Wim Taymans  <wim@fluendo.com>
20492
20493         * docs/gst/gstreamer-sections.txt:
20494         * gst/glib-compat.c:
20495         * gst/gsttagsetter.c:
20496         * gst/gstvalue.c:
20497         * gst/net/gstnetclientclock.c:
20498         * gst/net/gstnettimepacket.h:
20499         Doc updates.
20500
20501 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20502
20503         * docs/faq/using.xml:
20504         * docs/libs/tmpl/gstcontrol.sgml:
20505         * docs/manual/advanced-dparams.xml:
20506         * docs/manual/appendix-checklist.xml:
20507         * docs/manual/basics-elements.xml:
20508         * docs/pwg/other-source.xml:
20509         * docs/random/moving-plugins:
20510         * gst/gstpad.c:
20511         * tools/gst-launch.1.in:
20512           remove mentions of sinesrc
20513
20514 2005-11-23  Michael Smith <msmith@fluendo.com>
20515
20516         * docs/gst/gstreamer-sections.txt:
20517           Update for new API and API changes.
20518         * gst/gstobject.h:
20519           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20520         * gst/gstvalue.c:
20521           Documentation typo fix.
20522         * gst/net/gstnettimepacket.c:
20523           Documentation fixes for arguments.
20524
20525 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20526
20527         * gst/gststructure.c: (gst_structure_get_fraction),
20528         (gst_structure_parse_value),
20529         (gst_structure_fixate_field_nearest_fraction):
20530         * gst/gststructure.h:
20531         * gst/gstutils.c: (gst_util_uint64_scale_int):
20532         * gst/gstutils.h:
20533         * scripts/update-funcnames:
20534         API Changes. 
20535         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20536         Make gst_structure_fixate_field_nearest_fraction take a numerator
20537         and denominator argument instead of a GValue
20538         add gst_structure_get_fraction helper function.
20539
20540 2005-11-23  Wim Taymans  <wim@fluendo.com>
20541
20542         * docs/design/part-TODO.txt:
20543         Update TODO.
20544
20545         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20546         * gst/net/gstnetclientclock.h:
20547         Use parent fields for timeout and window_size.
20548
20549 2005-11-23  Andy Wingo  <wingo@pobox.com>
20550
20551         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20552         rate_num/rate_denom change.
20553
20554         * gst/net/gstnetclientclock.c
20555         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20556         OBJECT_LOCK. Don't call add_observation with the lock.
20557
20558         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20559         fraction.
20560         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20561         rate fraction.
20562         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20563         deal with rate as a fraction whose numerator and denominator are
20564         GstClockTime values.
20565         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20566         master; the other fields are protected by the SLAVE_LOCK.
20567         (do_linear_regression): Note that this must be called with the
20568         SLAVE_LOCK.
20569         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20570         OBJECT_LOCK. Call set_calibration instead of touching the
20571         variables directly.
20572         (gst_clock_set_property, gst_clock_get_property): Protect
20573         master/slave parameters with the SLAVE_LOCK.
20574
20575         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20576         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20577         note that all of the instance variables that add_observation and
20578         the set_master functions use are protected by that lock and not
20579         the OBJECT_LOCK.
20580         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20581
20582         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20583         the caller to take the object lock.
20584
20585 2005-11-23  Wim Taymans  <wim@fluendo.com>
20586
20587         * gst/gsterror.c: (_gst_core_errors_init):
20588         * gst/gsterror.h:
20589         Add error for clock stuff.
20590
20591         * gst/gstpipeline.c: (gst_pipeline_change_state),
20592         (gst_pipeline_set_clock):
20593         Post clock error when clock cannot be used in a pipeline.
20594
20595 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20596
20597         * docs/gst/gstreamer-sections.txt:
20598           make two symbols from gstinfo private for the docs
20599         * gst/base/gstcollectpads.h:
20600         * gst/gstutils.c:
20601           fix doc typos, update docs
20602
20603 2005-11-22  Wim Taymans  <wim@fluendo.com>
20604
20605         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20606         (gst_base_sink_wait), (gst_base_sink_do_sync),
20607         (gst_base_sink_handle_event):
20608         * gst/base/gstbasesink.h:
20609         No need to store the clock, the parent element class already
20610         has it.
20611
20612         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20613         Updates for clock_set returning a gboolean
20614
20615         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20616         (gst_clock_id_wait_async), (gst_clock_class_init),
20617         (gst_clock_init), (gst_clock_finalize),
20618         (gst_clock_get_internal_time), (gst_clock_get_time),
20619         (gst_clock_slave_callback), (gst_clock_set_master),
20620         (gst_clock_get_master), (do_linear_regression),
20621         (gst_clock_add_observation), (gst_clock_set_property),
20622         (gst_clock_get_property):
20623         * gst/gstclock.h:
20624         Implement master/slave. When setting a clock as a slave, a
20625         periodic timeout is scheduled to sample master and slave times.
20626         Then the slave clock is recalibrated to match offset and rate
20627         of the master clock.
20628         Update logging a bit.
20629         Add flag so that a clock can state that is cannot be slaved to
20630         another clock.
20631
20632         * gst/gstelement.c: (gst_element_set_clock):
20633         * gst/gstelement.h:
20634         The set clock returns a gboolean for when an element cannot
20635         deal with the selected clock in the pipeline. 
20636
20637         * gst/gstpipeline.c: (gst_pipeline_change_state),
20638         (gst_pipeline_set_clock):
20639         * gst/gstpipeline.h:
20640         Handle the case where the selected clock cannot be set on
20641         the pipeline.
20642
20643         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20644         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20645         (gst_net_client_clock_set_property),
20646         (gst_net_client_clock_get_property),
20647         (gst_net_client_clock_observe_times):
20648         * gst/net/gstnetclientclock.h:
20649         Use regression code in GstClock parent, remove duplicated
20650         functionality.
20651
20652 2005-11-22  Michael Smith <msmith@fluendo.com>
20653
20654         * gst/gstutils.c: (gst_util_clock_time_scale):
20655         * gst/gstutils.h:
20656         * docs/gst/gstreamer-sections.txt:
20657           Rename method to have extra underscore.
20658
20659 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20660
20661         * gst/elements/Makefile.am:
20662         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20663         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20664         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20665         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20666         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20667         * gst/elements/gstfakesrc.h:
20668         * gst/gstqueue.c: (queue_leaky_get_type):
20669           correctly fix GEnumValues so that nick is the short lowercase
20670           dashed tag
20671         * tools/gst-inspect.c: (print_element_properties_info):
20672           also show the nick, since it's useful to use from parse_launch
20673           syntax
20674           Fixes #322139
20675
20676 2005-11-22  Michael Smith <msmith@fluendo.com>
20677
20678         * gst/gstutils.c: (gst_util_clocktime_scale):
20679         * gst/gstutils.h:
20680         * docs/gst/gstreamer-sections.txt:
20681           Add util method for scaling a clocktime by a fraction. Useful 
20682           implementation is left as an exercise for the reader.
20683
20684 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20685
20686         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20687         If needed, allocate storage in the destination value during
20688         collection.
20689
20690 2005-11-22  Edward Hervey  <edward@fluendo.com>
20691
20692         * docs/gst/gstreamer-sections.txt:
20693         * gst/Makefile.am:
20694         * gst/gst.h:
20695         * gst/gsturitype.c:
20696         * gst/gsturitype.h:
20697         * gst/gstutils.c: (gst_util_set_object_arg):
20698         * tools/gst-compprep.c: (main):
20699         * tools/gst-inspect.c: (print_element_properties_info):
20700         Removed GstURI, closes bug #321061
20701
20702 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20703
20704         * check/gst/gststructure.c: (GST_START_TEST):
20705         * gst/gststructure.c: (gst_structure_parse_value):
20706           Oops, broke automatic string type parsing.
20707           Add a test to catch it in future.
20708
20709 2005-11-22  Andy Wingo  <wingo@pobox.com>
20710
20711         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20712         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20713         Actually rename the function implementations. Grr.
20714
20715 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20716
20717         * check/gst/capslist.h:
20718           Comment test cases
20719         * check/gst/gststructure.c: (GST_START_TEST),
20720         (gst_structure_suite):
20721           Test automatic value type detection in gst_structure_from_string.
20722         * gst/gststructure.c: (gst_structure_parse_value):
20723           Add fraction as a type we try and guess automatically in
20724           caps/structure strings.
20725
20726 2005-11-22  Andy Wingo  <wingo@pobox.com>
20727
20728         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20729
20730         * gst/gsttagsetter.h:
20731         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20732         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20733         (gst_tag_setter_add_tag_valist)
20734         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20735         _add_values, _add_valist, and _add_valist_values. Since this is an
20736         interface the function suffixes should be more explicit so
20737         language binding don't end up with element.add_valist ->
20738         gst_tag_setter_add_valist, for example. Fixes #322069.
20739
20740 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20741
20742         * check/gst/gstcaps.c: (GST_START_TEST):
20743           Extend caps string tests to check that a caps to string
20744           conversion is reversible and produces the same caps.
20745
20746         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20747           Output "fraction" as the generic type fraction range, so caps
20748           serialisation and deserialisation works.
20749         * check/gst/capslist.h:
20750         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20751           Support 'MIN' and 'MAX' for deserialising fractions.
20752
20753 2005-11-22  Andy Wingo  <wingo@pobox.com>
20754
20755         * gst/gstevent.h (gst_event_new_new_segment)
20756         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20757         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20758         Renamed from *_newsegment, *_buffersize, *_notarget.
20759
20760         * scripts/update-funcnames: New script, performs the changes
20761         listed above.
20762
20763 2005-11-22  Wim Taymans  <wim@fluendo.com>
20764
20765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20766         Make sure the GstFlowReturn is returned.
20767
20768         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20769         (gst_bus_add_signal_watch):
20770         * gst/gstbus.h:
20771         add gst_bus_add_signal_watch_full.
20772
20773         * gst/gstplugin.c: (gst_plugin_load_file):
20774         Small style cleanup.
20775
20776 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20777
20778         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20779           Block the fakesrc srcpad when we send an event, to avoid
20780           contention on the stream_lock causing random test failures.
20781
20782 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20783
20784         * check/gst/gstvalue.c: (GST_START_TEST):
20785         * gst/gstvalue.c: (gst_value_fraction_subtract):
20786           Fix subtraction.
20787
20788 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20789
20790         * gst/gst.h:
20791           include "gstchildproxy.h"
20792         * gst/gstchildproxy.h:
20793         * libs/gst/controller/gstcontroller.h:
20794           use G_GNUC_NULL_TERMINATED
20795
20796 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20797
20798         * check/gst/capslist.h:
20799         * check/gst/gstcaps.c: (GST_START_TEST):
20800         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20801         * gst/gststructure.c: (gst_structure_parse_range),
20802         (gst_structure_fixate_field_nearest_fraction):
20803         * gst/gststructure.h:
20804         * gst/gstvalue.c: (gst_value_init_fraction_range),
20805         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20806         (gst_value_collect_fraction_range),
20807         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20808         (gst_value_set_fraction_range_full),
20809         (gst_value_get_fraction_range_min),
20810         (gst_value_get_fraction_range_max),
20811         (gst_value_serialize_fraction_range),
20812         (gst_value_transform_fraction_range_string),
20813         (gst_value_compare_fraction_range),
20814         (gst_value_deserialize_fraction_range),
20815         (gst_value_intersect_fraction_fraction_range),
20816         (gst_value_intersect_fraction_range_fraction_range),
20817         (gst_value_subtract_fraction_fraction_range),
20818         (gst_value_subtract_fraction_range_fraction),
20819         (gst_value_subtract_fraction_range_fraction_range),
20820         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20821         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20822         (gst_value_transform_string_fraction), (_gst_value_initialize):
20823         * gst/gstvalue.h:
20824           Implement fraction ranges and extend GstFraction to support
20825           arithmetic subtraction, as well as deserialization from integer
20826           strings such as "100"
20827           Add a testsuite as for int and double range set operations
20828
20829 2005-11-21  Andy Wingo  <wingo@pobox.com>
20830
20831         * gst/gsttaglist.h: 
20832         * gst/gstcaps.h: 
20833         * gst/gststructure.h: Add glib-compat.h.
20834
20835 2005-11-21  Wim Taymans  <wim@fluendo.com>
20836
20837         * gst/gstbin.c: (gst_bin_change_state_func):
20838         Fix for #321595
20839
20840 2005-11-21  Wim Taymans  <wim@fluendo.com>
20841
20842         * gst/gstsegment.h:
20843         And add a nice define too.
20844
20845 2005-11-21  Wim Taymans  <wim@fluendo.com>
20846
20847         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20848         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20849         (gst_segment_set_duration), (gst_segment_set_last_stop),
20850         (gst_segment_set_seek), (gst_segment_set_newsegment),
20851         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20852         (gst_segment_clip):
20853         * gst/gstsegment.h:
20854         Make binding friendly.
20855
20856 2005-11-21  Andy Wingo  <wingo@pobox.com>
20857
20858         * gst/gsttagsetter.h: 
20859         * gst/gsttaglist.h: 
20860         * gst/gststructure.h: 
20861         * gst/gstcaps.h: 
20862         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20863         #319940.
20864
20865         * gst/gsterror.c (_gst_core_errors_init):
20866         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20867         category.
20868
20869         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20870         (noinst_HEADERS): noinst the -private.
20871
20872 2005-11-21  Michael Smith <msmith@fluendo.com>
20873
20874         * gst/gstplugin.h:
20875         * gst/gstregistry.h:
20876           Remove unimplemented declarations for which we can see no sensible
20877           use.
20878
20879 2005-11-21  Andy Wingo  <wingo@pobox.com>
20880
20881         * gst/gst.h: Include glib-compat.h.
20882
20883         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20884
20885         * gst/glib-compat.c: Include the public and the private header.
20886
20887         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20888
20889         * gst/gstvalue.c: 
20890         * gst/gstpad.c: 
20891         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20892
20893         * check/gst/gstevent.c (create_custom_events): Check that
20894         FLUSH_STOP is serialized.
20895
20896         * check/elements/identity.c (event_func): 
20897         * check/elements/fakesrc.c (event_func): No stream lock, the core
20898         takes it.
20899
20900         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20901         stream lock taking, yay.
20902
20903         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20904         ensure that core takes the stream lock.
20905
20906         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20907         lock name change.
20908
20909         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20910         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20911         it already. For the flush start we do take it though so we get the
20912         right preroll state change messages.
20913
20914         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20915         the stream lock here, the core does it for us.
20916
20917         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20918         GST_STREAM_GET_LOCK.
20919         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20920         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20921         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20922         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20923         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20924         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20925
20926         * gst/gstpad.c: Update for stream lock name change.
20927
20928         * gst/base/gstbasesink.c: Update for preroll lock name change.
20929
20930 2005-11-21  Wim Taymans  <wim@fluendo.com>
20931
20932         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20933         (gst_clock_get_master):
20934         * gst/gstclock.h:
20935         * gst/gstsystemclock.c: (gst_system_clock_init):
20936         Convert Clock flags to object flags.
20937         Added methods to manage master/slave clocks.
20938
20939 2005-11-21  Wim Taymans  <wim@fluendo.com>
20940
20941         * check/gst/gstsegment.c: (GST_START_TEST):
20942         * docs/design/part-TODO.txt:
20943         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20944         (gst_base_sink_event), (gst_base_sink_do_sync),
20945         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20946         (gst_base_sink_query), (gst_base_sink_change_state):
20947         * gst/base/gstbasesink.h:
20948         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20949         (gst_base_src_default_newsegment),
20950         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20951         (gst_base_src_get_range), (gst_base_src_loop),
20952         (gst_base_src_change_state):
20953         * gst/base/gstbasesrc.h:
20954         * gst/base/gstbasetransform.c:
20955         (gst_base_transform_prepare_output_buf),
20956         (gst_base_transform_event), (gst_base_transform_change_state):
20957         * gst/base/gstbasetransform.h:
20958         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20959         (gst_collect_pads_event):
20960         * gst/base/gstcollectpads.h:
20961         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20962         (gst_fake_src_create):
20963         * gst/elements/gstfakesrc.h:
20964         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20965         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20966         (gst_segment_set_last_stop), (gst_segment_set_seek),
20967         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20968         (gst_segment_to_running_time), (gst_segment_clip):
20969         * gst/gstsegment.h:
20970         More segment updates, replace code in plugins with segment
20971         helper functions.
20972
20973 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20974
20975         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20976         Don't ignore sscanf results
20977
20978 2005-11-21  Andy Wingo  <wingo@pobox.com>
20979
20980         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20981
20982         * *.h:
20983         * *.c: Ran scripts/update-macros. Oh yes.
20984
20985         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20986         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20987         GST_GET_LOCK, etc.
20988
20989         * scripts/update-macros: New script. Run it on your files to
20990         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20991         well.
20992
20993 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20994
20995         * docs/gst/Makefile.am:
20996         * docs/gst/gstreamer-docs.sgml:
20997         * docs/gst/gstreamer-sections.txt:
20998         * docs/gst/gstreamer.types:
20999         * gst/gstinfo.h:
21000           more docs fixes, add new api to the docs
21001
21002 2005-11-21  Andy Wingo  <wingo@pobox.com>
21003
21004         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
21005         state_broadcast call.
21006
21007         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
21008
21009 2005-11-21  Julien MOUTTE  <julien@moutte.net>
21010
21011         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
21012         function calls for arrays.
21013
21014 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
21015
21016         * docs/random/ensonic/media-device-daemon.txt:
21017           wild idea, can this be done?
21018         * docs/gst/gstreamer-sections.txt:
21019         * gst/gsterror.h:
21020         * gst/gstfilter.c:
21021         * gst/gstfilter.h:
21022         * gst/gstplugin.h:
21023         * gst/gstpluginfeature.c:
21024         * gst/gsttrace.c:
21025         * gst/gstvalue.c:
21026         * gst/gstvalue.h:
21027           doc fixes and additions
21028
21029 2005-11-21  Andy Wingo  <wingo@pobox.com>
21030
21031         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
21032         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
21033         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
21034         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
21035         private to the basesrc implementation.
21036
21037         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
21038         behalf of event function if necessary. It should no longer be
21039         necessary to take the stream lock in pad's event functions. Fixes
21040         #320299.
21041
21042 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21043         * docs/gst/gstreamer-sections.txt:
21044         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
21045         (gst_structure_fixate_field_nearest_double),
21046         (gst_structure_fixate_field_boolean):
21047         * gst/gststructure.h:
21048         * win32/common/libgstreamer.def:
21049         * win32/gstreamer.def:
21050
21051         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
21052         (#322027)
21053
21054 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
21055
21056         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
21057         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
21058         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
21059         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
21060         (gst_fdsrc_uri_handler_init):
21061         * gst/elements/gstfdsrc.h:
21062           Port fd:// URI handler from 0.8 to fdsrc
21063
21064 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21065
21066         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
21067         (gst_value_serialize_fourcc):
21068         * gst/gstvalue.h:
21069           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
21070           consistent with our other format defines (#320324).
21071
21072 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21073
21074         * gst/gstvalue.c: (gst_value_is_fixed):
21075           Revert previous commit. Value lists are by definition
21076           not fixed, as they are a list of possible values.
21077
21078 2005-11-21  Andy Wingo  <wingo@pobox.com>
21079
21080         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
21081         during the stable series if we need it. Fixes #319178.
21082
21083         * gst/gstevent.c (gst_event_new_filler): Removed.
21084
21085         * check/gst/gstevent.c: Update comment about filler events.
21086
21087 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21088
21089         * gst/gstvalue.c: (gst_value_is_fixed):
21090           Should handle both value arrays and value lists.
21091
21092 2005-11-21  Andy Wingo  <wingo@pobox.com>
21093
21094         patch by: Alessandro Dessina <alessandro nnva org>
21095
21096         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21097         functions to access arrays. Fixes #321962.
21098
21099 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21100
21101         * docs/gst/gstreamer.types:
21102           gst_collectpads_get_type => gst_collect_pads_get_type.
21103           
21104         * gst/base/gstbasetransform.c:
21105           Remove unused SIGNAL_HANDOFF enum.
21106
21107 2005-11-21  Andy Wingo  <wingo@pobox.com>
21108
21109         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21110         the event type (upstream, downstream, serialized). Renamed
21111         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21112         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21113         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21114
21115         * gst/gstevent.c: Update for new CUSTOM event names.
21116
21117         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21118
21119         * gst/gstevent.h:
21120         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21121         bug #319392.
21122
21123 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21124
21125         * docs/gst/gstreamer-sections.txt:
21126         * win32/common/libgstbase.def:
21127         * win32/libgstbase.def:
21128         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21129         (gst_collect_pads_class_init), (gst_collect_pads_init),
21130         (gst_collect_pads_finalize), (gst_collect_pads_new),
21131         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21132         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21133         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21134         (gst_collect_pads_start), (gst_collect_pads_stop),
21135         (gst_collect_pads_peek), (gst_collect_pads_pop),
21136         (gst_collect_pads_available), (gst_collect_pads_read),
21137         (gst_collect_pads_flush), (gst_collect_pads_event),
21138         (gst_collect_pads_chain):
21139         * gst/base/gstcollectpads.h:
21140           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21141           unimplemented functions as unimplemented. Add padding to
21142           GstCollectData. (#320766, #320423)
21143
21144 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21145
21146         * gst/gstmessage.c:
21147           Improve docs for DURATION message (usage of duration parameter)
21148           (#320113)
21149
21150 2005-11-20  Wim Taymans  <wim@fluendo.com>
21151
21152         * check/Makefile.am:
21153         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21154         (main):
21155         * gst/Makefile.am:
21156         * gst/gst.h:
21157         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21158         (gst_segment_set_seek), (gst_segment_set_newsegment),
21159         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21160         (gst_segment_clip):
21161         * gst/gstsegment.h:
21162         Added segment helper structure and methods. Not fully implemented
21163         yet.
21164         Added segment check.
21165
21166 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21167
21168         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21169           Add a deserialisation test for fractions
21170         * examples/metadata/read-metadata.c: (message_loop),
21171         (make_pipeline), (main):
21172           Fix up metadata reading sample.
21173         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21174           Debug format fix
21175         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21176           Don't try and fixate empty caps
21177         * gst/gst_private.h:
21178           Wrap in G_BEGIN_DECLS/G_END_DECLS
21179         * gst/gstvalue.c: (gst_value_collect_fraction),
21180         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21181         (gst_value_transform_string_fraction),
21182         (gst_value_compare_fraction):
21183           Add some extra guards to ensure that we don't end up 
21184           with an invalid denominator of 0 in a gstfraction and
21185           that fractions always get reduced.
21186
21187 2005-11-20  Wim Taymans  <wim@fluendo.com>
21188
21189         * docs/gst/gstreamer-sections.txt:
21190         * gst/gstbuffer.h:
21191         * gst/gstelement.c:
21192         * gst/gstformat.c:
21193         * gst/gstformat.h:
21194         * gst/gstindex.h:
21195         * gst/gstquery.c:
21196         * gst/gstquery.h:
21197         * gst/gstvalue.c:
21198         Doc fixes.
21199
21200 2005-11-20  Wim Taymans  <wim@fluendo.com>
21201
21202         * docs/design/part-TODO.txt:
21203         * gst/gstcaps.h:
21204         Make a proper enum of the flag.
21205
21206 2005-11-19  Wim Taymans  <wim@fluendo.com>
21207
21208         * docs/design/part-TODO.txt:
21209         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21210         (gst_format_to_quark), (gst_format_register):
21211         * gst/gstformat.h:
21212         * gst/gstquery.c: (_gst_query_initialize),
21213         (gst_query_type_get_name), (gst_query_type_to_quark),
21214         (gst_query_type_register):
21215         * gst/gstquery.h:
21216         Add type to quark and type to string conversions.
21217
21218 2005-11-19  Andy Wingo  <wingo@pobox.com>
21219
21220         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21221         #320097.
21222
21223 2005-11-19  Wim Taymans  <wim@fluendo.com>
21224
21225         * docs/design/part-TODO.txt:
21226         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21227         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21228         (gst_bin_handle_message_func):
21229         * gst/gstbin.h:
21230         Make message handling overridable.
21231
21232 2005-11-19  Andy Wingo  <wingo@pobox.com>
21233
21234         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21235
21236         * gst/gstclock.h:
21237         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21238         be a GstClockTime.
21239         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21240         is a GstClockTime. Fixes #321710.
21241
21242         * gst/gstclock.h (GstClock): Remove offset property. Add
21243         internal_calibration and external_calibration. Fix padding. Pad
21244         also by GstClockTime so we don't run into problems.
21245
21246         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21247         (gst_clock_get_rate_offset): Remove.
21248         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21249
21250         * gst/gstutils.h:
21251         * gst/gstutils.c (g_static_rec_cond_wait)
21252         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21253
21254         * gst/gstbin.c: Remove terrible continue_state prototype.
21255
21256         * gst/gstelement.h (gst_element_continue_state): Make public.
21257
21258         * gst/gstelement.h:
21259         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21260         by continue_state. Fixes #319389.
21261
21262         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21263         Really fixes #168438. However I don't see anywhere where the
21264         filter function is called... stupid GStreamer...
21265         
21266         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21267         don't have a dispose function, so it won't get called when the
21268         object is unreffed, but oh well!
21269
21270         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21271         allows a destroy function to be set so user_data can be freed.
21272         Fixes #168438.
21273         (gst_index_set_filter): Call gst_index_set_filter_full.
21274
21275         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21276
21277         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21278         string should produce an error, given the lack of a way to
21279         represent NULL strings. Fixes #165650.
21280         
21281         * gst/gstvalue.h: 
21282         * gst/gstvalue.c (gst_value_array_append_value) 
21283         (gst_value_array_prepend_value, gst_value_array_get_size) 
21284         (gst_value_array_get_value): New API, copied from
21285         gst_value_list_*, only operates on arrays.
21286         (gst_value_list_append_value, gst_value_list_prepend_value) 
21287         (gst_value_list_concat, gst_value_list_get_size) 
21288         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21289
21290         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21291         init_list, because it works on both.
21292         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21293         (gst_value_copy_list_or_array): Renamed from copy_list.
21294         (gst_value_free_list_or_array): Renamed from free_list.
21295         (gst_value_collect_list_or_array): Renamed from collect_list.
21296         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21297         (gst_value_list_or_array_peek_pointer): Renamed from
21298         list_peek_pointer.
21299         (_gst_value_array_value_table, _gst_value_list_value_table):
21300         Update value table functions.
21301         (gst_value_compare_list_or_array): Renamed from compare_list.
21302
21303         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21304         some constness.
21305
21306         * gst/gsttaglist.c:
21307         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21308         GstTagList*. Fixes #143472.
21309
21310         * gst/gststructure.h: Clarify what the foreach/map functions can
21311         or can't do to their arguments.
21312
21313 2005-11-18  Wim Taymans  <wim@fluendo.com>
21314
21315         * gst/gstclock.c: (gst_clock_set_calibration),
21316         (gst_clock_get_calibration):
21317         Doc and API fixes.
21318         Calibration can be set with internal time equal to current
21319         internal time too.
21320
21321 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21322
21323         * gst/gsterror.c:
21324         * gst/gsterror.h:
21325           document
21326
21327 2005-11-18  Andy Wingo  <wingo@pobox.com>
21328
21329         * configure.ac: 
21330         * pkgconfig/gstreamer-net.pc.in:
21331         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21332         * pkgconfig/Makefile.am: Add net pkgconfig files.
21333
21334 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21335
21336         * gst/gstcaps.c:
21337         * gst/gstghostpad.c:
21338         * gst/gsttrace.c:
21339         * gst/gstvalue.c:
21340         * gst/gstvalue.h:
21341           docs fixes
21342
21343 2005-11-18  Andy Wingo  <wingo@pobox.com>
21344
21345         * gst/net/gstnetclientclock.c: Turn off debugging.
21346
21347         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21348         times connverge somewhat. Can't make a real test.
21349
21350         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21351         integer arithmetic. Return the minimum of the domain, which can be
21352         set as "internal" for gst_clock_set_calibration.
21353         (gst_net_client_clock_observe_times): Call _set_calibration.
21354         (gst_net_client_clock_new): Call _set_calibration instead of
21355         rate_offset.
21356
21357         * check/net/gstnetclientclock.c (test_functioning): Use the right
21358         adjustment api.
21359
21360         * gst/gstclock.h:
21361         * gst/gstclock.c (gst_clock_get_calibration) 
21362         (gst_clock_set_calibration): New functions, obsolete the ones I
21363         added yesterday. Doh. Precision issues mean we have to extrapolate
21364         from a point in the more recent past than 1970.
21365         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21366         obsolete.
21367         (gst_clock_adjust_unlocked): Use the right calibration data.
21368
21369 2005-11-18  Edward Hervey  <edward@fluendo.com>
21370
21371         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21372         Also reset the ->current_* values in READY->PAUSED
21373
21374 2005-11-18  Andy Wingo  <wingo@pobox.com>
21375
21376         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21377         Whoops, check the right fd. Also add some debugging.
21378         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21379         (do_linear_regression): Add a crapload of debugging. Subtract off
21380         the minimum values from the input series to discard unneeded bits.
21381         Use only int arithmetic. There is still double arithmetic when
21382         calculating the intercept that needs fixing. Return boolean to
21383         indicate success; FALSE would mean the domain or range is too
21384         great. Still needs fixes.
21385
21386 2005-11-18  Wim Taymans  <wim@fluendo.com>
21387
21388         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21389         For the current position in stream time, we need to subtract
21390         accumulated time.
21391         
21392         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21393         Release lock before calling the callback function of async
21394         entries.
21395
21396 2005-11-18  Andy Wingo  <wingo@pobox.com>
21397
21398         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21399         Port goes all the way to MAXUINT16.
21400
21401         * gst/net/gstnettimeprovider.c: Make the port range the same as
21402         for the kernel: 0 assigns, otherwise ports are less than
21403         MAXUINT16.
21404
21405         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21406         port change.
21407
21408         * check/net/gstnetclientclock.c (test_functioning): Add the start
21409         of another test. 
21410
21411 2005-11-18  Wim Taymans  <wim@fluendo.com>
21412
21413         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21414         (gst_bin_remove_func), (bin_bus_handler):
21415         * gst/gstbin.h:
21416         Removing a clock provider from a bin, triggers a clock lost message
21417         so that a new clock will be selected.
21418         Adding a clock to a bin triggers a clock provider message.
21419         Make sure we reselect a clock when we received a clock lost message.
21420         Keep a reference to the element that provided the clock.
21421
21422 2005-11-18  Andy Wingo  <wingo@pobox.com>
21423
21424         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21425         the clock initially so it produces values around the base time.
21426         (gst_net_client_clock_class_init): Typo fix.
21427         (gst_net_client_clock_thread): Add note on when the socket gets
21428         closed.
21429
21430 2005-11-17  Wim Taymans  <wim@fluendo.com>
21431
21432         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21433         Free remote and local time arrays.
21434
21435 2005-11-17  Wim Taymans  <wim@fluendo.com>
21436
21437         * gst/net/gstnetclientclock.c: (do_linear_regression),
21438         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21439         Fix compilation, uninitialized vars and a forgotten continue.
21440
21441 2005-11-17  Andy Wingo  <wingo@pobox.com>
21442
21443         * check/Makefile.am (check_PROGRAMS): 
21444         * check/net/gstnetclientclock.c: Add a most minimal test for the
21445         net client clock. More to come later.
21446
21447         * gst/net/gstnet.h: 
21448         * gst/net/Makefile.am: Add netclientclock.
21449
21450         * gst/net/gstnetclientclock.h:
21451         * gst/net/gstnetclientclock.c: New files, implement an untested
21452         GstClock that takes its time from a network time provider.
21453         Implements the algorithm in network-clock.scm.
21454
21455         * tests/network-clock.scm (*window-size*): Rename from
21456         *queue-length*.
21457         * tests/network-clock.scm (network-time): 
21458         * tests/network-clock-utils.scm (q-push): Update callers.
21459
21460 2005-11-17  Wim Taymans  <wim@fluendo.com>
21461
21462         * gst/gstbin.c: (gst_bin_provide_clock_func),
21463         (gst_bin_sort_iterator_new):
21464         And unref the child too..
21465
21466 2005-11-17  Wim Taymans  <wim@fluendo.com>
21467
21468         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21469         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21470         Refactor the sort iterator so it can be used while holding the
21471         LOCK too.
21472         Make clock selection select a clock closest to the source.
21473
21474 2005-11-17  Michael Smith <msmith@fluendo.com>
21475
21476         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21477         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21478         * gst/gstclock.h:
21479           Anonymous structs are a gcc (and some other compilers) extension, so
21480           don't use them. Since this is only for ABI-compatibility, and our
21481           API/ABI freeze is over in a few days, this whole thing will only
21482           last a few days, so don't bother trying to think up a meaningful
21483           name for the struct.
21484
21485 2005-11-17  Andy Wingo  <wingo@pobox.com>
21486
21487         * gst/gstclock.h (GstClock): Add rate and offset properties,
21488         preserving ABI stability. Add rate/offset accessors. Will file bug
21489         for the freeze break.
21490
21491         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21492         and offset, trying to keep precision and avoiding
21493         underflow/overflow.
21494         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21495         functions. Make gst_clock_set_time_adjust obsolete.
21496         (gst_clock_set_time_adjust): Note that this function is obsolete.
21497         Will file bug soon.
21498
21499         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21500         greppable by using GST_PADDING-1+1.
21501
21502 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21503
21504         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21505
21506         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21507           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21508
21509         * gst/gstpadtemplate.h:
21510         * gst/gstpluginfeature.h:
21511           Don't use c++ style comments in headers (#321638).
21512
21513 2005-11-16  Andy Wingo  <wingo@pobox.com>
21514
21515         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21516         buffer.
21517
21518         * check/net/gstnettimeprovider.c: Check to see that the time
21519         provider actually provides times. Works, yo!
21520
21521 2005-11-16  Wim Taymans  <wim@fluendo.com>
21522
21523         * check/Makefile.am:
21524         Enable more tests.
21525
21526         * check/elements/fakesrc.c: (GST_START_TEST):
21527         Set element to NULL before disposing it.
21528
21529 2005-11-16  Andy Wingo  <wingo@pobox.com>
21530
21531         * gst/net/Makefile.am:
21532         * gst/net/gstnet.h:
21533         * gst/net/gstnettimeprovider.c: 
21534         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21535         provider, include it from gstnet.h, and add it to the build.
21536
21537         * gst/net/gstnettimepacket.h: 
21538         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21539         sending and receiving.
21540
21541 2005-11-16  Wim Taymans  <wim@fluendo.com>
21542
21543         * check/Makefile.am:
21544         Enable valgrind check.
21545
21546         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21547         (gst_fake_src_alloc_buffer):
21548         Fix memleak.
21549
21550 2005-11-16  Wim Taymans  <wim@fluendo.com>
21551
21552         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21553         Call parent finalize too.
21554
21555 2005-11-16  Wim Taymans  <wim@fluendo.com>
21556
21557         * check/Makefile.am:
21558         Enable valgrind check that should work fine now.
21559
21560         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21561         * gst/gstqueue.c: (gst_queue_init):
21562         Fix memleaks in pad allocation.
21563
21564 2005-11-16  Andy Wingo  <wingo@pobox.com>
21565
21566         * gst/net/Makefile.am:
21567         * gst/net/gstnet.h: New part of core to hold network elements and
21568         objects. Put in core because it exposes API that applications want
21569         to use. The library is named libgstnet-tempname right now because
21570         of the existing libgstnet in gst-plugins-base. Solution is
21571         probably to rename the one in plugins-base; will file a bug for
21572         the freeze break.
21573
21574         * gst/net/gstnettimeprovider.c: 
21575         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21576         get_time call over the network.
21577
21578         * configure.ac: 
21579         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21580
21581         * check/Makefile.am:
21582         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21583         get additions shortly.
21584
21585 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21586
21587         * gst/gstpad.c: (gst_pad_new_from_static_template):
21588         * gst/gstpad.h:
21589           add gst_pad_new_from_static_template functions
21590         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21591         (gst_check_setup_sink_pad):
21592         * gst/elements/gsttee.c: (gst_tee_init):
21593           and use them
21594
21595 2005-11-16  Wim Taymans  <wim@fluendo.com>
21596
21597         * gst/gstpad.c: (gst_pad_pause_task):
21598         Removed warning, it's not really an error either.
21599
21600 2005-11-16  Wim Taymans  <wim@fluendo.com>
21601
21602         * gst/base/gstbasetransform.c:
21603         (gst_base_transform_prepare_output_buf),
21604         (gst_base_transform_event):
21605         Check if the caps are NULL, this can happen if the element
21606         is shutting down and the pad caps are set to NULL.
21607
21608 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21609
21610         * gst/elements/gsttee.c: (gst_tee_init):
21611           fix pad template leak in tee
21612
21613 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21614
21615         * gst/glib-compat.c: (g_value_dup_gst_object):
21616         * gst/glib-compat.h:
21617         * gst/gstpad.c: (gst_pad_set_property):
21618           use gst_object_ref when setting the pad template; this will
21619           trigger the pad template leaks on GLib 2.6 and the slaves
21620
21621 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21622
21623         * gst/glib-compat.c: (gst_flags_get_first_value):
21624         * gst/glib-compat.h:
21625         * gst/gstregistryxml.c:
21626           remove functions copied from GLib 2.6
21627
21628 2005-11-16  Michael Smith <msmith@fluendo.com>
21629
21630         * gst/Makefile.am:
21631           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21632           do, but only breaks with newer valgrind versions. We're not a
21633           valgrind tool, we have no link-time dependencies on libcoregrind.
21634
21635 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21636
21637         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21638           some debug changes
21639         * gst/gstmessage.h:
21640           typo fixes
21641
21642 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21643
21644         * gst/base/gstbasesrc.c: (gst_base_src_init):
21645         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21646         * gst/gstqueue.c: (gst_queue_init):
21647         * gst/gstregistryxml.c: (load_feature):
21648           Revert all these unrefs, they don't even pass make check !
21649
21650 2005-11-15  Johan Dahlin  <johan@gnome.org>
21651
21652         * gst/base/gstbasesrc.c: (gst_base_src_init):
21653         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21654         * gst/gstqueue.c: (gst_queue_init): 
21655         Free pad templates, fixes a couple of leaks.
21656
21657 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21658
21659         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21660
21661         * gst/gstpad.c: (gst_pad_get_property):
21662           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21663           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21664           (#321452)
21665
21666 2005-11-15  Wim Taymans  <wim@fluendo.com>
21667
21668         * gst/gstevent.c:
21669         Small doc update.
21670
21671 2005-11-15  Andy Wingo  <wingo@pobox.com>
21672
21673         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21674
21675         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21676         using GST_CLOCK_TIME_NONE to disable base time management.
21677         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21678         time if it was NONE before.
21679         (gst_pipeline_change_state): Only munge the base time if
21680         stream_time != GST_CLOCK_TIME_NONE.
21681
21682         * check/gst/gstpipeline.c (test_base_time): Punt around the
21683         problem of the probe not being called, because that's not the
21684         issue I'm looking at. Add a check that setting stream_time to NONE
21685         disables base time management.
21686         
21687 2005-11-15  Wim Taymans  <wim@fluendo.com>
21688
21689         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21690         segment_stop == -1 at startup.
21691
21692         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21693         (gst_base_transform_change_state):
21694         Init segment values at start.
21695
21696 2005-11-15  Wim Taymans  <wim@fluendo.com>
21697
21698         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21699         0 segment values are 0 in any format.
21700
21701         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21702         * gst/base/gstbasetransform.h:
21703         Parse newsegment correctly in basetransform
21704
21705         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21706         Sync to clock using updated segment values.
21707
21708 2005-11-15  Andy Wingo  <wingo@pobox.com>
21709
21710         * check/gst/gstpipeline.c (test_base_time): Add check that the
21711         base time and stream time are reset correctly.
21712
21713 2005-11-15  Wim Taymans  <wim@fluendo.com>
21714
21715         * docs/design/part-TODO.txt:
21716         Some more TODO items.
21717
21718 2005-11-15  Andy Wingo  <wingo@pobox.com>
21719
21720         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21721         error if the user selected "no clock" as the clocking method.
21722
21723         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21724         timestamps with live capture.
21725
21726         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21727         is 0 but we are a live source, timestamp the buffers using the
21728         element's clock.
21729
21730 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21731
21732         * docs/gst/gstreamer-sections.txt:
21733         * gst/gsterror.c:
21734         * gst/gstghostpad.c:
21735         * gst/gstobject.h:
21736         * gst/gstxml.c:
21737           more section docs
21738
21739 2005-11-14  Wim Taymans  <wim@fluendo.com>
21740
21741         * common/gst.supp:
21742           add suppressions from Wim's Debian machine
21743
21744 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21745
21746         * common/gst.supp:
21747           add suppressions from Andy's AMD64 Ubuntu machine
21748
21749 2005-11-14  Andy Wingo  <wingo@pobox.com>
21750
21751         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21752         STATE_LOCK not necessary. Fixes #311489.
21753
21754         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21755         #305291.
21756
21757         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21758         this function is not implemented.
21759
21760 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21761
21762         * gst/base/gstbasetransform.c:
21763         (gst_base_transform_prepare_output_buf):
21764         Ref the source pad caps while we need them.
21765         Fixes (#321386)
21766
21767 2005-11-11  Wim Taymans  <wim@fluendo.com>
21768
21769         * docs/gst/gstreamer-sections.txt:
21770         Added some docs for GstCollectData.
21771
21772         * gst/base/gstadapter.c:
21773         Some small code example fix.
21774
21775         * gst/base/gstcollectpads.c:
21776         * gst/base/gstcollectpads.h:
21777         Document some more.
21778
21779 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21780
21781         * configure.ac: back to HEAD
21782
21783 === release 0.9.5 ===
21784
21785 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21786
21787         * configure.ac:
21788           releasing 0.9.5, "Bike Lunch Day"
21789
21790 2005-11-11  Wim Taymans  <wim@fluendo.com>
21791
21792         * gst/gstbuffer.c: (_gst_buffer_copy):
21793         Copy more flags.
21794
21795         * gst/gstcaps.c: (gst_caps_is_equal):
21796         Fix some docs.
21797         Make _is_equal fast in the trivial cases.
21798
21799         * gst/gstminiobject.c:
21800         * gst/gstminiobject.h:
21801         More docs. Spifify .h file.
21802
21803         * gst/gstutils.c:
21804         Small doc update.
21805
21806 2005-11-11  Wim Taymans  <wim@fluendo.com>
21807
21808         * gst/base/gstbasetransform.c:
21809         (gst_base_transform_prepare_output_buf),
21810         (gst_base_transform_handle_buffer):
21811         Small cleanups.
21812         If we're processing a buffer and need to allocate an output
21813         buffer, we cannot accept a format change. If we did get a 
21814         format change, we have to alloc a buffer ourselves of the 
21815         right size.
21816
21817 2005-11-11  Wim Taymans  <wim@fluendo.com>
21818
21819         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21820         While checking the flag for reentrancy in the gstcaps function
21821         is nice to detect recursive invocations, it also makes it 
21822         impossible to call getcaps from multiple threads, which must be
21823         possible. So, checking for recursive calls has to go.
21824
21825 2005-11-11  Michael Smith <msmith@fluendo.com>
21826
21827         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21828           Don't sync on buffers that fall partially outside our current
21829           segment. Prevents an assertion failure/abort playing some files.
21830
21831 2005-11-10  Andy Wingo  <wingo@pobox.com>
21832
21833         * check/gst/gstbin.c (test_message_state_changed_children): Style
21834         fix..
21835
21836         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21837         gst_bus_poll with the signal watch. Ensures that poll and a signal
21838         watch see the same messages.
21839
21840         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21841         a poll and a watch at the same time get the same messages.
21842
21843 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21844
21845         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21846         * gst/gstcaps.c: (gst_caps_intersect):
21847           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21848           and it's not needed.
21849
21850 2005-11-10  Wim Taymans  <wim@fluendo.com>
21851
21852         * docs/design/part-TODO.txt:
21853         Updated todo.
21854
21855 2005-11-10  Wim Taymans  <wim@fluendo.com>
21856
21857         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21858         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21859         (gst_base_src_do_sync), (gst_base_src_get_range):
21860         Implement clock sync in base class.
21861
21862 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21863
21864         patch by: Tim-Philipp Müller <tim at centricular dot net>
21865
21866         * gst/gststructure.c: (gst_structure_parse_field),
21867         (gst_structure_from_string):
21868           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21869           so that gst_parse_launch() can deal with spaces in filtered link
21870           caps (fixes #164479)
21871         * check/gst/capslist.h:
21872         * check/gst/gststructure.c: (GST_START_TEST):
21873           add unit tests for this change
21874
21875 2005-11-10  Wim Taymans  <wim@fluendo.com>
21876
21877         * docs/gst/gstreamer-sections.txt:
21878         * gst/gstelement.c:
21879         * gst/gstelement.h:
21880         Fix docs, move some STATE macros to private.
21881
21882 2005-11-10  Wim Taymans  <wim@fluendo.com>
21883
21884         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21885         Added check for bug #317341
21886
21887         * gst/gstbuffer.c:
21888         * gst/gstbuffer.h:
21889         Some more spiffifying.
21890
21891         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21892         Call peer linkfunction if we are a source pad. Totally fixes
21893         #317341
21894
21895         * gst/gstpad.c:
21896         Update docs, source pads should call the peer linkfunction
21897         so they can atomically perform the pad link.
21898
21899 2005-11-09  Wim Taymans  <wim@fluendo.com>
21900
21901         * gst/gstbuffer.c:
21902         * gst/gstbuffer.h:
21903         Uber-spiffy-spiffify some more.
21904
21905 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21906
21907         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21908         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21909         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21910         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21911         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21912         * gst/gstpad.c: (gst_pad_init):
21913           Use GST_DEBUG_FUNCPTR() more extensively.
21914
21915 2005-11-09  Wim Taymans  <wim@fluendo.com>
21916
21917         * gst/gstobject.c: (gst_object_class_init):
21918         * gst/gstobject.h:
21919         Documentation fixes.
21920
21921 2005-11-09  Edward Hervey  <edward@fluendo.com>
21922
21923         * gst/gsttypefindfactory.c:
21924         Fix docs.
21925         
21926 2005-11-09  Edward Hervey  <edward@fluendo.com>
21927
21928         * gst/base/gsttypefindhelper.c:
21929         * gst/gsttypefind.c:
21930         * gst/gsttypefind.h:
21931         Fix docs.
21932
21933 2005-11-09  Wim Taymans  <wim@fluendo.com>
21934
21935         * gst/gstiterator.c:
21936         Fix revision data.
21937
21938         * gst/gsttask.c:
21939         * gst/gsttask.h:
21940         Fix docs.
21941
21942 2005-11-09  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/gstevent.h:
21945         * gst/gsturi.h:
21946         Fix docs.
21947
21948 2005-11-09  Wim Taymans  <wim@fluendo.com>
21949
21950         * docs/gst/gstreamer-sections.txt:
21951         Moved the message async delivery private lock and cond
21952         to the private section.
21953
21954         * gst/gstmessage.c:
21955         * gst/gstmessage.h:
21956         Fixed docs.
21957
21958 2005-11-09  Edward Hervey  <edward@fluendo.com>
21959
21960         * docs/gst/gstreamer-sections.txt:
21961         * gst/gsturi.c:
21962         * gst/gsturi.h:
21963         Document GstURIHandler
21964
21965 2005-11-09  Wim Taymans  <wim@fluendo.com>
21966
21967         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21968         (gst_iterator_find_custom):
21969         * gst/gstiterator.h:
21970         Fix iterator docs.
21971
21972 2005-11-09  Wim Taymans  <wim@fluendo.com>
21973
21974         * gst/gstbin.h:
21975         Document another field.
21976
21977         * gst/gststructure.c:
21978         * gst/gststructure.h:
21979         Document.
21980
21981 2005-11-09  Wim Taymans  <wim@fluendo.com>
21982
21983         * gst/gstbin.h:
21984         Documented structs.
21985
21986 2005-11-09  Wim Taymans  <wim@fluendo.com>
21987
21988         * docs/gst/gstreamer-sections.txt:
21989         Added some new macros.
21990
21991         * gst/gstclock.c:
21992         * gst/gstclock.h:
21993         * gst/gstobject.h:
21994         Docs updates.
21995
21996 2005-11-09  Wim Taymans  <wim@fluendo.com>
21997
21998         * docs/design/part-TODO.txt:
21999         Some more items for the TODO
22000
22001         * gst/gstcaps.c:
22002         * gst/gstcaps.h:
22003         Document GstCaps.
22004
22005 2005-11-09  Andy Wingo  <wingo@pobox.com>
22006
22007         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
22008         to work on something else now tho...
22009
22010         * gst/base/gstadapter.c: More adapter docs.
22011
22012         * gst/elements/gstfilesink.c (gst_file_sink_start) 
22013         (gst_file_sink_stop): New functions, replace the state change
22014         handler.
22015         (gst_file_sink_class_init): Hook up the start and stop functions.
22016         (gst_file_sink_base_init): Don't set the state change handler any
22017         more. It was a bit ugly too, being set from here...
22018         (gst_file_sink_get_property, gst_file_sink_set_property):
22019         Cleanups...
22020         (gst_file_sink_set_location): More robust check that doesn't call
22021         GST_STATE. Ugggggg.
22022
22023 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
22024
22025         * gst/base/gstbasetransform.c: (gst_base_transform_event):
22026           Hold STREAM_LOCK while pushing newsegment or tag events as well.
22027
22028 2005-11-08  Wim Taymans  <wim@fluendo.com>
22029
22030         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22031         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22032         (gst_base_sink_chain), (gst_base_sink_change_state):
22033         * gst/base/gstbasesink.h:
22034         * gst/base/gstbasesrc.h:
22035         * gst/gstelement.h:
22036         * gst/gstevent.h:
22037         Avoid excessive typechecking in macros.
22038
22039         * gst/gstminiobject.c: (gst_mini_object_get_type),
22040         (gst_mini_object_init), (gst_mini_object_new),
22041         (gst_mini_object_free):
22042         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22043         (gst_object_finalize):
22044         Remove cruft code, optimize alloc_trace.
22045
22046 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22047
22048         * docs/faq/gst-uninstalled:
22049           fix up PS1 for systems that try to reset it
22050
22051 2005-11-07  Wim Taymans  <wim@fluendo.com>
22052
22053         * gst/base/gstbasesrc.c: (gst_base_src_init),
22054         (gst_base_src_get_range):
22055         Set the segment_end to -1 initially. Fixed typefind.
22056
22057 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
22058
22059         * gst/base/gstadapter.c:
22060           Debug category should be 'adapter', not 'GstAdapter'.
22061           
22062         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
22063         (gst_collectpads_class_init), (gst_collectpads_init),
22064         (gst_collectpads_peek), (gst_collectpads_pop),
22065         (gst_collectpads_event), (gst_collectpads_chain):
22066           Add debug category and some debugging output. Use boilerplate
22067           macros. Remove some extraneous words from docs.
22068
22069 2005-11-05  Andy Wingo  <wingo@pobox.com>
22070
22071         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
22072         macro.
22073
22074 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22075
22076         * docs/gst/gstreamer-sections.txt:
22077         * gst/gstcaps.h:
22078         * gst/gstinfo.c:
22079         * gst/gstminiobject.h:
22080         * gst/gstobject.h:
22081         * gst/gstutils.h:
22082           more docs added
22083
22084 2005-11-04  Wim Taymans  <wim@fluendo.com>
22085
22086         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22087         Small update to stop at the configured segment_end
22088         position.
22089
22090 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22091
22092         * gst/gstregistry.c:
22093         * gst/gstregistry.h:
22094           added missing docs
22095
22096 2005-11-04  Edward Hervey  <edward@fluendo.com>
22097
22098         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22099         Check if we are doing a segment seek and have arrived at the
22100         end of that segment.
22101
22102 2005-11-04  Wim Taymans  <wim@fluendo.com>
22103
22104         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22105         Don't leak a mutex unlock in case of an error.
22106
22107         * gst/gstbus.h:
22108         Doc fixes.
22109
22110 2005-11-04  Wim Taymans  <wim@fluendo.com>
22111
22112         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22113         (gst_bus_post):
22114         Get the context to wake up only once.
22115
22116 2005-11-03  Wim Taymans  <wim@fluendo.com>
22117
22118         * check/states/sinks.c: (GST_START_TEST):
22119         Uncomment fixed check.
22120
22121         * docs/design/part-TODO.txt:
22122         Updated TODO.
22123
22124         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22125         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22126         (gst_base_sink_get_position):
22127         If we are going to PLAYING, post the right pending state
22128         when we post the intermediate paused message.
22129
22130         * gst/gstelement.c: (gst_element_continue_state),
22131         (gst_element_set_state_func), (gst_element_change_state):
22132         Don't post state changes that were between the same state
22133         and were not ASYNC.
22134
22135 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22136
22137         * docs/gst/gstreamer-sections.txt:
22138         * gst/gstcaps.h:
22139         * gst/gstinfo.c:
22140         * gst/gstminiobject.h:
22141         * gst/gstobject.h:
22142         * gst/gstutils.h:
22143           more docs and doc style fixes
22144
22145 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22146
22147         * docs/gst/gstreamer-sections.txt:
22148         * gst/gstelement.c:
22149         * gst/gstminiobject.c:
22150         doc fixes
22151
22152 2005-11-03  Andy Wingo  <wingo@pobox.com>
22153
22154         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22155         state-changed messages actually have the right order and the right
22156         values.
22157
22158 2005-11-03  Wim Taymans  <wim@fluendo.com>
22159
22160         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22161         Added some more checks. Specifically the case where NO_PREROLL
22162         elements are in the pipeline.
22163
22164         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22165         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22166         (gst_base_sink_get_position):
22167         Post READY->PAUSED state change messages too.
22168         Fix bug where VOID was posted as pending state...
22169
22170         * gst/gstbin.c: (gst_bin_recalc_state):
22171         use _element_continue_state() to continue the state change.
22172
22173         * gst/gstelement.c: (gst_element_continue_state),
22174         (gst_element_commit_state), (gst_element_set_state_func),
22175         (gst_element_change_state), (gst_element_change_state_func):
22176         Lots of state change cleanups, assign the STATE_RETURN in
22177         a new continue_state() function that also propagates the
22178         last return value from a state change to the app.
22179         Update some debug statements with proper category.
22180
22181 2005-11-03  Wim Taymans  <wim@fluendo.com>
22182
22183         * docs/design/part-events.txt:
22184         * docs/design/part-gstpipeline.txt:
22185         * docs/design/part-messages.txt:
22186         * docs/design/part-overview.txt:
22187         * docs/design/part-seeking.txt:
22188         * docs/design/part-states.txt:
22189         * docs/design/part-trickmodes.txt:
22190         * docs/manual/advanced-position.xml:
22191         Small docs updates.
22192
22193         * gst/gstobject.h:
22194         People think !! is ugly, this looks better.
22195
22196         * gst/gstpad.c: (gst_pad_set_blocked_async):
22197         Remove !! since it's fixed elsewhere now.
22198
22199 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22200
22201         * gst/gstminiobject.h:
22202         * gst/gstobject.h:
22203           Add !! to _FLAG_IS_SET macros to make the result boolean.
22204
22205 2005-11-03  Edward Hervey  <edward@fluendo.com>
22206
22207         * gst/gstpad.c: (gst_pad_set_blocked_async):
22208         comparing a flag and a gboolean rarely returns coherent results...
22209         Added two characters (!!) to make that work correctly.
22210         
22211 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22212
22213         * gst/gstbus.c: (gst_bus_class_init):
22214           Fix some typos.
22215           
22216         * gst/gstqueue.c: (gst_queue_loop):
22217           Don't assume a miniobject that isn't a buffer is an
22218           event (it could be that there is a refcounting
22219           problem somewhere and the pointer is stale and
22220           refers to an already destroyed miniobject).
22221
22222 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22223
22224         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22225
22226 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22227
22228         * docs/manual/advanced-position.xml:
22229           Update seek example and explanations to current 0.9 API.
22230
22231         * gst/elements/gsttypefindelement.c:
22232         (gst_type_find_element_activate):
22233           Remove FIXME comment now that the found caps
22234           are unreffed.
22235
22236 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22237
22238         * gst/gstregistryxml.c: (load_feature):
22239           Add another GST_STR_NULL instance
22240
22241 2005-11-02  Edward Hervey  <edward@fluendo.com>
22242
22243         * gst/gstpad.c: (handle_pad_block):
22244         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22245         
22246 2005-11-02  Wim Taymans  <wim@fluendo.com>
22247
22248         * gst/gstbin.c:
22249         Fix typo in docs.
22250
22251         * gst/gstelement.c: (gst_element_commit_state):
22252         Remove unused value.
22253
22254         * gst/gstiterator.c:
22255         Mention that the returned element is reffed in the docs.
22256
22257 2005-11-02  Wim Taymans  <wim@fluendo.com>
22258
22259         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22260         (gst_pad_push), (gst_pad_push_event):
22261         Unlock blocked pads when they are flushed.
22262
22263 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22264
22265         * docs/README:
22266         * docs/gst/gstreamer-sections.txt:
22267         * gst/gstbin.c:
22268           doc updates
22269         * gst/gstregistry.c: (gst_registry_scan_path_level):
22270           fix for a nasty little missed situation where an installed plug-in
22271           which was in the cache did not get overridden by an uninstalled one
22272           which was earlier in the plugin path because the newly created plugin
22273           for the uninstalled one (not in the registry) didn't get its
22274           ->registered set to TRUE
22275
22276 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22277
22278         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22279         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22280         (gst_collectpads_is_active), (gst_collectpads_collect),
22281         (gst_collectpads_collect_range), (gst_collectpads_start),
22282         (gst_collectpads_stop), (gst_collectpads_peek),
22283         (gst_collectpads_pop), (gst_collectpads_available),
22284         (gst_collectpads_read), (gst_collectpads_flush):
22285           Guard public API with assertions.
22286         
22287         * gst/gstpad.c:
22288           Fix docs for gst_pad_set_link_function().
22289
22290 2005-11-02  Johan Dahlin  <johan@gnome.org>
22291
22292         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22293         Unref found_caps after we used it.
22294
22295 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22296
22297         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22298           Don't try to ref NULL.
22299
22300 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22301
22302         * win32/common/config.h.in:
22303           provide a GST_FUNCTION that just gives a string for now
22304
22305 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22306
22307         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22308         (gst_object_flags_get_type), (register_gst_bin_flags),
22309         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22310         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22311         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22312         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22313         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22314         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22315         (gst_clock_flags_get_type), (register_gst_state),
22316         (gst_state_get_type), (register_gst_state_change_return),
22317         (gst_state_change_return_get_type), (register_gst_state_change),
22318         (gst_state_change_get_type), (register_gst_element_flags),
22319         (gst_element_flags_get_type), (register_gst_core_error),
22320         (gst_core_error_get_type), (register_gst_library_error),
22321         (gst_library_error_get_type), (register_gst_resource_error),
22322         (gst_resource_error_get_type), (register_gst_stream_error),
22323         (gst_stream_error_get_type), (register_gst_event_type),
22324         (gst_event_type_get_type), (register_gst_seek_type),
22325         (gst_seek_type_get_type), (register_gst_seek_flags),
22326         (gst_seek_flags_get_type), (register_gst_format),
22327         (gst_format_get_type), (register_gst_index_certainty),
22328         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22329         (gst_index_entry_type_get_type),
22330         (register_gst_index_lookup_method),
22331         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22332         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22333         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22334         (gst_index_flags_get_type), (register_gst_debug_level),
22335         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22336         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22337         (gst_iterator_result_get_type), (register_gst_iterator_item),
22338         (gst_iterator_item_get_type), (register_gst_message_type),
22339         (gst_message_type_get_type), (register_gst_mini_object_flags),
22340         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22341         (gst_pad_link_return_get_type), (register_gst_flow_return),
22342         (gst_flow_return_get_type), (register_gst_activate_mode),
22343         (gst_activate_mode_get_type), (register_gst_pad_direction),
22344         (gst_pad_direction_get_type), (register_gst_pad_flags),
22345         (gst_pad_flags_get_type), (register_gst_pad_presence),
22346         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22347         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22348         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22349         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22350         (gst_plugin_flags_get_type), (register_gst_rank),
22351         (gst_rank_get_type), (register_gst_query_type),
22352         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22353         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22354         (gst_tag_flag_get_type), (register_gst_task_state),
22355         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22356         (gst_alloc_trace_flags_get_type),
22357         (register_gst_type_find_probability),
22358         (gst_type_find_probability_get_type), (register_gst_uri_type),
22359         (gst_uri_type_get_type), (register_gst_parse_error),
22360         (gst_parse_error_get_type):
22361         * win32/common/gstversion.h:
22362           update win32 copies
22363
22364 2005-11-01  Luca Ognibene  <luogni@tin.it>
22365
22366         * gst/gst.c:
22367           fix docs. popt is dead, long live GOption.
22368
22369 2005-10-31  Wim Taymans  <wim@fluendo.com>
22370
22371         * gst/gstbuffer.h:
22372         Small doc fix.
22373
22374 2005-10-31  Andy Wingo  <wingo@pobox.com>
22375
22376         * Boo!
22377
22378         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22379
22380         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22381         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22382         the possibility of deadlocks here if code calling notify() or
22383         set() has a lock that can be taken in another notify handler (ABBA
22384         with class lock and e.g. python GIL state lock).
22385
22386 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22387
22388         * gst/gstbus.c: Doc updates.
22389
22390 2005-10-28  Wim Taymans  <wim@fluendo.com>
22391
22392         * docs/design/part-TODO.txt:
22393         * gst/gstiterator.c:
22394         * gst/gstsystemclock.c:
22395         * gst/gstsystemclock.h:
22396         Doc updates.
22397
22398 2005-10-28  Edward Hervey  <edward@fluendo.com>
22399
22400         * docs/gst/gstreamer-docs.sgml:
22401         * docs/gst/gstreamer-sections.txt:
22402         the GstURIType documentation page is private, it only defines GstURIType
22403         which should be defined in the GstURIHandler page
22404         
22405 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22406
22407         * gst/gstbin.c: (gst_bin_class_init):
22408         * gst/gstbin.h:
22409         * gst/gstutils.c:
22410         Documentation updates.
22411
22412 2005-10-28  Wim Taymans  <wim@fluendo.com>
22413
22414         * docs/gst/gstreamer-sections.txt:
22415         * gst/gstclock.c:
22416         * gst/gstclock.h:
22417         Documented the clocks.
22418
22419 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22420
22421         * docs/gst/gstreamer-sections.txt:
22422           move some macros to private sections
22423         * gst/gstminiobject.c:
22424         * gst/gstminiobject.h:
22425           add descriptions provided by ds and some more
22426         * gst/gstpad.h:
22427           mark macro as to be removed
22428
22429 2005-10-28  Wim Taymans  <wim@fluendo.com>
22430
22431         * docs/design/part-TODO.txt:
22432         Add an item to TODO.
22433
22434         * gst/gstiterator.c: (gst_iterator_fold),
22435         (gst_iterator_find_custom):
22436         * gst/gstiterator.h:
22437         Add iterator docs.
22438
22439 2005-10-28  Wim Taymans  <wim@fluendo.com>
22440
22441         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22442         (gst_base_transform_init):
22443         Don't leak class.
22444
22445         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22446         An EOS event marks the queue as completely filled.
22447
22448 2005-10-27  Wim Taymans  <wim@fluendo.com>
22449
22450         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22451         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22452         Some more debugging.
22453
22454         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22455         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22456         (gst_base_transform_event), (gst_base_transform_getrange),
22457         (gst_base_transform_chain):
22458         * gst/base/gstbasetransform.h:
22459         Fix debugging,
22460         Protect transform and concurrent buffer alloc with a new lock.
22461         Try not to break ABI/API.
22462
22463 2005-10-27  Wim Taymans  <wim@fluendo.com>
22464
22465         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22466         (gst_base_src_init), (gst_base_src_query),
22467         (gst_base_src_default_newsegment),
22468         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22469         (gst_base_src_send_event), (gst_base_src_event_handler),
22470         (gst_base_src_pad_get_range), (gst_base_src_loop),
22471         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22472         (gst_base_src_start), (gst_base_src_deactivate),
22473         (gst_base_src_activate_push), (gst_base_src_change_state):
22474         Move some stuff around and cleanup things.
22475
22476 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22477
22478         * gst/base/gstbasesrc.c: (gst_base_src_query):
22479           Add missing break statements.
22480
22481 2005-10-27  Wim Taymans  <wim@fluendo.com>
22482
22483         * check/gst/gstbin.c: (GST_START_TEST):
22484         An extra refcount is taken in basesrc.
22485
22486         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22487         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22488         (gst_base_src_loop):
22489         Small cleanups, check for flushing after being unlocked from the 
22490         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22491         Don't send out EOS when going to READY.
22492
22493 2005-10-27  Wim Taymans  <wim@fluendo.com>
22494
22495         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22496         (gst_base_sink_get_position):
22497         Some more debug.
22498
22499         * gst/gstbin.c: (message_check), (bin_replace_message),
22500         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22501         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22502         (bin_query_duration_init), (bin_query_duration_fold),
22503         (bin_query_duration_done), (bin_query_generic_fold),
22504         (gst_bin_query):
22505         * tools/gst-launch.c: (main):
22506         Remove old option.
22507
22508 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22509
22510         * examples/controller/audio-example.c: (main):
22511         * examples/queue/queue.c: (event_loop):
22512         * gst/base/gstbasetransform.h:
22513         * gst/gstelement.c: (gst_element_send_event):
22514         * gst/gstevent.h:
22515         * gst/gstpad.c: (gst_pad_send_event):
22516           fixing examples
22517           fixing docs typos
22518           changing log priority in error situations
22519
22520 2005-10-25  Wim Taymans  <wim@fluendo.com>
22521
22522         * gst/gstbin.c: (message_check), (bin_replace_message),
22523         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22524         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22525         (bin_query_duration_init), (bin_query_duration_fold),
22526         (bin_query_duration_done), (bin_query_generic_fold),
22527         (gst_bin_query):
22528         Some doc and debug updates.
22529         Cache previously requested query DURATION for speed. invalidate
22530         cached duration if element posts a DURATION message.
22531
22532 2005-10-25  Wim Taymans  <wim@fluendo.com>
22533
22534         * docs/design/part-TODO.txt:
22535         Update TODO.
22536
22537         * gst/gstbin.c: (message_check), (bin_replace_message),
22538         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22539         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22540         (bin_query_duration_init), (bin_query_duration_fold),
22541         (bin_query_duration_done), (bin_query_generic_fold),
22542         (gst_bin_query):
22543         Handle SEGMENT_START/DONE messages correctly.
22544         More evolved query algorithm that handles duration queries
22545         correctly.
22546
22547         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22548         (gst_element_get_state_func), (gst_element_abort_state),
22549         (gst_element_commit_state), (gst_element_lost_state):
22550         Some more debugging.
22551
22552         * gst/gstmessage.h:
22553         Added doc.
22554
22555 2005-10-25  Wim Taymans  <wim@fluendo.com>
22556
22557         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22558         Don't use invalid stream_time.
22559
22560         * gst/gstevent.c: (gst_event_new_newsegment):
22561         stream_time in newsegment cannot be undefined.
22562
22563 2005-10-24  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/gstbus.c:
22566         Doc fix.
22567
22568         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22569         (gst_queue_loop):
22570         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22571
22572 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22573
22574         * docs/libs/tmpl/gstdparam.sgml:
22575         * docs/libs/tmpl/gstdplinint.sgml:
22576         * docs/libs/tmpl/gstdpman.sgml:
22577         * docs/libs/tmpl/gstdpsmooth.sgml:
22578         * docs/libs/tmpl/gstunitconvert.sgml:
22579           these are obsolete
22580
22581 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22582
22583         * configure.ac:
22584           back to HEAD
22585
22586 === release 0.9.4 ===
22587
22588 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22589
22590         * configure.ac:
22591           releasing 0.9.4, "Tyrannosaurus Rex"
22592
22593 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22594
22595         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22596         (gst_file_sink_get_current_offset):
22597           Use fseeko() and ftello() if available. When falling back on
22598           lseek() to get the current offset, fflush() first to make sure
22599           everything is up-to-date and we get the right offset.
22600
22601 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22602
22603         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22604         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22605         * gst/gsterror.c: (_gst_stream_errors_init):
22606         * gst/gsterror.h:
22607         * gst/gstqueue.c: (gst_queue_loop):
22608         * po/POTFILES.in:
22609           remove prematurely added error category and clean up the instances
22610
22611 2005-10-21  Wim Taymans  <wim@fluendo.com>
22612
22613         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22614         (gst_base_sink_get_position), (gst_base_sink_query),
22615         (gst_base_sink_change_state):
22616         Simply set the right flag when going to playing, that's all
22617         we need to do instead of calling a function inside the object
22618         lock (that could take the lock as well and deadlock)
22619
22620 2005-10-21  Wim Taymans  <wim@fluendo.com>
22621
22622         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22623         (gst_base_src_loop):
22624         Don't warn, the peer element knows what to do best when
22625         the seek failed, it might try something else.
22626
22627 2005-10-21  Wim Taymans  <wim@fluendo.com>
22628
22629         * gst/base/gstbasesrc.c: (gst_base_src_init),
22630         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22631         Fix seeking.
22632
22633 2005-10-21  Wim Taymans  <wim@fluendo.com>
22634
22635         * docs/design/part-segments.txt:
22636         More docs.
22637
22638         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22639         Correctly set caps, even on the subbufer.
22640
22641 2005-10-21  Wim Taymans  <wim@fluendo.com>
22642
22643         * docs/gst/gstreamer-docs.sgml:
22644         * docs/gst/gstreamer-sections.txt:
22645         * gst/gstelement.h:
22646         * gst/gstevent.c:
22647         * gst/gstevent.h:
22648         * gst/gstmessage.h:
22649         * gst/gstpad.h:
22650         * gst/gstparse.h:
22651         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22652         * gst/gsttask.h:
22653         * gst/gstutils.c:
22654         * gst/gstutils.h:
22655         And 2% more doc coverage.
22656
22657 2005-10-21  Andy Wingo  <wingo@pobox.com>
22658
22659         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22660         position reporting.
22661
22662 2005-10-20  Wim Taymans  <wim@fluendo.com>
22663
22664         * gst/gsterror.c: (gst_error_get_message):
22665         * gst/gstparse.h:
22666         * gst/gstquery.h:
22667         * gst/gststructure.c:
22668         * gst/gsttrace.c:
22669         * gst/gstutils.c:
22670         More docs.
22671
22672 2005-10-20  Wim Taymans  <wim@fluendo.com>
22673
22674         * gst/gstbuffer.h:
22675         * gst/gstpad.c:
22676         * gst/gstparse.c:
22677         Another 1% more coverage.
22678
22679 2005-10-20  Wim Taymans  <wim@fluendo.com>
22680
22681         * docs/gst/gstreamer-sections.txt:
22682         * gst/gstelement.c: (gst_element_get_state_func),
22683         (gst_element_abort_state), (gst_element_commit_state),
22684         (gst_element_lost_state):
22685         * gst/gstevent.h:
22686         * gst/gstquery.c: (gst_query_set_position),
22687         (gst_query_parse_position), (gst_query_set_duration),
22688         (gst_query_parse_duration), (gst_query_new_convert):
22689         * gst/gstutils.c:
22690         Yay! 1% more docs coverage.
22691
22692 2005-10-20  Wim Taymans  <wim@fluendo.com>
22693
22694         * gst/gstpad.h:
22695         * gst/gstquery.c: (gst_query_set_position),
22696         (gst_query_parse_position), (gst_query_set_duration),
22697         (gst_query_parse_duration), (gst_query_new_convert):
22698         * gst/gstquery.h:
22699         * gst/gstutils.c: (gst_element_query_convert):
22700         * gst/gstutils.h:
22701         Docs and consistency fixes.
22702
22703 2005-10-20  Wim Taymans  <wim@fluendo.com>
22704
22705         * gst/gsttask.c:
22706         * gst/gsttask.h:
22707         More docs.
22708
22709 2005-10-20  Wim Taymans  <wim@fluendo.com>
22710
22711         * gst/gstbin.c: (message_check), (bin_replace_message),
22712         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22713         (update_degree), (gst_bin_sort_iterator_next),
22714         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22715         Reworked the message handling a bit, cache the messages instead of
22716         only the senders. alows us to do more in the future.
22717
22718 2005-10-20  Wim Taymans  <wim@fluendo.com>
22719
22720         * docs/design/part-TODO.txt:
22721         Update TODO
22722
22723         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22724         (gst_base_sink_query):
22725         Don't use clock time to report position when in EOS.
22726
22727 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22728
22729         * tools/gst-inspect.c: (print_interfaces),
22730         (print_element_properties_info), (print_element_info):
22731           Fix interface output with gst-inspect -a; don't print
22732           newlines after double/float properties.
22733
22734 2005-10-20  Wim Taymans  <wim@fluendo.com>
22735
22736         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22737         (gst_base_sink_query):
22738         Speed up current position calculation.
22739
22740         * gst/base/gstbasesrc.c: (gst_base_src_query),
22741         (gst_base_src_default_newsegment):
22742         Correctly set stream position in newsegment.
22743
22744         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22745         (update_degree), (gst_bin_sort_iterator_next),
22746         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22747         * gst/gstmessage.c: (gst_message_new_custom):
22748         Clean up debugging info
22749
22750         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22751         (gst_queue_loop), (gst_queue_handle_src_query):
22752         Pause task faster.
22753
22754 2005-10-19  Wim Taymans  <wim@fluendo.com>
22755
22756         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22757         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22758         Fix query handling again.
22759
22760 2005-10-19  Wim Taymans  <wim@fluendo.com>
22761
22762         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22763         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22764         * gst/base/gstbasesrc.c: (gst_base_src_query):
22765         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22766         * gst/elements/gsttypefindelement.c:
22767         (gst_type_find_handle_src_query), (find_element_get_length),
22768         (gst_type_find_element_activate):
22769         API change fix.
22770
22771         * gst/gstquery.c: (gst_query_new_position),
22772         (gst_query_set_position), (gst_query_parse_position),
22773         (gst_query_new_duration), (gst_query_set_duration),
22774         (gst_query_parse_duration), (gst_query_set_segment),
22775         (gst_query_parse_segment):
22776         * gst/gstquery.h:
22777         Bundling query position/duration is not a good idea since duration
22778         does not change much and we don't want to recalculate it for every
22779         position query, so they are separated again..
22780         Base value in segment query is not needed.
22781
22782         * gst/gstqueue.c: (gst_queue_handle_src_query):
22783         * gst/gstutils.c: (gst_element_query_position),
22784         (gst_element_query_duration), (gst_pad_query_position),
22785         (gst_pad_query_duration):
22786         * gst/gstutils.h:
22787         Updates for query API change.
22788         Added some docs here and there.
22789
22790 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22791
22792         * check/gst/gstbin.c: (GST_START_TEST):
22793         * check/gst/gstghostpad.c: (GST_START_TEST):
22794         * check/pipelines/cleanup.c: (GST_START_TEST):
22795           wait on thread to die so we can check refcount correctly
22796
22797 2005-10-18  Wim Taymans  <wim@fluendo.com>
22798
22799         * check/pipelines/stress.c: (GST_START_TEST):
22800         Make check a little more time consuming.
22801
22802 2005-10-18  Wim Taymans  <wim@fluendo.com>
22803
22804         * check/Makefile.am:
22805         * check/pipelines/stress.c: (GST_START_TEST),
22806         (simple_launch_lines_suite), (main):
22807         Small state change torture test.
22808
22809         * docs/design/part-states.txt:
22810         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22811         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22812         (gst_base_sink_change_state):
22813         Never take state lock from streaming thread, clean up ugly
22814         hacks. Unfortunatly core does not yet support nice ways to
22815         async commit state.
22816         
22817         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22818         (bin_bus_handler):
22819         Start state recalc if a STATE_DIRTY message is posted, but only
22820         on the toplevel bin.
22821
22822         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22823         (gst_element_get_state_func), (gst_element_abort_state),
22824         (gst_element_commit_state), (gst_element_lost_state),
22825         (gst_element_set_state_func), (gst_element_change_state):
22826         * gst/gstelement.h:
22827         State variables are now protected with the LOCK, the state
22828         lock is only used to serialize _set_state().
22829
22830 2005-10-18  Wim Taymans  <wim@fluendo.com>
22831
22832         * check/gst/gstbin.c: (GST_START_TEST):
22833         * check/gst/gstmessage.c: (GST_START_TEST):
22834         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22836         (bin_bus_handler):
22837         * gst/gstelement.c: (gst_element_abort_state),
22838         (gst_element_commit_state), (gst_element_lost_state):
22839         * gst/gstmessage.c: (gst_message_new_state_changed),
22840         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22841         (gst_message_new_segment_done), (gst_message_new_duration),
22842         (gst_message_parse_state_changed),
22843         (gst_message_parse_segment_start),
22844         (gst_message_parse_segment_done), (gst_message_parse_duration):
22845         * gst/gstmessage.h:
22846         * tools/gst-launch.c: (event_loop):
22847         Seriously, this is better than a previous commit as we only need
22848         to notify the fact that an element changed state in a streaming
22849         thread, marking the state of the parents dirty, hence the 
22850         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22851         message.
22852
22853 2005-10-18  Wim Taymans  <wim@fluendo.com>
22854
22855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22856         (gst_bin_recalc_func):
22857         * gst/gstelement.c: (gst_element_set_clock),
22858         (gst_element_abort_state), (gst_element_lost_state):
22859         Cleanups, prepare for state change fixes.
22860
22861 2005-10-18  Wim Taymans  <wim@fluendo.com>
22862
22863         * gst/gstbin.h:
22864         * gst/gstelement.c: (gst_element_class_init),
22865         (gst_element_set_state), (gst_element_set_state_func):
22866         * gst/gstelement.h:
22867         Pending ABI changes.
22868         GThreadPool in GstBinClass to monitor async state changes.
22869         state_cookie in GstElement to detect concurrent gst/set state.
22870         set_state is now virtual too in case a very complicated element
22871         has to be constructed.
22872
22873 2005-10-18  Wim Taymans  <wim@fluendo.com>
22874
22875         * check/gst/gstbin.c: (GST_START_TEST):
22876         * check/gst/gstmessage.c: (GST_START_TEST):
22877         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22878         * gst/gstbin.c: (bin_bus_handler):
22879         * gst/gstelement.c: (gst_element_commit_state),
22880         (gst_element_lost_state):
22881         * gst/gstmessage.c: (gst_message_new_state_changed),
22882         (gst_message_new_segment_start), (gst_message_new_segment_done),
22883         (gst_message_new_duration), (gst_message_parse_state_changed),
22884         (gst_message_parse_segment_start),
22885         (gst_message_parse_segment_done), (gst_message_parse_duration):
22886         * gst/gstmessage.h:
22887         * tools/gst-launch.c: (event_loop):
22888         Make messages future proof.
22889         state-change gets a flag if it was a message comming from the
22890         streaming thread.
22891         segment-start/stop can also be specified in other formats.
22892         A message to notify an app that a pipeline changed playback 
22893         duration.
22894         Also fix a GstMessage leak in -launch
22895
22896 2005-10-18  Andy Wingo  <wingo@pobox.com>
22897
22898         * gst/gstelement.c (gst_element_dispose): More helpful message.
22899
22900 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22901
22902         reviewed by: <delete if not using a buddy>
22903
22904         * common/gtk-doc.mak:
22905
22906 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22907
22908         * gst/gstregistry.c: (gst_registry_scan_path_level):
22909           unref a plug-in we get that was already initialized
22910
22911 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22912
22913         * docs/gst/gstreamer-sections.txt:
22914         * docs/libs/gstreamer-libs-sections.txt:
22915         * gst/gstelement.h:
22916           add new api entries
22917           hide internal macro
22918
22919 2005-10-17  Andy Wingo  <wingo@pobox.com>
22920
22921         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22922         cleanup.
22923
22924         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22925
22926         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22927
22928         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22929         (gst_element_get_state_func): Better debug message.
22930         (gst_element_commit_state): s/INFO/DEBUG/.
22931         (gst_element_lost_state, gst_element_change_state): 
22932
22933         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22934         (gst_message_new_custom): s/INFO/LOG/.
22935
22936 2005-10-17  Michael Smith <msmith@fluendo.com>
22937
22938         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22939           Check if end time is valid using end time, not start time.
22940
22941 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22942
22943         * check/gst-libs/controller.c: (GST_START_TEST),
22944         (gst_controller_suite):
22945         * libs/gst/controller/gstcontroller.c:
22946         (gst_controlled_property_set_interpolation_mode):
22947         * libs/gst/controller/gstcontroller.h:
22948         * libs/gst/controller/gstinterpolation.c:
22949         * testsuite/controller/.cvsignore:
22950         * testsuite/controller/Makefile.am:
22951         * testsuite/controller/interpolator.c:
22952           merge controller testsuites
22953           fix broken tests
22954           remove mem-chunk from docs
22955
22956 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22957
22958         * gst/gstmemchunk.c:
22959         * gst/gstmemchunk.h:
22960         * gst/gsttrashstack.c:
22961         * gst/gsttrashstack.h:
22962           out.  get out.  you're fired.  to the Attic !
22963
22964 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22965
22966         * gst/gstcaps.c: (gst_caps_intersect):
22967           fix signedness issues in a (hopefully) correct way
22968         * gst/gstelement.c: (gst_element_pads_activate):
22969           some debugging
22970         * gst/gstobject.c: (gst_object_set_parent):
22971           some debugging
22972
22973 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22974
22975         * gst/gstvalue.h: Fix prototypes.
22976
22977 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22978
22979         * docs/gst/gstreamer-sections.txt:
22980         * gst/gst.c: (gst_version_string):
22981         * gst/gst.h:
22982         * gst/gstversion.h.in:
22983         * win32/common/libgstreamer.def:
22984           add gst_version_string ()
22985
22986 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22987
22988         * configure.ac:
22989           clean up further
22990         * gst/gst.c: (init_post):
22991         * win32/common/config.h.in:
22992           it's PLUGINDIR now
22993         * gst/gstcaps.c: (gst_caps_intersect):
22994           use gint64, the range could be bigger than a guint
22995
22996 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22997
22998         * gst/gstclock.h:
22999           document potential problem in 2038
23000
23001 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23002
23003         * gst/gstcaps.c: (gst_caps_intersect):
23004           Fix guint j diving under 0
23005
23006 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * configure.ac:
23009         * win32/common/config.h:
23010         * win32/common/config.h.in:
23011           check for process.h, declares getpid() on Windows
23012         * gst/gstinfo.c:
23013           include process.h if we have it
23014         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
23015         * gst/gstmemchunk.h:
23016           fix signedness issues
23017         * win32/common/libgstreamer.def:
23018           fix get_type's
23019
23020 2005-10-16  Julien MOUTTE  <julien@moutte.net>
23021
23022         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
23023         fix. Because of unsigned ints, caps intersection was going nuts and
23024         trying to access structures with G_MAXUINT index. That fixes
23025         videotestsrc ! ffmpegcolorspace ! fakesink
23026         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
23027         consistency.
23028
23029 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23030
23031         * configure.ac:
23032           use the gettext macro
23033         * gst/elements/gstelements.c:
23034         * gst/gst.c:
23035         * gst/indexers/gstindexers.c:
23036           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
23037         * win32/common/config.h:
23038           updated config.h
23039         * win32/common/config.h.in:
23040           add the template to generate config.h
23041         * win32/common/gstenumtypes.c:
23042         * win32/common/gstversion.h:
23043           updated copies
23044
23045 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23046
23047         * gst/gst.c: (gst_version):
23048         * gst/gstversion.h.in:
23049           add the nano
23050
23051 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23052
23053         * gst/gstevent.h:
23054           Oops, add missing closing bracket.
23055
23056 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23057
23058         * configure.ac:
23059           use common m4's for argument checking
23060
23061 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
23062
23063         * docs/gst/gstreamer-sections.txt:
23064         * gst/gstevent.h:
23065           Add GST_EVENT_TYPE_NAME() macro.
23066
23067 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23068
23069         * gst/gstinfo.c:
23070         * gst/gstpluginfeature.c:
23071         * gst/gsttask.c:
23072           privatize more symbols
23073
23074 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23075
23076         * configure.ac:
23077           add srcdir, builddir includes to GST_ALL_CFLAGS, since
23078           everything that uses GStreamer API should have the includes
23079
23080 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23081
23082         * docs/gst/gstreamer-sections.txt:
23083         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
23084         * gst/gstvalue.h:
23085           give each value a _get_type, removes the DATA exports
23086
23087 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23088
23089         * gst/gst.c:
23090         * gst/gst.h:
23091           remove _gst_registry_auto_load, not used anymore
23092         * gst/gstbin.c: (gst_bin_get_type):
23093         * gst/gstbin.h:
23094         * gst/gstelement.c: (gst_element_get_type):
23095         * gst/gstelement.h:
23096         * gst/gstobject.c: (gst_object_get_type):
23097         * gst/gstobject.h:
23098         * gst/gstpad.c: (gst_pad_get_type):
23099         * gst/gstpad.h:
23100           make _get_type functions similar, fixes data export from library
23101
23102 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23103
23104         * configure.ac:
23105           correctly make conditionals
23106         * gst/elements/Makefile.am:
23107         * gst/elements/gstelements.c:
23108           fix typo causing fdsrc not to build
23109
23110 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * testsuite/Makefile.am:
23113         * testsuite/bytestream/.cvsignore:
23114         * testsuite/bytestream/Makefile.am:
23115         * testsuite/bytestream/filepadsink.c:
23116         * testsuite/bytestream/gstbstest.c:
23117         * testsuite/bytestream/test1.c:
23118         * testsuite/bytestream/testfile1:
23119         * testsuite/caps/normalisation.c:
23120         * testsuite/caps/random.c: (main):
23121         * testsuite/cleanup/.cvsignore:
23122         * testsuite/cleanup/Makefile.am:
23123         * testsuite/cleanup/cleanup1.c:
23124         * testsuite/cleanup/cleanup2.c:
23125         * testsuite/cleanup/cleanup3.c:
23126         * testsuite/cleanup/cleanup4.c:
23127         * testsuite/cleanup/cleanup5.c:
23128         * testsuite/controller/interpolator.c:
23129         * testsuite/debug/printf_extension.c: (main):
23130         * testsuite/elements/tee.c:
23131         * testsuite/negotiation/.cvsignore:
23132         * testsuite/negotiation/Makefile.am:
23133         * testsuite/negotiation/pad_link.c:
23134         * testsuite/pad/Makefile.am:
23135         * testsuite/pad/chainnopull.c:
23136         * testsuite/pad/getnopush.c:
23137         * testsuite/pad/link.c:
23138         * testsuite/refcounting/sched.c: (create_pipeline):
23139         * testsuite/registry/Makefile.am:
23140         * testsuite/registry/gst-print-formats.c:
23141         * testsuite/schedulers/.cvsignore:
23142         * testsuite/schedulers/142183-2.c:
23143         * testsuite/schedulers/142183.c:
23144         * testsuite/schedulers/143777-2.c:
23145         * testsuite/schedulers/143777.c:
23146         * testsuite/schedulers/147713.c:
23147         * testsuite/schedulers/147819.c:
23148         * testsuite/schedulers/147894-2.c:
23149         * testsuite/schedulers/147894.c:
23150         * testsuite/schedulers/Makefile.am:
23151         * testsuite/schedulers/group_link.c:
23152         * testsuite/schedulers/queue_link.c:
23153         * testsuite/schedulers/relink.c:
23154         * testsuite/schedulers/unlink.c:
23155         * testsuite/schedulers/unref.c:
23156         * testsuite/schedulers/useless_iteration.c:
23157         * testsuite/states/bin.c:
23158           clean out/remove some stuff from the testsuite directories
23159
23160 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23161
23162         * configure.ac:
23163           check for some headers
23164         * gst/elements/Makefile.am:
23165         * gst/elements/gstelements.c:
23166           don't compile fdsrc without sys/socket.h
23167         * gst/indexers/Makefile.am:
23168         * gst/indexers/gstindexers.c: (plugin_init):
23169           don't compile fileindex without mmap
23170
23171 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23172
23173         * configure.ac:
23174           reorganize
23175           clean up
23176           document more
23177           remove cruft
23178         * check/Makefile.am:
23179         * docs/gst/Makefile.am:
23180         * examples/helloworld/Makefile.am:
23181         * gst/Makefile.am:
23182         * gst/base/Makefile.am:
23183         * gst/check/Makefile.am:
23184         * gst/elements/Makefile.am:
23185         * gst/indexers/Makefile.am:
23186         * gst/parse/Makefile.am:
23187         * libs/gst/controller/Makefile.am:
23188         * libs/gst/dataprotocol/Makefile.am:
23189         * examples/helloworld/helloworld.c: (event_loop):
23190           compile fixes, though it's not being compiled currently
23191
23192 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23193
23194         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23195           Add some simple tests for the new taglist date API.
23196
23197 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23198
23199         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23200         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23201           Beautify 'last-message' output: print 'none' for buffer timestamps
23202           and durations if none is set; improve alignment with next messages.
23203
23204 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23205
23206         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23207         * gst/gstpluginfeature.h:
23208         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23209         * gst/gstregistry.h:
23210         * docs/gst/gstreamer-sections.txt:
23211           Add new API to check plugin feature version requirements.
23212
23213         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23214           Some basic tests for the above.         
23215
23216 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23217
23218         * gst/gststructure.c: (gst_structure_to_string):
23219           guard against NULL printf - happens when for example
23220           a message structure with GstClock gets serialized
23221
23222 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23223
23224         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23225           Fix presumable copy'n'pasto.
23226
23227 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23228
23229         * gst/elements/gstfakesrc.h:
23230         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23231         * gst/elements/gsttypefindelement.c:
23232           fix some signedness
23233         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23234           I wonder if this could actually write +2GB files before
23235
23236 2005-10-13  Andy Wingo  <wingo@pobox.com>
23237
23238         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23239         Fix Timmeke Waymans bug.
23240         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23241         string of the proper length to gst_caps_from_string. There's a
23242         potential for, before this fix, that this could cause someone
23243         connecting over the network to cause a segfault if the payload is
23244         not NUL-terminated.
23245
23246 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23247
23248         * docs/design/draft-push-pull.txt:
23249         * docs/design/part-overview.txt:
23250         * docs/random/TODO-pre-0.9:
23251         * docs/random/old/ChangeLog.gstreamer:
23252         * gst/base/gstpushsrc.c:
23253         * gst/gstclock.c:
23254           fixed typos
23255
23256 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23257
23258         * gst/glib-compat.c: (gst_flags_get_first_value):
23259         * gst/glib-compat.h:
23260         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23261         (gst_value_compare_double), (gst_value_serialize_flags):
23262           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23263           infinite loop
23264
23265 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23266
23267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23268         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23269           fix up debugging
23270         * tools/gst-launch.c: (event_loop):
23271           print out clock nicely
23272
23273 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23274
23275         * docs/gst/gstreamer-sections.txt:
23276         * gst/gsttaglist.h:
23277         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23278         (gst_tag_list_get_date_index):
23279           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23280           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23281
23282 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23283
23284         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23285         (gst_collectpads_chain):
23286         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23287         in CollectData.
23288
23289 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23290
23291         * docs/gst/gstreamer-sections.txt:
23292         * gst/gst.c:
23293         * gst/gsterror.h:
23294         * tools/gst-inspect.c: (main):
23295         * tools/gst-launch.c: (main):
23296         * tools/gst-run.c: (main):
23297         * tools/gst-xmlinspect.c: (main):
23298           fix GOption context leaks
23299           doc fixes
23300
23301 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23302
23303         * gst/gstbus.c:
23304           use HAVE_UNISTD_H
23305         * win32/common/config.h:
23306           update config
23307         * win32/vs6/grammar.dsp:
23308         * win32/vs6/libgstelements.dsp:
23309         * win32/vs6/libgstreamer.dsp:
23310           update vs6 files
23311
23312 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23313
23314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23315         * gst/base/gstbasesrc.c: (gst_base_src_query):
23316           fix more guint64<->gdouble conversions
23317
23318 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23319
23320         * Makefile.am:
23321           add win32-update target
23322         * win32/common/gstconfig.h:
23323         * win32/common/gstenumtypes.c:
23324         * win32/common/gstenumtypes.h:
23325         * win32/common/gstversion.h:
23326           add files that visual studio can't generate
23327
23328 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23329
23330         * Makefile.am:
23331           add a win32-update target
23332         * configure.ac:
23333
23334 2005-10-12  Wim Taymans  <wim@fluendo.com>
23335
23336         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23337         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23338         * gst/gstelement.c: (gst_element_commit_state),
23339         (gst_element_set_state):
23340         Protect flags with proper lock.
23341         unref provided cached clock in dispose.
23342
23343 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23344
23345         * gst/gst.c:
23346         * gst/gstminiobject.h:
23347         * gst/gstpad.h:
23348         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23349           removed unused flags from miniobject
23350           doc fixes
23351
23352 2005-10-12  Wim Taymans  <wim@fluendo.com>
23353
23354         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23355         (gst_file_sink_event), (gst_file_sink_render):
23356         Flush before seeking.
23357
23358 2005-10-12  Andy Wingo  <wingo@pobox.com>
23359
23360         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23361         always been the case.
23362
23363 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23364
23365         * check/gst/gstbin.c: (GST_START_TEST):
23366         * docs/gst/gstreamer-sections.txt:
23367         * gst/base/gstbasesink.c: (gst_base_sink_init):
23368         * gst/base/gstbasesrc.c: (gst_base_src_init),
23369         (gst_base_src_get_range), (gst_base_src_check_get_range),
23370         (gst_base_src_start), (gst_base_src_stop):
23371         * gst/base/gstbasesrc.h:
23372         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23373         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23374         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23375         (bin_bus_handler):
23376         * gst/gstbin.h:
23377         * gst/gstbuffer.h:
23378         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23379         * gst/gstbus.h:
23380         * gst/gstelement.c: (gst_element_is_locked_state),
23381         (gst_element_set_locked_state), (gst_element_commit_state),
23382         (gst_element_set_state):
23383         * gst/gstelement.h:
23384         * gst/gstindex.c: (gst_index_init):
23385         * gst/gstindex.h:
23386         * gst/gstminiobject.h:
23387         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23388         (gst_object_set_parent):
23389         * gst/gstobject.h:
23390         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23391         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23392         * gst/gstpad.h:
23393         * gst/gstpadtemplate.h:
23394         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23395         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23396         * gst/gstpipeline.h:
23397         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23398         (gst_file_index_commit):
23399         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23400         * testsuite/pad/link.c: (gst_test_src_init),
23401         (gst_test_filter_init), (gst_test_sink_init):
23402         * testsuite/states/locked.c: (main):
23403           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23404           moved bitshift from macro to enum definition
23405
23406 2005-10-12  Wim Taymans  <wim@fluendo.com>
23407
23408         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23409         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23410         (gst_file_sink_render):
23411         Some more debugging info.
23412
23413 2005-10-12  Wim Taymans  <wim@fluendo.com>
23414
23415         * docs/design/part-states.txt:
23416         * tools/gst-launch.c: (main):
23417         Some doc updates.
23418         Revert non-intentional change.
23419
23420 2005-10-12  Wim Taymans  <wim@fluendo.com>
23421
23422         * check/gst/gstbin.c: (GST_START_TEST):
23423         * check/gst/gstelement.c: (GST_START_TEST):
23424         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23425         * check/gst/gstghostpad.c: (GST_START_TEST):
23426         * check/gst/gstpipeline.c: (GST_START_TEST):
23427         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23428         * check/states/sinks.c: (GST_START_TEST):
23429         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23430         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23431         (gst_bin_remove_func), (gst_bin_get_state_func),
23432         (gst_bin_recalc_state), (gst_bin_change_state_func),
23433         (bin_bus_handler):
23434         * gst/gstelement.c: (gst_element_get_state_func),
23435         (gst_element_get_state), (gst_element_abort_state),
23436         (gst_element_commit_state), (gst_element_set_state),
23437         (gst_element_change_state), (gst_element_change_state_func):
23438         * gst/gstelement.h:
23439         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23440         (gst_pipeline_provide_clock_func):
23441         * gst/gstutils.c: (gst_element_link_pads_filtered):
23442         * tools/gst-launch.c: (main):
23443         * tools/gst-typefind.c: (main):
23444         Use GstClockTime in _get_state() instead of GTimeVal.
23445         Remove old code in gstutils.c
23446
23447 2005-10-12  Andy Wingo  <wingo@pobox.com>
23448
23449         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23450         removed.
23451
23452         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23453         there is no task. Shouldn't affect any code, as nothing in our
23454         plugins checks this return value.
23455         (gst_pad_stop_task): Also take the stream lock if the pad has no
23456         task. Docs updated.
23457
23458 2005-10-12  Wim Taymans  <wim@fluendo.com>
23459
23460         * gst/gstpad.c: (pre_activate), (post_activate),
23461         (gst_pad_activate_pull), (gst_pad_activate_push):
23462         Cleanup activation code. Reset old state if
23463         activation failed.
23464
23465 2005-10-12  Wim Taymans  <wim@fluendo.com>
23466
23467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23468         (gst_base_sink_change_state):
23469         No need to prerol after receiving EOS.
23470
23471         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23472         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23473         * gst/elements/gstidentity.c: (gst_identity_event):
23474         Print events more verbosely.
23475
23476 2005-10-12  Wim Taymans  <wim@fluendo.com>
23477
23478         * check/Makefile.am:
23479         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23480         * check/states/sinks2.c:
23481         Moved sinks2 testcode in sinks check.
23482
23483         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23484         (gst_bin_remove_func), (gst_bin_recalc_state),
23485         (gst_bin_change_state_func), (bin_bus_handler):
23486         Fix potential race condition when _get_state() iterated over an
23487         ASYNC element right before it posted a state completion.
23488
23489         * gst/gstclock.h:
23490         Do proper cast here.
23491
23492         * gst/gstevent.c: (gst_event_new_newsegment),
23493         (gst_event_parse_newsegment):
23494         A playback rate of 0.0 is not allowed.
23495
23496 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23497
23498         * win32/common/config.h:
23499         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23500         (_trewinddir), (_ttelldir), (_tseekdir):
23501         * win32/common/dirent.h:
23502         * win32/common/gtchar.h:
23503         * win32/common/libgstbase.def:
23504         * win32/common/libgstreamer.def:
23505         * win32/vs6/grammar.dsp:
23506         * win32/vs6/gst_inspect.dsp:
23507         * win32/vs6/gst_launch.dsp:
23508         * win32/vs6/gstreamer.dsw:
23509         * win32/vs6/libgstbase.dsp:
23510         * win32/vs6/libgstelements.dsp:
23511         * win32/vs6/libgstreamer.dsp:
23512           Visual Studio 6 project files, and a new common directory.
23513           Phear.
23514
23515 2005-10-11  Wim Taymans  <wim@fluendo.com>
23516
23517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23518         (gst_base_sink_do_sync), (gst_base_sink_query),
23519         (gst_base_sink_change_state):
23520         * gst/base/gstbasesink.h:
23521         Correctly parse newsegment info.
23522
23523 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23524
23525         * gst/gst.c: (init_post):
23526           split plugin paths correctly
23527
23528 2005-10-11  Wim Taymans  <wim@fluendo.com>
23529
23530         * check/gst/gstevent.c: (GST_START_TEST):
23531         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23532         (gst_base_sink_change_state):
23533         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23534         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23535         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23536         * gst/gstevent.c: (gst_event_new_newsegment),
23537         (gst_event_parse_newsegment):
23538         * gst/gstevent.h:
23539         Added extra flag to newsegment for future API freeze.
23540         Updated check and base elements.
23541
23542 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23543
23544         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23545         (gst_collectpads_add_pad), (gst_collectpads_pop),
23546         (gst_collectpads_event), (gst_collectpads_chain):
23547         * gst/base/gstcollectpads.h: Handle EOS correctly.
23548
23549 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23550
23551         * tools/gst-launch.c: (main):
23552           more null protecting
23553
23554 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23555
23556         * gst/gst-i18n-lib.h:
23557           check for ENABLE_NLS, not GETTEXT_PACKAGE
23558         * gst/gstregistry.c: (gst_registry_add_plugin),
23559         (gst_registry_scan_path_level),
23560         (_gst_registry_remove_cache_plugins):
23561           protect possibly NULL strings
23562         * gst/parse/types.h:
23563           config.h already included before
23564         * tools/gst-inspect.c: (main):
23565           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23566           check for ENABLE_NLS, not GETTEXT_PACKAGE
23567         * tools/gst-launch.c: (main):
23568           check for ENABLE_NLS, not GETTEXT_PACKAGE
23569
23570 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23571
23572         * configure.ac:
23573           if we don't have glib, fail before testing 2.8
23574         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23575           fix a leak, should fix plugins-base testsuite
23576
23577 2005-10-11  Andy Wingo  <wingo@pobox.com>
23578
23579         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23580         take the mode we're going to as an arg. Go head and set the mode
23581         and flushing flags now, so that if the activate function starts a
23582         thread all the flags will be in the right state.
23583         (post_activate): Renamed also. Just handle making sure streaming
23584         finishes for the deactivation case, and setting the deactivated
23585         mode.
23586         (gst_pad_set_active): Complain loudly if deactivation fails.
23587         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23588         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23589         remove the terrible hack.
23590
23591 2005-10-11  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23594         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23595         (gst_bin_recalc_state), (gst_bin_change_state_func),
23596         (gst_bin_dispose), (bin_bus_handler):
23597         * gst/gstbin.h:
23598         Prepare to make current EOS message queue more generic.
23599         Fix some typos.
23600
23601         * gst/gstevent.c: (gst_event_new_newsegment),
23602         (gst_event_parse_newsegment):
23603         * gst/gstevent.h:
23604         Rename base to stream_time.
23605
23606         * gst/gstmessage.h:
23607         Fix typo in docs.
23608
23609 2005-10-11  Wim Taymans  <wim@fluendo.com>
23610
23611         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23612         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23613         (gst_bin_change_state_func), (bin_bus_handler):
23614         * gst/gstbin.h:
23615         Work on proper clock selection.
23616
23617 2005-10-11  Edward Hervey  <edward@fluendo.com>
23618
23619         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23620         * libs/gst/controller/gstcontroller.h:
23621         Added GList* version of _remove_properties() in order to be able to wrap
23622         it in bindings.
23623
23624 2005-10-11  Wim Taymans  <wim@fluendo.com>
23625
23626         * docs/design/part-states.txt:
23627         Some more docs.
23628
23629         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23630         (gst_bin_change_state_func), (bin_bus_handler):
23631         Doc updates. Don't distribute the same clock over and over again.
23632
23633         * gst/gstclock.c:
23634         * gst/gstclock.h:
23635         Doc updates.
23636
23637         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23638         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23639         (gst_pad_send_event):
23640         * gst/gstpad.h:
23641         Make probe emission threadsafe again.
23642         Register quarks and move _get_name() from utils.
23643         Doc updates.
23644
23645         * gst/gstpipeline.c: (gst_pipeline_class_init),
23646         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23647         Only redistribute the clock of it changed.
23648
23649         * gst/gstsystemclock.h:
23650         Doc updates. 
23651
23652         * gst/gstutils.c:
23653         * gst/gstutils.h:
23654         Moved the _flow_get_name() to GstPad.
23655
23656 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * check/gst-libs/gdp.c: (GST_START_TEST):
23659         * check/gst/gstcaps.c: (GST_START_TEST):
23660         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23661         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23662         (gst_dp_packet_from_caps):
23663           fix more valgrind warnings before turning up the heat
23664
23665 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23666
23667         * gst/parse/grammar.y:
23668           some cleanup before the hacking
23669
23670 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23671
23672         * gst/base/gstbasesrc.c: (gst_base_src_query):
23673           use conversions
23674         * gst/gstutils.c: (gst_guint64_to_gdouble),
23675         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23676         * gst/gstutils.h:
23677           externalize, basesrc uses it
23678           obviously the implementation needs testing
23679
23680 2005-10-10  Wim Taymans  <wim@fluendo.com>
23681
23682         * tests/sched/Makefile.am:
23683         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23684         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23685
23686 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23687
23688         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23689           apparently converting from guint64 to double is not implemented
23690           on MSVC
23691
23692 2005-10-10  Wim Taymans  <wim@fluendo.com>
23693
23694         * check/Makefile.am:
23695         * check/generic/states.c: (GST_START_TEST):
23696         * check/gst/gstbin.c: (GST_START_TEST):
23697         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23698         * check/states/sinks.c: (GST_START_TEST):
23699         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23700         (main):
23701         Check fixes, use API as stated in design docs, remove hacks.
23702
23703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23704         (gst_base_sink_change_state):
23705         Catch stopping our task while we're shutting down.
23706
23707         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23708         (gst_bin_remove_func), (gst_bin_get_state_func),
23709         (gst_bin_recalc_state), (gst_bin_change_state_func),
23710         (bin_bus_handler):
23711         * gst/gstbin.h:
23712         * gst/gstelement.c: (gst_element_init),
23713         (gst_element_get_state_func), (gst_element_abort_state),
23714         (gst_element_commit_state), (gst_element_lost_state),
23715         (gst_element_set_state), (gst_element_change_state),
23716         (gst_element_change_state_func):
23717         * gst/gstelement.h:
23718         New state change algorithm (see #318116)
23719
23720         * gst/gstpipeline.c: (gst_pipeline_class_init),
23721         (gst_pipeline_init), (gst_pipeline_set_property),
23722         (gst_pipeline_get_property), (do_pipeline_seek),
23723         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23724         * gst/gstpipeline.h:
23725         Remove crude state change hacks.
23726
23727         * gst/gstutils.h:
23728         Remove crude hacks.
23729
23730         * tools/gst-launch.c: (main):
23731         Fixes for state change. Needs some more work to fully use the
23732         new stuff.
23733
23734 2005-10-10  Andy Wingo  <wingo@pobox.com>
23735
23736         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23737
23738         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23739         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23740         issue.
23741
23742 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23743
23744         * gst/gstiterator.c: (gst_iterator_new):
23745           Fix my previous commit: GTypes passed to gst_iterator_new()
23746           can be fundamental types.
23747
23748 2005-10-10  Wim Taymans  <wim@fluendo.com>
23749
23750         * gst/gstelement.c: (gst_element_iterate_pad_list),
23751         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23752         (gst_element_iterate_sink_pads):
23753         Use src/sink pads lists for the respective iterators instead
23754         of filtering.
23755
23756 2005-10-10  Andy Wingo  <wingo@pobox.com>
23757
23758         Merged in popt removal + GOption addition patch from Ronald, bug
23759         #169772.
23760
23761         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23762         GstElement macros around, remove popt-related symbols, add goption
23763         stuff.
23764
23765         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23766         
23767         * docs/gst/Makefile.am:
23768         * docs/libs/Makefile.am: No POPT_CFLAGS.
23769         
23770         * examples/manual/Makefile.am:
23771         * docs/manual/basics-init.xml: Doc updates with an example.
23772         
23773         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23774         (gst_init), (parse_one_option), (parse_goption_arg):
23775         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23776         bit of hand merging and debugging to get the GOption stuff working
23777         tho.
23778         
23779         * tests/Makefile.am:
23780         * tools/Makefile.am:
23781         * tools/gst-inspect.c: (main):
23782         * tools/gst-launch.c: (main):
23783         * tools/gst-run.c: (main):
23784         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23785
23786 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23787
23788         * gst/gstiterator.c: (gst_iterator_new):
23789           Add assertions to make sure passed GType is likely to really
23790           be a GType (as the compiler won't catch it if the size and
23791           GType arguments get mixed up, see #318447).
23792
23793 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23794
23795         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23796
23797         * gst/gstbin.c: (gst_bin_iterate_sorted):
23798           Pass GType and size arguments to gst_iterator_new() in the right
23799           order (maybe we should make _new() take the GType as first argument
23800           just like _new_list()?) (#318447).
23801           
23802
23803 2005-10-10  Wim Taymans  <wim@fluendo.com>
23804
23805         * gst/gstelement.c: (gst_element_finalize):
23806         And free the GStaticRecMutex too
23807
23808 2005-10-10  Andy Wingo  <wingo@pobox.com>
23809
23810         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23811         Allocate and free the mutex properly.
23812
23813         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23814         New macros.
23815         (GstElement): The state_lock is now recursive. Rebuild your
23816         plugins, suckers. Old macros adapted.
23817
23818         * docs/gst/gstreamer-sections.txt: Doc updates.
23819
23820         * gst/gstutils.h:
23821         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23822         (g_static_rec_cond_wait): Ported from state changes patch, while
23823         we wait on bug #317802 to be solved in a well-distributed GLib.
23824
23825         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23826         gst_element_change_state, variable name changes.
23827         (gst_element_change_state): Split out of gst_element_set_state in
23828         preparation for the state change merge. Doesn't pay attention to
23829         the 'transition' argument.
23830         (gst_element_set_state): Updates, hopefully purely cosmetic.
23831         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23832         state change patch.
23833         (gst_element_get_state_func): Renamed from get_state, cosmetic
23834         changes.
23835
23836 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23837
23838         * gst/elements/gstelements.c:
23839         * win32/GStreamer.vcproj:
23840         * win32/config.h:
23841         * win32/dirent.c: (_tseekdir):
23842         * win32/gst-inspect.vcproj:
23843         * win32/gst-launch.vcproj:
23844         * win32/gstconfig.h:
23845         * win32/gstelements.vcproj:
23846         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23847         * win32/gstreamer.def:
23848         * win32/msvc71.sln:
23849           updates for the win32 build (patch from Sebastien Moutte)
23850
23851 2005-10-10  Andy Wingo  <wingo@pobox.com>
23852
23853         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23854         gst_bin_get_state, cleaned up (but no logic changes).
23855         (bin_element_is_sink): Comment updates.
23856         (sink_iterator_filter): Remove needless cast.
23857         (gst_bin_iterate_sinks): Doc update.
23858         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23859         cleaned up (but no logic changes).
23860
23861         * check/states/sinks.c (test_src_sink): Cleanups from the state
23862         change patch.
23863         (test_livesrc_sink): Sync on the state.
23864
23865         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23866         the state change patch.
23867
23868         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23869         change patch.
23870
23871         * check/gst/gstbin.c: Merge in some style fixes and additional
23872         checks from Wim's state change patch.
23873
23874 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23875
23876         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23877         (gst_type_find_helper):
23878           Check whether we have the requested data already in our list of
23879           cached buffers before pulling a new buffer; also make the buffer
23880           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23881
23882 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23883
23884         * gst/gstcaps.c:
23885         * gst/gstevent.c:
23886           doc updates
23887         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23888           don't use long long, it's not portable.  Replacing with
23889           gint64 seems to work; let's hope no skeletons fall out of the closet.
23890
23891 2005-10-10  Andy Wingo  <wingo@pobox.com>
23892
23893         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23894
23895 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23896
23897         * docs/gst/gstreamer-sections.txt:
23898         * gst/gstevent.c:
23899         * gst/gstevent.h:
23900         * gst/gstinfo.c:
23901         * gst/gstinfo.h:
23902         * gst/gstmessage.c: (gst_message_parse_state_changed):
23903         * gst/gstpad.c:
23904         * gst/gstpad.h:
23905           more docs, fix compilation
23906
23907 2005-10-09  Philippe Khalaf <burger@speedy.org>
23908         * gst/gstmessage.c:
23909           Fixed a few forgotten variables on previous commit
23910
23911 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23912
23913         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23914           Fix evil typefind crasher: getrange() might return a short
23915           buffer at the end of a file, but gst_type_find_peek() must
23916           either return the full data as requested or NULL, but
23917           never a short buffer.
23918
23919 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23920
23921         * gst/gstmessage.c: (gst_message_new_state_changed),
23922         (gst_message_parse_state_changed):
23923         * gst/gstmessage.h:
23924           don't use "new", it's a C++ keyword
23925
23926 2005-10-08  Wim Taymans  <wim@fluendo.com>
23927
23928         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23929         * gst/gstelement.c: (gst_element_post_message):
23930         * gst/gstpipeline.c: (gst_pipeline_change_state):
23931         Small docs and debug updates.
23932
23933 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23934
23935         * docs/gst/gstreamer-sections.txt:
23936         * gst/gstelementfactory.c:
23937         * gst/gstevent.c:
23938         * gst/gsttaglist.c:
23939           more docs
23940
23941 2005-10-08  Wim Taymans  <wim@fluendo.com>
23942
23943         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23944         (gst_bin_dispose), (bin_bus_handler):
23945         Fix typos, add comments.
23946         Clear EOS list when going to PAUSED from any direction and do it
23947         in a threadsafe way.
23948         Get base time in a threadsafe way too.
23949         Fix confusing debug in the change_state function.
23950         Various other small cleanups.
23951         
23952         * gst/gstelement.c: (gst_element_post_message):
23953         Fix very verbose bus posting code.
23954
23955         * gst/gstpipeline.c: (gst_pipeline_class_init),
23956         (gst_pipeline_set_property), (gst_pipeline_get_property),
23957         (gst_pipeline_change_state):
23958         Small ARG_ -> PROP_ cleanup
23959
23960 2005-10-08  Wim Taymans  <wim@fluendo.com>
23961
23962         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23963         Do a less CPU demanding EOS check because we can.
23964
23965 2005-10-08  Wim Taymans  <wim@fluendo.com>
23966
23967         * libs/gst/dataprotocol/dataprotocol.c:
23968         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23969         (gst_dp_packet_from_event):
23970         * libs/gst/dataprotocol/dataprotocol.h:
23971         * libs/gst/dataprotocol/dp-private.h:
23972         It's about time we bump the version number.
23973         Since event types don't fit in the guint8 anymore describing
23974         the payload type, make payload type 16 bits wide.
23975
23976 2005-10-08  Wim Taymans  <wim@fluendo.com>
23977
23978         * docs/design/part-TODO.txt:
23979         * docs/design/part-clocks.txt:
23980         * docs/design/part-events.txt:
23981         * docs/design/part-gstbin.txt:
23982         * docs/design/part-gstelement.txt:
23983         * docs/design/part-gstpipeline.txt:
23984         * docs/design/part-live-source.txt:
23985         * docs/design/part-messages.txt:
23986         * docs/design/part-overview.txt:
23987         * docs/design/part-states.txt:
23988         Many doc updates.
23989
23990 2005-10-08  Wim Taymans  <wim@fluendo.com>
23991
23992         * gst/gstevent.c:
23993         * gst/gstevent.h:
23994         Fix event quark registration.
23995         Add some space between events so we can insert them in the
23996         right groups.
23997
23998 2005-10-08  Wim Taymans  <wim@fluendo.com>
23999
24000         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24001         (gst_base_sink_handle_buffer):
24002         Better log message.
24003
24004         * gst/gstbus.h:
24005         * gst/gstelement.h:
24006         More docs.
24007
24008         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24009         (gst_queue_set_property), (gst_queue_get_property):
24010         * gst/gstqueue.h:
24011         Remove old unused properties.
24012
24013 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
24014         * docs/gst/gstreamer-sections.txt:
24015         * gst/gstmessage.c:
24016         * gst/gstmessage.h:
24017         * gst/gstminiobject.c:
24018         * gst/gstminiobject.h:
24019         * gst/gstobject.h:
24020         * gst/gstpad.h:
24021         * gst/gstutils.h:
24022           lots of new docs and doc fixes
24023
24024 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24025
24026         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
24027         * gst/gstplugin.h:
24028         * gst/gstregistry.c: (gst_registry_lookup_locked),
24029         (gst_registry_scan_path_level):
24030         * gst/gstregistryxml.c: (load_plugin):
24031           Only ever load one plugin for a given plugin basename.
24032           This ensures correct overriding of GST_PLUGIN_PATH over
24033           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
24034           system installed plugins.
24035
24036 2005-10-08  Wim Taymans  <wim@fluendo.com>
24037
24038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24039         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
24040         Prepare for doing QOS.
24041
24042 2005-10-08  Wim Taymans  <wim@fluendo.com>
24043
24044         * check/gst/gstbin.c: (GST_START_TEST):
24045         * check/pipelines/cleanup.c: (GST_START_TEST):
24046         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24047         Allow new clock message too.
24048
24049 2005-10-08  Wim Taymans  <wim@fluendo.com>
24050
24051         * gst/gstmessage.c: (gst_message_new_error),
24052         (gst_message_new_warning), (gst_message_new_tag),
24053         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24054         (gst_message_new_clock_lost), (gst_message_new_new_clock),
24055         (gst_message_new_segment_start), (gst_message_new_segment_done),
24056         (gst_message_parse_state_changed),
24057         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
24058         (gst_message_parse_new_clock):
24059         * gst/gstmessage.h:
24060         Also carry the clock in question.
24061
24062 2005-10-08  Wim Taymans  <wim@fluendo.com>
24063
24064         * gst/gstmessage.c: (gst_message_new_custom),
24065         (gst_message_new_eos), (gst_message_new_error),
24066         (gst_message_new_warning), (gst_message_new_tag),
24067         (gst_message_new_state_changed), (gst_message_new_clock_provide),
24068         (gst_message_new_new_clock), (gst_message_new_segment_start),
24069         (gst_message_new_segment_done), (gst_message_parse_state_changed),
24070         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
24071         * gst/gstmessage.h:
24072         Clean up.
24073         Added clock related messages.
24074
24075         * gst/gstpipeline.c: (gst_pipeline_change_state):
24076         Post message when the clock changed.
24077
24078         * tools/gst-launch.c: (event_loop):
24079         Print new clock.
24080
24081 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
24082
24083         * tools/gst-inspect.c: (print_element_properties_info):
24084           Can't pass NULL strings to g_print() on windows.
24085
24086 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24087
24088         * docs/Makefile.am:
24089         * docs/gst/Makefile.am:
24090         * docs/gst/gstreamer-docs.sgml:
24091         * docs/gst/running.xml:
24092         * docs/version.entities.in:
24093           add a chapter on running GStreamer.
24094           document GST_DEBUG and GST_PLUGIN* env vars
24095
24096 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24097
24098         * Makefile.am:
24099           remove include dir
24100         * configure.ac:
24101           remove PLUGINS_BUILDDIR stuff
24102         * gst/gst.c: (init_post):
24103           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24104         * idiottest.mak:
24105           remove, it was condescending and not needed
24106
24107 2005-10-08  Wim Taymans  <wim@fluendo.com>
24108
24109         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24110         (gst_base_sink_handle_object), (gst_base_sink_event),
24111         (gst_base_sink_wait), (gst_base_sink_handle_event),
24112         (gst_base_sink_change_state):
24113         * gst/base/gstbasesink.h:
24114         Repost EOS message while going to PLAYING if still EOS.
24115         Make sure that when receiving a FLUSH_START we don't attempt
24116         to sync on the clock anymore.
24117
24118 2005-10-08  Wim Taymans  <wim@fluendo.com>
24119
24120         * tools/gst-launch.c: (event_loop):
24121         Better message printout.
24122
24123 2005-10-08  Wim Taymans  <wim@fluendo.com>
24124
24125         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24126         (gst_bin_child_proxy_get_children_count):
24127         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24128         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24129         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24130         (gst_child_proxy_set_valist):
24131         * gst/parse/grammar.y:
24132         Make ChildProxy threadsafe and fix mem leaks.
24133
24134 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24135
24136         * gst/gst.c: (init_post):
24137           debug the GST_PLUGIN_ env vars
24138
24139 2005-10-08  Wim Taymans  <wim@fluendo.com>
24140
24141         * check/gst/gstbin.c: (GST_START_TEST):
24142         * check/gst/gstmessage.c: (GST_START_TEST):
24143         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24144         * gst/gstelement.c: (gst_element_commit_state),
24145         (gst_element_lost_state):
24146         * gst/gstmessage.c: (gst_message_new_state_changed),
24147         (gst_message_parse_state_changed):
24148         * gst/gstmessage.h:
24149         * tools/gst-launch.c: (event_loop):
24150         Added extra field to STATE_CHANGE message with the pending
24151         state, which will be different from the new state soon.
24152
24153 2005-10-08  Wim Taymans  <wim@fluendo.com>
24154
24155         * gst/gstbus.c: (gst_bus_pop):
24156         * gst/gstclock.c:
24157         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24158         Small cleanups and doc updates.
24159
24160 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24161
24162         * gst/gst.c: (init_pre):
24163         * gst/gstbin.c: (gst_bin_add_func):
24164           log distributing clocks and base time
24165         * gst/gstregistry.c: (gst_registry_add_plugin),
24166         (gst_registry_scan_path_level), (gst_registry_scan_path):
24167           clean up the debugging output a little
24168         * gst/gstutils.c: (gst_element_state_get_name):
24169           warn about a memleak (I've actually seen this be used, though
24170           it was probably a bug)
24171
24172 2005-10-07  Wim Taymans  <wim@fluendo.com>
24173
24174         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24175         (gst_base_src_init), (gst_base_src_default_newsegment),
24176         (gst_base_src_newsegment), (gst_base_src_do_seek),
24177         (gst_base_src_loop), (gst_base_src_start):
24178         * gst/base/gstbasesrc.h:
24179         Make the newsegment event customizable by subclasses.
24180
24181 2005-10-07  Wim Taymans  <wim@fluendo.com>
24182
24183         * gst/gstevent.c: (gst_event_new_buffersize),
24184         (gst_event_parse_buffersize):
24185         * gst/gstevent.h:
24186         New event for future idea.
24187
24188 2005-10-07  Andy Wingo  <wingo@pobox.com>
24189
24190         * gst/gstelement.c (gst_element_post_message): Doc update.
24191
24192         * docs/gst/gstreamer-sections.txt: Update.
24193
24194         * gst/gstmessage.c (gst_message_new_application): Made into a
24195         function like honest API calls.
24196         (gst_message_new_element): New message type.
24197
24198         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24199
24200         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24201         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24202         times.
24203
24204         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24205         NO_PREROLL from gst_element_change_state to fall through.
24206
24207 2005-10-07  Wim Taymans  <wim@fluendo.com>
24208
24209         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24210         (gst_ghost_pad_do_activate_push):
24211         Activating a ghostpad with no internal pad in push mode
24212         is ok.
24213
24214 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24215
24216         * gst/gstobject.h:
24217           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24218           Fixes compilation on Windows.
24219
24220 2005-10-07  Michael Smith <msmith@fluendo.com>
24221
24222         * tools/gst-inspect.c:
24223           Print out feature and plugin count at the end when printing out
24224           all features.
24225
24226 2005-10-04  Michael Smith <msmith@fluendo.com>
24227
24228         * gst/gsterror.c: (_gst_stream_errors_init):
24229           Add another error string used in a few existing plugins.
24230
24231         * gst/gstplugin.c:
24232         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24233         * tools/gst-inspect.c: (print_element_info):
24234           When a feature disappears from a plugin (and the feature exists in
24235           the cached registry file), things went horribly wrong. This isn't a
24236           complete fix, we should actually be removing the 'missing' features
24237           from the features list when we load the actual plugin. That's not
24238           yet implemented. 
24239
24240 2005-10-04  Johan Dahlin  <johan@gnome.org>
24241
24242         * check/gst/gstiterator.c: (GST_START_TEST):
24243         * gst/gstbin.c: (gst_bin_iterate_elements),
24244         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24245         * gst/gstelement.c: (gst_element_iterate_pads):
24246         * gst/gstformat.c: (gst_format_iterate_definitions):
24247         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24248         (gst_iterator_new_list), (gst_iterator_filter):
24249         * gst/gstiterator.h:
24250         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24251         Add a GType to GstIterator, update callsites and tests.
24252
24253 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24254
24255         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24256           give events a chance to be handled by event probes when the pad
24257           is not linked
24258
24259 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24260
24261         * gst/gstevent.c: (gst_event_type_get_name),
24262         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24263         * gst/gstevent.h:
24264           add string representations for event types
24265
24266 2005-10-06  Wim Taymans  <wim@fluendo.com>
24267
24268         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24269         Don't use NULL pointers.
24270
24271 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24272
24273         * gst/gst_private.h:
24274         * gst/gstbus.c:
24275         * gst/gstelement.c:
24276         * gst/gstinfo.c:
24277         * gst/gstpluginfeature.c:
24278           widen the debug category in output to fit the biggest one we have
24279           add a bus category and use it
24280           play with the colors
24281           fix up some categories
24282
24283 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24284
24285         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24286           add push activation of sink ghost pads.
24287           Andye, please verify
24288
24289 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24290
24291         * gst/gstutils.c: (gst_element_link_pads):
24292           fix a bug in the case where neither element has a pad
24293         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24294           add a test for that case
24295
24296 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24297
24298         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24299           emit have-data before checking for peers.  This allows
24300           for probe handlers to connect elements.  This helps autopluggers.
24301         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24302         (gst_pad_suite):
24303           add six checks, linked/unlinked with no/true/false probe
24304
24305 2005-10-04  Wim Taymans  <wim@fluendo.com>
24306
24307         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24308         (gst_fake_sink_event), (gst_fake_sink_preroll),
24309         (gst_fake_sink_render), (gst_fake_sink_change_state):
24310         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24311         (gst_fake_src_get_property), (gst_fake_src_create),
24312         (gst_fake_src_stop):
24313         * gst/elements/gstidentity.c: (gst_identity_stop):
24314         Protect last_message with lock.
24315
24316 2005-10-04  Edward Hervey  <edward@fluendo.com>
24317
24318         * gst/gstformat.h: 
24319         Added precision in the comments for GST_FORMAT_DEFAULT
24320
24321 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24322
24323         * tools/gst-launch.c: (main):
24324           Don't try to run erroneous pipelines.
24325
24326 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24327
24328         * gst/gstbus.c: We don't need this header.
24329
24330 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24331
24332         * configure.ac:
24333           back to development
24334
24335 === release 0.9.3 ===
24336
24337 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24338
24339         * README:
24340         * configure.ac:
24341           Releasing 0.9.3, "Unregistered"
24342
24343 2005-10-03  Andy Wingo  <wingo@pobox.com>
24344
24345         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24346         whereby calling a pad's activatepush() function can start a thread
24347         that starts to push or pull before the pad gets the FLUSHING flag
24348         unset. Hack around it by holding the stream lock until the flag is
24349         set. Need to replace this with a proper solution. Together with
24350         the ghost pad fixes, this fixes mp3 playing/tagreading.
24351
24352         * docs/design/part-gstghostpad.txt: Add a note about activation of
24353         proxy pads outside of ghost pads.
24354
24355         * gst/gstghostpad.c: Implement the ghost pad activation design.
24356
24357 2005-10-02  Andy Wingo  <wingo@pobox.com>
24358
24359         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24360         It is volatile, after all.
24361
24362         * docs/design/part-gstghostpad.txt: Flesh out activation with
24363         ghost pads.
24364
24365         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24366         GST_DEBUG_FUNCPTR.
24367
24368 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24369
24370         * configure.ac:
24371           Fix (unused) AM_CONDITIONAL tests.
24372
24373 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24374
24375         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24376
24377         * gst/gstutils.c: (gst_pad_query_convert):
24378           Add assertion that makes sure src_val is >=0, just like
24379           gst_query_new_convert() has. (#315895)
24380
24381 2005-09-30  Edward Hervey  <edward@fluendo.com>
24382
24383         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24384         Let's not iterate pads we're not interested in, it avoids getting 
24385         sky-high refcounts on sinkpad.
24386
24387 2005-09-30  Wim Taymans  <wim@fluendo.com>
24388
24389         * gst/gstelement.c: (gst_element_set_state),
24390         (gst_element_change_state):
24391         Small tweak, element in ASYNC remains ASYNC.
24392
24393 2005-09-30  Wim Taymans  <wim@fluendo.com>
24394
24395         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24396         Only error is an error.
24397
24398         * gst/gstbin.c: (gst_bin_change_state):
24399         Better debugging.
24400
24401         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24402         Also call pad_block in pad alloc.
24403
24404         * gst/gstutils.c: (gst_flow_get_name):
24405         Better debugging.
24406
24407 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24408
24409         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24410         (gst_base_src_get_range):
24411           Fix documentation typos. Add some more debug info.
24412
24413 2005-09-29  David Schleef  <ds@schleef.org>
24414
24415         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24416           more end-user friendly.
24417         * tools/gst-inspect.c: (main): Check if command-line argument is
24418           a file and attempt to load that file as a plugin.
24419
24420 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24421
24422         * check/gst/gstbin.c:
24423         * check/states/sinks.c:
24424           fix tests for the new warning
24425         * check/gst/gstpipeline.c:
24426           add a test for pipeline and bus interaction
24427         * gst/gstelement.c:
24428           elements should be NULL if they get disposed; add a warning if not
24429
24430 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24431
24432         * gst/gstobject.c:
24433           for 2.6 refcounting, make debug log more correct by printing
24434           the actual refcounts at the time of swap (Wim)
24435
24436 2005-09-29  Andy Wingo  <wingo@pobox.com>
24437
24438         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24439         removes signal watches previously added via
24440         gst_bus_add_signal_watch.
24441         (gst_bus_add_signal_watch): Don't return the source id, just store
24442         it on the bus if there wasn't an id already.
24443
24444         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24445         add_signal_watch and remove_signal_watch.
24446
24447 2005-09-29  Edward Hervey  <edward@fluendo.com>
24448
24449         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24450         Better if we actually iterate the list :)
24451
24452 2005-09-29  Wim Taymans  <wim@fluendo.com>
24453
24454         * check/gst/gstbin.c: (GST_START_TEST):
24455         Change for new bus API.
24456
24457         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24458         (send_messages), (GST_START_TEST), (gstbus_suite):
24459         Change for new bus signal API.
24460
24461         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24462         (gst_bus_source_prepare), (gst_bus_source_check),
24463         (gst_bus_create_watch), (gst_bus_add_watch_full),
24464         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24465         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24466         * gst/gstbus.h:
24467         Remove support for multiple GSources operating on different
24468         message types as it is too complex and unneeded when using
24469         signals.
24470         Added support for receiving signals from the bus.
24471
24472 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24473
24474         * docs/libs/tmpl/gstdataprotocol.sgml:
24475         * docs/manual/advanced-dataaccess.xml:
24476         * gst/elements/gstcapsfilter.c:
24477         * gst/gstutils.c:
24478           rename filter-caps to caps property
24479
24480 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24481
24482         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24483           More robust fraction string parsing.
24484
24485         * docs/pwg/appendix-porting.xml:
24486           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24487
24488 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24489
24490         * gst/gstcaps.c: (gst_caps_do_simplify):
24491           Thou shalt not free a structure and then continue using it
24492           in the next loop iteration.
24493
24494         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24495         (gst_caps_suite):
24496           Add test case for caps simplification.
24497
24498 2005-09-29  Wim Taymans  <wim@fluendo.com>
24499
24500         * check/gst/gstbin.c: (GST_START_TEST):
24501         Oops.
24502
24503 2005-09-29  Wim Taymans  <wim@fluendo.com>
24504
24505         * check/gst/gstbin.c: (GST_START_TEST):
24506         Add bus to bin.
24507
24508         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24509         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24510         (find_element), (gst_bin_sort_iterator_next),
24511         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24512         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24513         (gst_bin_change_state), (gst_bin_dispose):
24514         A bin does not have a bus, it gets the bus from the parent.
24515
24516         * gst/gstelement.c: (gst_element_requires_clock),
24517         (gst_element_provides_clock), (gst_element_is_indexable),
24518         (gst_element_is_locked_state), (gst_element_change_state),
24519         (gst_element_set_bus_func):
24520         Small cleanups.
24521
24522         * gst/gstpipeline.c: (gst_pipeline_class_init),
24523         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24524         The pipeline provides a bus.
24525
24526 2005-09-28  Johan Dahlin  <johan@gnome.org>
24527
24528         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24529         gst_structure_get_enum instead of gst_structure_get_int
24530
24531         * gst/gststructure.c (gst_structure_get_enum): Impl.
24532
24533         * gst/gststructure.h (gst_structure_get_enum): Add
24534
24535         * docs/gst/gstreamer-sections.txt: Ditto
24536
24537         * gst/gstmessage.c (gst_message_new_state_changed): Use
24538         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24539         which does introspection.
24540         Reviewed by Christian Schaller
24541
24542 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24543
24544         * gst/gstinfo.c: (gst_debug_log_default):
24545           don't do dummy g_strdup()s
24546         * libs/gst/controller/gstcontroller.c:
24547         (on_object_controlled_property_changed),
24548         (gst_controlled_property_new), (gst_controller_new_valist),
24549         (gst_controller_new_list),
24550         (gst_controller_remove_properties_valist), (gst_controller_set),
24551         (gst_controller_get), (gst_controller_sync_values),
24552         (gst_controller_get_value_array), (_gst_controller_class_init),
24553         (gst_controller_get_type):
24554         * libs/gst/controller/gstcontroller.h:
24555         * libs/gst/controller/gstinterpolation.c:
24556         (gst_controlled_property_find_timed_value_node):
24557           convert // to /**/ comments
24558
24559 2005-09-28  Wim Taymans  <wim@fluendo.com>
24560
24561         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24562         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24563         (gst_bus_sync_signal_handler):
24564         * gst/gstbus.h:
24565         Added async-message and sync-message signals to the bus.
24566         Added helper BusFunc to emit signals for all posted messages.
24567
24568         * gst/gstmessage.c: (gst_message_type_get_name),
24569         (gst_message_type_to_quark), (gst_message_get_type):
24570         * gst/gstmessage.h:
24571         Register quarks for message names.
24572
24573 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24574
24575         * docs/libs/gstreamer-libs-sections.txt:
24576         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24577         (gst_controller_new_list):
24578         * libs/gst/controller/gstcontroller.h:
24579           added another constructor for language bindings
24580
24581 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24582
24583         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24584           add another check
24585         * gst/gstbus.c:
24586           add some doc
24587         * gst/gstinfo.c: (_gst_debug_init):
24588           slightly more readable color for refcount debugging
24589
24590 2005-09-28  Wim Taymans  <wim@fluendo.com>
24591
24592         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24593         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24594         (find_element), (gst_bin_sort_iterator_next),
24595         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24596         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24597         (gst_bin_change_state), (gst_bin_dispose):
24598         Small doc fixes. get_clock -> provide_clock.
24599
24600         * gst/gstelement.c: (gst_element_class_init),
24601         (gst_element_provides_clock), (gst_element_provide_clock),
24602         (gst_element_get_clock), (gst_element_commit_state),
24603         (gst_element_lost_state):
24604         * gst/gstelement.h:
24605         Make get/set_clock() symetric. Add provide_clock vmethod since
24606         that is actually what this function does.
24607
24608         * gst/gstpipeline.c: (gst_pipeline_class_init),
24609         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24610         (gst_pipeline_get_clock):
24611         get_clock -> provide_clock.
24612
24613 2005-09-28  Andy Wingo  <wingo@pobox.com>
24614
24615         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24616         lieu of real docs...
24617
24618         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24619
24620 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24621
24622         * gst/elements/gstcapsfilter.c:
24623         * gst/elements/gstfakesink.c:
24624         * gst/elements/gstfakesrc.c:
24625         * gst/elements/gstfdsink.c:
24626         * gst/elements/gstfdsrc.c:
24627         * gst/elements/gstfilesink.c:
24628         * gst/elements/gstfilesrc.c:
24629         * gst/elements/gstidentity.c:
24630         * gst/elements/gsttee.c:
24631         * gst/elements/gsttypefindelement.c:
24632           Make element details static.
24633
24634 2005-09-28  Wim Taymans  <wim@fluendo.com>
24635
24636         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24637         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24638         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24639         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24640         (gst_bin_change_state), (gst_bin_dispose):
24641         Some documentation updates.
24642         Clean up dispose handlers.
24643
24644         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24645         * gst/gstpad.c: (gst_pad_dispose):
24646         Clean up dispose handler.
24647
24648         * gst/gstpipeline.c: (gst_pipeline_change_state):
24649         Removed spurious UNLOCK.
24650
24651 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24652
24653         * docs/gst/gstreamer-sections.txt:
24654         * gst/base/gstbasesrc.h:
24655         * gst/gstelement.h:
24656         * gst/gstevent.h:
24657         * gst/gstobject.h:
24658         * gst/gstpad.h:
24659         * gst/gstpipeline.c:
24660         * gst/gstpipeline.h:
24661         * gst/gstutils.h:
24662         * gst/gstxml.h:
24663           added two new functions to the docs
24664                 documents all undocumented GstXXXFlags
24665                 completed some incomplete docs 
24666
24667 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24668
24669         * gst/gstbin.c: (gst_bin_dispose):
24670         * gst/gstelement.c: (gst_element_dispose):
24671           remove now useless and leaky resurrection code in dispose
24672         * gst/base/gstbasesrc.c: (gst_base_src_init):
24673         * gst/gstelementfactory.c: (gst_element_factory_create):
24674         * gst/gstobject.c: (gst_object_set_parent):
24675           add some debugging
24676
24677 2005-09-27  Wim Taymans  <wim@fluendo.com>
24678
24679         * docs/design/part-TODO.txt:
24680         Update TODO.
24681
24682         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24683         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24684         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24685         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24686         (gst_bin_change_state):
24687         * gst/gstelement.h:
24688         Remove element variable, we keep element info in the iterator now.
24689
24690 2005-09-27  Andy Wingo  <wingo@pobox.com>
24691
24692         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24693         values.
24694
24695 2005-09-27  Wim Taymans  <wim@fluendo.com>
24696
24697         * check/gst/gstbin.c: (GST_START_TEST):
24698         Enable check that works now.
24699
24700         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24701         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24702         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24703         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24704         (gst_bin_change_state):
24705         * gst/gstbin.h:
24706         Redid the state change algorithm using a topological sort algo.
24707         Handles all cases correctly.
24708         Exposed iterator for state change order.
24709
24710         * gst/gstelement.h:
24711         Temp storage for state changes. Need to get rid of this soon.
24712
24713 2005-09-27  Wim Taymans  <wim@fluendo.com>
24714
24715         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24716         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24717         (link_fold_func), (gst_pad_proxy_setcaps):
24718         Leak fixes, the fold functions need to unref the passed object and
24719         _get_parent_*() returns ref to parent.
24720
24721 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24722
24723         * check/gst/gstbuffer.c: (test_make_writable):
24724           Plug leak in test case and fix 'make check-valgrind'
24725
24726 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24727
24728         * gst/gstbuffer.c: (gst_subbuffer_init):
24729           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24730           works correctly in all circumstances (we could have just copied
24731           the parent buffer's readonly flag, but conceptually it seems
24732           cleaner to mark all subbuffers as read-only). (based on patch
24733           by Alessandro Decina, #314710).
24734         
24735         * check/gst/gstbuffer.c: (create_read_only_buffer),
24736         (test_make_writable), (test_subbuffer_make_writable),
24737         (gst_test_suite):
24738           Add some tests for gst_buffer_make_writable().
24739
24740 2005-09-27  Wim Taymans  <wim@fluendo.com>
24741
24742         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24743         use gst_object_has_ancestor().
24744
24745         * gst/gstobject.c: (gst_object_has_ancestor):
24746         * gst/gstobject.h:
24747         gst_object_has_ancestor() copied from gstbin.c as it is a
24748         useful function.
24749
24750         * tests/instantiate/create.c: (create_all_elements):
24751         * tests/lat.c: (handoff_src), (handoff_sink):
24752         * tests/sched/runxml.c: (main):
24753         * tests/seeking/seeking1.c: (main):
24754         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24755         (main):
24756         Fix compilation of some tests.
24757
24758 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24759
24760         * gst/gsterror.h:
24761           Remove comment. GST_TYPE_G_ERROR is here to stay,
24762           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24763           (#316961, #300610).
24764
24765 2005-09-26  Wim Taymans  <wim@fluendo.com>
24766
24767         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24768         Added check that shows error in state change order.
24769
24770 2005-09-26  Wim Taymans  <wim@fluendo.com>
24771
24772         * gst/gstbin.c: (gst_bin_change_state):
24773         Make state change function use 3 queues again, we were
24774         adding elements in the wrong order.
24775
24776         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24777         Some debug info,
24778
24779         * gst/gstpad.c: (gst_pad_dispose):
24780         Added some debug info first.
24781
24782 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24783
24784         * docs/design/draft-push-pull.txt:
24785         * docs/design/part-events.txt:
24786         * docs/design/part-overview.txt:
24787         * docs/design/part-scheduling.txt:
24788           Replace all _pull_region() with _pull_range()
24789           
24790 2005-09-26  Andy Wingo  <wingo@pobox.com>
24791
24792         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24793
24794         * check/gst-libs/controller.c: Update for controller api change.
24795
24796         * configure.ac: 
24797         * tests/Makefile.am:
24798         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24799         over by GLib bug 118439.
24800         
24801         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24802         routines to a function.
24803
24804         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24805
24806         * libs/gst/controller/gsthelper.c:
24807         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24808         (gst_object_sync_values): Renamed from sink_values. Ugh.
24809
24810         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24811
24812         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24813         Renamed from controller_key, as it is exported.
24814
24815         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24816
24817 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24818
24819         * gst/Makefile.am:
24820         * gst/gst.h:
24821         * gst/gstpad.h:
24822         * gst/gstpadtemplate.h:
24823         * gst/gstquery.c:
24824         * gst/gstquery.h:
24825         * gst/gstqueryutils.c:
24826         * gst/gstqueryutils.h:
24827           remove queryutils headers after moving the two used functions
24828           to gstquery.  also fixes build problem for gstsiddec
24829
24830 2005-09-26  Michael Smith <msmith@fluendo.com>
24831
24832         * tools/gst-launch.1.in:
24833         Correct documentation in manpage of debug syntax
24834
24835 2005-09-26  Wim Taymans  <wim@fluendo.com>
24836
24837         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24838         (gst_base_src_is_seekable), (gst_base_src_change_state):
24839         Some more debugging info.
24840
24841 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24842
24843         * docs/gst/gstreamer-sections.txt:
24844         * gst/base/gstbasetransform.h:
24845         * gst/gstindex.h:
24846           added more docs
24847
24848 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24849
24850         * docs/gst/.cvsignore:
24851         * docs/gst/tmpl/.cvsignore:
24852         * docs/gst/tmpl/gstpipeline.sgml:
24853         * docs/gst/tmpl/gstplugin.sgml:
24854         * gst/gstpipeline.c:
24855         * gst/gstplugin.c:
24856         * gst/gstplugin.h:
24857           inlined the last two docs files
24858           removed the tmpl directory from cvs (no more conflicts here!)
24859
24860 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24861
24862         * docs/gst/gstreamer-sections.txt:
24863         * docs/gst/tmpl/.cvsignore:
24864         * docs/gst/tmpl/gstpad.sgml:
24865         * docs/gst/tmpl/gstpadtemplate.sgml:
24866         * gst/Makefile.am:
24867         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24868         (gst_pad_finalize), (gst_pad_set_pad_template):
24869         * gst/gstpad.h:
24870         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24871         (gst_pad_template_class_init), (gst_pad_template_init),
24872         (gst_pad_template_dispose), (name_is_valid),
24873         (gst_static_pad_template_get), (gst_pad_template_new),
24874         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24875         (gst_pad_template_pad_created):
24876         * gst/gstpadtemplate.h:
24877           inlined two more docs
24878           factored gstpadtemplate out of gstpad
24879
24880 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24881
24882         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24883         (test_children_state_change_order_semi_sink):
24884           Fix test case: we can't rely on a fixed state change order when
24885           going from READY => PAUSED because the sink might commit its 
24886           new state first when the first buffer created by the source 
24887           reaches the sink before the source has finished its change state.
24888           (Test case still fails at times, see #316856, comment 5 onwards)
24889
24890 2005-09-24  Wim Taymans  <wim@fluendo.com>
24891
24892         * docs/design/part-events.txt:
24893         * docs/design/part-gstbus.txt:
24894         * docs/design/part-gstpipeline.txt:
24895         * docs/design/part-messages.txt:
24896         * docs/design/part-overview.txt:
24897         * docs/design/part-segments.txt:
24898         * gst/gstbin.c:
24899         * gst/gstbuffer.c:
24900         * gst/gstclock.c:
24901         * gst/gstelement.c:
24902         * gst/gstevent.c:
24903         * gst/gstfilter.c:
24904         * gst/gstiterator.c:
24905         Various documentation updates.
24906
24907 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24908
24909         * gst/gstclock.h:
24910           Well, that's embarassing.  Luckily we weren't using
24911           GST_CLOCK_DIFF anywhere.
24912
24913 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24914
24915         * common/gtk-doc.mak:
24916           don't fail on building XML, FC4 slave shows a bunch of doc
24917           missing bits that I don't get
24918         * gst/gstpad.c:
24919         * gst/gstpipeline.c:
24920         * gst/gststructure.c:
24921           some doc updates
24922
24923 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24924
24925         * docs/design/part-gstbin.txt:
24926         * docs/design/part-gstbus.txt:
24927         * gst/gstbus.c:
24928           Add blurb about how the bus goes into flushing mode and
24929           drops all messages when its bin goes from READY into NULL 
24930           state.
24931
24932 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24933
24934         * docs/gst/gstreamer-sections.txt:
24935         * gst/gststructure.c: (gst_structure_get_clock_time):
24936         * gst/gststructure.h:
24937           add a method to get a GstClockTime out of a structure
24938
24939 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24940
24941         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24942         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24943           Added test to check state change order in bins (can still be made
24944           to fail here under heavy disk load; bails out with 'Push on pad
24945           fakesink:sink0, but it was not activated in push mode').
24946
24947         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24948           Fix state change order when there is only a semi sink (#316856)
24949
24950         * gst/gstbus.c: (gst_bus_class_init):
24951           Use _class_peek_parent(), not _class_ref(); fix docs to say
24952           'default main context' instead of 'mainloop' where that is
24953           what's meant.
24954
24955         * gst/gstelement.c: (gst_element_commit_state),
24956         (gst_element_set_state):
24957           Fix typos in debug messages
24958
24959 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24960
24961         * docs/README:
24962         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24963         * gst/gstpluginfeature.c:
24964         * gst/gstutils.c:
24965           various doc updates
24966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24967           change an assert into an error until it gets fixed properly
24968
24969 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24970
24971         * docs/gst/gstreamer-sections.txt:
24972         * docs/gst/tmpl/.cvsignore:
24973         * docs/gst/tmpl/gstelement.sgml:
24974         * docs/gst/tmpl/gstinfo.sgml:
24975         * docs/gst/tmpl/gstobject.sgml:
24976         * gst/gstelement.c:
24977         * gst/gstelement.h:
24978         * gst/gstinfo.c:
24979         * gst/gstinfo.h:
24980         * gst/gstobject.c: (gst_object_class_init):
24981         * gst/gstobject.h:
24982           inlined 3 more biiiig doc files and added some missing docs on the fly
24983
24984 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24985
24986         * check/gst/.cvsignore:
24987         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24988         * gst/gstregistryxml.c: (load_plugin),
24989         (gst_registry_xml_save_plugin):
24990           put back source in registry.  add checks for find_plugin.
24991         * testsuite/states/bin.c: (assert_state), (empty_bin),
24992         (test_adding_one_element), (main):
24993         * testsuite/states/locked.c: (main):
24994           some compile/run fixes
24995
24996 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24997
24998         * check/gst/gstvalue.c: (GST_START_TEST):
24999           fix leaks in the test itself
25000
25001 2005-09-22  Wim Taymans  <wim@fluendo.com>
25002
25003         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25004         (gst_base_sink_send_event), (gst_base_sink_peer_query),
25005         (gst_base_sink_query):
25006         Prepare for more accurate position reporting and query
25007         handling.
25008
25009         * gst/gstelement.c: (gst_element_send_event),
25010         (gst_element_set_state):
25011         Add some comment.
25012
25013 2005-09-22  Wim Taymans  <wim@fluendo.com>
25014
25015         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
25016         (gst_query_parse_segment):
25017         * gst/gstquery.h:
25018         More documentation.
25019         Add segment query for future use.
25020
25021 2005-09-22  Wim Taymans  <wim@fluendo.com>
25022
25023         * gst/gstbin.c: (gst_bin_add_func):
25024         Some more debug info.
25025
25026         * gst/gstelement.c: (gst_element_send_event):
25027         Simplify send_event
25028
25029         * gst/gstelement.h:
25030         Don't know how flags got broken.
25031
25032         * gst/gstquery.h:
25033         Added new query.
25034
25035 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25036
25037         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
25038           Add simplistic test suite for GST_TYPE_DATE serialisation and
25039           deserialisation.
25040
25041 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
25042
25043         * docs/gst/gstreamer-sections.txt:
25044         * gst/gststructure.c: (gst_structure_set_valist),
25045         (gst_structure_get_date):
25046         * gst/gststructure.h:
25047         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
25048         (gst_date_copy), (gst_value_compare_date),
25049         (gst_value_serialize_date), (gst_value_deserialize_date),
25050         (gst_value_transform_date_string),
25051         (gst_value_transform_string_date), (_gst_value_initialize):
25052         * gst/gstvalue.h:
25053           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
25054           bunch of utility functions along with a hack that checks that
25055           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
25056           is required. Part of the grand scheme in #170777.
25057
25058 2005-09-22  Andy Wingo  <wingo@pobox.com>
25059
25060         * gst/gstconfig.h.in: Psych out gtk-doc.
25061
25062         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
25063
25064         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
25065
25066         * tools/gst-inspect.c (print_element_list): Plug some
25067         inconsequential leaks.
25068
25069         * gst/gstregistry.c (gst_registry_get_default): Doc.
25070
25071         * check/gst/gstplugin.c: 
25072         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
25073         * gst/gstelementfactory.c (gst_element_factory_create): 
25074         * gst/gstindexfactory.c (gst_index_factory_create): Update for
25075         refcount changes.
25076
25077         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
25078         (gst_plugin_feature_load): Doc, don't eat refs.
25079
25080         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
25081         (gst_plugin_list_free): Doc.
25082         (gst_plugin_load_file): Doc updates.
25083
25084         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
25085         accessors returning refcounted objects, return a ref.
25086
25087         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25088         accessor for caps. IDEMPOTENCE. Oh yes.
25089
25090 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
25091
25092         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
25093
25094         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25095         (_gst_debug_register_funcptr):
25096           Add mutex to serialise access to the hash table with
25097           the function pointer => function name string mapping;
25098           make that hash table static scope (#316809).
25099
25100         * gst/registries/.cvsignore:
25101           Remove left-over file.
25102
25103 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25104
25105         * docs/pwg/appendix-porting.xml:
25106           And something about newsegment events and caps-on-buffers to
25107           the porting guide (feel free to improve).
25108
25109 2005-09-21  Andy Wingo  <wingo@pobox.com>
25110
25111         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25112         data and event probes on the same pad.
25113         (test_buffer_probe_once): Test that removing probes from within
25114         the probe functions works.
25115
25116 2005-09-21  Andy Wingo  <wingo@pobox.com>
25117
25118         * check/gst/gstutils.c: New file.
25119         (test_buffer_probe_n_times): A simple buffer probe test. More to
25120         come, foolios.
25121
25122         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25123         have-data::buffer, not have-data.
25124         (gst_pad_add_event_probe): Likewise for have-data::event.
25125         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25126         peer' isn't quite right yet though.
25127         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25128         (gst_pad_remove_data_probe): Change to take the guint handler_id
25129         as their arg, not the function+data, which is more glib-like.
25130
25131         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25132         the signal emission to indicate if the data is a buffer or an
25133         event.
25134         (gst_pad_get_type): Initialize buffer and event quarks.
25135         (gst_pad_class_init): have-data is now a detailed signal, yes it
25136         is.
25137
25138 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25139
25140         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25141         * gst/gstutils.c: (gst_util_set_value_from_string),
25142         (gst_util_set_object_arg):
25143           Don't put functional code in g_return_if_fail() or
25144           g_return_val_if_fail() statements, otherwise things will 
25145           break when G_DISABLE_CHECKS is defined during compilation.
25146
25147 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25148
25149         * docs/gst/tmpl/.cvsignore:
25150         * docs/gst/tmpl/gstvalue.sgml:
25151         * gst/gstvalue.c:
25152         * gst/gstvalue.h:
25153           inlied another one and added  some obvious docs
25154
25155 2005-09-21  Wim Taymans  <wim@fluendo.com>
25156
25157         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25158         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25159         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25160         (gst_fdsrc_get_property), (gst_fdsrc_create):
25161         * gst/elements/gstfdsrc.h:
25162         Properly implement fdsrc. Removed signal and timeout,
25163         better implemented somewhere else.
25164
25165 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25166
25167         * docs/gst/tmpl/.cvsignore:
25168         * docs/gst/tmpl/gstimplementsinterface.sgml:
25169         * gst/gstinterface.c:
25170           inlined more docs
25171
25172 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25173
25174         * docs/gst/gstreamer-sections.txt:
25175         * docs/gst/tmpl/.cvsignore:
25176         * docs/gst/tmpl/gstenumtypes.sgml:
25177           remove obsolete doc file
25178
25179 2005-09-21  David Schleef  <ds@schleef.org>
25180
25181         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25182         little beer, fix a little leak.
25183
25184 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25185
25186         * docs/gst/gstreamer-docs.sgml:
25187         * docs/gst/gstreamer-sections.txt:
25188         * docs/gst/tmpl/.cvsignore:
25189         * gst/Makefile.am:
25190         * gst/gst.h:
25191         * gst/gstbin.c:
25192         * gst/gstelement.h:
25193         * gst/gstindex.c: (gst_index_class_init):
25194         * gst/gstindex.h:
25195         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25196         (gst_index_factory_class_init), (gst_index_factory_init),
25197         (gst_index_factory_finalize), (gst_index_factory_new),
25198         (gst_index_factory_destroy), (gst_index_factory_find),
25199         (gst_index_factory_create), (gst_index_factory_make):
25200         * gst/gstindexfactory.h:
25201         * gst/gstpluginfeature.c:
25202         * gst/gstpluginfeature.h:
25203         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25204           more docs inlined, splitted gstindex.{c,h}
25205
25206 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25207
25208         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25209           fix a leak
25210
25211 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25212
25213         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25214           Set sync to FALSE by default.
25215
25216 2005-09-20  Wim Taymans  <wim@fluendo.com>
25217
25218         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25219         (gst_base_sink_init):
25220         Make sync property settable from subclass.
25221
25222         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25223         (gst_fake_sink_change_state):
25224         Set sync to FALSE by default.
25225
25226 2005-09-20  Wim Taymans  <wim@fluendo.com>
25227
25228         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25229         * tools/gst-launch.c: (main):
25230         The timeout handler should have lower priority than the source
25231         so we don't timeout before popping a message with 0 timeout.
25232         Dump error messages after failed state change.
25233
25234 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25235
25236         * tools/gst-inspect.c: (print_element_properties_info):
25237           Fix two typos.
25238
25239 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25240
25241         * check/gst/gstevent.c:
25242         * gst/elements/gstfakesink.c:
25243         * gst/elements/gstfakesink.h:
25244           remove the sync property from fakesink.
25245           has the side effect of setting sync TRUE
25246           for fakesink, which is a change.  Anyone who knows how
25247           to fix this nicely in a GObject-y way, feel free.
25248
25249 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25250
25251         * docs/gst/gstreamer-docs.sgml:
25252           remove probe refsection
25253
25254 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25255
25256         * check/Makefile.am:
25257           disable valgrinding the controller test again
25258         * docs/gst/gstreamer-sections.txt:
25259           update for api-changes
25260
25261 2005-09-20  Wim Taymans  <wim@fluendo.com>
25262
25263         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25264         (gst_base_sink_set_property), (gst_base_sink_get_property),
25265         (gst_base_sink_do_sync):
25266         * gst/base/gstbasesink.h:
25267         Added sync property to basesink to disable clock sync.
25268
25269 2005-09-20  Andy Wingo  <wingo@pobox.com>
25270
25271         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25272         eating the caller's refcount.
25273
25274         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25275         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25276         refcount.
25277
25278         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25279         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25280         of GLib 2.8 public, so we can know which refcount to check in
25281         tests.
25282
25283         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25284         (gst_object_init): Only set the gst refcount if we're going ahead
25285         with the refcount hack.
25286
25287 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25288
25289         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25290         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25291           more leaks plumbed, added more debug-logging
25292         * gst/gstmacros.h:
25293           whitespace fix
25294
25295 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25296
25297         * gst/gstmessage.c:
25298           remove include of gstmemchunk.h
25299
25300 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25301
25302         * gst/gstclock.c: (_gst_clock_id_free):
25303           Commit from the Political Party For More Atomic CVS Commits,
25304           so that people don't waste too much of their day fishing
25305           out obvious leaks out of massive commits.
25306           Oh, and fix a pretty damn obvious leak in the memchunk
25307           removal code.
25308
25309 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25310
25311         * check/Makefile.am:
25312         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25313           plug mem-leak, re-add to valgrindable tests
25314
25315 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25316
25317         * gst/gstplugin.h:
25318           unbreak the build for those who have chronic arthritis
25319           and typing "make check" is just too taxing on the hands
25320
25321 2005-09-20  Andy Wingo  <wingo@pobox.com>
25322
25323         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25324         really want it out, you should fix plugins at the same time.
25325
25326 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25327
25328         * configure.ac:
25329         * docs/gst/gstreamer-sections.txt:
25330         * gst/gstobject.c:
25331           added missing symbols to api docs
25332           disable ref-count hack if we have glib >= 2.8
25333
25334 2005-09-19  David Schleef  <ds@schleef.org>
25335
25336         * docs/gst/Makefile.am: Ignore a few more internal headers
25337         * docs/gst/gstreamer-docs.sgml: Remove old sections
25338         * docs/gst/gstreamer-sections.txt: Remove old sections
25339         * docs/gst/tmpl/gstobject.sgml: update
25340         * docs/gst/tmpl/gstplugin.sgml: update
25341         * docs/gst/tmpl/gstpluginfeature.sgml: update
25342         * docs/random/ds/0.9-suggested-changes: update.
25343         * gst/Makefile.am: remove memchunk and trashstack, since they're
25344           not used.
25345         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25346         * gst/gst.h: don't include some headers
25347         * gst/gstchildproxy.c: add gstmarshal.h
25348         * gst/gstclock.c: Don't use memchunks
25349         * gst/gstminiobject.c: Add some docs
25350         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25351         * gst/gstobject.h: same
25352         * gst/gstplugin.c: include gstmacros.h
25353         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25354         * gst/gstquery.c: don't use memchunks
25355         * gst/gstregistry.c: rename gst_registry_deinit()
25356         * gst/gstregistry.h: same
25357
25358 2005-09-19  David Schleef  <ds@schleef.org>
25359
25360         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25361         * docs/libs/gstreamer-libs-sections.txt:
25362         * docs/libs/tmpl/gstgetbits.sgml:
25363         * docs/libs/tmpl/gstputbits.sgml:
25364
25365 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25366
25367         * win32/gstenumtypes.c:
25368         * win32/gstenumtypes.h:
25369           Update.
25370
25371 2005-09-19  Wim Taymans  <wim@fluendo.com>
25372
25373         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25374         Automatically PAUSE and RESUME a pipeline when a flushing seek
25375         is performed.
25376
25377 2005-09-19  Andy Wingo  <wingo@pobox.com>
25378
25379         * gst/gstregistry.h: Spacing fixen.
25380
25381 2005-09-19  Wim Taymans  <wim@fluendo.com>
25382
25383         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25384         Handle state change failure more correctly.
25385
25386 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25387
25388         * check/Makefile.am:
25389         * check/pipelines/cleanup.c: (run_pipeline):
25390         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25391         (GST_START_TEST):
25392           enable cleanup again after fixing the leak
25393         * docs/README:
25394           some more info on docs
25395
25396 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25397
25398         * check/Makefile.am:
25399           re-enable tests now that leaks are plugged
25400         * check/gst/gst.c:
25401         * check/gst/gstbin.c:
25402         * check/gst/gstpipeline.c:
25403           add some more tests while fixing leaks
25404         * common/check.mak:
25405           make sure binaries are uptodate when valgrinding/gdbing
25406         * gst/gst.c:
25407         * gst/gstelementfactory.c:
25408           remove a ref too many, and add a FIXME for when we get
25409           round to disposing of classes
25410         * gst/gstplugin.c:
25411           fix the refcounting when loading a plugin from a file and
25412           the code pretends that the pointer is the same even though
25413           of course it can change
25414         * gst/gstpluginfeature.c:
25415           unref plugins marked cached (a bit confusing as a name)
25416           as the docs state should be done
25417           various doc additions to explain refcounting
25418         * gst/gstregistry.c:
25419         * gst/gstregistryxml.c:
25420           debugging
25421
25422 2005-09-19  Wim Taymans  <wim@fluendo.com>
25423
25424         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25425         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25426         (send_messages), (GST_START_TEST), (gstbus_suite):
25427         * check/gst/gstpipeline.c: (GST_START_TEST):
25428         * check/pipelines/cleanup.c: (run_pipeline):
25429         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25430         (GST_START_TEST):
25431         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25432         (gst_bus_source_check), (gst_bus_source_dispatch),
25433         (gst_bus_create_watch), (gst_bus_add_watch_full),
25434         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25435         * gst/gstbus.h:
25436         * tools/gst-launch.c: (event_loop):
25437         * tools/gst-md5sum.c: (event_loop):
25438         GstBusHandler -> GstBusFunc, return value has the same meaning as
25439         any other GSource (FALSE == remove source).
25440         _add_watch() and _add_watch_full() now take a MessageType mask to
25441         only handle specific types of messages.
25442         _poll() returns the GstMessage instead of the message type to avoid
25443         race conditions.
25444         _have_pending() takes a MessageType mask now too.
25445         Added testsuite for multiple bus watches.
25446         Fix testsuites and applications for new bus API.
25447
25448 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25449
25450         * check/Makefile.am:
25451           mark a bunch of the tests as to fix until we fix them
25452
25453 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25454
25455         * common/check.mak:
25456           use GST_PLUGIN settings for valgrind tests as well, so we're
25457           valgrinding the correct thing
25458         * gst/gst.c: (init_post):
25459           plug another leak
25460
25461 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25462
25463         * gst/gst.c: (init_post), (gst_deinit):
25464         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25465         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25466         * gst/gstindex.c: (gst_index_factory_class_init),
25467         (gst_index_factory_finalize):
25468         * gst/gstobject.c: (gst_object_dispose):
25469         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25470         (gst_plugin_load_file), (gst_plugin_desc_free):
25471         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25472         (gst_plugin_feature_finalize):
25473         * gst/gstregistry.c: (gst_registry_class_init),
25474         (gst_registry_init), (gst_registry_finalize),
25475         (gst_registry_get_default), (gst_registry_deinit):
25476         * gst/gstregistry.h:
25477         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25478           various cleanups and memleak plugging.  make valgrind is happy now.
25479
25480 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25481
25482         * common/check.mak:
25483           add a check-valgrind target
25484
25485 2005-09-18  David Schleef  <ds@schleef.org>
25486
25487         * tools/gst-inspect.c: Revert the GOption code.
25488
25489 2005-09-17  David Schleef  <ds@schleef.org>
25490
25491         * check/Makefile.am: Fix environment variables.
25492         * check/gst/gstplugin.c: Fix for API changes.
25493         * tools/gst-inspect.c: Fix for API changes.
25494         * tools/gst-xmlinspect.c: Fix for API changes.
25495         * gst/gstelementfactory.c:
25496         * gst/gstplugin.c:
25497         * gst/gstplugin.h:
25498         * gst/gstpluginfeature.c:
25499         * gst/gstpluginfeature.h:
25500         * gst/gstregistry.c:
25501         * gst/gstregistry.h:
25502         * gst/gstregistryxml.c:
25503         * gst/gsttypefind.c:
25504         * gst/gsttypefindfactory.c:
25505         * gst/indexers/gstfileindex.c:
25506         * gst/indexers/gstmemindex.c:
25507         * gst/schedulers/Makefile.am:
25508           Change registry to keep track of both plugins and features,
25509           removing the feature tracking from plugins themselves.
25510
25511 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25512
25513         * check/Makefile.am:
25514         * tools/gst-register.1.in:
25515           remove gst-register
25516
25517 2005-09-15  David Schleef  <ds@schleef.org>
25518
25519         * check/gst/gstplugin.c:
25520         * gst/gstelementfactory.c:
25521         * gst/gstplugin.c:
25522         * gst/gstpluginfeature.c:
25523         * gst/gstregistry.c:
25524           Getting tired of debugging.  Disabled all the unreffing of
25525           plugins and features, which fixes the segfaults, but of
25526           course leaks like crazy.  At least playbin works.
25527
25528 2005-09-15  David Schleef  <ds@schleef.org>
25529
25530         * check/gst/gstplugin.c: (register_check_elements),
25531         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25532         More testing
25533         * gst/elements/gsttypefindelement.c: Fix refcounting.
25534         * gst/gsttypefind.c:
25535         * gst/gsttypefindfactory.c:
25536         * gst/gsttypefindfactory.h:
25537
25538 2005-09-15  David Schleef  <ds@schleef.org>
25539
25540         * gst/gstindex.c: get refcounting correct.
25541         * gst/gstregistry.c: Handle the case where a feature/plugin is
25542           not found.
25543
25544 2005-09-15  David Schleef  <ds@schleef.org>
25545
25546         * check/Makefile.am:
25547         * check/gst/gstplugin.c: Add test
25548         * gst/gstplugin.c: Fix problems noticed by testsuite
25549         * gst/gstplugin.h:
25550         * gst/gstregistry.c: 
25551         * gst/gstregistry.h:
25552
25553 2005-09-15  David Schleef  <ds@schleef.org>
25554
25555         * gst/gstplugin.c: Implement semi-decent recounting and locking
25556           in plugins and plugin features.
25557         * gst/gstplugin.h:
25558         * gst/gstpluginfeature.c:
25559         * gst/gstpluginfeature.h:
25560         * gst/gstregistry.c:
25561
25562 2005-09-15  Michael Smith <msmith@fluendo.com>
25563
25564         * gst/gstregistry.c: (gst_registry_get_feature_list):
25565           Implement this. Makes oggdemux work; decodebin still broken.
25566
25567 2005-09-14  David Schleef  <ds@schleef.org>
25568
25569         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25570           #316076)
25571         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25572         * gst/check/Makefile.am:
25573         * libs/gst/controller/Makefile.am:
25574         * libs/gst/dataprotocol/Makefile.am:
25575
25576 2005-09-14  David Schleef  <ds@schleef.org>
25577
25578         * configure.ac: Remove getbits library.  Nothing uses it, and
25579           it should be in something like liboil if someone did want
25580           to use it.
25581         * libs/gst/Makefile.am:
25582         * libs/gst/getbits/Makefile.am:
25583         * libs/gst/getbits/gbtest.c:
25584         * libs/gst/getbits/getbits.c:
25585         * libs/gst/getbits/getbits.h:
25586         * libs/gst/getbits/gstgetbits_generic.c:
25587         * libs/gst/getbits/gstgetbits_i386.s:
25588         * libs/gst/getbits/gstgetbits_inl.h:
25589
25590 2005-09-14  David Schleef  <ds@schleef.org>
25591
25592         * gst/Makefile.am: Dist glib-compat.h
25593
25594 2005-09-14  David Schleef  <ds@schleef.org>
25595
25596         * configure.ac: Remove gst/registries, since it's no longer used.
25597         * gst/registries/Makefile.am:
25598         * gst/registries/gstlibxmlregistry.c:
25599         * gst/registries/gstlibxmlregistry.h:
25600         * gst/registries/gstxmlregistry.c:
25601         * gst/registries/gstxmlregistry.h:
25602         * gst/registries/registrytest.c:
25603
25604 2005-09-14  David Schleef  <ds@schleef.org>
25605
25606         * gst/glib-compat.h:
25607         * gst/gstregistryxml.c:
25608           Convergence is near.  Seriously.
25609
25610 2005-09-14  David Schleef  <ds@schleef.org>
25611
25612         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25613         * gst/glib-compat.h:
25614           Attempt #4 to appease the buildbots.
25615
25616 2005-09-14  David Schleef  <ds@schleef.org>
25617
25618         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25619           Attempt #3.
25620
25621 2005-09-14  David Schleef  <ds@schleef.org>
25622
25623         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25624         Attempt #2.
25625
25626 2005-09-14  David Schleef  <ds@schleef.org>
25627
25628         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25629           the new functions.
25630
25631 2005-09-14  David Schleef  <ds@schleef.org>
25632
25633         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25634         * gst/glib-compat.h: Add some functions that are in newer versions
25635           of glib than we care to require.
25636         * gst/gstregistryxml.c: Use them.
25637
25638 2005-09-14  David Schleef  <ds@schleef.org>
25639
25640         * po/POTFILES.in: remove gst-register.c
25641
25642 2005-09-14  David Schleef  <ds@schleef.org>
25643
25644         * docs/gst/gstreamer-docs.sgml:
25645         * docs/gst/gstreamer-sections.txt:
25646         * docs/gst/gstreamer.types:
25647         * docs/gst/tmpl/gstelement.sgml:
25648         * docs/gst/tmpl/gstplugin.sgml:
25649         * docs/gst/tmpl/gstpluginfeature.sgml:
25650           Documentation updates for registry changes.
25651
25652 2005-09-14  David Schleef  <ds@schleef.org>
25653
25654         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25655           because we don't require glib-2.8.
25656
25657 2005-09-14  David Schleef  <ds@schleef.org>
25658
25659         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25660           registries directory.
25661
25662 2005-09-14  David Schleef  <ds@schleef.org>
25663
25664         * check/Makefile.am:
25665         * check/generic/states.c:
25666         * gst/Makefile.am:
25667         * gst/gst.c:
25668         * gst/gst.h:
25669         * gst/gst_private.h:
25670         * gst/gstelementfactory.c:
25671         * gst/gstindex.c:
25672         * gst/gstinfo.c:
25673         * gst/gstplugin.c:
25674         * gst/gstplugin.h:
25675         * gst/gstpluginfeature.c:
25676         * gst/gstpluginfeature.h:
25677         * gst/gstregistry.c:
25678         * gst/gstregistry.h:
25679         * gst/gstregistrypool.c: remove
25680         * gst/gstregistrypool.h: remove
25681         * gst/gsttypefind.c:
25682         * gst/gsttypefindfactory.c:
25683         * gst/gsturi.c:
25684         * tools/Makefile.am:
25685         * tools/gst-compprep.c:
25686         * tools/gst-inspect.c:
25687         * tools/gst-register.c: remove
25688         * tools/gst-xmlinspect.c:
25689           Registry rewrite.  Changes registry from being a file created
25690           by a tool into a simple cache file created automatically by 
25691           libgstreamer.  Removed gst-register (because it's no longer
25692           needed).  Remove registry pools, because we only have one
25693           registry implementation (XML).  Fix up other subsystems as
25694           necessary.
25695
25696 2005-09-13  Michael Smith <msmith@fluendo.com>
25697
25698         * gst/gstconfig.h.in:
25699           Don't Use windows linking attributes for MinGW. Fixes #316157
25700
25701 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25702
25703         * gst/gstutils.c: (set_state_async_thread_func),
25704         (gst_element_set_state_async):
25705           Apparently people think it's better if this function doesn't
25706           try to set the state to whatever state was asked for on the first
25707           call to this function for any object.  Seriously.
25708
25709 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25710
25711         * check/gst/gstpipeline.c: (GST_START_TEST):
25712         * docs/gst/gstreamer-sections.txt:
25713         * gst/gstutils.c: (set_state_async_thread_func),
25714         (gst_element_set_state_async):
25715         * gst/gstutils.h:
25716           add a "gst_element_set_state_async" method that
25717           sets the state and starts a thread to make sure the state
25718           change completes as best as it can
25719
25720 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25721
25722         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25723           codify design+behaviour in testsuite after discussion
25724
25725 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25726
25727         * docs/gst/tmpl/gstelement.sgml:
25728         * docs/manual/appendix-quotes.xml:
25729           add a quote
25730         * gst/gstelement.c: (gst_element_set_state):
25731           add some debug
25732
25733 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25734
25735         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25736         (gst_base_transform_prepare_output_buf),
25737         (gst_base_transform_handle_buffer):
25738         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25739         (gst_capsfilter_prepare_buf):
25740           Remove the requirement for sub-classes to call the parent
25741           implementation of prepare_output_buffer with a wrapper function.
25742           
25743         * gst/gsttaglist.h:
25744         * gst/gsttagsetter.h:
25745           Fix #define wrapper
25746
25747 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25748
25749         * docs/gst/gstreamer-sections.txt:
25750           more doc cleanups
25751
25752 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25753
25754         * docs/gst/gstreamer-sections.txt:
25755         * docs/gst/tmpl/gstelement.sgml:
25756         * docs/gst/tmpl/gstplugin.sgml:
25757         * gst/gstminiobject.c:
25758         * gst/gstvalue.h:
25759           docs now stop throwing warnings
25760
25761 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25762
25763         * docs/gst/gstreamer-sections.txt:
25764         * docs/gst/gstreamer.types:
25765         * docs/gst/tmpl/gstpad.sgml:
25766         * docs/gst/tmpl/gsttypes.sgml:
25767         * gst/base/gstadapter.h:
25768         * gst/base/gstbasesink.h:
25769         * gst/base/gstbasesrc.h:
25770         * gst/gstbin.h:
25771         * gst/gstbuffer.h:
25772         * gst/gstbus.h:
25773         * gst/gstcaps.h:
25774         * gst/gstclock.h:
25775         * gst/gstelement.h:
25776         * gst/gstevent.h:
25777         * gst/gstmessage.h:
25778         * gst/gstpad.h:
25779         * gst/gststructure.c:
25780         * gst/registries/gstlibxmlregistry.h:
25781           various documentation fixes
25782
25783 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25784
25785         * docs/gst/gstreamer-sections.txt:
25786         * docs/gst/tmpl/gstvalue.sgml:
25787           rearrange gstvalue section
25788         * gst/gstutils.c: (gst_element_state_get_name):
25789           NONE -> VOID
25790         * gst/gstvalue.c: (_gst_value_initialize):
25791         * gst/gstvalue.h:
25792           doc updates
25793
25794 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25795
25796         * check/gst-libs/controller.c:
25797           Header include fix.
25798         * gst/base/gstbasetransform.c:
25799         (gst_base_transform_default_prepare_buf),
25800         (gst_base_transform_handle_buffer):
25801         * gst/base/gstbasetransform.h:
25802           Some more basetransform changes and fixes to enable sub-classes
25803           that modify buffer metadata only.
25804         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25805         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25806         (gst_capsfilter_prepare_buf):
25807           If the output pad has fixed allowed caps and input buffers 
25808           don't have any, set the fixed caps on outgoing buffers.
25809
25810 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25811         * check/elements/identity.c: (GST_START_TEST):
25812           Make the error a little clearer when the test fails because
25813           identity made a copy of the buffer.
25814         * docs/gst/gstreamer-sections.txt:
25815           New symbols in gstbasetransform.h
25816         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25817         (gst_base_transform_init), (gst_base_transform_transform_size),
25818         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25819         (gst_base_transform_default_prepare_buf),
25820         (gst_base_transform_get_unit_size),
25821         (gst_base_transform_buffer_alloc),
25822         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25823         (gst_base_transform_change_state),
25824         (gst_base_transform_set_passthrough),
25825         (gst_base_transform_set_in_place),
25826         (gst_base_transform_is_in_place):
25827         * gst/base/gstbasetransform.h:
25828           Change BaseTransform to separate in_place operate from same_caps
25829           output. in_place implies that the element can perform the transform
25830           on incoming buffers in-place, even if the caps on the output are
25831           different.
25832           Sub-class elements can now implement special buffer allocation
25833           methods for outgoing buffers if they wish to.
25834           Big documentation addition.
25835         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25836         * gst/elements/gstelements.c:
25837           Changes for basetransform modifications.
25838         * gst/elements/Makefile.am:
25839         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25840           Compile fix. Extra debug output.
25841
25842 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25843
25844         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25845         (gst_pad_suite):
25846           add tests for valid pad naming
25847         * gst/check/gstcheck.c: (gst_check_log_message_func),
25848         (gst_check_log_critical_func):
25849           add ASSERT_WARNING
25850           remove printing of code, it is fragile when the code contains
25851           % and the line number is enough info
25852         * gst/check/gstcheck.h:
25853         * gst/gstpad.c: (gst_pad_template_new):
25854           fix memleaks
25855
25856 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25857
25858         * configure.ac:
25859           say what CHECK flags we use
25860         * docs/libs/gstreamer-libs.types:
25861         * libs/gst/controller/Makefile.am:
25862         * libs/gst/controller/gst-controller.c:
25863         * libs/gst/controller/gst-controller.h:
25864         * libs/gst/controller/gst-helper.c:
25865         * libs/gst/controller/gst-interpolation.c:
25866         * libs/gst/controller/gstcontroller.c:
25867         * libs/gst/controller/gsthelper.c:
25868         * libs/gst/controller/gstinterpolation.c:
25869         * tools/gst-inspect.c: (print_plugin_info):
25870           we don't use dashes in header names
25871
25872 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25873
25874         * check/Makefile.am:
25875         * check/gst/.cvsignore:
25876         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25877         (gst_pipeline_suite), (main):
25878           adding a test for pipelines and state changes
25879         * gst/gstutils.c: (get_state_func):
25880           add some debugging
25881         * gstreamer.spec.in:
25882           fix up spec file
25883
25884 2005-09-08  Michael Smith <msmith@fluendo.com>
25885
25886         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25887         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25888         (gst_file_src_is_seekable), (gst_file_src_get_size),
25889         (gst_file_src_start):
25890         * gst/elements/gstfilesrc.h:
25891           Various fixes for unseekable, unmmapable, and non-normal files, so
25892           that fallback to read() rather than mmap() works.
25893         * gst/gstevent.c: (gst_event_new_newsegment):
25894           Allow newsegment events with segment_start == segment_end, as will
25895           correctly happen if you use filesrc on a zero-size file, for
25896           example.
25897
25898 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25899
25900         * gst/gstplugin.c: (gst_plugin_load_file):
25901           Call g_module_close when we don't load the module
25902
25903         * gst/registries/gstlibxmlregistry.c:
25904         (gst_xml_registry_get_property):
25905           Port leak fix from 0.8
25906
25907 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25908
25909         * docs/gst/gstreamer-docs.sgml:
25910         * docs/gst/tmpl/.cvsignore:
25911         * docs/gst/tmpl/gsttrace.sgml:
25912         * docs/gst/tmpl/gsttrashstack.sgml:
25913         * gst/Makefile.am:
25914         * gst/gst.h:
25915         * gst/gstelement.h:
25916         * gst/gstevent.h:
25917         * gst/gstmessage.c:
25918         * gst/gstmessage.h:
25919         * gst/gsttag.c:
25920         * gst/gsttag.h:
25921         * gst/gsttaginterface.c:
25922         * gst/gsttaginterface.h:
25923         * gst/gsttaglist.c:
25924         * gst/gsttaglist.h:
25925         * gst/gsttagsetter.c:
25926         * gst/gsttagsetter.h:
25927         * gst/gsttrace.c:
25928         * gst/gsttrace.h:
25929         * gst/gsttrashstack.c:
25930           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25931           inlined docs for gsttrace, gsttrashstack
25932
25933 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25934
25935         * gst/Makefile.am:
25936         * gst/elements/gstbufferstore.h:
25937         * gst/elements/gsttypefindelement.c:
25938         * gst/elements/gsttypefindelement.h:
25939         * gst/gst.h:
25940         * gst/gsttypefind.c:
25941         * gst/gsttypefind.h:
25942         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25943         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25944         (gst_type_find_factory_dispose),
25945         (gst_type_find_factory_unload_thyself),
25946         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25947         (gst_type_find_factory_get_caps),
25948         (gst_type_find_factory_get_extensions),
25949         (gst_type_find_factory_call_function):
25950         * gst/gsttypefindfactory.h:
25951         * gst/registries/gstlibxmlregistry.c:
25952         * gst/registries/gstxmlregistry.c:
25953           splitted gsttypefind into gsttypefind, gsttypefindfactory
25954
25955 2005-09-07  Andy Wingo  <wingo@pobox.com>
25956
25957         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25958         condition whereby the pad's task function is entered before the
25959         pad_mode variable was set.
25960
25961 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25962
25963         * gst/gstpad.c: (gst_pad_alloc_buffer):
25964           Catch misbehaving pad_alloc functions that don't
25965           set up caps and do it for them.
25966
25967 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25968
25969         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25970           test for pipe!=NULL
25971         * docs/gst/tmpl/.cvsignore:
25972         * docs/gst/tmpl/gstmemchunk.sgml:
25973         * docs/gst/tmpl/gstparse.sgml:
25974         * docs/gst/tmpl/gsttaglist.sgml:
25975         * docs/gst/tmpl/gsttagsetter.sgml:
25976         * docs/gst/tmpl/gsttypefind.sgml:
25977         * docs/gst/tmpl/gsttypefindfactory.sgml:
25978         * gst/gstmemchunk.c:
25979         * gst/gstparse.c:
25980         * gst/gsttag.c:
25981         * gst/gsttaginterface.c:
25982         * gst/gsttypefind.c:
25983         * gst/gsttypefind.h:
25984           inlined more docs
25985
25986 === release 0.9.2 ===
25987
25988 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25989
25990         * NEWS:
25991         * RELEASE:
25992         * configure.ac:
25993           releasing 0.9.2, "South"
25994
25995 2005-09-05  Andy Wingo  <wingo@pobox.com>
25996
25997         * gst/registries/gstxmlregistry.h:
25998         * gst/registries/gstxmlregistry.c: Um... resurrect...
25999         
26000         * gst/registries/gstxmlregistry.h:
26001         * gst/registries/gstxmlregistry.c: and update to newer API.
26002         Incidentally they should be a bit faster now that they don't have
26003         to parse the caps.
26004         
26005 2005-09-05  Andy Wingo  <wingo@pobox.com>
26006
26007         * gst/registries/gstxmlregistry.h:
26008         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
26009         replaced by the libxml registry a while back
26010
26011 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26012
26013         * docs/gst/tmpl/gstplugin.sgml:
26014         * gst/elements/gstelements.c:
26015         * gst/gst.c:
26016         * gst/gstplugin.c: (gst_plugin_register_func),
26017         (gst_plugin_desc_copy), (gst_plugin_desc_free),
26018         (gst_plugin_get_source):
26019         * gst/gstplugin.h:
26020         * gst/registries/gstlibxmlregistry.c: (load_plugin),
26021         (gst_xml_registry_save_plugin):
26022         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
26023         (gst_xml_registry_save_plugin):
26024         * tools/gst-inspect.c: (print_plugin_info):
26025           add a "source" plugin description field, to represent the source
26026           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
26027           will set it to PACKAGE, which is automake's idea of the name of
26028           the source project.
26029
26030 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26031
26032         * Makefile.am:
26033         * autogen.sh:
26034         * configure.ac:
26035         * docs/Makefile.am:
26036         * docs/faq/Makefile.am:
26037         * docs/gst/tmpl/gstelement.sgml:
26038         * docs/gst/tmpl/gsttypes.sgml:
26039         * docs/htmlinstall.mak:
26040         * docs/manual/Makefile.am:
26041         * docs/pwg/Makefile.am:
26042           reorganize doc build a little
26043           split out docbook and gtk-doc stuff
26044           have two separate --enable's and enable them through autogen
26045           but disable by default in configure (to be similar to other
26046           projects)
26047         * gstreamer.spec.in:
26048           clean up docs install
26049         * po/af.po:
26050         * po/az.po:
26051         * po/ca.po:
26052         * po/cs.po:
26053         * po/de.po:
26054         * po/en_GB.po:
26055         * po/fr.po:
26056         * po/it.po:
26057         * po/nb.po:
26058         * po/nl.po:
26059         * po/ru.po:
26060         * po/sq.po:
26061         * po/sr.po:
26062         * po/sv.po:
26063         * po/tr.po:
26064         * po/uk.po:
26065         * po/vi.po:
26066           translation updates
26067
26068 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
26069
26070         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
26071           Add comment.
26072           
26073         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
26074         (gst_fake_sink_change_state):
26075           Make state change function thread-safe.
26076           
26077         * gst/gstpad.c: (gst_pad_alloc_buffer):
26078           Set offset on generic buffer allocated by fallback.
26079
26080 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
26081
26082         * docs/gst/gstreamer-sections.txt:
26083         * docs/gst/tmpl/gstelement.sgml:
26084         * gst/gstpad.c:
26085         * libs/gst/controller/gst-controller.c:
26086         (gst_controlled_property_set_interpolation_mode),
26087         (gst_controlled_property_new),
26088         (gst_controller_find_controlled_property):
26089          run the wingo-magic script against the docs
26090
26091 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26092
26093         * docs/gst/gstreamer-docs.sgml:
26094         * docs/gst/gstreamer-sections.txt:
26095         * docs/gst/tmpl/.cvsignore:
26096         * docs/gst/tmpl/gstelementdetails.sgml:
26097         * docs/gst/tmpl/gstelementfactory.sgml:
26098         * gst/gst.c:
26099         * gst/gstbus.c:
26100         * gst/gstelementfactory.c:
26101         * gst/gstelementfactory.h:
26102           merged elementdetails docs into elementfactory docs
26103           inlined both
26104
26105 2005-09-02  Andy Wingo  <wingo@pobox.com>
26106
26107         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26108         consider this enum an enum and not a flags.
26109
26110 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26111
26112         * docs/gst/gstreamer-docs.sgml:
26113         * docs/gst/tmpl/.cvsignore:
26114         * docs/gst/tmpl/gstghostpad.sgml:
26115         * docs/gst/tmpl/gstiterator.sgml:
26116         * docs/gst/tmpl/gstmacros.sgml:
26117         * docs/gst/tmpl/gstrealpad.sgml:
26118         * docs/gst/tmpl/gstregistry.sgml:
26119         * docs/gst/tmpl/gstregistrypool.sgml:
26120         * docs/gst/tmpl/gststructure.sgml:
26121         * docs/gst/tmpl/gstsystemclock.sgml:
26122         * docs/gst/tmpl/gsttrace.sgml:
26123         * gst/gstghostpad.c:
26124         * gst/gstmacros.h:
26125         * gst/gstmemchunk.c:
26126         * gst/gstmemchunk.h:
26127         * gst/gstqueue.c:
26128         * gst/gstregistry.c:
26129         * gst/gstregistrypool.c:
26130         * gst/gststructure.c:
26131         * gst/gstsystemclock.c:
26132           more docs inlined
26133
26134 2005-09-02  Andy Wingo  <wingo@pobox.com>
26135
26136         * gst/gstelement.h (GstState): Renamed from GstElementState,
26137         changed to be a normal enum instead of flags.
26138         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26139         munged to be GST_STATE_CHANGE_*.
26140         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26141         work with the new state representation.
26142         (GstStateChange): New enumeration of possible state transitions.
26143         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26144         (GstElementClass::change_state): Pass the GstStateChange along as
26145         an argument. Helps language bindings, so they don't have to use
26146         tricky lock-needing macros like GST_STATE_CHANGE ().
26147
26148         * scripts/update-states (file): New script. Run it on a file to
26149         update it for state naming and API changes. Updates files in
26150         place.
26151
26152         * All files updated for the new API.
26153
26154 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26155
26156         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26157         * gst/gstutils.c: (gst_util_set_value_from_string),
26158         (gst_util_set_object_arg):
26159           fix a bunch of unchecked return values
26160         * tools/gst-complete.c: (main):
26161         * gstreamer.spec.in:
26162           clean up a little
26163
26164 2005-09-01  Wim Taymans  <wim@fluendo.com>
26165
26166         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26167         (gst_base_sink_event), (gst_base_sink_do_sync),
26168         (gst_base_sink_handle_event):
26169         * gst/base/gstbasesink.h:
26170         Handle newsegments more correctly.
26171
26172         * gst/gstbus.c:
26173         Fix docs.
26174
26175         * gst/gstevent.c: (gst_event_new_newsegment):
26176         A newsegment cannot have a start_time of -1
26177
26178 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26179
26180         * win32/gstenumtypes.c:
26181         * win32/gstenumtypes.h:
26182           Update
26183
26184 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26185
26186         * libs/gst/controller/gst-controller.c:
26187         (gst_controlled_property_set_interpolation_mode),
26188         (gst_controlled_property_new):
26189          fixed boolean again
26190
26191 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26192
26193         * docs/faq/gst-uninstalled:
26194           add -good
26195         * gst/gstevent.c:
26196         * gst/gstevent.h:
26197           remove wrong docs
26198         * gst/gstutils.c: (gst_element_link_filtered):
26199         * gst/gstutils.h:
26200           add gst_element_link_filtered
26201
26202 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26203
26204         * docs/gst/gstreamer-docs.sgml:
26205         * docs/gst/gstreamer-sections.txt:
26206         * docs/gst/tmpl/.cvsignore:
26207         * docs/gst/tmpl/gsterror.sgml:
26208         * docs/gst/tmpl/gstfilter.sgml:
26209         * docs/gst/tmpl/gsturihandler.sgml:
26210         * docs/gst/tmpl/gsturitype.sgml:
26211         * docs/gst/tmpl/gstutils.sgml:
26212         * docs/gst/tmpl/gstxml.sgml:
26213         * gst/gsterror.c:
26214         * gst/gsterror.h:
26215         * gst/gstfilter.c:
26216         * gst/gsturi.c:
26217         * gst/gsturitype.c:
26218         * gst/gstutils.c:
26219         * gst/gstxml.c:
26220           inlined more docs, fixed double id-ref
26221
26222 2005-08-31  Wim Taymans  <wim@fluendo.com>
26223
26224         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26225         (gst_base_transform_handle_buffer):
26226         Passthrough elements don't need the caps as they don't care.
26227
26228 2005-08-31  Wim Taymans  <wim@fluendo.com>
26229
26230         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26231         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26232         Don't leak refcounts on buffers.
26233
26234 2005-08-31  Wim Taymans  <wim@fluendo.com>
26235
26236         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26237         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26238         (gst_base_transform_chain), (gst_base_transform_change_state):
26239         * gst/base/gstbasetransform.h:
26240         Handle the case where we are not negotiated more gracefully.
26241
26242 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26243
26244         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26245         (gst_file_src_map_region):
26246           Set READONLY flag on mmap'ed buffers, otherwise
26247           gst_buffer_make_writable() won't work properly (#314708).
26248
26249 2005-08-31  Wim Taymans  <wim@fluendo.com>
26250
26251         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26252         passthrough elements can even do inplace on non writable
26253         buffers (as they don't touch them).
26254
26255 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26256
26257         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26258         (gst_test_mono_source_set_property),
26259         (gst_test_mono_source_class_init), (GST_START_TEST),
26260         (gst_controller_suite):
26261           more tests (hehe I have the most)
26262         * gst/gstbus.c:
26263           describe popping messages whenusing mulltiple sources
26264         * libs/gst/controller/gst-controller.c:
26265         (gst_controlled_property_set_interpolation_mode),
26266         (gst_controlled_property_new):
26267         * libs/gst/controller/gst-controller.h:
26268         * libs/gst/controller/gst-interpolation.c:
26269           implement boolean properties
26270
26271 2005-08-31  Wim Taymans  <wim@fluendo.com>
26272
26273         * gst/gstminiobject.c: (gst_mini_object_ref):
26274         Cannot assert that the refcount has to be positive
26275         since a disposed object can be resurrected.
26276
26277 2005-08-31  Wim Taymans  <wim@fluendo.com>
26278
26279         * gst/gstpad.c: (gst_pad_init):
26280         Revert change, need to first fix badly behaving 
26281         apps.
26282
26283 2005-08-30  Wim Taymans  <wim@fluendo.com>
26284
26285         * check/elements/fakesrc.c: (setup_fakesrc):
26286         * check/elements/identity.c: (setup_identity):
26287         Activate pads before using them.
26288
26289 2005-08-30  Wim Taymans  <wim@fluendo.com>
26290
26291         * gst/base/gstadapter.c: (gst_adapter_flush):
26292         Flushing out 0 bytes is ok for this function.
26293
26294         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26295         no newsegment gives a warning and sets the start/stop to 
26296         invalid.
26297
26298         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26299         (gst_base_transform_set_passthrough):
26300         Some debug info.
26301
26302         * gst/gstminiobject.c: (gst_mini_object_ref):
26303         Check refcount here too.
26304
26305         * gst/gstpad.c: (gst_pad_init):
26306         Pads are initially flushing and refusing data.
26307
26308         * gst/gstutils.c: (gst_element_link_pads_filtered):
26309         When adding a capsfilter element make sure it has the
26310         same state as the parent bin.
26311
26312 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26313
26314         * docs/gst/tmpl/.cvsignore:
26315         * docs/gst/tmpl/gstformat.sgml:
26316         * docs/gst/tmpl/gstversion.sgml:
26317         * gst/gstbus.h:
26318         * gst/gstformat.c:
26319         * gst/gstformat.h:
26320         * gst/gstversion.h.in:
26321           more docs and two more inlined
26322
26323 2005-08-30  Wim Taymans  <wim@fluendo.com>
26324
26325         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26326         Don't sync to clock.
26327
26328 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26329
26330         * docs/gst/gstreamer-sections.txt:
26331           ultral33t func10ns deserve to appear in the docs actually
26332         * docs/gst/tmpl/.cvsignore:
26333         * docs/gst/tmpl/gstcompat.sgml:
26334         * docs/gst/tmpl/gstconfig.sgml:
26335         * gst/check/gstcheck.c:
26336         * gst/gstcompat.h:
26337         * gst/gstconfig.h.in:
26338           inlined more docs
26339
26340 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26341
26342         * docs/gst/tmpl/.cvsignore:
26343         * docs/gst/tmpl/gstquery.sgml:
26344         * docs/gst/tmpl/gstutils.sgml:
26345         * gst/gstquery.c:
26346         * gst/gstquery.h:
26347           inlined and extended docs
26348
26349 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26350
26351         * check/gst-libs/controller.c: (GST_START_TEST),
26352         (gst_controller_suite):
26353           more tests
26354         * docs/gst/tmpl/gstutils.sgml:
26355         * docs/libs/gstreamer-libs-sections.txt:
26356         * docs/libs/tmpl/gstdataprotocol.sgml:
26357           include path fixes
26358         * examples/controller/audio-example.c: (main):
26359           controller example works now
26360         * gst/gstclock.h:
26361           doc fixes
26362         * tools/gst-inspect.c: (print_element_properties_info):
26363           show param spec flags
26364
26365 2005-08-29  Andy Wingo  <wingo@pobox.com>
26366
26367         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26368
26369 2005-08-28  Andy Wingo  <wingo@pobox.com>
26370
26371         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26372         as having two arguments instead of just one. Allows superclasses
26373         to access information on subclasses -- see the terrible for() loop
26374         in gtype.c:g_type_create_instance for the reason why. All callers
26375         changed.
26376
26377 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26378
26379         * docs/design/part-messages.txt:
26380           update info
26381         * docs/gst/tmpl/.cvsignore:
26382         * docs/gst/tmpl/gstcaps.sgml:
26383         * docs/gst/tmpl/gstclock.sgml:
26384         * gst/gstbus.c:
26385         * gst/gstcaps.c:
26386         * gst/gstcaps.h:
26387         * gst/gstclock.c:
26388         * gst/gstclock.h:
26389         * gst/gstmessage.c:
26390           added descriptions for bus and message
26391           inline caps and clock docs
26392
26393 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26394
26395         * gst/gstmessage.c:
26396         * gst/gstmessage.h:
26397           doc fixes
26398
26399 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26400
26401         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26402           fix div-by-zero
26403
26404 2005-08-26  Andy Wingo  <wingo@pobox.com>
26405
26406         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26407         element_set_state's return val.
26408         (test_2_elements): Add test that's been disabled for months.
26409
26410         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26411         can-activate-pull properties.
26412
26413         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26414         can-activate-pull properties. Implement is_seekable so fakesrc can
26415         operate in pull mode.
26416
26417         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26418         properties.
26419         (gst_base_sink_activate, gst_base_sink_activate_pull)
26420         (gst_base_sink_activate_push): Make activation mode choosing work.
26421         Cleanups.
26422         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26423         is right. Make pull mode work. Post an eos before pausing in pull
26424         mode.
26425         (gst_base_sink_change_state): Pay attention to the core's
26426         change_state() return val.
26427         
26428         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26429         has-getrange properties. Cleanups.
26430         
26431         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26432         has_getrange and replace with can_activate_pull and
26433         can_activate_push.
26434
26435         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26436         locking comments. Remove has_loop, has_chain and replace with
26437         can_activate_pull and can_activate_push.
26438
26439 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26440
26441         * configure.ac:
26442         * examples/Makefile.am:
26443         * examples/metadata/Makefile.am:
26444         * examples/metadata/read-metadata.c: (message_loop),
26445         (have_pad_handler), (make_pipeline), (print_tag), (main):
26446           Add metadata reading example that loops over a list of filenames,
26447           dumping any tags found.
26448
26449         * gst/gstbus.c: (gst_bus_dispose):
26450         * gst/gstelement.c: (gst_element_dispose):
26451           Release a few potentially-held references in dispose.
26452
26453 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26454
26455         * docs/gst/tmpl/gstminiobject.sgml:
26456           do *not* add tmpl/*.sgml files to CVS!
26457
26458 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26459
26460         * libs/gst/bytestream/.cvsignore:
26461         * libs/gst/bytestream/Makefile.am:
26462         * libs/gst/bytestream/adapter.c:
26463         * libs/gst/bytestream/adapter.h:
26464         * libs/gst/bytestream/bytestream.c:
26465         * libs/gst/bytestream/bytestream.h:
26466         * libs/gst/bytestream/filepad.c:
26467         * libs/gst/bytestream/filepad.h:
26468           removing obsolete files
26469
26470 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26471
26472         * docs/gst/gstreamer-docs.sgml:
26473         * docs/libs/gstreamer-libs-docs.sgml:
26474           disabed additional index entries again, as this makes docs-gen just
26475           slow and they aren't useful yet
26476         * docs/libs/gstreamer-libs-sections.txt:
26477           little -section.txt cleanup for libs
26478
26479 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26480
26481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26482         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26483           fix up some debugging
26484         (gst_base_transform_get_unit_size),
26485         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26486         (gst_base_transform_handle_buffer):
26487         * gst/base/gstbasetransform.h:
26488           handle and store timed NEWSEGMENT events so that subclasses that
26489           calculate time by counting samples have a segment_start time they
26490           need to add to their timestamps - see audioresample
26491
26492 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26493
26494         * gst/gstbin.h:
26495           removed ';' from the end of macro defs
26496         * docs/gst/gstreamer-docs.sgml:
26497         * docs/gst/gstreamer-sections.txt:
26498         * docs/gst/tmpl/.cvsignore:
26499         * gst/gstbus.h:
26500         * gst/gstelement.c: (gst_element_class_init),
26501         (gst_element_set_state), (activate_pads),
26502         (gst_element_save_thyself):
26503         * gst/gstevent.c: (gst_event_new_newsegment):
26504         * gst/gstevent.h:
26505         * gst/gstiterator.c:
26506         * gst/gstiterator.h:
26507         * gst/gstpad.c:
26508         * gst/gstprobe.h:
26509         * gst/gstutils.c: (gst_pad_query_convert):
26510         * gst/gstutils.h:
26511           fixed parameter name mismatches between source, header and docs
26512           added some more docs, resolved the last batch of unused elements in
26513           docs (now someone needs to doc them)
26514
26515 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26516
26517         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26518         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26519           don't walk through the plugins backwards.  Where is all this
26520           reversed logic coming from ?
26521
26522 2005-08-25  Wim Taymans  <wim@fluendo.com>
26523
26524         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26525         (gst_base_transform_transform_size),
26526         (gst_base_transform_configure_caps),
26527         (gst_base_transform_get_unit_size),
26528         (gst_base_transform_buffer_alloc),
26529         (gst_base_transform_change_state):
26530         * gst/base/gstbasetransform.h:
26531         Cache caps unit_size.
26532         Make sure we cannot negotiate up and downstream at the
26533         same time.
26534
26535 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26536
26537         * gst/gst.c: (init_pre), (init_post):
26538           register the installed plugin path after the env var
26539         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26540         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26541           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26542           directories, so the tests can prefer uninstalled over installed
26543
26544 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26545
26546         * gst/base/gstbasetransform.h:
26547           comment
26548         * gst/gstpad.c:
26549           add to docs
26550
26551 2005-08-25  Wim Taymans  <wim@fluendo.com>
26552
26553         * gst/gstbin.c: (bin_bus_handler):
26554         Be a bit more conservative about the posted message.
26555         
26556         * gst/gstbus.c: (gst_bus_post):
26557         Some cleanups, warn wrong return values.
26558
26559 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26560
26561         * check/gst/gstbin.c: (GST_START_TEST):
26562         * gst/gstbin.c: (bin_bus_handler):
26563         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26564         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26565         (gst_message_new_warning), (gst_message_new_tag),
26566         (gst_message_new_state_changed), (gst_message_new_segment_start),
26567         (gst_message_new_segment_done), (gst_message_new_custom):
26568         * gst/gstmessage.h:
26569         * tools/gst-launch.c: (event_loop):
26570         * tools/gst-md5sum.c: (event_loop):
26571           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26572
26573 2005-08-25  Wim Taymans  <wim@fluendo.com>
26574
26575         * check/generic/states.c: (GST_START_TEST):
26576         Cleanup can be done at the end.
26577
26578         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26579         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26580         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26581         Oh boy.. Thanks for finding this, Thomas. 
26582
26583 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26584
26585         * docs/gst/gstreamer.types:
26586           added missing types
26587
26588 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26589
26590         * docs/gst/gstreamer-docs.sgml:
26591         * docs/gst/gstreamer-sections.txt:
26592         * docs/gst/tmpl/.cvsignore:
26593         * gst/gstbin.c:
26594         * gst/gstiterator.c:
26595         * gst/gstutils.c:
26596         * gst/registries/gstxmlregistry.h:
26597           added missing classes and symbols (123 more to go)
26598           removed removed symbols from section file
26599           fixed many doc-comments
26600
26601 2005-08-24  Wim Taymans  <wim@fluendo.com>
26602
26603         * check/generic/states.c: (GST_START_TEST):
26604         Make sure all tasks are stopped.
26605
26606         * check/gst/gstbin.c: (GST_START_TEST):
26607         Unref after usage for proper valgrinding.
26608
26609         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26610         Really wait for the task to stop before destroying the
26611         mutex.
26612
26613         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26614         (gst_queue_src_activate_push):
26615         Small cleanups. Don't stop the task when we did not start
26616         it.
26617
26618         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26619         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26620         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26621         (gst_task_join):
26622         * gst/gsttask.h:
26623         Protect the stream lock with the object lock.
26624         Disallow setting the stream lock when running.
26625         Add cleanup_all to wait for the threadpool to finish.
26626         Remove code to autoallocate a mutex if none was provided.
26627         Add _join() to wait for a task to stop.
26628         Protect the thread pool with a global lock.
26629
26630 2005-08-24  Wim Taymans  <wim@fluendo.com>
26631
26632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26633         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26634         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26635         * gst/base/gstbasesink.h:
26636         Handle newsegment events correctly.
26637         Drop buffers out of the segment range.
26638
26639 2005-08-22  Andy Wingo  <wingo@pobox.com>
26640
26641         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26642         macro, implements an interface and gstimplementsinterface for a
26643         new type.
26644
26645 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26646
26647         * check/Makefile.am:
26648         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26649           add a test that does a bunch of state changes on elements
26650           needs some fixing for valgrind
26651         * check/states/sinks.c: (gst_object_suite):
26652           whitespace
26653         * gst/gstcaps.h:
26654           add prototype for gst_caps_is_equal_fixed
26655         * gst/gstplugin.c:
26656         * gst/gstregistrypool.c:
26657           doc fixes
26658
26659 2005-08-24  Andy Wingo  <wingo@pobox.com>
26660
26661         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26662         convert a negative value. Doesn't make much sense. Mostly this is
26663         here to force callers to ensure -1 maps to -1.
26664
26665 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26666
26667         * docs/pwg/advanced-types.xml:
26668           Well done to Michael for catching my deliberate introduction
26669           of this spelling mistake. 
26670         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26671         * gst/gstelement.h:
26672           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26673           unlink pads before removing the element from the bin.
26674
26675 2005-08-24  Andy Wingo  <wingo@pobox.com>
26676
26677         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26678         the same thing as GST_DEBUG=*:4.
26679         (parse_debug_level, parse_debug_category): New helper parsers.
26680
26681 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26682
26683         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26684         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26685         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26686         (gst_base_transform_buffer_alloc),
26687         (gst_base_transform_handle_buffer):
26688           use gboolean return values and pointers to size so we can use the
26689           full GST_BUFFER_SIZE range (guint) for buffer sizes
26690           use GstPadDirection for transform_caps
26691         * gst/base/gstbasetransform.h:
26692           rename get_size to get_unit_size since that's what it is
26693         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26694           use GstPadDirection for transform_caps
26695         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26696         * gst/gstutils.h:
26697           cleanup and debugging
26698
26699 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26700
26701         * gst/gstelement.c: (gst_element_class_init),
26702         (gst_element_set_state), (activate_pads),
26703         (gst_element_save_thyself):
26704         * tools/gst-compprep.c: (main):
26705         * tools/gst-inspect.c: (print_element_properties_info):
26706         * tools/gst-xmlinspect.c: (print_element_properties):
26707           Fixed long standing mem-leak
26708
26709 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26710
26711         * check/gst/gstbin.c: (GST_START_TEST):
26712         * gst/gstbin.c: (bin_bus_handler):
26713         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26714         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26715         (gst_message_new_warning), (gst_message_new_tag),
26716         (gst_message_new_state_changed), (gst_message_new_segment_start),
26717         (gst_message_new_segment_done), (gst_message_new_custom):
26718         * gst/gstmessage.h:
26719         * tools/gst-launch.c: (event_loop):
26720         * tools/gst-md5sum.c: (event_loop):
26721           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26722           that applications can sensibly post custom messages with references
26723           to their own objects.
26724
26725 2005-08-24  Andy Wingo  <wingo@pobox.com>
26726
26727         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26728         already.
26729
26730 2005-08-24  Wim Taymans  <wim@fluendo.com>
26731
26732         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26733         (gst_base_transform_transform_caps),
26734         (gst_base_transform_transform_size),
26735         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26736         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26737         (gst_base_transform_handle_buffer):
26738         * gst/base/gstbasetransform.h:
26739         Many fixes and new features added by Thomas. Can now also do
26740         transforms with variable sizes and a custom fixate_caps function.
26741
26742 2005-08-24  Wim Taymans  <wim@fluendo.com>
26743
26744         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26745         Some debugging.
26746
26747         * gst/gstclock.h:
26748         Cast to ClockTime before formatting to time.
26749
26750         * gst/gstutils.h:
26751         Cleanups.
26752
26753 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26754
26755         * check/gst-libs/controller.c: (GST_START_TEST),
26756         (gst_controller_suite):
26757         * docs/gst/tmpl/gstcaps.sgml:
26758         * docs/gst/tmpl/gstghostpad.sgml:
26759         * docs/gst/tmpl/gstquery.sgml:
26760         * docs/gst/tmpl/gstutils.sgml:
26761         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26762         (gst_object_sink_values), (gst_object_get_value_arrays),
26763         (gst_object_get_value_array):
26764           gracefully handle helper method calls to objects that are not beeing
26765           controlled, added test case for that          
26766
26767 2005-08-23  Wim Taymans  <wim@fluendo.com>
26768
26769         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26770         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26771         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26772         (gst_event_parse_qos), (gst_event_new_seek),
26773         (gst_event_parse_seek):
26774         * gst/gstevent.h:
26775         Some more debugging output and doc cleanups.
26776
26777         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26778         Fix possible deadlock.
26779
26780 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26781
26782         * docs/gst/gstreamer-docs.sgml:
26783         * docs/gst/gstreamer-sections.txt:
26784         * docs/gst/gstreamer.types:
26785         * docs/gst/tmpl/.cvsignore:
26786         * gst/gstbin.h:
26787         * gst/gstbus.c:
26788         * gst/gstelement.c:
26789         * gst/gstevent.h:
26790           added 100 symbols from gstreamer-unused.txt to the right sections
26791           fixed more broken comments
26792           added GstBus to docs
26793
26794 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26795
26796         * docs/gst/gstreamer-sections.txt:
26797         * docs/gst/tmpl/.cvsignore:
26798         * docs/gst/tmpl/gstbin.sgml:
26799         * docs/gst/tmpl/gstbuffer.sgml:
26800         * gst/base/gstbasesrc.c:
26801         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26802         * gst/gstbuffer.c:
26803         * gst/gstbuffer.h:
26804         * tools/gst-launch.1.in:
26805           inlined more doc comments, added missing comments and fixed comments
26806           fixed typos
26807
26808 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26809
26810         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26811           some debugging
26812         * gst/gstcaps.h:
26813           whitespace fixes
26814         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26815           more debugging
26816         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26817         * gst/gststructure.h:
26818           add a fixate function for booleans; add a FIXME that these func
26819           names should probably be gst_structure_fixate_*
26820
26821 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26822
26823         * docs/gst/gstreamer-docs.sgml:
26824         * docs/gst/gstreamer-sections.txt:
26825         * gst/Makefile.am:
26826         * gst/gstbin.c: (gst_bin_get_type),
26827         (gst_bin_child_proxy_get_child_by_index),
26828         (gst_bin_child_proxy_get_children_count),
26829         (gst_bin_child_proxy_init):
26830         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26831         (gst_child_proxy_get_child_by_index),
26832         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26833         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26834         (gst_child_proxy_get), (gst_child_proxy_set_property),
26835         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26836         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26837         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26838         * gst/gstchildproxy.h:
26839         * gst/parse/grammar.y:
26840         * tools/gst-inspect.c: (print_interfaces),
26841         (print_element_properties_info), (print_element_info):
26842           ported gstchildproxy over from 0.8
26843           ported gst-inspect fixes and enhancements over from 0.8
26844
26845 2005-08-22  Wim Taymans  <wim@fluendo.com>
26846
26847         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26848         (gst_base_transform_handle_buffer):
26849         Also call the transform function if we have ANY caps.
26850
26851         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26852         Fix debug info.
26853
26854 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26855
26856         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26857           Don't pretend to handle seek events if the source is not seekable
26858
26859 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26860
26861         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26862           Remove extra parameter to debug output
26863
26864         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26865         (gst_base_src_do_seek), (gst_base_src_activate_push):
26866           Fix seek event handling.
26867
26868         * gst/gstpipeline.c: (gst_pipeline_change_state):
26869         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26870         (gst_queue_src_activate_push):
26871           Don't start the src pad task on FLUSH_STOP if the pad
26872           isn't linked.
26873           Debug changes.
26874
26875 2005-08-22  Wim Taymans  <wim@fluendo.com>
26876
26877         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26878         Added check for gst_static_caps_get() refcounting.
26879
26880 2005-08-22  Wim Taymans  <wim@fluendo.com>
26881
26882         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26883         Make _static_caps_get() refcounting sane.
26884         
26885         * gst/gstelement.c: (gst_element_set_state):
26886         Add g_return_val_if_fail() to protect against segfaults.
26887
26888 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26889
26890         * docs/gst/tmpl/gstevent.sgml:
26891         * gst/gstevent.c:
26892         * gst/gstevent.h:
26893           inlined remaining docs, added missing doc comments
26894
26895 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26896
26897         * check/gst/gstbin.c: (GST_START_TEST):
26898           since we don't know when preroll is done, use refcount range
26899           check for the sink
26900         * gst/check/gstcheck.h:
26901           add macro for checking refcount range
26902
26903 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26904
26905         * check/Makefile.am:
26906           clean up environment for when registry gets built versus
26907           when actual tests are run; valgrind seems to not report
26908           leaks if GST_PLUGIN_PATH is set to some specific values
26909         * check/gst/gstbin.c: (GST_START_TEST):
26910           add more refcounting checks; maybe this exposes a
26911           preroll lock bug ?
26912         * common/check.mak:
26913         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26914         * gst/check/gstcheck.h:
26915         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26916         (gst_bin_change_state):
26917         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26918           add/fix debugging/whitespace
26919
26920 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26921
26922         * check/gst/gstevent.c: (event_probe), (test_event),
26923         (GST_START_TEST):
26924          Er, don't call gst_bin_watch_for_state_change you idiot.
26925
26926 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26927
26928         * check/Makefile.am:
26929           Use CHECK_CFLAGS and CHECK_LIBS
26930         * check/gst/gstevent.c: (event_probe), (test_event),
26931         (GST_START_TEST):
26932           Don't leak events.
26933         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26934         (gst_base_src_start), (gst_base_src_stop),
26935         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26936         (gst_base_src_change_state):
26937           Sprinkle gst_base_src_stop liberally around error paths to fix
26938           problems reusing a source after failed state changes.
26939         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26940         (helper_find_suggest), (gst_type_find_helper):
26941           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26942         * gst/gstevent.h:
26943         * docs/gst/tmpl/gstevent.sgml:
26944           Migrate part of the docs from the SGML file. Wait for ensonic to
26945           tell me how I did it wrong ;)
26946         * tools/gst-typefind.c: (main):
26947           Extra robustness to state changes between files.
26948
26949 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26950
26951         * check/Makefile.am:
26952           don't valgrind the controller test - it's leaking - Stefan, HELP
26953         * gst/check/gstcheck.c: (gst_check_message_error),
26954         (gst_check_chain_func), (gst_check_setup_element),
26955         (gst_check_teardown_element), (gst_check_setup_src_pad),
26956         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26957         (gst_check_teardown_sink_pad):
26958         * gst/check/gstcheck.h:
26959           add a bunch of methods to set up elements, and src and sink pads
26960         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26961         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26962         (GST_START_TEST):
26963           use them
26964         * gst/gstmessage.c:
26965         * gst/gsttag.h:
26966           whitespace/doc fixes
26967
26968 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26969
26970         * gst/gstelement.h:
26971           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26972           be handled by the application and not always printed as well
26973
26974 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26975
26976         * check/Makefile.am:
26977           set GST_TOOLS_DIR
26978         * gst/check/gstcheck.c: (gst_check_message_error):
26979         * gst/check/gstcheck.h:
26980           add a fail_unless_equals_int
26981           add fail_unless for error messages
26982
26983 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26984
26985         * check/Makefile.am:
26986         * check/gst.supp:
26987         * common/Makefile.am:
26988         * common/check.mak:
26989         * common/gst.supp:
26990           factor out some of the common stuff so we can use it
26991
26992 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26993
26994         * check/Makefile.am:
26995         * check/gst/gstiterator.c: (GST_START_TEST):
26996         * check/gst/gstsystemclock.c: (GST_START_TEST),
26997         (gst_systemclock_suite):
26998         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26999         * gst/gstclock.c:
27000           valgrind more tests
27001
27002 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27003
27004         * check/elements/.cvsignore:
27005         * check/elements/gstfakesrc.c:
27006           rename to name of element
27007         * check/elements/identity.c: (chain_func), (event_func),
27008         (setup_identity), (cleanup_identity), (GST_START_TEST),
27009         (identity_suite), (main):
27010           add a test for identity
27011         * check/Makefile.am:
27012         * pkgconfig/Makefile.am:
27013         * pkgconfig/gstreamer-check.pc.in:
27014         * pkgconfig/gstreamer-check-uninstalled.pc.in:
27015         * gst/check:
27016         * gst/Makefile.am:
27017         * configure.ac:
27018           move the check stuff to a library that gets installed
27019         * check/gst-libs/controller.c: (GST_START_TEST):
27020         * check/gst-libs/gdp.c:
27021         * check/gst/gst.c: (GST_START_TEST):
27022         * check/gst/gstbin.c:
27023         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27024         * check/gst/gstbus.c:
27025         * check/gst/gstcaps.c: (GST_START_TEST):
27026         * check/gst/gstelement.c:
27027         * check/gst/gstghostpad.c:
27028         * check/gst/gstiterator.c:
27029         * check/gst/gstmessage.c:
27030         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
27031         * check/gst/gstobject.c:
27032         * check/gst/gstpad.c: (GST_START_TEST):
27033         * check/gst/gststructure.c: (GST_START_TEST):
27034         * check/gst/gstsystemclock.c: (GST_START_TEST),
27035         (gst_systemclock_suite):
27036         * check/gst/gsttag.c: (gst_tag_suite):
27037         * check/gst/gstvalue.c:
27038         * check/pipelines/cleanup.c:
27039         * check/pipelines/simple_launch_lines.c:
27040         * check/states/sinks.c:
27041           change include statement
27042
27043         * docs/gst/gstreamer-sections.txt:
27044         * docs/gst/tmpl/gstpad.sgml:
27045           document more pad stuff
27046         * gst/gstminiobject.c: (gst_mini_object_ref),
27047         (gst_mini_object_unref):
27048           debug refcounting
27049
27050 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
27051
27052         * docs/gst/tmpl/gst.sgml:
27053         * gst/gst.c:
27054           eliminate another tmpl file, fix spelling in the long-description
27055
27056 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27057
27058         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27059         (test_event), (timediff), (gstevents_suite):
27060           Should fix build on 64-bit arch's
27061
27062 2005-08-18  Andy Wingo  <wingo@pobox.com>
27063
27064         Make sure that when a pipeline goes to PLAYING, that data has
27065         actually hit the sink.
27066
27067         * check/states/sinks.c (test_sink): A sink that doesn't get any
27068         data shouldn't return SUCCESS for going to either PLAYING or
27069         PAUSED. Test also the return values on the way back down.
27070
27071         * gst/gstelement.c (gst_element_set_state): When changing the
27072         state of an element currently changing state asynchronously, go to
27073         lost-state after commiting the pending state. Makes future calls
27074         to get_state continue to return ASYNC.
27075
27076         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
27077         ASYNC when going to PLAYING if we still don't have preroll, as can
27078         happen with live sources.
27079
27080 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27081
27082         * docs/pwg/advanced-types.xml:
27083           Hack long paragraph into 2 chunks as a workaround for buggy
27084           jadetex version in sid and breezy that loops infinitely and
27085           eats all RAM.
27086
27087 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27088
27089         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27090         (test_event), (timediff), (gstevents_suite):
27091           Provide more error margin in clock measurements to allow for 
27092           g_get_current_time inaccuracies.
27093
27094 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27095
27096         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27097         (test_event), (timediff), (gstevents_suite):
27098            Fix error message output so I might be able to tell why the
27099            test works here but fails on the build farm.
27100
27101 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27102
27103         * check/Makefile.am:
27104         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27105         (test_event), (timediff), (gstevents_suite), (main):
27106           I wrote a test!
27107
27108         * docs/design/part-seeking.txt:
27109           Spelling correction
27110
27111         * docs/gst/tmpl/gstevent.sgml:
27112         * docs/gst/tmpl/gstfakesrc.sgml:
27113           Docs updates.
27114
27115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27116           Treat a buffer-without-newsegment the same as a receiving 
27117           a newsegment not in time format, and disable syncing to the clock
27118           with a warning.
27119
27120         * gst/gstbus.c: (gst_bus_set_sync_handler):
27121           Assert if anyone tries to replace the existing sync_handler for bus, 
27122           as only the owner should be setting it.
27123
27124         * gst/gstevent.h:
27125           Have a fixed set of custom event enums with events identified by
27126           their structure name (as in 0.8), rather than a free-for-all
27127           allowing collisions between enum values from different plugins.
27128
27129         * gst/gstpad.c: (gst_pad_class_init):
27130           Docs change.
27131           
27132         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27133           Handle out-of-band downstream events from the sending thread.
27134
27135 2005-08-17  Andy Wingo  <wingo@pobox.com>
27136
27137         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27138         play-timeout==0 to mean no timeout at all. In that case, don't
27139         bother with a get_state or a warning, just return directly, even
27140         if it's ASYNC.
27141
27142         * gst/base/gstbasetransform.c: Debug changes.
27143
27144         * gst/gstutils.h:
27145         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27146         ensure bins post state change messages. A bit of a hack but I can't
27147         think of a way to avoid it.
27148
27149         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27150
27151 2005-08-16  Andy Wingo  <wingo@pobox.com>
27152
27153         * gst/base/gstadapter.h:
27154         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27155         peek() but you own the data. Not terribly efficient atm.
27156
27157 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27158
27159         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27160         (gst_element_found_tags):
27161         * gst/gstutils.h:
27162           Add two utility functions for tag handling.
27163
27164 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27165
27166         * docs/manual/advanced-dataaccess.xml:
27167         * docs/manual/basics-helloworld.xml:
27168           Fix docs to use _bin_add() before _link(), which fixes the examples
27169           with recent core versions (reported by Madhan Raj M
27170           <raj_madan@rediffmail.com>, #313199).
27171
27172 2005-08-16  Wim Taymans  <wim@fluendo.com>
27173
27174         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27175         Added subtract checks.
27176
27177         * docs/design/part-events.txt:
27178         Some more docs about newsegment
27179
27180         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27181         Fix FIXME
27182
27183         * gst/gstcaps.c: (gst_caps_to_string):
27184         Add comments, cleanups.
27185         
27186         * gst/gstelement.c: (gst_element_save_thyself):
27187         cleanups
27188         
27189         * gst/gstvalue.c: (gst_value_collect_int_range),
27190         (gst_string_unwrap), (gst_value_union_int_int_range),
27191         (gst_value_union_int_range_int_range),
27192         (gst_value_intersect_int_int_range),
27193         (gst_value_intersect_int_range_int_range),
27194         (gst_value_intersect_double_double_range),
27195         (gst_value_intersect_double_range_double_range),
27196         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27197         (gst_value_subtract_int_range_int),
27198         (gst_value_subtract_double_range_double),
27199         (gst_value_subtract_double_range_double_range),
27200         (gst_value_subtract_from_list), (gst_value_subtract_list),
27201         (gst_value_can_compare), (gst_value_compare_fraction):
27202         Cleanups, add comments, remove unneeded asserts.
27203
27204 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27205
27206         * tools/gst-launch.c: (event_loop):
27207           don't convert NULL structures to strings
27208
27209 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27210
27211         * docs/gst/gstreamer-sections.txt:
27212           made some defines private
27213         * docs/gst/tmpl/gstconfig.sgml:
27214         * docs/gst/tmpl/gstqueue.sgml:
27215         * docs/gst/tmpl/gsttaglist.sgml:
27216         * docs/gst/tmpl/gsttypes.sgml:
27217         * docs/gst/tmpl/gstutils.sgml:
27218         * docs/pwg/appendix-porting.xml:
27219         * gst/base/gstbasesink.h:
27220         * gst/base/gstbasesrc.c:
27221         * gst/base/gstbasesrc.h:
27222         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27223         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27224         * gst/gstelement.c: (gst_element_class_init):
27225         * gst/gstpad.c: (gst_pad_class_init):
27226         * gst/gstqueue.c: (gst_queue_class_init):
27227         * gst/gstxml.c: (gst_xml_class_init):
27228           documented all undocumented signal inline
27229         * libs/gst/controller/gst-controller.h:
27230           added padding
27231
27232 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27233
27234         * docs/pwg/appendix-porting.xml:
27235           Document _set_link_function -> _set_setcaps_function.
27236
27237 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27238
27239         * check/Makefile.am:
27240           add a .check target for running the check
27241         * check/gst-libs/controller.c: (GST_START_TEST):
27242           cosmetic fixups
27243         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27244           complete checks for gstbuffer; would be nice if I could get the
27245           gcov stuff to work so I can see if I actually completed gstbuffer.c
27246         * check/gstcheck.h:
27247           add ASSERT_BUFFER_REFCOUNT
27248
27249 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27250
27251         * docs/gst/gstreamer-sections.txt:
27252         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27253         * gst/gsttag.h:
27254           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27255           spew out a warning if a tag that is already registered
27256           is re-registered, unless it is re-registered with a 
27257           different type (#308438).
27258
27259 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27260
27261         * docs/pwg/appendix-porting.xml:
27262         * docs/pwg/building-state.xml:
27263           Add some paragraphs about state changes in 0.9 to the PWG
27264           and the porting guide, in particular about the new meaning
27265           of GST_STATE_PAUSED and how to write state change functions
27266           with concurrent access by multiple threads in mind.
27267
27268 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27269
27270         * docs/gst/gstreamer-docs.sgml:
27271         * docs/libs/gstreamer-libs-docs.sgml:
27272           added deprecation and since indexes
27273         * libs/gst/controller/gst-controller.c:
27274         * libs/gst/controller/gst-helper.c:
27275           added since tags
27276
27277
27278 2005-08-11  Wim Taymans  <wim@fluendo.com>
27279
27280         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27281         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27282         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27283         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27284         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27285         (gst_ghost_pad_set_target):
27286         Actually implement (re)setting the target on a ghostpad
27287         as described in the docs.
27288
27289 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27290
27291         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27292           Check whether GST_DEBUG_NO_COLOR environment variable is
27293           set and disable coloured debug output if that is the case.
27294
27295 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27296
27297         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27298         (gst_type_find_helper):
27299           The memory returned by gst_type_find_peek() needs to
27300           stay valid until the end of a typefind function, and
27301           typefind functions may keep results from different 
27302           offsets around, so we can't just unref the buffer from
27303           the previous _peek(), but have to save all buffers 
27304           returned by _peek() until typefinding is done and only
27305           free them then.
27306
27307 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27308
27309         * docs/gst/gstreamer-sections.txt:
27310         * gst/gstutils.h:
27311           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27312
27313 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27314
27315         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27316           Fix a pretty good memleak.
27317
27318 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27319
27320         * gst/gstiterator.h:
27321           Fix wrong include and 'make distcheck'.
27322
27323 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27324
27325         * gst/gstbin.c: (bin_bus_handler):
27326           Use gst_element_post_message() instead.
27327
27328 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27329
27330         * gst/base/gstadapter.h:
27331         * gst/base/gstbasesink.h:
27332         * gst/base/gstbasesrc.h:
27333         * gst/base/gstbasetransform.h:
27334         * gst/base/gstcollectpads.h:
27335         * gst/base/gstpushsrc.h:
27336         * gst/gstiterator.h:
27337           Add padding to our base elements' class and instance structs and
27338           to GstIterator (you will need to rebuild all plugins and apps!)
27339
27340 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27341
27342         * gst/gstbin.c: (bin_bus_handler):
27343           Make default message forwarding from child->bus to bin->bus
27344           threadsafe and make it not emit warnings if the parent has no bus.
27345
27346 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27347
27348         * gst/gstelement.c: (activate_pads):
27349           On paused->ready, set pad->caps to NULL, as is the documented
27350           behaviour in this state change. Fixes playback of series of
27351           media files when visualization is enabled in Totem.
27352
27353 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27354
27355         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27356           Allow NULL as filter-caps (which means "any").
27357
27358 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27359
27360         * docs/libs/gstreamer-libs-sections.txt:
27361         * libs/gst/controller/gst-controller.c:
27362         * libs/gst/controller/gst-controller.h:
27363         * libs/gst/controller/gst-helper.c:
27364           adding more entries to the docs and fix small doc-bugs
27365
27366 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27367
27368         * docs/gst/gstreamer-docs.sgml:
27369         * docs/gst/gstreamer-sections.txt:
27370         * docs/gst/gstreamer.types:
27371         * docs/gst/tmpl/gstbasesink.sgml:
27372         * docs/gst/tmpl/gstbasesrc.sgml:
27373         * docs/gst/tmpl/gstbasetransform.sgml:
27374         * docs/gst/tmpl/gstfakesrc.sgml:
27375         * gst/base/gstcollectpads.c:
27376         * gst/base/gstcollectpads.h:
27377         * libs/gst/controller/gst-controller.c:
27378         * libs/gst/controller/gst-controller.h:
27379         * libs/gst/controller/gst-helper.c:
27380         * libs/gst/controller/gst-interpolation.c:
27381         * libs/gst/controller/lib.c:
27382           added long/short desc for controller docs
27383           added collectpads base class docs
27384           added correct includes to base-class docs
27385
27386 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27387
27388         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27389         (gst_test_mono_source_set_property),
27390         (gst_test_mono_source_class_init), (GST_START_TEST),
27391         (gst_controller_suite):
27392         * docs/gst/gstreamer-docs.sgml:
27393         * docs/gst/gstreamer-sections.txt:
27394         * docs/gst/gstreamer.types:
27395         * docs/libs/gstreamer-libs-docs.sgml:
27396         * docs/libs/gstreamer-libs-sections.txt:
27397         * gst/base/gstadapter.c:
27398         * libs/gst/controller/gst-controller.c:
27399         (gst_controlled_property_new), (gst_controlled_property_free),
27400         (gst_controller_new_valist),
27401         (gst_controller_remove_properties_valist),
27402         (gst_controller_sink_values), (_gst_controller_finalize):
27403         * libs/gst/controller/gst-controller.h:
27404         * libs/gst/controller/gst-helper.c:
27405         (gst_object_control_properties), (gst_object_uncontrol_properties),
27406         (gst_object_get_controller), (gst_object_set_controller),
27407         (gst_object_sink_values), (gst_object_get_value_arrays),
27408         (gst_object_get_value_array):
27409           more tests (and fixes) for the controller
27410           more docs for the controller
27411           integrated companies docs for the adapter 
27412
27413 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27414
27415         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27416         (GST_START_TEST), (fakesrc_suite):
27417           add tests for sizetype
27418
27419 2005-08-04  Andy Wingo  <wingo@pobox.com>
27420
27421         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27422         fixes buffer_alloc proxying among other things.
27423
27424         * gst/base/gstbasetransform.c:
27425         * gst/base/gstbasetransform.h:
27426         Revert patch to gstbasetransform from 7-28 removing
27427         delay_configure.
27428
27429         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27430         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27431         Semantics changed, should return not the size of the output buffer
27432         but the byte size of a buffer with a given caps.
27433
27434         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27435         debug object.
27436         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27437         out) are not the pad caps until setcaps finishes.
27438         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27439         not-in-place case as well. Deal with changing from in-place to
27440         not-in-place within calling pad_alloc_buffer. Still a bit
27441         concerned about the overhead here...
27442
27443 2005-08-03  Andy Wingo  <wingo@pobox.com>
27444
27445         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27446         fixating is an error.
27447
27448 2005-08-04  Edward Hervey  <edward@fluendo.com>
27449
27450         * gst/base/gstadapter.h: 
27451         Added gst_adapter_get_type() to the header
27452
27453 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27454
27455         * check/Makefile.am:
27456         * check/gst-libs/controller.c:
27457         * libs/gst/controller/gst-controller.c:
27458         (gst_controller_new_valist):
27459           added check test suite for the controller
27460         * gst/base/gstpushsrc.c:
27461           fixed a doc typo
27462
27463 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27464
27465         * docs/gst/Makefile.am:
27466         * docs/gst/gstreamer-docs.sgml:
27467         * docs/gst/gstreamer-sections.txt:
27468         * docs/gst/gstreamer.types:
27469         * docs/gst/tmpl/gstfakesrc.sgml:
27470         * gst/base/README:
27471         * gst/base/gstbasesink.c:
27472         * gst/base/gstbasesink.h:
27473         * gst/base/gstbasesrc.c:
27474         * gst/base/gstbasesrc.h:
27475         * gst/base/gstbasetransform.c:
27476         * gst/base/gstpushsrc.c:
27477         * gst/base/gstpushsrc.h:
27478           add short/long description docs to base classes
27479           add pushsrc to the docs
27480           remove consolidated doc fragments
27481
27482 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27483
27484         * configure.ac:
27485         * docs/libs/Makefile.am:
27486         * docs/libs/gstreamer-libs-docs.sgml:
27487         * docs/libs/gstreamer-libs-sections.txt:
27488         * docs/libs/gstreamer-libs.types:
27489         * examples/Makefile.am:
27490         * examples/controller/.cvsignore:
27491         * examples/controller/Makefile.am:
27492         * examples/controller/audio-example.c: (main):
27493         * libs/gst/Makefile.am:
27494         * libs/gst/controller/.cvsignore:
27495         * libs/gst/controller/Makefile.am:
27496         * libs/gst/controller/gst-controller.c:
27497         (on_object_controlled_property_changed), (gst_timed_value_compare),
27498         (gst_timed_value_find),
27499         (gst_controlled_property_set_interpolation_mode),
27500         (gst_controlled_property_new), (gst_controlled_property_free),
27501         (gst_controller_find_controlled_property),
27502         (gst_controller_new_valist), (gst_controller_new),
27503         (gst_controller_remove_properties_valist),
27504         (gst_controller_remove_properties), (gst_controller_set),
27505         (gst_controller_set_from_list), (gst_controller_unset),
27506         (gst_controller_get), (gst_controller_get_all),
27507         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27508         (gst_controller_get_value_array),
27509         (gst_controller_set_interpolation_mode),
27510         (_gst_controller_finalize), (_gst_controller_init),
27511         (_gst_controller_class_init), (gst_controller_get_type):
27512         * libs/gst/controller/gst-controller.h:
27513         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27514         (g_object_uncontrol_properties), (g_object_get_controller),
27515         (g_object_set_controller), (g_object_sink_values),
27516         (g_object_get_value_arrays), (g_object_get_value_array):
27517         * libs/gst/controller/gst-interpolation.c:
27518         (gst_controlled_property_find_timed_value_node),
27519         (interpolate_none_get), (interpolate_trigger_get),
27520         (interpolate_trigger_get_value_array):
27521         * libs/gst/controller/lib.c: (gst_controller_init):
27522         * pkgconfig/Makefile.am:
27523         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27524         * pkgconfig/gstreamer-control.pc.in:
27525         * testsuite/Makefile.am:
27526         * testsuite/controller/.cvsignore:
27527         * testsuite/controller/Makefile.am:
27528         * testsuite/controller/interpolator.c: (main):
27529           added controller code
27530           removed dparam pc files
27531
27532 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27533         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27534         (gst_collectpads_stop):
27535           Broadcast the condition when shutting down, to make sure we wake all
27536           threads up. Shut down pads on finalize, for safety.
27537
27538 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27539         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27540         (gst_base_transform_handle_buffer),
27541         (gst_base_transform_change_state):
27542           Handle PAUSED->READY->PAUSED transition after negotiation
27543           occurred already.
27544         * gst/gstmessage.c: (gst_message_init):
27545           Extra piece of debug for new messages.
27546
27547 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27548
27549         * configure.ac:
27550         * docs/gst/tmpl/gstbasesrc.sgml:
27551         * docs/gst/tmpl/gstelement.sgml:
27552         * docs/gst/tmpl/gstevent.sgml:
27553         * docs/gst/tmpl/gstfakesrc.sgml:
27554         * docs/gst/tmpl/gstformat.sgml:
27555         * docs/gst/tmpl/gstghostpad.sgml:
27556         * docs/gst/tmpl/gstpad.sgml:
27557         * docs/gst/tmpl/gstquery.sgml:
27558         * docs/gst/tmpl/gststructure.sgml:
27559         * docs/gst/tmpl/gsttaglist.sgml:
27560         * docs/gst/tmpl/gstvalue.sgml:
27561         * docs/libs/gstreamer-libs-docs.sgml:
27562         * docs/libs/gstreamer-libs-sections.txt:
27563         * docs/libs/gstreamer-libs.types:
27564         * libs/gst/Makefile.am:
27565         * libs/gst/control/.cvsignore:
27566         * libs/gst/control/Makefile.am:
27567         * libs/gst/control/control.c:
27568         * libs/gst/control/control.h:
27569         * libs/gst/control/dparam.c:
27570         * libs/gst/control/dparam.h:
27571         * libs/gst/control/dparam_smooth.c:
27572         * libs/gst/control/dparam_smooth.h:
27573         * libs/gst/control/dparamcommon.h:
27574         * libs/gst/control/dparammanager.c:
27575         * libs/gst/control/dparammanager.h:
27576         * libs/gst/control/dplinearinterp.c:
27577         * libs/gst/control/dplinearinterp.h:
27578         * libs/gst/control/unitconvert.c:
27579         * libs/gst/control/unitconvert.h:
27580         * testsuite/Makefile.am:
27581         * testsuite/dynparams/.cvsignore:
27582         * testsuite/dynparams/Makefile.am:
27583         * testsuite/dynparams/dparamstest.c:
27584         * tools/Makefile.am:
27585         * tools/gst-inspect.c: (print_element_info), (main):
27586         * tools/gst-xmlinspect.c: (print_element_info), (main):
27587           deactivate and remove dparams (libgstcontrol)
27588
27589 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27590
27591         * gst/elements/gsttypefindelement.c:
27592         (gst_type_find_element_have_type), (gst_type_find_element_init),
27593         (stop_typefinding), (gst_type_find_element_handle_event),
27594         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27595         * gst/elements/gsttypefindelement.h:
27596           Set caps on all outgoing buffers, not just the first one.
27597
27598 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27599
27600         * gst/elements/gsttypefindelement.c:
27601         (gst_type_find_element_have_type),
27602         (gst_type_find_element_check_set_buffer_caps),
27603         (gst_type_find_element_init), (stop_typefinding),
27604         (gst_type_find_element_handle_event),
27605         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27606         * gst/elements/gsttypefindelement.h:
27607           Set caps on first outgoing buffer when we've found the type.
27608
27609 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27610
27611         * docs/gst/gstreamer-docs.sgml:
27612         * docs/gst/gstreamer-sections.txt:
27613         * docs/gst/tmpl/gstscheduler.sgml:
27614         * docs/gst/tmpl/gstschedulerfactory.sgml:
27615           Remove some old cruft from docs.
27616
27617 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27618
27619         * gst/gstpad.h:
27620           Fix inline docs for GstPadLinkReturn.
27621           
27622         * gst/gststructure.c: (gst_structure_has_name):
27623         * gst/gststructure.h:
27624         * docs/gst/gstreamer-sections.txt:
27625           New API: gst_structure_has_name().
27626
27627 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27628
27629         * configure.ac:
27630           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27631           and _LARGEFILE_SOURCE in config.h as required. Do not 
27632           export those flags in our .pc files any longer (#142209).
27633
27634           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27635
27636         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27637         (gst_file_sink_do_seek), (gst_file_sink_event),
27638         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27639           Redo seek/tell calls with large file support in mind; add some
27640           debugging messages; add log message that tells us when large
27641           file support is unavailable or not enabled for some reason.
27642
27643         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27644           Add log message that tells us when large file support 
27645           is unavailable or not enabled for some reason.
27646
27647 2005-07-29  Wim Taymans  <wim@fluendo.com>
27648
27649         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27650         Added test for removing an element with ghostpad from a bin.
27651         Fixed test as current implementation does the right thing.
27652
27653         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27654         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27655         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27656         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27657         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27658         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27659         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27660         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27661         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27662         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27663         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27664         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27665         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27666         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27667         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27668         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27669         * gst/gstghostpad.h:
27670         Clean up ghostpads, remove properties for internal stuff.
27671         Make threadsafe.
27672         Fix refcounting.
27673         Prepare for switching targets, not all use cases work yet.
27674
27675 2005-07-29  Wim Taymans  <wim@fluendo.com>
27676
27677         * docs/design/part-gstghostpad.txt:
27678         Small update.
27679
27680         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27681         (gst_bin_remove_func):
27682         Unlinking pads while holding the bin LOCK is not a good
27683         idea.
27684
27685         * gst/gstpad.c: (gst_pad_class_init),
27686         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27687         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27688         No prob setting template after creating the pad.
27689
27690 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27691
27692         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27693         (gst_bus_peek), (gst_bus_source_dispatch),
27694         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27695         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27696           gst_bus_poll may be called from other threads. Handle
27697           this nicely by not making poll_data disappear off the
27698           stack once gst_bus_poll returns.
27699           gst_bus_peek now increments the refcount on the returned
27700           message.
27701
27702 2005-07-29  Wim Taymans  <wim@fluendo.com>
27703
27704         * docs/design/part-gstghostpad.txt:
27705         Overview of current GhostPad datastructures and use
27706         cases for changing the target.
27707
27708 2005-07-28  Wim Taymans  <wim@fluendo.com>
27709
27710         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27711         Added checks for hierarchy consistency whan adding linked
27712         elements to bins.
27713
27714         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27715         Added check to test element scheduling without bin/pipeline.
27716
27717         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27718         First add elements to bin, then link.
27719         
27720         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27721         (gst_bin_remove_func):
27722         Unlink pads from elements added/removed from bin to maintain
27723         hierarchy consistency.
27724
27725 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27726
27727         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27728         (gst_base_transform_handle_buffer):
27729         * gst/base/gstbasetransform.h:
27730           Remove broken delay_configure (fixes renegotiation of software
27731           scaling pipelines); remove some leftover printf()s.
27732
27733 2005-07-28  Wim Taymans  <wim@fluendo.com>
27734
27735         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27736         Added some more tests for wrong hierarchy
27737
27738         * docs/design/part-overview.txt:
27739         Some updates.
27740
27741         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27742         Cleanups.
27743
27744         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27745         (gst_element_dispose):
27746         Some more cleanups.
27747
27748         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27749         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27750         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27751         (gst_pad_set_caps), (gst_pad_send_event):
27752         Check for correct hierarchy when linking pads. Moving to
27753         strict requirement for ghostpads when linking elements in
27754         different bins.
27755
27756         * gst/gstpad.h:
27757         Clean ups. Added WRONG_HIERARCHY return value.
27758
27759 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27760
27761         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27762           Better debug if no transform is possible.
27763
27764 2005-07-27  Wim Taymans  <wim@fluendo.com>
27765
27766         * docs/random/wtay/network-transp:
27767         Some old doc I had.
27768
27769 2005-07-27  Wim Taymans  <wim@fluendo.com>
27770
27771         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27772         (gst_dp_event_from_packet):
27773         Fix serialization of seek events.
27774
27775 2005-07-27  Wim Taymans  <wim@fluendo.com>
27776
27777         * check/gst-libs/gdp.c: (GST_START_TEST):
27778         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27779         Fix compilation and fix event serialization.
27780
27781 2005-07-27  Wim Taymans  <wim@fluendo.com>
27782
27783         * CHANGES-0.9:
27784         * docs/design/part-TODO.txt:
27785         * docs/design/part-events.txt:
27786         Some docs updates
27787
27788         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27789         (gst_base_sink_event), (gst_base_sink_do_sync),
27790         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27791         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27792         (gst_base_src_do_seek), (gst_base_src_event_handler),
27793         (gst_base_src_loop):
27794         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27795         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27796         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27797         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27798         (gst_base_transform_set_passthrough),
27799         (gst_base_transform_is_passthrough):
27800         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27801         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27802         Event updates.
27803
27804         * gst/gstbuffer.h:
27805         Use faster casts.
27806
27807         * gst/gstelement.c: (gst_element_seek):
27808         * gst/gstelement.h:
27809         Update gst_element_seek.
27810
27811         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27812         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27813         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27814         (gst_event_new_eos), (gst_event_new_newsegment),
27815         (gst_event_parse_newsegment), (gst_event_new_tag),
27816         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27817         (gst_event_parse_qos), (gst_event_new_seek),
27818         (gst_event_parse_seek), (gst_event_new_navigation):
27819         * gst/gstevent.h:
27820         Make GstEvent use GstStructure. Add parsing code, make sure the
27821         API is sufficiently generic.
27822         Mark possible directions of events and serialization.
27823
27824         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27825         (_gst_message_copy), (gst_message_new_segment_start),
27826         (gst_message_new_segment_done), (gst_message_new_custom),
27827         (gst_message_parse_segment_start),
27828         (gst_message_parse_segment_done):
27829         Small cleanups.
27830
27831         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27832         (gst_pad_set_caps), (gst_pad_send_event):
27833         Update for new events. 
27834         Catch events sent in wrong directions.
27835
27836         * gst/gstqueue.c: (gst_queue_link_src),
27837         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27838         (gst_queue_handle_src_query):
27839         Event updates.
27840
27841         * gst/gsttag.c:
27842         * gst/gsttag.h:
27843         Remove event code from this file.
27844
27845         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27846         (gst_dp_event_from_packet):
27847         Event updates.
27848
27849 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27850
27851         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27852         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27853         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27854           Make debugging actually useful.
27855
27856 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27857
27858         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27859         (gst_pad_fixate_caps):
27860           Implement default fixation once again, so that gst_pad_fixate()
27861           actually does anything at all. This probably needs to be some
27862           sort of a last resort, and use profile-based fixation first, but
27863           since that doesn't exist yet, this is the best we have. Fixes
27864           visualization in Totem.
27865
27866 2005-07-22  Wim Taymans  <wim@fluendo.com>
27867
27868         * docs/design/part-events.txt:
27869         Small update.
27870
27871         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27872         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27873         (gst_base_sink_activate_pull):
27874         Some more comments.
27875
27876         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27877         (gst_fake_src_create):
27878         Fix handoff marshall.
27879
27880         * gst/elements/gstidentity.c: (gst_identity_class_init),
27881         (gst_identity_transform_ip):
27882         We're a real inplace element.
27883
27884         * gst/gstbus.c: (gst_bus_post):
27885         Added some comments.
27886
27887         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27888         * tests/muxing/case1.c: (main):
27889         * tests/sched/dynamic-pipeline.c: (main):
27890         * tests/sched/interrupt1.c: (main):
27891         * tests/sched/interrupt2.c: (main):
27892         * tests/sched/interrupt3.c: (main):
27893         * tests/sched/runxml.c: (main):
27894         * tests/sched/sched-stress.c: (main):
27895         * tests/seeking/seeking1.c: (event_received), (main):
27896         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27897         (main):
27898         * tests/threadstate/threadstate3.c: (main):
27899         * tests/threadstate/threadstate4.c: (main):
27900         * tests/threadstate/threadstate5.c: (main):
27901         Fix the tests.
27902
27903 2005-07-21  Wim Taymans  <wim@fluendo.com>
27904
27905         * docs/design/part-seeking.txt:
27906         Some small additions.
27907
27908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27909         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27910         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27911         * gst/base/gstbasesink.h:
27912         discont values are gint64, handle the math correctly.
27913
27914         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27915         Make the basesrc report error if the source pad is not linked.
27916
27917         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27918         (gst_queue_loop), (gst_queue_handle_src_query),
27919         (gst_queue_src_activate_push):
27920         Make queue collect data even if the srcpad is not linked.
27921         Start pushing out data as soon as it is linked.
27922
27923         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27924         * gst/gstutils.h:
27925         Added gst_flow_get_name() to ease error reporting.
27926
27927 2005-07-20  Wim Taymans  <wim@fluendo.com>
27928
27929         * gst/gstmessage.c: (gst_message_new_segment_start),
27930         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27931         (gst_message_parse_segment_done):
27932         * gst/gstmessage.h:
27933         Added a bunch of messages for advanced seeking.
27934
27935         * gst/parse/grammar.y:
27936         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27937         (gst_dpman_state_changed):
27938         Fix some new-pad -> pad-added signals
27939
27940 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27941
27942         * docs/manual/appendix-porting.xml:
27943         * docs/pwg/appendix-porting.xml:
27944           Document new-pad/state-change signal renames and the FixedList
27945           type rename.
27946
27947 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27948
27949         * docs/manual/advanced-autoplugging.xml:
27950         * docs/manual/basics-helloworld.xml:
27951         * docs/manual/basics-pads.xml:
27952         * docs/random/ds/0.9-suggested-changes:
27953         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27954         * gst/gstelement.h:
27955         * gst/gstevent.h:
27956         * gst/gstformat.h:
27957         * gst/gstquery.h:
27958         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27959         (gst_structure_parse_array), (gst_structure_parse_value):
27960         * gst/gstvalue.c: (gst_type_is_fixed),
27961         (gst_value_list_prepend_value), (gst_value_list_append_value),
27962         (gst_value_list_get_size), (gst_value_list_get_value),
27963         (gst_value_transform_array_string), (gst_value_serialize_array),
27964         (gst_value_deserialize_array), (gst_value_intersect_array),
27965         (gst_value_is_fixed), (_gst_value_initialize):
27966         * gst/gstvalue.h:
27967           GstElement::new-pad -> pad-added, GstElement::state-change ->
27968           state-changed, GstValueFixedList -> GstValueArray, add format and
27969           flags as their own arguments in gst_element_seek() (should improve
27970           "bindeability"), remove function generators since they don't work
27971           under a whole bunch of compilers (they were deprecated already
27972           anyway).
27973
27974 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27975
27976         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27977         (_gst_debug_register_funcptr):
27978         * gst/gstinfo.h:
27979           Fix illegal cast on some platforms (#309253).
27980
27981 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27982
27983         * gst/gstmessage.c: (gst_message_new_custom):
27984         * gst/gstmessage.h:
27985           Add _new_custom, make _new_application a macro to _new_custom.
27986
27987 2005-07-20  Wim Taymans  <wim@fluendo.com>
27988
27989         * gst/base/gstbasesrc.c: (gst_base_src_init),
27990         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27991         * gst/base/gstbasesrc.h:
27992         Add a gboolean to decide when to push out a discont.
27993
27994         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27995         (gst_queue_loop), (gst_queue_handle_src_query),
27996         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27997         (gst_queue_set_property), (gst_queue_get_property):
27998         Some cleanups.
27999
28000         * tests/threadstate/threadstate1.c: (main):
28001         Make a thread test compile and run... very silly..
28002
28003
28004 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28005
28006         * docs/manual/appendix-porting.xml:
28007           Mention removal of libgstgconf-0.9.la and existence of gconf
28008           elements.
28009
28010 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28011
28012         * docs/pwg/advanced-clock.xml:
28013         * docs/pwg/appendix-porting.xml:
28014         * docs/pwg/intro-preface.xml:
28015         * docs/pwg/other-base.xml:
28016         * docs/pwg/other-manager.xml:
28017         * docs/pwg/other-nton.xml:
28018         * docs/pwg/other-ntoone.xml:
28019         * docs/pwg/other-oneton.xml:
28020         * docs/pwg/pwg.xml:
28021           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
28022           demuxer), remove n-to-n (was never written), fix some code examples
28023           and links and update the porting section to include all this.
28024
28025 2005-07-19  Wim Taymans  <wim@fluendo.com>
28026
28027         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
28028         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
28029         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
28030         (gst_queue_src_activate_push), (gst_queue_change_state),
28031         (gst_queue_get_property):
28032         * gst/gstqueue.h:
28033         Propagate GstFlowReturn more intelligently upstream and output
28034         an ERROR/EOS when streaming stopped due to fatal error.
28035
28036 2005-07-19  Wim Taymans  <wim@fluendo.com>
28037
28038         * tools/gst-launch.c: (check_intr), (event_loop), (main):
28039         Don't block forever for the state change to complete, the
28040         pipeline already did with a sensible timeout.
28041
28042 2005-07-19  Wim Taymans  <wim@fluendo.com>
28043
28044         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
28045         Make sure we never call the create function is we
28046         got deactivated.
28047
28048 2005-07-19  Andy Wingo  <wingo@pobox.com>
28049
28050         * gst/parse/parse.l: Attempt to solve bug #172815.
28051
28052 2005-07-19  Wim Taymans  <wim@fluendo.com>
28053
28054         * docs/design/part-clocks.txt:
28055         * docs/design/part-events.txt:
28056         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
28057         Small docs updates.
28058         Only update the seeking values when we are not
28059         busy streaming.
28060
28061 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28062
28063         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28064           Oops, ignore the result of gst_pad_push_event here.
28065
28066 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
28067
28068         * gst/base/gstbasesrc.c: (gst_base_src_loop),
28069         (gst_base_src_activate_push):
28070           Send discont event from the loop function, as pads
28071           aren't activated yet in the activate_push handler.
28072
28073         * gst/gstbin.c: (bin_bus_handler):
28074           Don't leak element name.
28075
28076 2005-07-18  Andy Wingo  <wingo@pobox.com>
28077
28078         * configure.ac: Use AS_LIBTOOL_TAGS.
28079
28080 2005-07-18  Wim Taymans  <wim@fluendo.com>
28081
28082         * docs/gst/gstreamer.types:
28083         Remove deleted types.
28084
28085 2005-07-18  Wim Taymans  <wim@fluendo.com>
28086
28087         * check/elements/gstfakesrc.c: (GST_START_TEST):
28088         * configure.ac:
28089         * gst/Makefile.am:
28090         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28091         (init_popt_callback):
28092         * gst/gst.h:
28093         * gst/gst_private.h:
28094         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28095         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28096         * gst/gstbin.h:
28097         * gst/gstbus.h:
28098         * gst/gstconfig.h.in:
28099         * gst/gstelement.c: (gst_element_class_init),
28100         (gst_element_set_base_time), (gst_element_get_base_time),
28101         (iterator_fold_with_resync), (gst_element_change_state),
28102         (gst_element_dispose), (gst_element_get_bus):
28103         * gst/gstelement.h:
28104         * gst/gstelementfactory.h:
28105         * gst/gsterror.c: (_gst_core_errors_init):
28106         * gst/gsterror.h:
28107         * gst/gstevent.h:
28108         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28109         * gst/gstindex.c:
28110         * gst/gstinfo.c: (_gst_debug_init):
28111         * gst/gstmessage.c: (_gst_message_copy):
28112         * gst/gstmessage.h:
28113         * gst/gstminiobject.h:
28114         * gst/gstobject.c:
28115         * gst/gstobject.h:
28116         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28117         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28118         * gst/gstpad.h:
28119         * gst/gstparse.h:
28120         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28121         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28122         (gst_pipeline_get_last_stream_time):
28123         * gst/gstpipeline.h:
28124         * gst/gstpluginfeature.h:
28125         * gst/gstquery.h:
28126         * gst/gstscheduler.c:
28127         * gst/gstscheduler.h:
28128         * gst/gststructure.h:
28129         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28130         (gst_task_finalize), (gst_task_func), (gst_task_create),
28131         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28132         (gst_task_stop), (gst_task_pause):
28133         * gst/gsttask.h:
28134         * gst/gsttypefind.h:
28135         * gst/gsttypes.h:
28136         * gst/registries/gstlibxmlregistry.c: (load_feature),
28137         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28138         * gst/registries/gstxmlregistry.c:
28139         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28140         * gst/schedulers/threadscheduler.c:
28141         * libs/gst/control/dparammanager.h:
28142         * tools/gst-inspect.c: (print_element_list),
28143         (print_plugin_features), (print_element_features):
28144         * tools/gst-xmlinspect.c: (print_element_list),
28145         (print_plugin_info), (main):
28146         Removed plugable schedulers.
28147         Removed Scheduler/Manager from elements.
28148         Removed gsttypes.h, rearranged includes.
28149         Removed dependency pad<->element, element<>pipeline, and
28150         various others,  fix includes.
28151         implement gst_pad_get_parent() with gst_object_get_parent()
28152         Make GstTask sefcontained.
28153         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28154         timeout.
28155         Fix endless loop in iterator_fold_with_resync.
28156
28157
28158 2005-07-18  Wim Taymans  <wim@fluendo.com>
28159
28160         * gst/Makefile.am:
28161         * gst/gstarch.h:
28162         Remove old file.
28163
28164 2005-07-18  Wim Taymans  <wim@fluendo.com>
28165
28166         * gst/Makefile.am:
28167         No more cothreads.h
28168
28169 2005-07-18  Wim Taymans  <wim@fluendo.com>
28170
28171         * gst/cothreads.c:
28172         * gst/cothreads.h:
28173         Let's remove these.
28174
28175 2005-07-18  Wim Taymans  <wim@fluendo.com>
28176
28177         * docs/design/part-dynamic.txt:
28178         * docs/design/part-events.txt:
28179         * docs/design/part-seeking.txt:
28180         Some more docs in the works.
28181
28182         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28183         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28184         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28185         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28186         (gst_base_transform_handle_buffer),
28187         (gst_base_transform_sink_activate_push),
28188         (gst_base_transform_src_activate_pull),
28189         (gst_base_transform_set_passthrough),
28190         (gst_base_transform_is_passthrough):
28191         Refcounting fixes.
28192
28193         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28194         Cleanups.
28195
28196         * gst/gstevent.c: (gst_event_finalize):
28197         Set SRC to NULL.
28198
28199         * gst/gstutils.c: (gst_element_unlink),
28200         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28201         (gst_pad_proxy_setcaps):
28202         * gst/gstutils.h:
28203         Add _get_parent_element() to get a pads parent as an element.
28204
28205 2005-07-18  Wim Taymans  <wim@fluendo.com>
28206
28207         * check/gst/gstbin.c: (GST_START_TEST):
28208         Remove bogus test.
28209
28210 2005-07-18  Wim Taymans  <wim@fluendo.com>
28211
28212         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28213         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28214         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28215         (gst_base_sink_event), (gst_base_sink_do_sync),
28216         (gst_base_sink_chain), (gst_base_sink_loop),
28217         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28218         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28219         Refcounting fixes.
28220         Fix logic for returning ASYNC when not prerolled.
28221
28222 2005-07-18  Wim Taymans  <wim@fluendo.com>
28223
28224         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28225         Fix nasty refcount bug.
28226
28227 2005-07-16 Philippe Khalaf <burger@speedy.org>
28228
28229         * gst/elements/gstfdsrc.c:
28230         * gst/elements/gstfdsrc.h:
28231         * gst/elements/gstelements.c:
28232         * gst/elements/Makefile.am:
28233         Ported fdsrc to 0.9.
28234
28235 2005-07-16  Wim Taymans  <wim@fluendo.com>
28236
28237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28238         (gst_base_sink_do_sync):
28239         Fix compile error.
28240
28241 2005-07-16  Wim Taymans  <wim@fluendo.com>
28242
28243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28244         (gst_base_sink_event), (gst_base_sink_get_times),
28245         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28246         * gst/base/gstbasesink.h:
28247         Store and use discont values when syncing buffers as described
28248         in design docs.
28249         
28250         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28251         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28252         (gst_base_src_activate_push):
28253         Push discont event when starting.
28254
28255         * gst/elements/gstidentity.c: (gst_identity_transform):
28256         Small cleanups.
28257
28258         * gst/gstbin.c: (gst_bin_change_state):
28259         Small cleanups in base_time  distribution.
28260
28261         * gst/gstelement.c: (gst_element_set_base_time),
28262         (gst_element_get_base_time), (gst_element_change_state):
28263         * gst/gstelement.h:
28264         Added methods for the base_time of the element.
28265         Some MT fixes.
28266
28267         * gst/gstpipeline.c: (gst_pipeline_send_event),
28268         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28269         (gst_pipeline_get_last_stream_time):
28270         * gst/gstpipeline.h:
28271         MT fixes.
28272         Handle seeking as described in design doc, remove stream_time
28273         hack.
28274         Cleanups clock and stream_time selection code. Added accessors
28275         for the stream_time.
28276         
28277
28278 2005-07-16  Andy Wingo  <wingo@pobox.com>
28279
28280         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28281         (#305291).
28282
28283 2005-07-16  Wim Taymans  <wim@fluendo.com>
28284
28285         * check/gst/gstbin.c: (GST_START_TEST):
28286         Make elements silent as the deep_notify refs the
28287         parent, which might make the test fail.
28288
28289         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28290         Don't hold the lock for too long.
28291
28292 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28293
28294         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28295           Don't unref the caps we passed to gst_caps_make_writable() after
28296           passing them. gst_caps_make_writable() will do that for us.
28297
28298 2005-07-15  Andy Wingo  <wingo@pobox.com>
28299
28300         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28301         (#157311).
28302
28303         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28304         own marshalling function for the handoff signal. Properly type the
28305         buffer as a buffer. Fixes some warnings. Should do a more general
28306         solution.
28307         (gst_identity_class_init): Plug into the right marshaller.
28308
28309 2005-07-15  Wim Taymans  <wim@fluendo.com>
28310
28311         * docs/design/part-TODO.txt:
28312         * docs/design/part-clocks.txt:
28313         * docs/design/part-element-sink.txt:
28314         * docs/design/part-events.txt:
28315         * docs/design/part-gstpipeline.txt:
28316         Updated docs, mostly DISCONT related.
28317
28318 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28319
28320         * docs/pwg/building-pads.xml:
28321           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28322
28323 2005-07-15  Andy Wingo  <wingo@pobox.com>
28324
28325         * tools/gst-typefind.c: Update, add copyright block.
28326
28327         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28328         Normalize and truncate caps before fixation.
28329
28330         * gst/gstcaps.h:
28331         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28332         discards all but the first structure from its argument.
28333
28334 2005-07-15  Wim Taymans  <wim@fluendo.com>
28335
28336         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28337         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28338         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28339         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28340         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28341         (gst_base_transform_chain), (gst_base_transform_change_state),
28342         (gst_base_transform_set_passthrough),
28343         (gst_base_transform_is_passthrough):
28344         * gst/base/gstbasetransform.h:
28345         Make passthrough work using the bufferpools.
28346         Changed API a bit, subclasses have to write into a buffer
28347         provided by the base class.
28348         More debug info in nego functions.
28349         
28350         * gst/elements/gstidentity.c: (gst_identity_init),
28351         (gst_identity_transform):
28352         Port to new base class.
28353
28354 2005-07-15  Wim Taymans  <wim@fluendo.com>
28355
28356         * gst/gstmessage.c: (gst_message_new_state_changed):
28357         * tools/gst-launch.c: (event_loop), (main):
28358         Totally dump messages in -launch with the -m option.
28359         Fix message name for State messages,
28360
28361 2005-07-14  Wim Taymans  <wim@fluendo.com>
28362
28363         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28364         Post error messages on errors.
28365
28366 2005-07-14  Wim Taymans  <wim@fluendo.com>
28367
28368         * gst/gstcaps.c: (gst_caps_do_simplify):
28369         Remove debug info.
28370
28371         * gst/gsterror.h:
28372         Define error for stream stopped.
28373
28374         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28375         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28376         Do proper return values.
28377
28378         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28379         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28380         (gst_pad_get_range):
28381         Better return values.
28382
28383         * gst/gstpad.h:
28384         Reorganise return values, add macro to check for fatal errors.
28385
28386         * gst/gstqueue.c: (gst_queue_chain):
28387         Return proper GstFlowReturn values,
28388
28389 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28390
28391         * docs/gst/gstreamer-sections.txt:
28392         * docs/gst/gstreamer.types:
28393         * docs/gst/tmpl/gst.sgml:
28394         * docs/gst/tmpl/gstbasesink.sgml:
28395         * docs/gst/tmpl/gstbasesrc.sgml:
28396         * docs/gst/tmpl/gstbasetransform.sgml:
28397         * docs/gst/tmpl/gstbin.sgml:
28398         * docs/gst/tmpl/gstbuffer.sgml:
28399         * docs/gst/tmpl/gstcaps.sgml:
28400         * docs/gst/tmpl/gstclock.sgml:
28401         * docs/gst/tmpl/gstcompat.sgml:
28402         * docs/gst/tmpl/gstconfig.sgml:
28403         * docs/gst/tmpl/gstelement.sgml:
28404         * docs/gst/tmpl/gstelementdetails.sgml:
28405         * docs/gst/tmpl/gstelementfactory.sgml:
28406         * docs/gst/tmpl/gstenumtypes.sgml:
28407         * docs/gst/tmpl/gsterror.sgml:
28408         * docs/gst/tmpl/gstevent.sgml:
28409         * docs/gst/tmpl/gstfakesink.sgml:
28410         * docs/gst/tmpl/gstfakesrc.sgml:
28411         * docs/gst/tmpl/gstfilesink.sgml:
28412         * docs/gst/tmpl/gstfilesrc.sgml:
28413         * docs/gst/tmpl/gstfilter.sgml:
28414         * docs/gst/tmpl/gstformat.sgml:
28415         * docs/gst/tmpl/gstghostpad.sgml:
28416         * docs/gst/tmpl/gstimplementsinterface.sgml:
28417         * docs/gst/tmpl/gstindex.sgml:
28418         * docs/gst/tmpl/gstindexfactory.sgml:
28419         * docs/gst/tmpl/gstinfo.sgml:
28420         * docs/gst/tmpl/gstiterator.sgml:
28421         * docs/gst/tmpl/gstmacros.sgml:
28422         * docs/gst/tmpl/gstmemchunk.sgml:
28423         * docs/gst/tmpl/gstminiobject.sgml:
28424         * docs/gst/tmpl/gstobject.sgml:
28425         * docs/gst/tmpl/gstpad.sgml:
28426         * docs/gst/tmpl/gstpadtemplate.sgml:
28427         * docs/gst/tmpl/gstparse.sgml:
28428         * docs/gst/tmpl/gstpipeline.sgml:
28429         * docs/gst/tmpl/gstplugin.sgml:
28430         * docs/gst/tmpl/gstpluginfeature.sgml:
28431         * docs/gst/tmpl/gstquery.sgml:
28432         * docs/gst/tmpl/gstqueue.sgml:
28433         * docs/gst/tmpl/gstregistry.sgml:
28434         * docs/gst/tmpl/gstregistrypool.sgml:
28435         * docs/gst/tmpl/gstscheduler.sgml:
28436         * docs/gst/tmpl/gstschedulerfactory.sgml:
28437         * docs/gst/tmpl/gststructure.sgml:
28438         * docs/gst/tmpl/gstsystemclock.sgml:
28439         * docs/gst/tmpl/gsttaglist.sgml:
28440         * docs/gst/tmpl/gsttagsetter.sgml:
28441         * docs/gst/tmpl/gsttrace.sgml:
28442         * docs/gst/tmpl/gsttrashstack.sgml:
28443         * docs/gst/tmpl/gsttypefind.sgml:
28444         * docs/gst/tmpl/gsttypefindfactory.sgml:
28445         * docs/gst/tmpl/gsttypes.sgml:
28446         * docs/gst/tmpl/gsturihandler.sgml:
28447         * docs/gst/tmpl/gsturitype.sgml:
28448         * docs/gst/tmpl/gstutils.sgml:
28449         * docs/gst/tmpl/gstvalue.sgml:
28450         * docs/gst/tmpl/gstversion.sgml:
28451         * docs/gst/tmpl/gstxml.sgml:
28452         * docs/libs/tmpl/gstcontrol.sgml:
28453         * docs/libs/tmpl/gstdataprotocol.sgml:
28454         * docs/libs/tmpl/gstdparam.sgml:
28455         * docs/libs/tmpl/gstdplinint.sgml:
28456         * docs/libs/tmpl/gstdpman.sgml:
28457         * docs/libs/tmpl/gstdpsmooth.sgml:
28458         * docs/libs/tmpl/gstgetbits.sgml:
28459         * docs/libs/tmpl/gstunitconvert.sgml:
28460         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28461         (gst_push_src_base_init), (gst_push_src_class_init),
28462         (gst_push_src_init), (gst_push_src_create):
28463         * gst/base/gstpushsrc.h:
28464         * gst/elements/gstelements.c:
28465         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28466         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28467         (gst_fake_sink_init), (gst_fake_sink_set_property),
28468         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28469         (gst_fake_sink_event), (gst_fake_sink_preroll),
28470         (gst_fake_sink_render), (gst_fake_sink_change_state):
28471         * gst/elements/gstfakesink.h:
28472         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28473         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28474         (gst_fake_src_base_init), (gst_fake_src_class_init),
28475         (gst_fake_src_init), (gst_fake_src_event_handler),
28476         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28477         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28478         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28479         (gst_fake_src_create_buffer), (gst_fake_src_create),
28480         (gst_fake_src_start), (gst_fake_src_stop):
28481         * gst/elements/gstfakesrc.h:
28482         * gst/elements/gstfilesink.c: (_do_init),
28483         (gst_file_sink_base_init), (gst_file_sink_class_init),
28484         (gst_file_sink_init), (gst_file_sink_dispose),
28485         (gst_file_sink_set_location), (gst_file_sink_set_property),
28486         (gst_file_sink_get_property), (gst_file_sink_open_file),
28487         (gst_file_sink_close_file), (gst_file_sink_query),
28488         (gst_file_sink_event), (gst_file_sink_render),
28489         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28490         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28491         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28492         * gst/elements/gstfilesink.h:
28493         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28494         (gst_file_src_class_init), (gst_file_src_init),
28495         (gst_file_src_finalize), (gst_file_src_set_location),
28496         (gst_file_src_set_property), (gst_file_src_get_property),
28497         (gst_file_src_map_region), (gst_file_src_map_small_region),
28498         (gst_file_src_create_mmap), (gst_file_src_create_read),
28499         (gst_file_src_create), (gst_file_src_is_seekable),
28500         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28501         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28502         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28503         (gst_file_src_uri_handler_init):
28504         * gst/elements/gstfilesrc.h:
28505           more autistic cleanliness in functions/names/defines
28506
28507 2005-07-13  Andy Wingo  <wingo@pobox.com>
28508
28509         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28510         source couldn't negotiate.
28511
28512         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28513         connections again.
28514
28515         * gst/gstutils.h:
28516         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28517         function. I am channeling Hades. Put your boots on suckers!!!
28518
28519 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28520
28521         * testsuite/caps/Makefile.am:
28522         * testsuite/caps/value_compare.c:
28523         * testsuite/caps/value_intersect.c:
28524         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28525           move two testsuite apps over to the check dir
28526
28527 2005-07-12  Wim Taymans  <wim@fluendo.com>
28528
28529         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28530         Added more debug info in the negotiate process.
28531
28532         * gst/gstmessage.h:
28533         Prepare for segment playback.
28534
28535         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28536         Better debugging.
28537
28538         * gst/gstutils.c:
28539         Some more docs.
28540
28541         * tools/gst-launch.c: (main):
28542         NULL pipeline on errors.
28543
28544 2005-07-12  Andy Wingo  <wingo@pobox.com>
28545
28546         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28547         not it comes from a malloc region. Make sure our copy gets freed.
28548
28549 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28550
28551         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28552         * check/gst/gstmessage.c: (GST_START_TEST):
28553         * check/gst/gststructure.c: (GST_START_TEST),
28554         (gst_structure_suite), (main):
28555           more testing
28556         * gst/gstelement.c: (gst_element_message_full):
28557           clean up GError and debug string now that they get copied
28558         * gst/gstmessage.c: (gst_message_new_error),
28559         (gst_message_new_warning), (gst_message_parse_error),
28560         (gst_message_parse_warning):
28561           use GST_TYPE_G_ERROR for structure_new, and take copies of
28562           arguments, so that we don't mess up refcounting
28563
28564 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28565
28566         * check/Makefile.am:
28567           add per-test valgrind targets
28568         * check/gst-libs/gdp.c: (GST_START_TEST),
28569         (gst_data_protocol_suite), (main):
28570           clean up
28571
28572 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28573
28574         * check/Makefile.am:
28575           instate more valgrindable tests
28576         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28577         (GST_START_TEST), (fakesrc_suite):
28578         * check/gst/gstpad.c: (GST_START_TEST):
28579         * check/gst/gststructure.c: (GST_START_TEST):
28580           fix test leaks
28581         * docs/gst/tmpl/gstminiobject.sgml:
28582         * gst/gstpad.c: (gst_pad_finalize):
28583           fix the static mutex leak
28584
28585 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28586
28587         * check/Makefile.am:
28588           add two more tests for valgrinding
28589         * check/gst/gstvalue.c: (GST_START_TEST):
28590           test refcount of deserialized buffer, found a leak
28591         * docs/gst/gstreamer-docs.sgml:
28592         * docs/gst/gstreamer-sections.txt:
28593         * docs/gst/gstreamer.types:
28594         * docs/gst/tmpl/gstminiobject.sgml:
28595           add miniobject to docs
28596         * gst/gstminiobject.c:
28597           add some docs
28598         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28599         (gst_string_unwrap):
28600           fix a hard-to-find invalid write for one of the tests
28601           fix a leak for deserialized buffers
28602
28603 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28604
28605         * docs/pwg/advanced-events.xml:
28606         * docs/pwg/advanced-request.xml:
28607         * docs/pwg/advanced-scheduling.xml:
28608         * docs/pwg/appendix-porting.xml:
28609         * docs/pwg/building-boiler.xml:
28610         * docs/pwg/intro-preface.xml:
28611         * docs/pwg/other-ntoone.xml:
28612           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28613           of example code and explanation for pad activation, loop() and
28614           getrange() functions and a bit more. Remove old comments pointing
28615           to loop-functions.
28616         * examples/pwg/Makefile.am:
28617           Add loop/getrange examples.
28618
28619 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28620
28621         * configure.ac:
28622           check for valgrind binary + some fixes
28623         * check/gst.supp:
28624           valgrind suppressions for the tests
28625         * check/Makefile.am:
28626           add a valgrind: target that valgrinds the unit tests
28627         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28628         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28629         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28630         * check/gst/gstghostpad.c:
28631           added some cleanup
28632         * check/gst/gstdata.c:
28633           removed
28634         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28635         (thread_unref), (gst_mini_object_suite), (main):
28636           added
28637         * gst/gst.c: (gst_deinit):
28638         * gst/gst.h:
28639           add a method to clean up.
28640         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28641         (gst_system_clock_obtain):
28642           allow for disposing the system clock.
28643         * tools/gst-launch.c: (main):
28644           deinit
28645
28646 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28647
28648         * docs/gst/tmpl/gstbasesrc.sgml:
28649         * docs/gst/tmpl/gstfakesrc.sgml:
28650         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28651         (gst_base_src_init), (gst_base_src_set_property),
28652         (gst_base_src_get_property), (gst_base_src_get_range),
28653         (gst_base_src_start):
28654         * gst/base/gstbasesrc.h:
28655           add num-buffers property
28656         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28657         (gst_fakesrc_init), (gst_fakesrc_set_property),
28658         (gst_fakesrc_get_property), (gst_fakesrc_create),
28659         (gst_fakesrc_start):
28660           remove num-buffers property
28661
28662 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28663
28664         * docs/gst/gstreamer-sections.txt:
28665         * docs/gst/tmpl/gstbasesink.sgml:
28666         * docs/gst/tmpl/gstbasesrc.sgml:
28667         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28668         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28669         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28670         (gst_base_sink_set_property), (gst_base_sink_get_property),
28671         (gst_base_sink_handle_object), (gst_base_sink_event),
28672         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28673         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28674         (gst_base_sink_loop), (gst_base_sink_deactivate),
28675         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28676         (gst_base_sink_change_state):
28677         * gst/base/gstbasesink.h:
28678         * gst/base/gstbasesrc.h:
28679         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28680         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28681         (gst_filesink_init):
28682           more macro splitting
28683
28684 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28685
28686         * gst/gstelement.c: (gst_element_get_bus):
28687           add debug
28688         * tools/gst-launch.c: (check_intr), (event_loop):
28689           fix bus leaks
28690
28691 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28692
28693         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28694           fix a caps leak
28695
28696 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28697
28698         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28699         (gst_base_src_finalize):
28700           add finalize method and clean up properly
28701         * gst/gstpipeline.c: (gst_pipeline_dispose):
28702           add debug
28703
28704 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28705
28706         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28707         (gst_bin_suite):
28708           add more things to check
28709         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28710         * gst/gstelement.c:
28711           more debug
28712
28713 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28714
28715         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28716         (GST_START_TEST), (fakesrc_suite):
28717         * check/gst-libs/gdp.c: (GST_START_TEST):
28718         * check/gst/gst.c: (GST_START_TEST):
28719         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28720         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28721         * check/gst/gstbus.c: (GST_START_TEST):
28722         * check/gst/gstcaps.c: (GST_START_TEST):
28723         * check/gst/gstdata.c: (GST_START_TEST):
28724         * check/gst/gstelement.c: (GST_START_TEST):
28725         * check/gst/gstghostpad.c: (GST_START_TEST):
28726         * check/gst/gstiterator.c: (GST_START_TEST):
28727         * check/gst/gstmessage.c: (GST_START_TEST):
28728         * check/gst/gstobject.c: (GST_START_TEST):
28729         * check/gst/gstpad.c: (GST_START_TEST):
28730         * check/gst/gststructure.c: (GST_START_TEST):
28731         * check/gst/gstsystemclock.c: (GST_START_TEST),
28732         (gst_systemclock_suite):
28733         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28734         * check/gst/gstvalue.c: (GST_START_TEST):
28735         * check/pipelines/cleanup.c: (GST_START_TEST):
28736         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28737         * check/states/sinks.c: (GST_START_TEST):
28738         * check/gstcheck.c: (gst_check_init):
28739         * check/gstcheck.h:
28740           add debugging category
28741           use GST_START_TEST now, so we add a debug line
28742
28743 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28744
28745         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28746           add test for state change message on a bin
28747         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28748           add another test
28749         * gst/gstbin.c: (gst_bin_init):
28750         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28751         * gst/gstelement.c: (gst_element_post_message),
28752         (gst_element_set_state):
28753         * gst/gstelementfactory.c: (gst_element_factory_create):
28754         * gst/gstmessage.c: (gst_message_new):
28755         * gst/gstscheduler.c:
28756           various debugging additions and cleanups
28757
28758 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28759
28760         * check/Makefile.am:
28761         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28762         (main):
28763           adding tests for elements
28764         * gst/gstelement.c: (gst_element_dispose):
28765
28766 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28767
28768         * gst/registries/gstlibxmlregistry.c: (load_feature):
28769           plug more leaks.  A simple gst_init() now is leakfree, yay.
28770
28771 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28772
28773         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28774         (gst_xml_registry_load):
28775           plug another memleak
28776
28777 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28778
28779         * configure.ac:
28780           use GST_SET_ERROR_CFLAGS
28781         * docs/faq/cvs.xml:
28782           change to ERROR_CFLAGS
28783
28784 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28785
28786         * configure.ac:
28787           make GST_ERROR_CFLAGS overridable and re-enable Werror
28788         * docs/faq/cvs.xml:
28789           add a note about error CFLAGS
28790         * docs/gst/tmpl/gstfakesrc.sgml:
28791         * gst/elements/gstfakesrc.c:
28792           comment out some unused code
28793         * gst/gst.c: (split_and_iterate):
28794         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28795         (load_feature):
28796           plug some memleaks
28797
28798 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28799
28800         * common/Makefile.am:
28801         * common/gtk-doc.mak:
28802         * docs/gst/Makefile.am:
28803           factor out gtk-doc.mak
28804
28805 2005-07-07  Wim Taymans  <wim@fluendo.com>
28806
28807         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28808         (gst_thread_scheduler_dispose):
28809         Unlock the STREAM_LOCK completely.
28810
28811 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28812
28813         * check/Makefile.am:
28814         * check/elements/.cvsignore:
28815         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28816         (START_TEST), (fakesrc_suite), (main):
28817         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28818         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28819         (gst_fakesrc_create), (gst_fakesrc_start):
28820         * gst/elements/gstfakesrc.h:
28821           adding a first element test
28822
28823 2005-07-07  Andy Wingo  <wingo@pobox.com>
28824
28825         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28826         debug message.
28827
28828 2005-07-07  Wim Taymans  <wim@fluendo.com>
28829
28830         * gst/gstquery.c:
28831         * gst/gstquery.h:
28832         Remove old types
28833
28834 2005-07-07  Wim Taymans  <wim@fluendo.com>
28835
28836         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28837         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28838         Allow subclasses to implement their own negotiation.
28839
28840 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28841
28842         * docs/design/part-gstbin.txt:
28843         * docs/design/part-gstpipeline.txt:
28844           Update design notes to reflect the movement of
28845           responsibility for bus handling from GstPipeline to
28846           GstBin
28847
28848 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28849
28850         * configure.ac:
28851           Remove unnecessary queue2/3/4 examples.
28852
28853 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28854
28855         * examples/Makefile.am:
28856         * examples/helloworld/helloworld.c: (event_loop), (main):
28857         * examples/queue/queue.c: (event_loop), (main):
28858         * examples/queue2/queue2.c: (main):
28859           Update a couple of the examples to work again.
28860
28861         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28862         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28863          Spelling corrections and extra debug.
28864         
28865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28866         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28867         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28868         * gst/gstbin.h:
28869         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28870         (gst_pipeline_change_state):
28871         * gst/gstpipeline.h:
28872           Move the bus handler for children to the GstBin, and create a
28873           separate bus for receiving messages from children to the one the
28874           bus sends 'upwards' on.
28875
28876 2005-07-06  Wim Taymans  <wim@fluendo.com>
28877
28878         * gst/base/README:
28879         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28880         (gst_base_sink_handle_object), (gst_base_sink_loop),
28881         (gst_base_sink_change_state):
28882         * gst/base/gstbasesink.h:
28883         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28884         (gst_base_src_init), (gst_base_src_setcaps),
28885         (gst_base_src_getcaps), (gst_base_src_loop),
28886         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28887         (gst_base_src_start), (gst_base_src_change_state):
28888         * gst/base/gstbasesrc.h:
28889         Make basesrc negotiate.
28890         Handle the case where preroll fails in basesink.
28891         Update README.
28892
28893 2005-07-06  Wim Taymans  <wim@fluendo.com>
28894
28895         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28896         Implement the fixate function.
28897         Clean up acceptcaps.
28898
28899 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28900
28901         * docs/pwg/building-filterfactory.xml:
28902         * docs/pwg/pwg.xml:
28903           Remove never-written filter-factory chapter; I'll add the various
28904           base classes to part 4 ("other element types") later on.
28905
28906 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28907
28908         * docs/pwg/advanced-negotiation.xml:
28909         * docs/pwg/building-boiler.xml:
28910         * docs/pwg/building-pads.xml:
28911         * docs/pwg/pwg.xml:
28912         * examples/pwg/Makefile.am:
28913           Add a chapter on caps negotiation, simplify the original code
28914           samples a bit w.r.t. caps negotiation, add link to the advanced
28915           section. Add a bunch of examples showing different use cases of
28916           different types of caps negotiation. Upstream renegotiation isn't
28917           fully documented yet since nobody knows how that works.
28918
28919 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28920
28921         * check/gst/gstpad.c:
28922         * check/gstcheck.c:
28923         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28924           if pad has no parent, return NULL as list of internal links
28925
28926 2005-07-05  Andy Wingo  <wingo@pobox.com>
28927
28928         * gst/elements/gstfilesrc.c:
28929         * gst/elements/gstfakesrc.c: 
28930         * gst/base/gstpushsrc.c:
28931         * gst/base/gstbasesrc.h: 
28932         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28933         
28934 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28935
28936         * Makefile.am:
28937           better report generation target (lcov needs a patch)
28938
28939 2005-07-05  Andy Wingo  <wingo@pobox.com>
28940
28941         * gst/elements, testsuite: Null if we got it...
28942
28943 2005-07-05  Wim Taymans  <wim@fluendo.com>
28944
28945         * configure.ac:
28946         * libs/gst/dataprotocol/Makefile.am:
28947         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28948         * libs/gst/dataprotocol/dataprotocol.h:
28949         * pkgconfig/Makefile.am:
28950         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28951         * pkgconfig/gstreamer-dataprotocol.pc.in:
28952         Ported dataprotol to 0.9. 
28953         Added pkgconfig files.
28954
28955 2005-07-05  Andy Wingo  <wingo@pobox.com>
28956
28957         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28958         Default to returning TRUE for the case when tranform_caps returns
28959         a fixed caps, like for identity or volume.
28960
28961         * check/gst/gstbus.c (pound_bus_with_messages): 
28962         * check/gst/gstmessage.c (START_TEST): 
28963         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28964         message API change.
28965
28966         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28967         logic weaks here: always run transform_caps, trying passthrough
28968         operation only if the original caps intersects with the transform.
28969
28970         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28971         source and sink caps.
28972
28973         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28974         Intersect the peer caps with the pad template before going into
28975         transform_caps.
28976         (gst_base_transform_transform_caps): More debugging.
28977
28978         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28979         src argument.
28980
28981 2005-07-04  Edward Hervey  <edward@fluendo.com>
28982
28983         * gst/gstutils.c:
28984         * gst/gstutils.h:
28985         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28986         in bindings.
28987
28988 2005-07-04  Andy Wingo  <wingo@pobox.com>
28989
28990         * check/gst/gstpad.c: Only set explicit caps on pads.
28991
28992 2005-07-01  Andy Wingo  <wingo@pobox.com>
28993
28994         * tests/network-clock.scm: Commentary update.
28995
28996         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28997         Didn't really make sense, not implementable with basetransform,
28998         etc.
28999         (gst_identity_transform): Unref inbuf via make_writable. Feeble
29000         attempt at implementing the sync property, needs an unlock method.
29001
29002         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
29003         New func, by default returns the same caps (the identity
29004         transformation).
29005         (gst_base_transform_getcaps): Uses transform_caps to return
29006         something sensible.
29007         (gst_base_transform_setcaps): Complicated logic to get caps on
29008         both pads, even if they are different, and to call set_caps once
29009         for every time both pads get their caps set.
29010         (gst_base_transform_handle_buffer): Give the ref to the transform
29011         function. Allows in-place modification of the buffer.
29012
29013         * gst/base/gstbasetransform.h (transform_caps): New class method.
29014         Given caps on one side, what can I do on the other.
29015         (set_caps): Take two caps, one for each side of the element.
29016
29017         * gst/gstpad.h:
29018         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
29019         caps in place. This is safe because we can check the mutability of
29020         the caps, and a good idea because fixate functions are just called
29021         as a matter of last resort. (Not actually implemented.)
29022         (gst_pad_set_caps): If the caps we're setting is actually the same
29023         as the existing pad caps, just update the pointer without calling
29024         setcaps. Assert that caps is either NULL or fixed, as per the
29025         docs.
29026
29027         * gst/gstghostpad.c: Update for fixate changes.
29028
29029 2005-07-02  Andy Wingo  <wingo@pobox.com>
29030
29031         * gst/gstcaps.c:
29032         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
29033         two refcounts makes it immutable, which is enough. Doc more.
29034
29035 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
29036
29037         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
29038           Put the mini_object into GValue as a mini_object,
29039           not a gpointer, since that's how we declared
29040           the signal.
29041
29042 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29043
29044         * examples/pwg/Makefile.am:
29045           Fix buildbot again.
29046
29047 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29048
29049         * docs/pwg/building-testapp.xml:
29050           Add extra check.
29051         * examples/pwg/Makefile.am:
29052           Fix buildbot.
29053
29054 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29055
29056         * configure.ac:
29057         * examples/Makefile.am:
29058         * examples/pwg/Makefile.am:
29059         * examples/pwg/extract.pl:
29060           Enable building the PWG examples.
29061         * docs/pwg/advanced-interfaces.xml:
29062           Add URI interface stub.
29063         * docs/pwg/advanced-types.xml:
29064         * docs/pwg/other-autoplugger.xml:
29065         * docs/pwg/appendix-porting.xml:
29066         * docs/pwg/pwg.xml:
29067           Add porting guide (mostly stubs), remove autoplugging (see ADM).
29068         * docs/pwg/building-boiler.xml:
29069         * docs/pwg/building-chainfn.xml:
29070         * docs/pwg/building-pads.xml:
29071         * docs/pwg/building-props.xml:
29072         * docs/pwg/building-state.xml:
29073         * docs/pwg/building-testapp.xml:
29074           Update the building-*.xml parts for 0.9 changes. All examples
29075           code blocks compile in examples/pwg/*.
29076
29077 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29078
29079         * docs/manual/advanced-autoplugging.xml:
29080         * docs/manual/appendix-checklist.xml:
29081         * docs/manual/appendix-integration.xml:
29082         * docs/manual/highlevel-components.xml:
29083           Fix playbin/decodebin examples, update docs a bit, mention bus
29084           instead of signals in various places, mention kmplayer and
29085           kaffeine since they have a working GStreamer backend in the KDE
29086           section.
29087
29088 2005-06-30  Wim Taymans  <wim@fluendo.com>
29089
29090         * CHANGES-0.9:
29091         * docs/design/draft-ghostpads.txt:
29092         * docs/design/draft-push-pull.txt:
29093         * docs/design/draft-query.txt:
29094         * docs/design/part-TODO.txt:
29095         * docs/design/part-query.txt:
29096         Added CHANGES-0.9 doc, updated status of other docs.
29097         
29098         * gst/gstquery.h:
29099         Remove "hmm" macro
29100
29101 2005-06-30  Wim Taymans  <wim@fluendo.com>
29102
29103         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29104         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29105         (gst_base_sink_change_state):
29106         * gst/base/gstbasesink.h:
29107         Some tweaks, only EOS and a buffer complete a preroll.
29108
29109 2005-06-30  Andy Wingo  <wingo@pobox.com>
29110
29111         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29112         activate_push down to the internal pad as well.
29113
29114 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29115
29116         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29117
29118         * gst/gsttaginterface.c:
29119           Some documentation fixes (#307394 and #307397).
29120
29121 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29122
29123         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29124
29125         * gst/gstvalue.c: (gst_value_intersect_list):
29126           Fix memleak (#309125).
29127
29128 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29129
29130         * docs/manual/advanced-dataaccess.xml:
29131           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29132         * docs/manual/basics-pads.xml:
29133           Add reference for filtered caps to above chapter.
29134
29135 2005-06-30  Wim Taymans  <wim@fluendo.com>
29136
29137         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29138         (gst_bin_change_state):
29139         Probes are gone.
29140         Lame attempt at making the state change function a bit
29141         more readable.
29142
29143 2005-06-30  Wim Taymans  <wim@fluendo.com>
29144
29145         * docs/design/part-clocks.txt:
29146         * docs/design/part-element-sink.txt:
29147         * docs/design/part-events.txt:
29148         * docs/design/part-preroll.txt:
29149         * docs/design/part-states.txt:
29150         Some more tweeks and additions to the docs.
29151
29152 2005-06-30  Wim Taymans  <wim@fluendo.com>
29153
29154         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29155         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29156         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29157         (gst_pad_check_pull_range), (gst_pad_get_range),
29158         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29159         * gst/gstpad.h:
29160         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29161         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29162         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29163         (gst_pad_remove_buffer_probe):
29164         Removed atomic operations, use existing LOCK.
29165         Move exception handling out of main code path.
29166
29167 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29168
29169         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29170         (silly_return_true_function), (gst_pad_class_init),
29171         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29172         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29173         (gst_pad_send_event):
29174           Fix accumulator, add default value by using _emitv() instead
29175           of _emit() for signal emission.
29176
29177 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29178
29179         * docs/manual/advanced-dataaccess.xml:
29180         * examples/manual/Makefile.am:
29181           Add probe example.
29182         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29183           Make work (??).
29184
29185 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29186
29187         * gst/elements/gstfilesink.c: (gst_filesink_render):
29188           Simplify code so that we don't have to handle short
29189           writes and return GST_FLOW_ERROR if an error occured.
29190
29191 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29192
29193         * docs/gst/gstreamer-docs.sgml:
29194           Remove probes more.
29195
29196 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29197
29198         * docs/gst/gstreamer-sections.txt:
29199         * docs/gst/tmpl/gstpad.sgml:
29200         * docs/gst/tmpl/gstprobe.sgml:
29201         * gst/Makefile.am:
29202         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29203         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29204         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29205         (gst_pad_push_event), (gst_pad_send_event):
29206         * gst/gstpad.h:
29207         * gst/gstutils.c: (gst_pad_add_data_probe),
29208         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29209         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29210         (gst_pad_remove_buffer_probe):
29211         * gst/gstutils.h:
29212           Remove old probes, add new g-signal-based probes and some utility
29213           functions.
29214
29215 2005-06-29  Edward Hervey  <edward@fluendo.com>
29216
29217         * gst/gstelementfactory.c:
29218         * gst/gstutils.h:
29219         * gst/gstutils.c:
29220         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29221         the definition to the header file.
29222
29223 2005-06-29  Andy Wingo  <wingo@pobox.com>
29224
29225         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29226         plugins from the source directory.
29227
29228 2005-06-29  Wim Taymans  <wim@fluendo.com>
29229
29230         * docs/gst/tmpl/gstbuffer.sgml:
29231         * docs/gst/tmpl/gstclock.sgml:
29232         Some fixings for blantently wrong text.
29233
29234 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29235
29236         * check/Makefile.am:
29237         * gst/gst.c: (add_path_func), (init_pre):
29238         * gst/gstregistry.c: (gst_registry_add_path):
29239           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29240           only scan the GST_PLUGIN_PATH locations, and not add
29241           system locations
29242
29243 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29244
29245         * docs/gst/gstreamer-sections.txt:
29246         * docs/gst/tmpl/gstbasesrc.sgml:
29247         * gst/gstelement.c:
29248         * gst/gstelement.h:
29249         * gst/gstevent.c:
29250         * gst/gstutils.c:
29251           doc fixes
29252
29253 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29254
29255         * docs/manual/advanced-autoplugging.xml:
29256           Fix autoplugging example.
29257
29258 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29259
29260         * docs/manual/advanced-autoplugging.xml:
29261         * docs/manual/mime-world.fig:
29262           Try to get autoplugging working, fix type detection. Fix text
29263           in hello-world image.
29264
29265 2005-06-29  Wim Taymans  <wim@fluendo.com>
29266
29267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29268         (gst_base_sink_change_state):
29269         Small debug line.
29270
29271         * gst/gstclock.h:
29272         map SIGNAL and BROADCAST to the right function.
29273
29274         * gst/gstobject.h:
29275         Remove redundant braces.
29276
29277         * gst/gstpad.c: (gst_pad_set_caps):
29278         Don't call setcaps function when reseting caps to NULL.
29279
29280         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29281         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29282         (gst_system_clock_id_unschedule):
29283         Use BROADCAST as this is what we do.
29284
29285 2005-06-29  Wim Taymans  <wim@fluendo.com>
29286
29287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29288         We are actually prerolling before commiting the state
29289         change. 
29290
29291 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29292
29293         * docs/manual/advanced-clocks.xml:
29294         * docs/manual/advanced-interfaces.xml:
29295         * docs/manual/advanced-metadata.xml:
29296         * docs/manual/advanced-position.xml:
29297         * docs/manual/advanced-schedulers.xml:
29298         * docs/manual/advanced-threads.xml:
29299         * docs/manual/appendix-porting.xml:
29300         * docs/manual/basics-bins.xml:
29301         * docs/manual/basics-bus.xml:
29302         * docs/manual/basics-elements.xml:
29303         * docs/manual/basics-helloworld.xml:
29304         * docs/manual/basics-pads.xml:
29305         * docs/manual/highlevel-components.xml:
29306         * docs/manual/manual.xml:
29307         * docs/manual/thread.fig:
29308           Update (until threads/scheduling) Application Development Manual;
29309           remove GstThread, add GstBus, add simple porting checklist, add
29310           documentation for tag writing, clocks, make all examples until this
29311           part compile and run.
29312         * examples/manual/Makefile.am:
29313           Update from changes to Application Development Manual; add bus
29314           example, remove thread example.
29315
29316 2005-06-28  Wim Taymans  <wim@fluendo.com>
29317
29318         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29319         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29320         (gst_bus_source_dispatch):
29321         Add debugging messages.
29322         Make internal methods static.
29323         Handle the case where the bus is flushed in the handler.
29324         
29325         * gst/gstelement.c: (gst_element_get_bus):
29326         Fix refcount in _get_bus();
29327
29328         * gst/gstpipeline.c: (gst_pipeline_change_state),
29329         (gst_pipeline_get_clock_func):
29330         Clock refcounting fixes.
29331         Handle the case where preroll timed out more gracefully.
29332         
29333         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29334         Clean up the internal thread in dispose. This is needed
29335         for subclasses that actually get disposed.
29336         
29337         * gst/schedulers/threadscheduler.c:
29338         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29339         (gst_thread_scheduler_dispose):
29340         Free thread pool in dispose.
29341
29342 2005-06-28  Andy Wingo  <wingo@pobox.com>
29343
29344         * tests/network-clock-utils.scm (debug, print-event): New utils.
29345
29346         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29347         (*packet-loss*): Unified loss probability.
29348         (network-time): Report out-of-band events.
29349
29350         * tests/plot-data: Add support for out-of-band events. Hack it
29351         into this script instead of passing it down the pipe; should fix
29352         this later.
29353
29354 2005-06-28  Wim Taymans  <wim@fluendo.com>
29355
29356         * docs/gst/gstreamer.types:
29357         * docs/gst/tmpl/gstbasesrc.sgml:
29358         * docs/gst/tmpl/gstpad.sgml:
29359         Docs fixes.
29360
29361 2005-06-28  Wim Taymans  <wim@fluendo.com>
29362
29363         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29364         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29365         (gst_proxy_pad_do_fixatecaps):
29366         Correctly proxy the check_pull_range function.
29367
29368 2005-06-28  Andy Wingo  <wingo@pobox.com>
29369
29370         * tests/network-clock.scm: Removed need for slib.
29371         
29372 2005-06-28  Wim Taymans  <wim@fluendo.com>
29373
29374         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29375         (gst_basesink_preroll_queue_flush):
29376         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29377         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29378         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29379         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29380         (gst_proxy_pad_set_property):
29381         * gst/gstpad.c:
29382         * gst/gstpad.h:
29383         * gst/gstqueue.c: (gst_queue_init):
29384         The deprecated pad loop function is removed now.
29385
29386 2005-06-28  Andy Wingo  <wingo@pobox.com>
29387
29388         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29389         New parameters, simulate network packet loss.
29390
29391         * tests/network-clock-utils.scm: Initialize the RNG.
29392
29393 2005-06-28  Wim Taymans  <wim@fluendo.com>
29394
29395         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29396         (gst_basesink_event), (gst_basesink_deactivate):
29397         Flushing the preroll queue always needs to unlock the waiters.
29398
29399 2005-06-28  Edward Hervey  <edward@fluendo.com>
29400
29401         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29402         Wheen a seek was successful on a pipeline, set the stream_time to the
29403         seek offset in order to have a synchronized stream_time.
29404
29405 2005-06-28  Wim Taymans  <wim@fluendo.com>
29406
29407         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29408         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29409         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29410         (gst_proxy_pad_do_fixatecaps):
29411         Call wrapper function instead of just calling the function
29412         pointers. This takes care of any locking and whatmore.
29413
29414 2005-06-28  Wim Taymans  <wim@fluendo.com>
29415
29416         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29417         (gst_pad_pull_range):
29418         * gst/gstpad.h:
29419         CONNECTED -> LINKED.
29420
29421 2005-06-28  Andy Wingo  <wingo@pobox.com>
29422
29423         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29424         source-munging commit!!!
29425
29426         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29427         (gst_object_sink): Take gpointer arguments, not GstObject --
29428         avoids casts. Like GLib.
29429
29430         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29431         activate.
29432
29433 2005-06-27  Andy Wingo  <wingo@pobox.com>
29434
29435         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29436         remaining buffer.
29437
29438         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29439         returns a sorted copy of the trace list.
29440         (gst_alloc_trace_print_live): New API, only prints traces with
29441         live objects. Sort the list.
29442         (gst_alloc_trace_print_all): Sort the list.
29443         (gst_alloc_trace_print): Align columns.
29444
29445         * gst/elements/gstttypefindelement.c:
29446         * gst/elements/gsttee.c:
29447         * gst/base/gstbasesrc.c:
29448         * gst/base/gstbasesink.c:
29449         * gst/base/gstbasetransform.c:
29450         * gst/gstqueue.c: Adapt for pad activation changes.
29451
29452         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29453         sched.
29454         (gst_pipeline_dispose): Drop ref on sched.
29455
29456         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29457         (gst_pad_activate_default): Push mode by default.
29458         (pre_activate_switch, post_activate_switch): New stubs, things to
29459         do before and after switching activation modes on pads.
29460         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29461         the pad's activate function to choose which mode to activate.
29462         Shortcut on deactivation and call the right function directly.
29463         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29464         mode.
29465         (gst_pad_activate_push): New API, same for push mode.
29466         (gst_pad_set_activate_function) 
29467         (gst_pad_set_activatepull_function) 
29468         (gst_pad_set_activatepush_function): Setters for new API.
29469
29470         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29471         Trace all miniobjects.
29472         (gst_mini_object_make_writable): Unref the arg if we copy, like
29473         gst_caps_make_writable.
29474
29475         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29476
29477         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29478         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29479         Adapt for new pad API.
29480
29481         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29482
29483         * gst/gstelement.h:
29484         * gst/gstelement.c (gst_element_iterate_src_pads) 
29485         (gst_element_iterate_sink_pads): New API functions.
29486         
29487         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29488         should fold into gstiterator.c in some form.
29489         (gst_element_pads_activate): Simplified via use of fold and
29490         delegation of decisions to gstpad->activate.
29491
29492         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29493         help in debugging.
29494
29495         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29496         class once in init, like gstmessage. Didn't run into this issue
29497         but it seems correct. Don't initialize a trace, gstminiobject does
29498         that.
29499
29500         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29501         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29502         to the bus.
29503         (assert_live_count): New util function, uses alloc traces to check
29504         cleanup.
29505
29506         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29507         To be modified when unlink drops the internal pad.
29508
29509 2005-06-27  Wim Taymans  <wim@fluendo.com>
29510
29511         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29512         (gst_bin_change_state):
29513         Cleanup the get_state() function a little, make sure it
29514         iterates the same set of elements.
29515         Added stub iterate_state_order().
29516
29517 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29518
29519         * docs/gst/gstreamer-docs.sgml:
29520         * docs/gst/gstreamer-sections.txt:
29521         * docs/gst/gstreamer.types:
29522         * docs/gst/tmpl/gstbasesink.sgml:
29523         * docs/gst/tmpl/gstbasesrc.sgml:
29524         * docs/gst/tmpl/gstbasetransform.sgml:
29525         * docs/gst/tmpl/gstelement.sgml:
29526         * docs/gst/tmpl/gstiterator.sgml:
29527         * gst/base/gstbasesrc.c:
29528         * gst/base/gstbasesrc.h:
29529         * gst/base/gstbasetransform.h:
29530         * gst/gstelement.c:
29531         * gst/gstiterator.h:
29532           adding basetransform and iterator docs
29533
29534 2005-06-27  Andy Wingo  <wingo@pobox.com>
29535
29536         * docs/design/part-activation.txt: Notes on how activation should
29537         work -- not quite implemented yet.
29538
29539 2005-06-25  Wim Taymans  <wim@fluendo.com>
29540
29541         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29542         At least get the chain function correct, needs more
29543         fixing.
29544
29545 2005-06-25  Wim Taymans  <wim@fluendo.com>
29546
29547         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29548         (gst_basesink_handle_object), (gst_basesink_event),
29549         (gst_basesink_do_sync), (gst_basesink_handle_event),
29550         (gst_basesink_change_state):
29551         * gst/gsttask.h:
29552         Right, two problems here: ghostpads don't take locks and
29553         glib _rec_mutex_lock_full() with depth==0 still locks.
29554         Catch illegal locking and g_warn them.
29555
29556 2005-06-25  Wim Taymans  <wim@fluendo.com>
29557
29558         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29559         Have to check for completion now...
29560
29561 2005-06-25  Wim Taymans  <wim@fluendo.com>
29562
29563         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29564         (gst_basesink_handle_object), (gst_basesink_event),
29565         (gst_basesink_do_sync), (gst_basesink_handle_event),
29566         (gst_basesink_change_state):
29567         * gst/gstpad.h:
29568         Unlock STREAM_LOCK whatever the recursion was.
29569
29570 2005-06-25  Wim Taymans  <wim@fluendo.com>
29571
29572         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29573         (gst_basesink_preroll_queue_empty),
29574         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29575         (gst_basesink_event), (gst_basesink_do_sync),
29576         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29577         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29578         (gst_basesink_change_state):
29579         Reworked the base sink, handle event and buffer serialisation
29580         correctly and removed possible deadlock.
29581         Handle EOS correctly.
29582
29583 2005-06-25  Wim Taymans  <wim@fluendo.com>
29584
29585         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29586         (gst_pipeline_change_state):
29587         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29588         Allow elements to post EOS in the state change function.
29589         Fix up -launch, make it exit the poll loop when the
29590         pipeline actually changed state.
29591         Fix up warning parsing in -launch.
29592
29593 2005-06-25  Wim Taymans  <wim@fluendo.com>
29594
29595         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29596         (gst_tee_sink_activate):
29597         Core takes STREAM_LOCK for us now.
29598
29599 2005-06-25  Wim Taymans  <wim@fluendo.com>
29600
29601         * gst/gstelement.c: (gst_element_get_state_func),
29602         (gst_element_set_state):
29603         * gst/gstelement.h:
29604         * gst/gstmessage.c: (gst_message_parse_error),
29605         (gst_message_parse_warning):
29606         Keep track of current target state while performing a state
29607         change so that subclasses can do something interesting.
29608         Fix parsing of warning/error messages when GError is NULL.
29609
29610 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29611
29612         * docs/gst/Makefile.am:
29613         * docs/gst/gstreamer-docs.sgml:
29614         * docs/gst/gstreamer-sections.txt:
29615         * docs/gst/gstreamer.types:
29616         * docs/gst/tmpl/gstbasesink.sgml:
29617         * docs/gst/tmpl/gstbasesrc.sgml:
29618         * docs/gst/tmpl/gstbin.sgml:
29619         * docs/gst/tmpl/gstcompat.sgml:
29620         * docs/gst/tmpl/gstfakesink.sgml:
29621         * docs/gst/tmpl/gstfakesrc.sgml:
29622         * docs/gst/tmpl/gstfilesink.sgml:
29623         * docs/gst/tmpl/gstfilesrc.sgml:
29624         * docs/gst/tmpl/gstindex.sgml:
29625         * docs/manual/appendix-quotes.xml:
29626         * gst/base/gstbasesrc.h:
29627         * gst/elements/gstfakesrc.h:
29628         * gst/gstmessage.h:
29629           start pulling in base classes and elements in our docs
29630
29631 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29632
29633         * docs/gst/Makefile.am:
29634         * docs/libs/Makefile.am:
29635           fixed make distcheck with gtk-doc 1.3
29636
29637 2005-06-23  Wim Taymans  <wim@fluendo.com>
29638
29639         * gst/gstelement.c: (gst_element_get_state_func),
29640         (gst_element_set_state), (gst_element_change_state):
29641         When the state did not change, also report NO_PREROLL
29642         when it matters.
29643
29644 2005-06-23  Wim Taymans  <wim@fluendo.com>
29645
29646         * gst/gstpad.c: (gst_pad_event_default):
29647         * gst/gstqueue.c: (gst_queue_loop):
29648         No unsafe task pausing please.
29649
29650 2005-06-23  Wim Taymans  <wim@fluendo.com>
29651
29652         * gst/schedulers/threadscheduler.c:
29653         (gst_thread_scheduler_task_start),
29654         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29655         Ref the task before pushing it on the threadpool. This
29656         makes sure that we have a ref when the threadfunction is
29657         actually called.
29658
29659 2005-06-23  Andy Wingo  <wingo@pobox.com>
29660
29661         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29662         offset is greater than the file's size.
29663
29664         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29665         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29666         * gst/gstobject.c (gst_object_class_init): Make the class lock
29667         recursive. Wim won't let me drop deep_notify. Decodebin works
29668         again, whoopdy doo.
29669
29670         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29671         internal pad, and hacks accordingly. Doesn't do it on the target
29672         pad because we change its caps. Probably catches all cases of
29673         interest tho.
29674         (gst_ghost_pad_set_property): Connect to notify::caps as
29675         appropritate.
29676
29677         * tests/network-clock.scm (plot-simulation): Pipe data to the
29678         elite python skript.
29679
29680         * tests/network-clock-utils.scm (define-parameter): New macro,
29681         defines a parameter that can be set via the command line.
29682         (set-parameter!, parse-parameter-arguments): Command line args
29683         parser.
29684
29685         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29686         stdin.
29687
29688 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29689
29690         * gst/elements/gsttypefindelement.c:
29691         (gst_type_find_element_handle_event):
29692           Don't restart typefinding on a discont.
29693         * gst/gstelement.c: (gst_element_set_state):
29694           Debug spelling fix.
29695         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29696           Allow changing mode of an active pad.
29697           Debug output fixes.
29698         * gst/registries/gstlibxmlregistry.c: (load_feature):
29699           Don't cast a static pad template to a normal pad template.
29700
29701 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29702
29703         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29704         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29705           remove gst_strtoll completely, since it didn't actually do
29706           anything more than what g_ascii_strtoull already does.
29707           check for range errors when deserializing
29708           do a cast for the unsigned cases; but further fixing needs
29709           a decision on what the interpretation of "(int)" and
29710           deserialization should be for values that fall outside the
29711           type's boundaries (ie, refuse, or interpret as casting)
29712
29713 2005-06-23  Wim Taymans  <wim@fluendo.com>
29714
29715         * check/Makefile.am:
29716         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29717         * docs/design/part-live-source.txt:
29718         * docs/design/part-states.txt:
29719         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29720         (gst_basesrc_set_live), (gst_basesrc_is_live),
29721         (gst_basesrc_get_range), (gst_basesrc_activate),
29722         (gst_basesrc_change_state):
29723         * gst/base/gstbasesrc.h:
29724         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29725         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29726         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29727         * gst/gstelement.c: (gst_element_get_state_func),
29728         (gst_element_set_state):
29729         * gst/gstelement.h:
29730         * gst/gsttypes.h:
29731         * tools/gst-launch.c: (event_loop), (main):
29732         Added support for live sources and other elements that
29733         cannot do preroll.
29734         Updated design docs, added live-source design doc.
29735         Implemented live source functionality in basesrc
29736         Fix error condition in _bin_get_state()
29737         Implement live source handling in -launch.
29738         Added check for live sources.
29739         Fixed case in GstBin where elements were changed state
29740         multiple times.
29741
29742
29743 2005-06-23  Andy Wingo  <wingo@pobox.com>
29744
29745         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29746         borken refcounting.
29747
29748         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29749         gst_caps_replace takes care of this for us.
29750
29751         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29752         gst_pad_set_caps on the target, not just its setcaps() function.
29753
29754         * tests/network-clock.scm: 
29755         * tests/network-clock-utils.scm: A network clock simulator.
29756         Something of an algorithmic testbed before doing something in C.
29757
29758 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29759
29760         * check/Makefile.am:
29761         * check/gst/capslist.h:
29762           copy over from 0.8, and add two with bitmasks specified with
29763           (int) 0xFF...
29764         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29765           add test to parse everything from capslist.h
29766         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29767         (main):
29768           add test for structure deserialization
29769         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29770           add tests for deserialization of strings to int types
29771         * gst/gststructure.c: (gst_structure_nth_field_name):
29772         * gst/gststructure.h:
29773           add a way to get the name of a field referenced by index
29774         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29775           instead of checking if the resulting long long lies between
29776           min and max, we check if the long long would fit into
29777           a number of bytes for the final type.
29778           This fixes cases where a string represents 2^32 - 1, which
29779           when cast to int would be the (valid) -1, but is bigger than
29780           G_MAXINT
29781
29782 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29783
29784         * gst/parse/grammar.y:
29785           add a log line for type deserialization
29786
29787 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29788
29789         * check/gst/gstvalue.c: (START_TEST):
29790         * gst/gstvalue.c: (gst_value_deserialize):
29791           return long long, not int, so gint64 deserialization actually
29792           works.  Is there any flag that makes the compiler check this ?
29793           Fixes #308559
29794
29795 2005-06-22  Wim Taymans  <wim@fluendo.com>
29796
29797         * gst/gstbuffer.h:
29798         Added convenience macros for setting buffers in GValue.
29799
29800 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29801
29802         * check/gst/.cvsignore:
29803         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29804           add a test deserializing int64, and comment part out because
29805           it fails, yay !
29806
29807 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29808
29809         * check/Makefile.am:
29810         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29811         * testsuite/Makefile.am:
29812         * testsuite/caps/Makefile.am:
29813         * testsuite/caps/value_serialize.c:
29814         * testsuite/test_gst_init.c:
29815           move a value_serialize test over
29816
29817 2005-06-20  Wim Taymans  <wim@fluendo.com>
29818
29819         * gst/gstpad.c:
29820         Small doc updates.
29821         
29822         * gst/gstvalue.c: (gst_value_compare_buffer),
29823         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29824         (gst_value_compare_flags), (gst_value_serialize_flags),
29825         (gst_value_deserialize_flags), (_gst_value_initialize):
29826         Fix serialisation of buffers, they are not boxed types anymore
29827
29828 2005-06-20  Wim Taymans  <wim@fluendo.com>
29829
29830         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29831         Testcase to show error in buffer-on-caps serialisation.
29832
29833 2005-06-20  Andy Wingo  <wingo@pobox.com>
29834
29835         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29836         will be adding to later.
29837
29838         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29839         if its socks fill with rocks.
29840         (gst_system_clock_obtain): Set the name on object construction.
29841         Avoid double-checked locking.
29842
29843 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29844
29845         * gst/gsturi.c: (gst_element_make_from_uri):
29846           Fix potential endless loop.
29847
29848 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29849
29850         * check/Makefile.am:
29851           add gsttag
29852         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29853         (main):
29854           move over from testsuite dir and clean up
29855         * configure.ac:
29856         * gst/gsttag.c:
29857         * testsuite/Makefile.am:
29858         * testsuite/tags/.cvsignore:
29859         * testsuite/tags/Makefile.am:
29860         * testsuite/tags/merge.c:
29861           remove testsuite/tags
29862
29863 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29864
29865         * docs/gst/gstreamer-sections.txt:
29866         * docs/gst/tmpl/gstenumtypes.sgml:
29867         * win32/gstenumtypes.c:
29868           clean up documentation build a little
29869
29870 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29871
29872         * check/gstcheck.h:
29873           add macros for checking refcounts on objects and caps
29874         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29875           add some more unit tests
29876         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29877         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29878           fix leaked refcounts (I hope :)) so unittest works
29879         * gst/gstpad.h:
29880           whitespace removal
29881
29882 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29883
29884         * configure.ac: back to HEAD
29885
29886 === release 0.9.1 ===
29887
29888 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29889
29890         * NEWS:
29891         * RELEASE:
29892           updated
29893
29894 2005-06-17  Andy Wingo  <wingo@pobox.com>
29895
29896         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29897         assert; it's always possible that the pad gets deactivated in
29898         between the checks in gstpad.c and the implementation. Rely on
29899         finish_preroll() to return a FLUSHING or similar instead of on the
29900         assert.
29901         
29902         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29903         clock and post an EOS message if we come out of finish_preroll in
29904         the playing state.
29905
29906 2005-06-16  David Schleef  <ds@schleef.org>
29907
29908         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29909         (gst_capsfilter_set_property): Allow NULL as possible value
29910         for filter_caps property, indicating GST_CAPS_ANY.
29911
29912 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29913
29914         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29915           fix debug output
29916         * gst/schedulers/Makefile.am:
29917           use libgst prefix
29918         * gstreamer.spec.in:
29919           fix spec for it
29920
29921 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29922
29923         * gstreamer.spec.in:
29924           clean up
29925
29926 2005-06-08  Andy Wingo  <wingo@pobox.com>
29927
29928         * gst/gstutils.c: RPAD fixes all around.
29929         (gst_element_link_pads): Refcounting fixes.
29930
29931         * tools/gst-inspect.c:
29932         * tools/gst-xmlinspect.c:
29933         * parse/grammar.y:
29934         * gst/base/gsttypefindhelper.c:
29935         * gst/base/gstbasesink.c:
29936         * gst/gstqueue.c: RPAD fixes.
29937
29938         * gst/gstghostpad.h:
29939         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29940         pads. The tricky thing is they provide both source and sink
29941         interfaces, since they proxy the internal pad for the external
29942         pad, and vice versa. Implement with lower-level ProxyPad objects,
29943         with the interior proxy pad as a child of the exterior ghost pad.
29944         Should write a doc on this.
29945         
29946         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29947         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29948         gst_object API.
29949         
29950         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29951         pads are real pads. No ghost pads in this file. Not documenting
29952         the myriad s/RPAD/PAD/ and REALIZE fixes.
29953         (gst_pad_class_init): Add properties for "direction" and
29954         "template". Both are construct-only, so they can't change during
29955         the life of the pad. Fixes properly deriving from GstPad.
29956         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29957         derived objects, just set properties when creating the objects via
29958         g_object_new.
29959         (gst_pad_get_parent): Implement as a function, return NULL if the
29960         parent is not an element.
29961         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29962         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29963         
29964         * gst/gstobject.c (gst_object_class_init): Make name a construct
29965         property. Don't set it in the object init.
29966
29967         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29968         with UNKNOWN direction.
29969         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29970         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29971         (gst_element_remove_pad): Remove ghost-pad special cases.
29972         (gst_element_pads_activate): Remove rpad cruft.
29973
29974         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29975         catch the pad's-parent-not-an-element case.
29976
29977         * gst/gst.h: Include gstghostpad.h.
29978
29979         * gst/gst.c (init_post): No more real, ghost pads.
29980
29981         * gst/Makefile.am: Add gstghostpad.[ch].
29982
29983         * check/Makefile.am:
29984         * check/gst/gstbin.c:
29985         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29986         into a bin creates ghost pads, and that the refcounts are right.
29987         Partly moved from gstbin.c.
29988
29989 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29990
29991         * check/gst-libs/.cvsignore:
29992         * check/gst/.cvsignore:
29993         * check/pipelines/.cvsignore:
29994           ignore more
29995         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29996         (START_TEST), (cleanup_suite), (main):
29997           add some tests related to cleanup after running pipelines
29998
29999 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30000
30001         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
30002           add a testsuite for GstBuffer
30003
30004 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
30005
30006         * gst/gstminiobject.h:
30007           add defines for accessing the refcount
30008
30009 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
30010
30011         * Makefile.am: added support for html unit test coverage reports
30012
30013 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
30014
30015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
30016           Free existing caps if the capsfilter changes. Add a FIXME about
30017           setting those caps on the pads.
30018
30019         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
30020           Before adding a ghost pad to a parent bin, check that there isn't
30021           already one for the element on the bin. Prevents infinite recursion
30022           when using decodebin in parse pipelines. Andy says he'll rewrite the
30023           way this works anyway, so ignore the hack.
30024
30025 2005-06-02  Andy Wingo  <wingo@pobox.com>
30026
30027         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
30028         file size, pass it on to the type find helper.
30029
30030         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
30031         segment_start and segment_end properly according to the seek
30032         method. Segment_end is still a bit flaky because offset can be
30033         negative for CUR and END cases, but it takes -1 as an "unset"
30034         value.
30035
30036 2005-06-02  Wim Taymans  <wim@fluendo.com>
30037
30038         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
30039         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
30040         (gst_basesink_activate):
30041         * gst/base/gstbasesink.h:
30042         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30043         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30044         (gst_pad_query), (gst_pad_start_task):
30045         * gst/gstpad.h:
30046         * gst/gstqueue.c: (gst_queue_bufferalloc),
30047         (gst_queue_handle_sink_event), (gst_queue_chain):
30048         Bufferalloc: return GstFlowReturn to more accuratly report
30049         why allocation failed.
30050
30051 2005-06-02  Wim Taymans  <wim@fluendo.com>
30052
30053         * gst/gstpipeline.c: (gst_pipeline_send_event):
30054         Take snapshot of state without blocking.
30055
30056 2005-06-02  Wim Taymans  <wim@fluendo.com>
30057
30058         * docs/design/part-TODO.txt:
30059         * docs/design/part-caps.txt:
30060         * docs/design/part-clocks.txt:
30061         * docs/design/part-negotiation.txt:
30062         * docs/design/part-preroll.txt:
30063         Small doc updates 
30064
30065 2005-05-30  Wim Taymans  <wim@fluendo.com>
30066
30067         * gst/elements/gstidentity.c: (gst_identity_event),
30068         (gst_identity_transform), (gst_identity_get_property):
30069         Protect last_message property as it is accessed from
30070         multiple threads.
30071
30072 2005-05-30  Wim Taymans  <wim@fluendo.com>
30073
30074         * gst/gstelement.c: (gst_element_init),
30075         (gst_element_pads_activate), (gst_element_change_state):
30076         Slicker pad activation code.
30077
30078 2005-05-30  Wim Taymans  <wim@fluendo.com>
30079
30080         * gst/Makefile.am:
30081         * gst/gstelement.h:
30082         * gst/gstelementfactory.h:
30083         * gst/gsttypes.h:
30084         Move elementfactory methods to separate .h file.
30085
30086 2005-05-30  Wim Taymans  <wim@fluendo.com>
30087
30088         * docs/design/part-overview.txt:
30089         * gst/gstsystemclock.h:
30090         Small typo fixes, doc updates.
30091
30092 2005-05-30  Wim Taymans  <wim@fluendo.com>
30093
30094         * gst/gst.c: (gst_init_get_popt_table), (init_post),
30095         (init_popt_callback):
30096         Remove cpu-opt flag.
30097
30098 2005-05-30  Wim Taymans  <wim@fluendo.com>
30099
30100         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30101         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30102         * gst/gstbuffer.h:
30103         Avoid typechecking in places where not needed.
30104         Added accessor for malloc_data.
30105
30106 2005-05-30  Wim Taymans  <wim@fluendo.com>
30107
30108         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30109         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30110         (gst_pad_configure_sink), (gst_pad_configure_src),
30111         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30112         (gst_pad_start_task):
30113         Propagate errors from _set_caps() in configure_src/sink
30114         functions instead of returning TRUE.
30115         FLUSH events can travel up and downstream
30116
30117
30118 2005-05-30  Wim Taymans  <wim@fluendo.com>
30119
30120         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30121         (gst_basesink_activate):
30122         Handle EOS in preroll.
30123
30124 2005-05-30  Wim Taymans  <wim@fluendo.com>
30125
30126         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30127         (gst_queue_loop), (gst_queue_handle_src_event):
30128         Remove old pieces of code
30129         Flushing the queue in an upstream event is a very bad idea.
30130
30131 2005-05-26  Andy Wingo  <wingo@pobox.com>
30132
30133         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30134         gst_value_set_mini_object so as to add a ref on the object (which
30135         will be removed when the value is unset).
30136
30137         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30138         arg type in ::handoff.
30139
30140         * gst/gstelement.c (gst_element_change_state): Also deactivate
30141         pads in READY->NULL, just in case the element didn't make it to
30142         PAUSED. Wingo tested, Wim approved.
30143
30144 2005-05-26  Wim Taymans  <wim@fluendo.com>
30145
30146         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30147         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30148         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30149         A flushing pad cannot be used to alloc_buffer from.
30150
30151 2005-05-26  Wim Taymans  <wim@fluendo.com>
30152
30153         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30154         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30155         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30156         (gst_bus_create_watch), (gst_bus_add_watch_full):
30157         * gst/gstbus.h:
30158         Implement a real GSource and use g_main_context_wakeup() to
30159         signal new messages instead of the socketpair.
30160
30161 2005-05-25  Wim Taymans  <wim@fluendo.com>
30162
30163         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30164         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30165         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30166         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30167         (gst_pad_send_event), (gst_pad_start_task):
30168         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30169         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30170         (gst_queue_sink_activate), (gst_queue_src_activate),
30171         (gst_queue_change_state):
30172         * gst/gstqueue.h:
30173         Fix state changes for non sinks. We now change sinks, then elements
30174         with unconnected srcpads, then the rest.
30175         More efficient queue unlocking in flush and state changes.
30176         Set the pad activate mode even if it does not have an activate
30177         function.
30178
30179 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30180
30181         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30182           Don't go in pull mode for non-seekable sources.
30183         * gst/elements/gsttypefindelement.h:
30184         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30185         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30186         (free_entry), (stop_typefinding),
30187         (gst_type_find_element_handle_event), (find_peek),
30188         (gst_type_find_element_chain), (do_pull_typefind),
30189         (gst_type_find_element_change_state):
30190           Allow typefinding (w/o seeking) in push-mode, simplified version
30191           of what was in 0.8.
30192         * gst/gstutils.c: (gst_buffer_join):
30193         * gst/gstutils.h:
30194           gst_buffer_join() from 0.8.
30195
30196 2005-05-25  Wim Taymans  <wim@fluendo.com>
30197
30198         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30199         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30200         (gst_pad_send_event), (gst_pad_start_task):
30201         Disable attempt at mode switching until it is figured out.
30202
30203 2005-05-25  Wim Taymans  <wim@fluendo.com>
30204
30205         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30206         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30207         (gst_basesink_finish_preroll), (gst_basesink_chain),
30208         (gst_basesink_loop), (gst_basesink_activate),
30209         (gst_basesink_change_state):
30210         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30211         (gst_basesrc_get_range), (gst_basesrc_loop),
30212         (gst_basesrc_activate):
30213         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30214         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30215         (gst_real_pad_init), (gst_real_pad_set_property),
30216         (gst_real_pad_get_property), (gst_pad_set_active),
30217         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30218         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30219         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30220         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30221         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30222         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30223         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30224         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30225         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30226         (gst_pad_stop_task):
30227         * gst/gstpad.h:
30228         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30229         (gst_queue_loop), (gst_queue_src_activate):
30230         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30231         (gst_task_get_state):
30232         * gst/gsttask.h:
30233         * gst/schedulers/threadscheduler.c:
30234         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30235         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30236         in task function.
30237         Remove ACTIVE pad flag, use FLUSHING everywhere
30238         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30239         functions.
30240         Add locks around IS_FLUSHING when reading.
30241         Take STREAM lock in chain(), get_range() functions so plugins
30242         don't need to take it anymore.
30243         
30244
30245
30246 2005-05-25  Wim Taymans  <wim@fluendo.com>
30247
30248         * tools/gst-launch.c: (event_loop):
30249         Unref message after using its contents instead of
30250         before.
30251
30252 2005-05-24  Wim Taymans  <wim@fluendo.com>
30253
30254         * docs/design/draft-ghostpads.txt:
30255         * docs/design/draft-push-pull.txt:
30256         * docs/design/draft-query.txt:
30257         * docs/design/part-overview.txt:
30258         Docs updates, added general overview doc.
30259
30260 2005-05-21  David Schleef  <ds@schleef.org>
30261
30262         * docs/gst/tmpl/old/GstBin.sgml:
30263         * docs/gst/tmpl/old/GstBuffer.sgml:
30264         * docs/gst/tmpl/old/GstCaps.sgml:
30265         * docs/gst/tmpl/old/GstClock.sgml:
30266         * docs/gst/tmpl/old/GstCompat.sgml:
30267         * docs/gst/tmpl/old/GstData.sgml:
30268         * docs/gst/tmpl/old/GstElement.sgml:
30269         * docs/gst/tmpl/old/GstEvent.sgml:
30270         * docs/gst/tmpl/old/GstIndex.sgml:
30271         * docs/gst/tmpl/old/GstStructure.sgml:
30272         * docs/gst/tmpl/old/GstTag.sgml:
30273         * docs/gst/tmpl/old/cothreads.sgml:
30274         * docs/gst/tmpl/old/cothreads_compat.sgml:
30275         * docs/gst/tmpl/old/gettext.sgml:
30276         * docs/gst/tmpl/old/gobject2gtk.sgml:
30277         * docs/gst/tmpl/old/grammar.tab.sgml:
30278         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30279         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30280         * docs/gst/tmpl/old/gst_private.sgml:
30281         * docs/gst/tmpl/old/gstaggregator.sgml:
30282         * docs/gst/tmpl/old/gstarch.sgml:
30283         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30284         * docs/gst/tmpl/old/gstbufferstore.sgml:
30285         * docs/gst/tmpl/old/gstdata_private.sgml:
30286         * docs/gst/tmpl/old/gstdisksink.sgml:
30287         * docs/gst/tmpl/old/gstdisksrc.sgml:
30288         * docs/gst/tmpl/old/gstelementfactory.sgml:
30289         * docs/gst/tmpl/old/gstextratypes.sgml:
30290         * docs/gst/tmpl/old/gstfakesink.sgml:
30291         * docs/gst/tmpl/old/gstfakesrc.sgml:
30292         * docs/gst/tmpl/old/gstfdsink.sgml:
30293         * docs/gst/tmpl/old/gstfdsrc.sgml:
30294         * docs/gst/tmpl/old/gstfilesink.sgml:
30295         * docs/gst/tmpl/old/gstfilesrc.sgml:
30296         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30297         * docs/gst/tmpl/old/gstidentity.sgml:
30298         * docs/gst/tmpl/old/gstindexfactory.sgml:
30299         * docs/gst/tmpl/old/gstmarshal.sgml:
30300         * docs/gst/tmpl/old/gstmd5sink.sgml:
30301         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30302         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30303         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30304         * docs/gst/tmpl/old/gstpipefilter.sgml:
30305         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30306         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30307         * docs/gst/tmpl/old/gstshaper.sgml:
30308         * docs/gst/tmpl/old/gstspider.sgml:
30309         * docs/gst/tmpl/old/gstspideridentity.sgml:
30310         * docs/gst/tmpl/old/gststatistics.sgml:
30311         * docs/gst/tmpl/old/gsttee.sgml:
30312         * docs/gst/tmpl/old/gsttimecache.sgml:
30313         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30314         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30315         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30316         * docs/gst/tmpl/old/types.sgml:
30317           I didn't intend to add these or check them in.
30318
30319 2005-05-19  David Schleef  <ds@schleef.org>
30320
30321         * configure.ac: Use -no-common everywhere.  In a sane world, it
30322           would be the default in libtool, because without it, you can't
30323           build DLLs on Windows.
30324         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30325         * docs/gst/gstreamer-sections.txt:
30326         * docs/gst/tmpl/gstcpu.sgml:
30327         * docs/gst/tmpl/gstdata.sgml:
30328         * docs/gst/tmpl/gstthread.sgml:
30329
30330 2005-05-19  David Schleef  <ds@schleef.org>
30331
30332         * gst/gstminiobject.c: (gst_value_set_mini_object),
30333         (gst_value_take_mini_object), (gst_value_get_mini_object):
30334         * gst/gstminiobject.h: Add GValue set/get functions.
30335
30336 2005-05-19  Wim Taymans  <wim@fluendo.com>
30337
30338         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30339         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30340         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30341         * gst/gstbuffer.h:
30342         * gst/gstbus.c: (gst_bus_post):
30343         * gst/gstelement.c: (gst_element_get_random_pad):
30344         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30345         Make subbufer unref the parent in finalize.
30346         some more debugging info.
30347
30348
30349 2005-05-19  Wim Taymans  <wim@fluendo.com>
30350
30351         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30352         (gst_basesink_init), (gst_basesink_finalize),
30353         (gst_basesink_activate), (gst_basesink_change_state):
30354         Don't free preroll queue too early.
30355
30356 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30357
30358         * gst/Makefile.am:
30359         * gst/ROADMAP:
30360           Hi, I'm outdated. Please shoot me.
30361
30362 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30363
30364         * gst/gstpipeline.c: (gst_pipeline_send_event):
30365           Do not access variables after they have been deleted.
30366
30367 2005-05-19  Wim Taymans  <wim@fluendo.com>
30368
30369         * tools/gst-inspect.c: (print_plugin_features):
30370         A plugin feature does unfortunatly not use the
30371         object name yet...
30372
30373 2005-05-18  Wim Taymans  <wim@fluendo.com>
30374
30375         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30376         Port _span() functions to new subbuffers.
30377
30378 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30379
30380         * gst/gstbin.c: (gst_bin_add_func):
30381           Fix clock settery in bins when adding kids after the clock has
30382           been selected.
30383
30384 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30385
30386         * gst/elements/gstidentity.c: (gst_identity_class_init):
30387           Workaround until signals support GstMiniObject.
30388
30389 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30390
30391         * gst/gstbuffer.c:
30392         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30393
30394 2005-05-18  Wim Taymans  <wim@fluendo.com>
30395
30396         * gst/base/Makefile.am:
30397         * gst/base/gstadapter.c: (gst_adapter_base_init),
30398         (gst_adapter_class_init), (gst_adapter_init),
30399         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30400         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30401         (gst_adapter_flush), (gst_adapter_available),
30402         (gst_adapter_available_fast):
30403         * gst/base/gstadapter.h:
30404         Ported and added adapter to the base classes.
30405
30406 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30407
30408         * gst/gst.c:
30409         * gst/gstmessage.c:
30410           Make sure the class is reffed/unreffed once before threads can be
30411           used.  Fixes #304551.
30412
30413 2005-05-17  Wim Taymans  <wim@fluendo.com>
30414
30415         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30416         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30417         * gst/gstminiobject.c: (gst_mini_object_get_type),
30418         (gst_mini_object_free):
30419         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30420         (gst_pad_push), (gst_pad_push_event):
30421         * gst/gstqueue.c: (gst_queue_change_state):
30422         Don't queue buffers in basesink when we are flushing.
30423         Unref buffer when flushing in basesink.
30424         Flush queue when going to READY
30425         Unref buffer when _push() returns an error.
30426         Don't free MiniObject instance when refcount is incremented
30427         in _finalize() so that we can recover objects.
30428
30429 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30430
30431         * docs/manual/advanced-schedulers.xml:
30432         * docs/manual/appendix-checklist.xml:
30433         * docs/pwg/advanced-clock.xml:
30434         * docs/pwg/advanced-interfaces.xml:
30435         * docs/pwg/advanced-request.xml:
30436         * docs/pwg/advanced-types.xml:
30437         * docs/pwg/intro-preface.xml:
30438         * examples/plugins/example.c: (gst_example_get_type),
30439         (gst_example_class_init), (gst_example_chain),
30440         (gst_example_set_property), (gst_example_get_property),
30441         (gst_example_change_state), (plugin_init):
30442         * examples/plugins/example.h:
30443           small doc fixes
30444
30445 2005-05-17  Wim Taymans  <wim@fluendo.com>
30446
30447         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30448         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30449         * gst/gstqueue.c: (gst_queue_change_state):
30450         Clear queue when going to READY.
30451         Remove IN_SETCAPS flag too.
30452
30453 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30454
30455         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30456           Remove implicit cast from gboolean to GstElementStateReturn;
30457           make sure we still return failure in paused => ready case if
30458           the parent class fails to change state and our own stop 
30459           vfunc succeeds.
30460
30461 2005-05-17  Wim Taymans  <wim@fluendo.com>
30462
30463         * tools/gst-launch.c: (event_loop):
30464         Message was unreffed too soon.
30465
30466 2005-05-16  Andy Wingo  <wingo@pobox.com>
30467
30468         * gst/gstbin.c (sink_iterator_filter): Err... um...
30469
30470         * check/gst/gstbin.c (test_ghost_pads): New test for the
30471         ghosting-if-elements-not-in-same-bin behavior.
30472
30473 2005-05-16  David Schleef  <ds@schleef.org>
30474
30475         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30476         accessing refcount directly.
30477
30478 2005-05-15  David Schleef  <ds@schleef.org>
30479
30480         * check/Makefile.am: remove GstData checks
30481         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30482         * gst/Makefile.am: add miniobject, remove data
30483         * gst/gst.h: add miniobject, remove data
30484         * gst/gstdata.c: remove
30485         * gst/gstdata.h: remove
30486         * gst/gstdata_private.h: remove
30487         * gst/gsttypes.h: remove GstEvent and GstMessage
30488         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30489         * gst/gstmarshal.list: change BOXED -> OBJECT
30490
30491         Implement GstMiniObject.
30492         * gst/gstminiobject.c:
30493         * gst/gstminiobject.h:
30494
30495         Modify to be subclasses of GstMiniObject.
30496         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30497         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30498         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30499         (gst_subbuffer_get_type), (gst_subbuffer_init),
30500         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30501         (gst_buffer_span):
30502         * gst/gstbuffer.h:
30503         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30504         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30505         (_gst_event_copy), (gst_event_new):
30506         * gst/gstevent.h:
30507         * gst/gstmessage.c: (_gst_message_initialize),
30508         (gst_message_get_type), (gst_message_class_init),
30509         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30510         (gst_message_new), (gst_message_new_error),
30511         (gst_message_new_warning), (gst_message_new_tag),
30512         (gst_message_new_state_changed), (gst_message_new_application):
30513         * gst/gstmessage.h:
30514         * gst/gstprobe.c: (gst_probe_perform),
30515         (gst_probe_dispatcher_dispatch):
30516         * gst/gstprobe.h:
30517         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30518         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30519         (_gst_query_copy), (gst_query_new):
30520
30521         Update elements for GstData -> GstMiniObject changes
30522         * gst/gstquery.h:
30523         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30524         (gst_queue_chain), (gst_queue_loop):
30525         * gst/elements/gstbufferstore.c:
30526         (gst_buffer_store_add_buffer_func),
30527         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30528         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30529         (gst_fakesink_render):
30530         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30531         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30532         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30533         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30534         (gst_filesrc_create_read):
30535         * gst/elements/gstidentity.c: (gst_identity_class_init):
30536         * gst/elements/gsttypefindelement.c:
30537         (gst_type_find_element_src_event), (free_entry_buffers),
30538         (gst_type_find_element_handle_event):
30539         * libs/gst/dataprotocol/dataprotocol.c:
30540         (gst_dp_header_from_buffer):
30541         * libs/gst/dataprotocol/dataprotocol.h:
30542         * libs/gst/dataprotocol/dp-private.h:
30543
30544 2005-05-15  David Schleef  <ds@schleef.org>
30545
30546         * gst/elements/gstelements.c: Don't include headers that were
30547         just removed.
30548
30549 2005-05-15  David Schleef  <ds@schleef.org>
30550
30551         * gst/elements/Makefile.am: Remove some elements that don't
30552         need to be in the core (or even exist at all).
30553         * gst/elements/gstaggregator.c:
30554         * gst/elements/gstaggregator.h:
30555         * gst/elements/gstmd5sink.c:
30556         * gst/elements/gstmd5sink.h:
30557         * gst/elements/gstmultifilesrc.c:
30558         * gst/elements/gstmultifilesrc.h:
30559         * gst/elements/gstpipefilter.c:
30560         * gst/elements/gstpipefilter.h:
30561         * gst/elements/gstshaper.c:
30562         * gst/elements/gstshaper.h:
30563         * gst/elements/gststatistics.c:
30564         * gst/elements/gststatistics.h:
30565         * po/POTFILES.in: Remove above files.
30566
30567 2005-05-14  Andy Wingo  <wingo@pobox.com>
30568
30569         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30570         so as to get the refs right.
30571         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30572         unreffing objects that don't pass the filter.
30573
30574         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30575         gst_element_set_bus.
30576         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30577         normal cases, this will destroy the bus.
30578
30579         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30580         object.
30581
30582         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30583         has no sinks.
30584
30585 2005-05-13  Andy Wingo  <wingo@pobox.com>
30586
30587         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30588         gst_pad_link, call pad_link_maybe_ghosting,
30589         (pad_link_maybe_ghosting): Links pads, making sure that the
30590         elements being linked are in the same bin.
30591         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30592         Helpers for pad_link_maybe_ghosting.
30593
30594 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30595
30596         * configure.ac:
30597           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30598
30599 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30600
30601         * docs/design/part-element-source.txt:
30602           Mention GstPushSrc
30603
30604 2005-05-12  Wim Taymans  <wim@fluendo.com>
30605
30606         * gst/base/gstbasesink.c: (gst_basesink_init),
30607         (gst_basesink_activate):
30608         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30609         (gst_basesrc_is_seekable):
30610         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30611         (bin_element_is_sink), (gst_bin_change_state):
30612         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30613         * gst/gstelement.h:
30614         Identify sinks by their flag to avoid overly complicated
30615         checks (fow now).
30616         Do state changes even for elements not reachable from the
30617         sinks.
30618         BaseSink is a sink now :)
30619         Some more debugging info in the basesrc.
30620
30621
30622 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30623
30624         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30625           Implement _query on a bin, similar to _send_event.
30626
30627 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30628
30629         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30630           Discont event offset format should be GST_FORMAT_BYTES,
30631           not GST_FORMAT_TIME.
30632
30633 2005-05-12  Wim Taymans  <wim@fluendo.com>
30634
30635         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30636         Same fix as Ronald's but without the signal. 
30637
30638 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30639
30640         * gst/gstutils.c: (gst_element_query_position):
30641           No, an element is not a pad.
30642
30643 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30644
30645         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30646         (gst_bin_get_state):
30647           If a child is removed from a bin while we remove the child from
30648           the bin and while we're retrieving its state, signal this to the
30649           get_state function so we abort the wait (instead of waiting for
30650           a timeout) and can immediately re-iterate over all other elements.
30651
30652 2005-05-12  Wim Taymans  <wim@fluendo.com>
30653
30654         * gst/base/Makefile.am:
30655         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30656         (gst_basesrc_start):
30657         * gst/base/gstbasesrc.h:
30658         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30659         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30660         (gst_pushsrc_init), (gst_pushsrc_create):
30661         * gst/base/gstpushsrc.h:
30662         Added is_seekable to BaseSrc
30663         Added simple PushSrc.
30664
30665 2005-05-11  Wim Taymans  <wim@fluendo.com>
30666
30667         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30668         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30669         (gst_element_link_pads), (gst_element_query_position),
30670         (gst_element_query_convert), (intersect_caps_func),
30671         (gst_pad_query_position), (gst_pad_query_convert):
30672         Fix refcounting in utils function.
30673         No point in trying to activate a pad when it's added, it could
30674         be added from the state change function and then we deadlock, the
30675         element has to decide what to do.
30676
30677 2005-05-10  Andy Wingo  <wingo@pobox.com>
30678
30679         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30680         *all* the arguments.
30681
30682         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30683         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30684         lock (according to the docs -- if this is wrong change the docs).
30685
30686         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30687         flush messages in the NULL state.
30688
30689         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30690         message immediately and return.
30691         (gst_bus_set_flushing): New function. If a bus is flushing, it
30692         flushes out any queued messages and immediately unrefs new
30693         messages. This is so when an element goes to NULL, all of the
30694         unhandled messages coming from it can be freed, and their
30695         references to the element dropped. In other words: message source
30696         ref considered harmful :P
30697
30698         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30699         we're finished with it.
30700
30701         * gst/gstmessage.c (gst_message_new_state_changed): 
30702
30703 2005-05-10  Wim Taymans  <wim@fluendo.com>
30704
30705         * gst/gstvalue.c: (gst_value_compare_flags),
30706         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30707         (_gst_value_initialize):
30708         Added flags serialize/deserialize/compare code.
30709
30710 2005-05-09  Andy Wingo  <wingo@pobox.com>
30711
30712         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30713         Intersect the peer's caps with our caps.
30714
30715 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30716
30717         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30718         * gst/elements/gsttypefindelement.c: (find_peek):
30719           Handle negative offsets better. Fixes decodebin.
30720
30721 2005-05-09  Wim Taymans  <wim@fluendo.com>
30722
30723         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30724         (gst_base_transform_event):
30725         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30726         Implement accept_caps.
30727         Fix silly lock/unlock mismatch in base class.
30728
30729 2005-05-09  Wim Taymans  <wim@fluendo.com>
30730
30731         * docs/design/draft-push-pull.txt:
30732         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30733         * gst/elements/gstfilesink.c: (gst_filesink_init),
30734         (gst_filesink_query):
30735         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30736         (gst_type_find_handle_src_query), (find_element_get_length):
30737         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30738         * gst/gstelement.h:
30739         * gst/gstmessage.c:
30740         * gst/gstmessage.h:
30741         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30742         (gst_real_pad_get_caps_unlocked),
30743         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30744         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30745         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30746         (gst_real_pad_dispose), (gst_real_pad_finalize),
30747         (gst_pad_load_and_link), (gst_pad_save_thyself),
30748         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30749         (gst_pad_check_pull_range), (gst_pad_pull_range),
30750         (gst_pad_template_get_type), (gst_pad_template_class_init),
30751         (gst_pad_template_init), (gst_pad_template_dispose),
30752         (name_is_valid), (gst_static_pad_template_get),
30753         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30754         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30755         (gst_pad_get_element_private), (gst_pad_start_task),
30756         (gst_pad_pause_task), (gst_pad_stop_task),
30757         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30758         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30759         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30760         (gst_ghost_pad_new):
30761         * gst/gstpad.h:
30762         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30763         (gst_query_new_position), (gst_query_set_position),
30764         (gst_query_parse_position), (gst_query_new_convert),
30765         (gst_query_set_convert), (gst_query_parse_convert):
30766         * gst/gstquery.h:
30767         * gst/gstqueryutils.c:
30768         * gst/gstqueryutils.h:
30769         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30770         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30771         (gst_queue_handle_src_query):
30772         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30773         (gst_element_query_position), (gst_element_query_convert),
30774         (intersect_caps_func), (gst_pad_query_position),
30775         (gst_pad_query_convert):
30776         * gst/gstutils.h:
30777         * tools/gst-inspect.c: (print_pad_info):
30778         * tools/gst-xmlinspect.c: (print_element_info):
30779         Remove old query functions. Ported old code.
30780         Added position/convert helper functions to gstutils.
30781         Reordered gstpad.c code, grouping relevant things.
30782         Remove gst_message_new(), always need to speficy a specific
30783         message.
30784
30785
30786 2005-05-09  Andy Wingo  <wingo@pobox.com>
30787
30788         * gst/gstiterator.h: Add some includes.
30789
30790         * gst/gstqueryutils.h: Include more headers.
30791
30792         * gst/gstpad.h:
30793         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30794         some uses of gst_pad_query.
30795
30796         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30797         NULL out parameters.
30798         (gst_query_new_position): New proc, allocates a new position
30799         query.
30800
30801         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30802         gstqueryutils.c to the build.
30803
30804         * gst/gststructure.c (gst_structure_set_valist): Implement with
30805         the generic G_VALUE_COLLECT.
30806         
30807 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30808
30809         * gst/Makefile.am: (gst_headers):
30810         Added gstqueryutils.h to the list of headers to install, that was
30811         a 'nachty' move wingo :)
30812
30813 2005-05-06  Andy Wingo  <wingo@pobox.com>
30814
30815         * gst/gstquery.h
30816         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30817         GstData, init a memchunk.
30818         (standard_definitions): Add a few query types, deprecate a few.
30819         (gst_query_get_type): New proc.
30820         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30821         implementation.
30822         (gst_query_new_application, gst_query_get_structure): New public
30823         procs.
30824
30825         * docs/design/draft-query.txt: Removed LINKS from the query types,
30826         because all the rest can be dispatched to other pads -- seemed
30827         ugly to have a query that couldn't be dispatched. internal_links
30828         is fine as a pad method.
30829
30830         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30831         in gstpad.c, but maintain binary compatibility for the moment.
30832         Will fix before 0.9 is out.
30833
30834         * gst/gstqueryutils.c: 
30835         * gst/gstqueryutils.h: New files, implement 3 methods for each
30836         query type: parse_query, parse_response, and set. Probably need an
30837         allocator as well.
30838
30839         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30840
30841         * gst/elements/gstfilesink.c (gst_filesink_query2):
30842         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30843         query_types, and formats methods.
30844
30845         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30846         (gst_pad_set_query2_function): New functions.
30847         (gst_real_pad_init): Set query2_default as the default query2
30848         function. Basically just dispatches to internally linked pads.
30849
30850         Needs review!
30851         
30852         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30853         without using the atomic operations. Only one thread can possibly
30854         be accessing the data at this point. Changed so as to avoid
30855         gst_atomic operations.
30856
30857 2005-05-06  Wim Taymans  <wim@fluendo.com>
30858
30859         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30860         Also set caps if we use the fallback buffer alloc.
30861
30862 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30863
30864         * docs/gst/Makefile.am:
30865         * docs/gst/gstreamer-docs.sgml:
30866         * docs/gst/gstreamer-sections.txt:
30867         * docs/gst/tmpl/gstatomic.sgml:
30868         * docs/gst/tmpl/gstmemchunk.sgml:
30869         * testsuite/elements/struct_i386.h:
30870         * win32/GStreamer.vcproj:
30871         * win32/Makefile:
30872           Purge GstAtomic stuff from docs and win32 makefiles as well
30873
30874 2005-05-06  Wim Taymans  <wim@fluendo.com>
30875
30876         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30877         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30878         * gst/gstpad.c: (gst_pad_peer_get_caps):
30879         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30880         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30881         (gst_queue_src_activate), (gst_queue_change_state):
30882         * gst/gstqueue.h:
30883         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30884         (intersect_caps_func):
30885         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30886         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30887         Some fixes for the peer_get_caps() change.
30888
30889 2005-05-06  Wim Taymans  <wim@fluendo.com>
30890
30891         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30892         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30893         (gst_basesink_activate):
30894         Actually do something with error codes returned from the push
30895         functions.
30896
30897 2005-05-06  Wim Taymans  <wim@fluendo.com>
30898
30899         * docs/design/part-element-sink.txt:
30900         * docs/design/part-element-source.txt:
30901         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30902         (gst_basesink_event), (gst_basesink_activate):
30903         * gst/base/gstbasesink.h:
30904         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30905         (gst_basesrc_activate):
30906         * gst/base/gstbasesrc.h:
30907         * gst/gstelement.c: (gst_element_pads_activate):
30908         Some more documentation.
30909         Fixed scheduling decision in _pads_activate().
30910
30911 2005-05-05  Andy Wingo  <wingo@pobox.com>
30912
30913         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30914         the test suite.
30915
30916 2005-05-05  Wim Taymans  <wim@fluendo.com>
30917
30918         * gst/base/Makefile.am:
30919         * gst/base/gstbasesink.h:
30920         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30921         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30922         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30923         (gst_collectpads_class_init), (gst_collectpads_init),
30924         (gst_collectpads_finalize), (gst_collectpads_new),
30925         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30926         (find_pad), (gst_collectpads_remove_pad),
30927         (gst_collectpads_is_active), (gst_collectpads_collect),
30928         (gst_collectpads_collect_range), (gst_collectpads_start),
30929         (gst_collectpads_stop), (gst_collectpads_peek),
30930         (gst_collectpads_pop), (gst_collectpads_available),
30931         (gst_collectpads_read), (gst_collectpads_flush),
30932         (gst_collectpads_chain):
30933         * gst/base/gstcollectpads.h:
30934         * gst/elements/Makefile.am:
30935         * gst/elements/gstelements.c:
30936         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30937         (gst_fakesink_get_times), (gst_fakesink_event),
30938         (gst_fakesink_preroll), (gst_fakesink_render):
30939         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30940         (gst_filesink_init), (gst_filesink_set_location),
30941         (gst_filesink_open_file), (gst_filesink_close_file),
30942         (gst_filesink_pad_query), (gst_filesink_event),
30943         (gst_filesink_render), (gst_filesink_change_state):
30944         * gst/elements/gstfilesink.h:
30945         Added object to help in making collect pad based elements.
30946         Ported filesink.
30947         Make event function in sink baseclass return gboolean.
30948
30949 2005-05-05  Wim Taymans  <wim@fluendo.com>
30950
30951         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30952         (gst_bin_get_by_name):
30953         * gst/gstbuffer.h:
30954         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30955         (gst_clock_finalize):
30956         * gst/gstdata.c: (gst_data_replace):
30957         * gst/gstdata.h:
30958         * gst/gstelement.c: (gst_element_request_pad),
30959         (gst_element_pads_activate):
30960         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30961         (gst_object_unref):
30962         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30963         (gst_pad_set_checkgetrange_function),
30964         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30965         (gst_pad_check_pull_range), (gst_pad_pull_range),
30966         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30967         (gst_pad_pause_task), (gst_pad_stop_task):
30968         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30969         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30970         Fix name lookup in GstBin.
30971         Added _data_replace() function and _buffer_replace()
30972         Use finalize method to clean up clock.
30973         Fix refcounting on request pads.
30974         Fix pad schedule mode error.
30975         Some more object refcounting debug info,
30976
30977
30978 2005-05-04  Andy Wingo <wingo@pobox.com>
30979
30980         * check/Makefile.am:
30981         * docs/gst/tmpl/gstatomic.sgml:
30982         * docs/gst/tmpl/gstplugin.sgml:
30983         * gst/base/gstbasesink.c: (gst_basesink_activate):
30984         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30985         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30986         (gst_basesrc_query), (gst_basesrc_set_property),
30987         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30988         (gst_basesrc_activate):
30989         * gst/base/gstbasesrc.h:
30990         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30991         (gst_base_transform_src_activate):
30992         * gst/elements/gstelements.c:
30993         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30994         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30995         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30996         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30997         (gst_type_find_element_checkgetrange),
30998         (gst_type_find_element_activate):
30999         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
31000         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
31001         (gst_caps_load_thyself):
31002         * gst/gstelement.c: (gst_element_pads_activate),
31003         (gst_element_save_thyself), (gst_element_restore_thyself):
31004         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
31005         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
31006         * gst/gstpad.h:
31007         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
31008         (gst_xml_parse_file), (gst_xml_parse_memory),
31009         (gst_xml_get_element), (gst_xml_make_element):
31010         * gst/indexers/gstfileindex.c: (gst_file_index_load),
31011         (_file_index_id_save_xml), (gst_file_index_commit):
31012         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
31013         (read_enum), (load_pad_template), (load_feature), (load_plugin),
31014         (load_paths):
31015         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
31016         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
31017         * tools/gst-complete.c: (main):
31018         * tools/gst-compprep.c: (main):
31019         * tools/gst-inspect.c: (print_element_properties_info):
31020         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
31021         * tools/gst-xmlinspect.c: (print_element_properties):
31022         GCC 4 fixen.
31023         
31024 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
31025
31026         * gst/gstplugin.c: (gst_plugin_check_module),
31027         (gst_plugin_check_file), (gst_plugin_load_file):
31028             apply patch from #172526 to make register work on MacOSX
31029
31030 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31031
31032         * docs/gst/tmpl/gstconfig.sgml:
31033         * gst/gstconfig.h.in:
31034           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
31035         * testsuite/debug/printf_extension.c: (main):
31036           Do not use GST_PTR_FORMAT on pointers to types with
31037           sizeof < sizeof(gpointer).  Fixes test on 64-bit
31038         * testsuite/elements/property.h:
31039           use correct printf format
31040
31041 2005-05-02  Wim Taymans  <wim@fluendo.com>
31042
31043         * docs/design/draft-push-pull.txt:
31044         * docs/design/draft-query.txt:
31045         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
31046         (gst_basesrc_start):
31047         Added draft for new query API.
31048         Added draft for better selecting scheduling methods.
31049         Make basesrc ignore length if the subclass does not support
31050         it.
31051
31052 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31053
31054         * gst/Makefile.am:
31055           possible fixes for automake-1.5 - _LIBADD is reserved
31056
31057 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
31058
31059         * docs/faq/Makefile.am:
31060         * docs/manual/Makefile.am:
31061         * docs/manuals.mak:
31062         * docs/pwg/Makefile.am:
31063         * gst/Makefile.am:
31064           possible fixes for automake-1.5
31065
31066 2005-04-28  Wim Taymans  <wim@fluendo.com>
31067
31068         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31069         (gst_basesink_pad_getcaps), (gst_basesink_init),
31070         (gst_basesink_do_sync):
31071         * gst/gstclock.c: (gst_clock_entry_new):
31072         * gst/gstevent.c: (gst_event_discont_get_value):
31073         * gst/gstpipeline.c: (pipeline_bus_handler),
31074         (gst_pipeline_change_state):
31075         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
31076         Better debugging of clocking info.
31077         Allow NULL values when getting discont values.
31078
31079 2005-04-27  Wim Taymans  <wim@fluendo.com>
31080
31081         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31082         * check/gst/gstpad.c: (gst_pad_suite):
31083         Increase timeout for checks.
31084
31085 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
31086
31087         * check/Makefile.am:
31088           fix the broken rule for cleanup.  Apparently this rule is
31089           only needed on FC2, so maybe this warrants further autotool
31090           inspection.
31091
31092 2005-04-26  Wim Taymans  <wim@fluendo.com>
31093
31094         * gst/gsttrashstack.h:
31095         Ooohh. a nasty one! After having a failed pop() from the stack,
31096         it's possible that the stack is empty. In that case, don't
31097         follow the NULL pointer.
31098
31099 2005-04-25  Wim Taymans  <wim@fluendo.com>
31100
31101         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31102         (gst_pad_set_checkgetrange_function),
31103         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31104         (gst_pad_check_pull_range), (gst_pad_pull_range),
31105         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31106         (gst_pad_pause_task), (gst_pad_stop_task):
31107         * gst/gstplugin.c: (gst_plugin_load):
31108         * gst/gstplugin.h:
31109         Remove gst_library_load as it does more harm than good with
31110         the new g_module flags.
31111         Revert bogus caps template check in pad linking, pad caps
31112         are important when linking not the template, which is more
31113         general than the current caps.
31114
31115 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31116
31117         * gst/autoplug/.cvsignore:
31118         * gst/autoplug/Makefile.am:
31119         * gst/autoplug/gstsearchfuncs.c:
31120         * gst/autoplug/gstsearchfuncs.h:
31121         * gst/autoplug/gstspider.c:
31122         * gst/autoplug/gstspider.h:
31123         * gst/autoplug/gstspideridentity.c:
31124         * gst/autoplug/gstspideridentity.h:
31125         * gst/autoplug/spidertest.c:
31126           Die, spider, die.
31127
31128 2005-04-25  Wim Taymans  <wim@fluendo.com>
31129
31130         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31131         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31132         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31133         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31134         * gst/gstpad.h:
31135         Added stubs for unimplemented functions. 
31136
31137 2005-04-24  David Schleef  <ds@schleef.org>
31138
31139         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31140         please fix.
31141
31142 2005-04-24  David Schleef  <ds@schleef.org>
31143
31144         Convert everything from GstAtomicInt to g_atomic_int_*, and
31145         remove gstatomic.
31146         * gst/Makefile.am:
31147         * gst/gstatomic.c:
31148         * gst/gstatomic.h:
31149         * gst/gstatomic_impl.h:
31150         * gst/gstbuffer.c:
31151         * gst/gstcaps.c:
31152         * gst/gstcaps.h:
31153         * gst/gstclock.c:
31154         * gst/gstclock.h:
31155         * gst/gstdata.c:
31156         * gst/gstdata.h:
31157         * gst/gstdata_private.h:
31158         * gst/gstevent.c:
31159         * gst/gstinfo.c:
31160         * gst/gstinfo.h:
31161         * gst/gstmessage.c:
31162         * gst/gstobject.c:
31163         * gst/gstobject.h:
31164         * gst/gststructure.c:
31165         * gst/gststructure.h:
31166         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31167         * gst/gstutils.h:
31168
31169 2005-04-24  David Schleef  <ds@schleef.org>
31170
31171         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31172         make the regressions tests work.  Remove some code that is no
31173         longer true.
31174         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31175         Disable warning for pads without templates.
31176
31177 2005-04-24  David Schleef  <ds@schleef.org>
31178
31179         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31180         functions that handle filtered links.
31181         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31182         removed functions.
31183         * gst/gstutils.c: Fix/remove utility functions that handle
31184         filtered caps.
31185         * gst/gstutils.h:
31186         * gst/gstvalue.c: Add serialization/deserialization of caps
31187         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31188         requires fixing so that the filter caps notation creates
31189         a capsfilter element and sets the filter_caps property.  I
31190         think everyone probably wants to keep the shorthand notation.
31191         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31192         * docs/gst/tmpl/gstpad.sgml:
31193
31194         * gst/elements/gstelements.c: Register capsfilter element.
31195         * gst/Makefile.am: fix spacing
31196         * docs/random/ds/0.9-suggested-changes: random
31197
31198 2005-04-23  David Schleef  <ds@schleef.org>
31199
31200         * gst/elements/Makefile.am:
31201         * gst/elements/gstcapsfilter.c: New element that acts like an
31202         identity, but filters caps.  Will eventually replace filtered
31203         caps in pad linking.
31204         * gst/gstutils.c: (gst_element_create_all_pads): New function
31205         to create all the ALWAYS pads that are registered with an
31206         element class.  This functionality should eventually be
31207         merged in with GstElement initialization.
31208         * gst/gstutils.h:
31209         * testsuite/trigger/README: part of trigger test code that should
31210         have been checked in a long time ago.
31211
31212 2005-04-23  David Schleef  <ds@schleef.org>
31213
31214         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31215         needed with new versions of libtool (nobody will confirm this),
31216         and hard to carry around.
31217         * gst/autoplug/Makefile.am:
31218         * gst/base/Makefile.am:
31219         * gst/elements/Makefile.am:
31220         * gst/indexers/Makefile.am:
31221         * gst/schedulers/Makefile.am:
31222         * libs/gst/bytestream/Makefile.am:
31223         * libs/gst/control/Makefile.am:
31224         * libs/gst/dataprotocol/Makefile.am:
31225         * libs/gst/getbits/Makefile.am:
31226
31227 2005-04-21  Wim Taymans  <wim@fluendo.com>
31228
31229         * docs/design/draft-push-pull.txt:
31230         * docs/design/part-MT-refcounting.txt:
31231         * docs/design/part-TODO.txt:
31232         * docs/design/part-caps.txt:
31233         * docs/design/part-events.txt:
31234         * docs/design/part-gstbus.txt:
31235         * docs/design/part-gstpipeline.txt:
31236         * docs/design/part-messages.txt:
31237         * docs/design/part-push-pull.txt:
31238         * docs/design/part-query.txt:
31239         Some more docs.
31240
31241 2005-04-21  Wim Taymans  <wim@fluendo.com>
31242
31243         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31244         (gst_message_new), (gst_message_new_error),
31245         (gst_message_new_warning), (gst_message_new_tag),
31246         (gst_message_new_state_changed), (gst_message_new_application),
31247         (gst_message_get_structure):
31248         * gst/gstmessage.h:
31249         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31250         (gst_structure_copy_conditional):
31251         Use parent refcount in GstMessage to ensure GstStructure
31252         consistency.
31253         Cleaned up headers a bit.
31254         
31255
31256 2005-04-20  Wim Taymans  <wim@fluendo.com>
31257
31258         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31259         (gst_basesink_pad_getcaps), (gst_basesink_init),
31260         (gst_basesink_chain_unlocked):
31261         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31262         (gst_type_find_helper):
31263         * gst/elements/gsttypefindelement.c:
31264         (gst_type_find_element_have_type), (gst_type_find_element_init),
31265         (stop_typefinding), (gst_type_find_element_handle_event),
31266         (find_suggest), (gst_type_find_element_chain),
31267         (gst_type_find_element_checkgetrange),
31268         (gst_type_find_element_getrange), (do_typefind),
31269         (gst_type_find_element_activate):
31270         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31271         (gst_buffer_default_free), (gst_buffer_default_copy),
31272         (gst_buffer_set_caps):
31273         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31274         (gst_caps_replace):
31275         * gst/gstmessage.c: (gst_message_new),
31276         (gst_message_new_state_changed):
31277         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31278         (gst_pad_set_checkgetrange_function),
31279         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31280         (gst_pad_set_caps), (gst_pad_check_pull_range),
31281         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31282         * gst/gstpad.h:
31283         * gst/gsttypefind.c: (gst_type_find_register):
31284         Make gst_caps_replace() work like other _replace() functions.
31285         Use _caps_replace() where possible.
31286         Make sure _message_new() initialises its field.
31287         Add gst_static_pad_template_get_caps()
31288
31289
31290 2005-04-18  Andy Wingo  <wingo@pobox.com>
31291
31292         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31293         on the peer, not the pad. I think that was a typo. Pass an extra
31294         arg to see if random access is possible. Activate the pads as
31295         PULL_RANGE if possible.
31296
31297         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31298
31299         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31300         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31301         to PROP_....
31302
31303 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31304
31305         * docs/faq/using.xml:
31306           Add note on gstreamer-properties (#154996).
31307
31308 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31309
31310         * docs/random/bbb/optional-properties:
31311           Some analysis on optional properties.
31312
31313 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31314
31315         * docs/gst/tmpl/gstelementfactory.sgml:
31316         * gst/gstelement.h:
31317         * gst/gstelementfactory.c: (gst_element_factory_init),
31318         (gst_element_factory_cleanup), (gst_element_register),
31319         (__gst_element_factory_add_static_pad_template),
31320         (gst_element_factory_get_static_pad_templates),
31321         (gst_element_factory_can_src_caps),
31322         (gst_element_factory_can_sink_caps):
31323         * gst/registries/Makefile.am:
31324         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31325         (gst_xml_registry_class_init), (gst_xml_registry_init),
31326         (gst_xml_registry_new), (gst_xml_registry_set_property),
31327         (gst_xml_registry_get_property), (get_time), (make_dir),
31328         (gst_xml_registry_get_perms_func),
31329         (plugin_times_older_than_recurse), (plugin_times_older_than),
31330         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31331         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31332         (add_to_char_array), (read_string), (read_uint), (read_enum),
31333         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31334         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31335         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31336         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31337         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31338         (gst_xml_registry_rebuild):
31339         * gst/registries/gstlibxmlregistry.h:
31340         * tools/gst-compprep.c: (main):
31341         * tools/gst-inspect.c: (print_pad_templates_info):
31342         * tools/gst-xmlinspect.c: (print_element_info):
31343           Use libxml2 for registry parsing, use staticpadtemplates in
31344           elementfactories. Makes gst_init() +/- 10x faster.
31345
31346 2005-04-12  Wim Taymans  <wim@fluendo.com>
31347
31348         * gst/base/Makefile.am:
31349         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31350         (gst_basesink_pad_getcaps), (gst_basesink_init),
31351         (gst_basesink_event), (gst_basesink_change_state):
31352         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31353         (gst_basesrc_init), (gst_basesrc_query),
31354         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31355         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31356         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31357         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31358         (gst_basesrc_stop), (gst_basesrc_activate),
31359         (gst_basesrc_change_state):
31360         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31361         (helper_find_suggest), (gst_type_find_helper):
31362         * gst/base/gsttypefindhelper.h:
31363         * gst/elements/Makefile.am:
31364         * gst/elements/gstelements.c:
31365         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31366         (gst_fakesink_get_times), (gst_fakesink_event),
31367         (gst_fakesink_preroll), (gst_fakesink_render):
31368         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31369         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31370         (gst_fakesrc_get_property), (gst_fakesrc_create),
31371         (gst_fakesrc_start), (gst_fakesrc_stop):
31372         * gst/elements/gstfakesrc.h:
31373         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31374         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31375         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31376         (gst_filesrc_create_read), (gst_filesrc_create),
31377         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31378         (gst_filesrc_start):
31379         * gst/elements/gsttypefindelement.c:
31380         (gst_type_find_element_have_type), (gst_type_find_element_init),
31381         (start_typefinding), (stop_typefinding), (push_buffer_store),
31382         (gst_type_find_element_handle_event),
31383         (gst_type_find_element_chain),
31384         (gst_type_find_element_checkgetrange),
31385         (gst_type_find_element_getrange), (do_typefind),
31386         (gst_type_find_element_activate),
31387         (gst_type_find_element_change_state):
31388         * gst/elements/gsttypefindelement.h:
31389         * gst/gstpipeline.c: (pipeline_bus_handler):
31390         Added typefind helper.
31391         Small preroll fix in the base sink.
31392         Disable typefind code in basesrc.
31393         Crude port of typefindelement.
31394         Fakesrc cleanups.
31395
31396
31397 2005-04-11  Wim Taymans  <wim@fluendo.com>
31398
31399         * check/gst/gstbus.c: (gstbus_suite):
31400         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31401         * check/gstcheck.h:
31402           Fix up the timeout so that the test does not fail.
31403
31404 2005-04-06  Wim Taymans  <wim@fluendo.com>
31405
31406         * gst/base/README:
31407         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31408         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31409         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31410         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31411         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31412         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31413         (gst_basesrc_stop), (gst_basesrc_activate),
31414         (gst_basesrc_change_state), (basesrc_find_peek),
31415         (basesrc_find_suggest), (gst_basesrc_type_find):
31416         * gst/base/gstbasesrc.h:
31417         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31418         (gst_filesrc_class_init), (gst_filesrc_init),
31419         (gst_filesrc_finalize), (gst_filesrc_set_location),
31420         (gst_filesrc_set_property), (gst_filesrc_get_property),
31421         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31422         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31423         (gst_filesrc_create_read), (gst_filesrc_create),
31424         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31425         * gst/elements/gstfilesrc.h:
31426         * gst/gstelement.c: (gst_element_get_state_func),
31427         (gst_element_lost_state), (gst_element_pads_activate):
31428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31429         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31430         (gst_pad_pull_range):
31431         * gst/gstpad.h:
31432         More work on the generic source base class, implement seeking,
31433         query.
31434         Make filesrc extend the base source class.
31435         Added gst_pad_set_checkgetrange_function to GstPad.
31436
31437 2005-04-06  Andy Wingo  <wingo@pobox.com>
31438
31439         * pkgconfig/gstreamer-base.pc.in:
31440         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31441
31442         * pkgconfig/Makefile.am:
31443         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31444
31445 2005-04-04  Wim Taymans  <wim@fluendo.com>
31446
31447         * gst/base/Makefile.am:
31448         * gst/base/README:
31449         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31450         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31451         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31452         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31453         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31454         (gst_basesrc_base_init), (gst_basesrc_class_init),
31455         (gst_basesrc_init), (gst_basesrc_get_formats),
31456         (gst_basesrc_get_query_types), (gst_basesrc_query),
31457         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31458         (gst_basesrc_set_property), (gst_basesrc_get_property),
31459         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31460         (gst_basesrc_loop), (gst_basesrc_activate),
31461         (gst_basesrc_change_state):
31462         * gst/base/gstbasesrc.h:
31463         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31464         (gst_fakesrc_class_init), (gst_fakesrc_init),
31465         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31466         (gst_fakesrc_get_property), (gst_fakesrc_create):
31467         * gst/elements/gstfakesrc.h:
31468         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31469         (gst_filesrc_open_file), (gst_filesrc_loop),
31470         (gst_filesrc_activate), (filesrc_find_peek),
31471         (gst_filesrc_type_find):
31472         Made base source class, make fakesrc extend it.
31473         Add comments to basesink class.
31474         Some filesrc cleanup.
31475
31476 2005-03-31  David Schleef  <ds@schleef.org>
31477
31478         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31479         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31480         expected to link against libgstreamer.
31481         * gst/base/Makefile.am: link against libgstreamer
31482         * gst/elements/Makefile.am: same
31483
31484 2005-03-31  Andy Wingo  <wingo@pobox.com>
31485
31486         * tests/instantiate/Makefile.am:
31487         * tests/instantiate/caps.c: Add test to test speed of caps copy
31488         and free.
31489
31490         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31491         GMemChunk to be fair.
31492
31493         * gst/gsttrashstack.h: Remove warning about using the fallback
31494         trash stack implementation, it's still faster than malloc.
31495
31496 2005-03-30  Andy Wingo  <wingo@pobox.com>
31497
31498         * tests/complexity.c: Add a copyright.
31499
31500 2005-03-31  Wim Taymans  <wim@fluendo.com>
31501
31502         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31503         (gst_base_transform_class_init), (gst_base_transform_init),
31504         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31505         (gst_base_transform_get_property),
31506         (gst_base_transform_sink_activate),
31507         (gst_base_transform_src_activate),
31508         (gst_base_transform_change_state):
31509         * gst/base/gstbasetransform.h:
31510         * gst/elements/gstidentity.c: (gst_identity_class_init),
31511         (gst_identity_event), (gst_identity_check_perfect),
31512         (gst_identity_transform), (gst_identity_start),
31513         (gst_identity_stop):
31514         Added start/stop methods to transform base class so subclasses 
31515         don't need to deal with state changes even.
31516
31517 2005-03-31  Wim Taymans  <wim@fluendo.com>
31518
31519         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31520         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31521         * gst/gstevent.h:
31522         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31523         (gst_pad_pull_range):
31524         Added rate to the discont event to prepare for variable speed
31525         and reverse playback.
31526
31527 2005-03-29  David Schleef  <ds@schleef.org>
31528
31529         * configure.ac:
31530         * testsuite/trigger/Makefile.am:
31531         * testsuite/trigger/trigger.c: A little example program to show
31532         how trigger-based elements can work.
31533
31534 2005-03-29  Wim Taymans  <wim@fluendo.com>
31535
31536         * gst/base/Makefile.am:
31537         * gst/base/README:
31538         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31539         (gst_basesink_base_init), (gst_basesink_class_init),
31540         (gst_basesink_pad_getcaps), (gst_basesink_init),
31541         (gst_basesink_activate), (gst_basesink_change_state):
31542         * gst/base/gstbasesink.h:
31543         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31544         (gst_base_transform_base_init), (gst_base_transform_finalize),
31545         (gst_base_transform_class_init), (gst_base_transform_init),
31546         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31547         (gst_base_transform_event), (gst_base_transform_getrange),
31548         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31549         (gst_base_transform_set_property),
31550         (gst_base_transform_get_property),
31551         (gst_base_transform_sink_activate),
31552         (gst_base_transform_src_activate),
31553         (gst_base_transform_change_state):
31554         * gst/base/gstbasetransform.h:
31555         * gst/elements/gstidentity.c: (gst_identity_finalize),
31556         (gst_identity_class_init), (gst_identity_init),
31557         (gst_identity_event), (gst_identity_check_perfect),
31558         (gst_identity_transform), (gst_identity_set_property),
31559         (gst_identity_get_property), (gst_identity_change_state):
31560         * gst/elements/gstidentity.h:
31561         * gst/gstelement.c: (gst_element_get_state_func),
31562         (gst_element_lost_state), (gst_element_pads_activate):
31563         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31564         (gst_pad_check_pull_range), (gst_pad_pull_range):
31565         * gst/gstpad.h:
31566         Simplify pad activation.
31567         Added function to check if pull_range can be performed.
31568         Error out when pulling inactive or flushing pads.
31569         Removed const from refcounted types as it does not make sense.
31570         Simplify pad templates in basesink
31571         Added base class for simple 1-to-1 transforms.
31572         Make identity subclass the base transform.
31573
31574 2005-03-29  Andy Wingo  <wingo@pobox.com>
31575
31576         * docs/libs/gstreamer-libs-overrides.txt: 
31577         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31578         really don't understand what's going on, but like whatever. I want
31579         green buildbot!
31580
31581         * docs/gst/Makefile.am:
31582         * docs/libs/Makefile.am: Dist the overrides files.
31583
31584         * check/Makefile.am (clean-local): Remove .libs directories.
31585
31586         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31587         elements to EXTRA_DIST, so po/ files are happy.
31588
31589         * po/POTFILES.in: Er, remove it here.
31590
31591         * po/POTFILES: Remove gstspider.c.
31592
31593         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31594
31595         * docs/libs/gstreamer-libs-docs.sgml: 
31596         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31597         bytestream.
31598
31599         * tests/complexity.c (main): Set the length of the preroll queue
31600         on the sinks to prevent a lockup.
31601
31602         * libs/gst/dataprotocol/Makefile.am: 
31603         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31604         the same as the one in check/gst-libs/gdp.c.
31605
31606         * po/, docs/gst/: Commit automatic changes to docs and po files.
31607
31608         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31609         the versioned libgstbase.
31610
31611         * check/Makefile.am: Depend on an unversioned gst-register, seems
31612         to make autoconf happier.
31613
31614         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31615
31616 2005-03-28  Wim Taymans  <wim@fluendo.com>
31617
31618         * configure.ac:
31619         * docs/design/part-gstelement.txt:
31620         * docs/design/part-negotiation.txt:
31621         * docs/design/part-preroll.txt:
31622         * docs/design/part-scheduling.txt:
31623         * docs/design/part-states.txt:
31624         * gst/Makefile.am:
31625         * gst/base/Makefile.am:
31626         * gst/base/README:
31627         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31628         (gst_basesink_base_init), (gst_basesink_class_init),
31629         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31630         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31631         (gst_basesink_set_pad_functions),
31632         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31633         (gst_basesink_set_property), (gst_basesink_get_property),
31634         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31635         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31636         (gst_basesink_preroll_queue_push),
31637         (gst_basesink_preroll_queue_empty),
31638         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31639         (gst_basesink_event), (gst_basesink_get_times),
31640         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31641         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31642         (gst_basesink_loop), (gst_basesink_activate),
31643         (gst_basesink_change_state):
31644         * gst/base/gstbasesink.h:
31645         * gst/elements/Makefile.am:
31646         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31647         (gst_fakesink_class_init), (gst_fakesink_init),
31648         (gst_fakesink_set_property), (gst_fakesink_get_property),
31649         (gst_fakesink_get_times), (gst_fakesink_event),
31650         (gst_fakesink_preroll), (gst_fakesink_render),
31651         (gst_fakesink_change_state):
31652         * gst/elements/gstfakesink.h:
31653         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31654         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31655         * gst/gstelement.c: (gst_element_add_pad),
31656         (gst_element_get_state_func), (gst_element_abort_state),
31657         (gst_element_commit_state), (gst_element_lost_state),
31658         (gst_element_set_state), (gst_element_pads_activate):
31659         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31660         * gst/gstpipeline.c: (gst_pipeline_send_event),
31661         (gst_pipeline_change_state):
31662         Added state change code.
31663         Added/updated docs.
31664         Added sink base class, make fakesink extend the base class.
31665         Small cleanups in GstPipeline.
31666
31667 2005-03-26  David Schleef  <ds@schleef.org>
31668
31669         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31670         is broken and should be implemented in a different library.
31671         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31672         * gst/gst.h: remove gstcpu.h
31673         * gst/gstcpu.c: remove
31674         * gst/gstcpu.h: remove
31675         * gst/Makefile.am.future: Remove this file.  It's ancient.
31676
31677 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31678
31679         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31680         (gst_bin_send_event):
31681           Add default event/set_manager handlers. The set_manager handler
31682           takes care that the manager is distributed over kids that were
31683           already in the bin before the manager was set. The event handler
31684           is a utility virtual function that sends the event over all sinks,
31685           so that gst_element_send_event (bin, event); has the expected
31686           behaviour.
31687         * gst/gstpad.c: (gst_pad_event_default):
31688           Re-install default event handling for discontinuities, so that
31689           seeking works without requiring hacks in applications or extra
31690           code in sinks.
31691         * gst/gstpipeline.c: (gst_pipeline_class_init),
31692         (gst_pipeline_send_event):
31693           Half hack, half utility: set a pipeline to PAUSED for seek events,
31694           since that is the only way we can guarantee a/v sync. Means that
31695           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31696           and it "just works".
31697
31698 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31699
31700         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31701           Lock/unlock mismatch.
31702
31703 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31704
31705         * docs/faq/gst-uninstalled:
31706           add gst-plugins-base
31707         * docs/gst/Makefile.am:
31708           don't error out until docs are fixed
31709         * docs/gst/gstreamer.types:
31710           remove thread
31711
31712 2005-03-22  Wim Taymans  <wim@fluendo.com>
31713
31714         * check/Makefile.am:
31715         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31716         * gst/gststructure.c: (gst_structure_set_valist),
31717         (gst_structure_copy_conditional):
31718         Activated more tests.
31719         Added message test.
31720         Added G_TYPE_POINTER to GstStructure.
31721         
31722
31723 2005-03-22  Wim Taymans  <wim@fluendo.com>
31724
31725         * docs/design/part-TODO.txt:
31726         * docs/design/part-events.txt:
31727         * docs/design/part-gstbin.txt:
31728         * docs/design/part-gstbus.txt:
31729         * docs/design/part-gstpipeline.txt:
31730         * docs/design/part-messages.txt:
31731         * gst/gstbus.c:
31732         * gst/gstmessage.c:
31733         Docs updates
31734
31735 2005-03-21  Wim Taymans  <wim@fluendo.com>
31736
31737         * gst/gstbus.c: (gst_bus_post):
31738         Fix copy-and-paste error.
31739
31740 2005-03-21  Wim Taymans  <wim@fluendo.com>
31741
31742         * check/Makefile.am:
31743         * gst/Makefile.am:
31744         * gst/elements/Makefile.am:
31745         * gst/elements/gstelements.c:
31746         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31747         (gst_fakesink_event), (gst_fakesink_chain):
31748         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31749         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31750         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31751         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31752         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31753         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31754         (gst_fakesrc_loop), (gst_fakesrc_activate),
31755         (gst_fakesrc_change_state):
31756         * gst/elements/gstfakesrc.h:
31757         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31758         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31759         (gst_filesrc_open_file), (gst_filesrc_loop),
31760         (gst_filesrc_activate), (gst_filesrc_change_state),
31761         (filesrc_find_peek), (filesrc_find_suggest),
31762         (gst_filesrc_type_find):
31763         * gst/elements/gstidentity.c: (gst_identity_finalize),
31764         (gst_identity_class_init), (gst_identity_init),
31765         (gst_identity_proxy_getcaps), (identity_queue_push),
31766         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31767         (gst_identity_getrange), (gst_identity_chain),
31768         (gst_identity_sink_loop), (gst_identity_src_loop),
31769         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31770         (gst_identity_set_property), (gst_identity_get_property),
31771         (gst_identity_change_state):
31772         * gst/elements/gstidentity.h:
31773         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31774         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31775         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31776         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31777         (gst_tee_sink_activate):
31778         * gst/elements/gsttee.h:
31779         * gst/gst.c: (gst_register_core_elements), (init_post):
31780         * gst/gst.h:
31781         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31782         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31783         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31784         (gst_bin_change_state):
31785         * gst/gstbin.h:
31786         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31787         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31788         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31789         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31790         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31791         (bus_watch_callback), (bus_watch_destroy),
31792         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31793         (poll_timeout), (gst_bus_poll):
31794         * gst/gstbus.h:
31795         * gst/gstcaps.h:
31796         * gst/gstdata.h:
31797         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31798         (gst_element_post_message), (gst_element_message_full),
31799         (gst_element_get_state_func), (gst_element_get_state),
31800         (gst_element_abort_state), (gst_element_commit_state),
31801         (gst_element_lost_state), (gst_element_set_state),
31802         (gst_element_pads_activate), (gst_element_change_state),
31803         (gst_element_dispose), (gst_element_set_manager_func),
31804         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31805         (gst_element_set_manager), (gst_element_get_manager),
31806         (gst_element_set_bus), (gst_element_get_bus),
31807         (gst_element_set_scheduler), (gst_element_get_scheduler):
31808         * gst/gstelement.h:
31809         * gst/gstevent.c: (gst_event_new_segment_seek),
31810         (gst_event_new_flush):
31811         * gst/gstevent.h:
31812         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31813         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31814         (gst_message_new_eos), (gst_message_new_error),
31815         (gst_message_new_warning), (gst_message_new_tag),
31816         (gst_message_new_state_changed), (gst_message_new_application),
31817         (gst_message_get_structure), (gst_message_parse_tag),
31818         (gst_message_parse_state_changed), (gst_message_parse_error),
31819         (gst_message_parse_warning):
31820         * gst/gstmessage.h:
31821         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31822         (gst_real_pad_set_property), (gst_pad_set_active),
31823         (gst_pad_is_active), (gst_pad_set_blocked_async),
31824         (gst_pad_set_blocked), (gst_pad_is_blocked),
31825         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31826         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31827         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31828         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31829         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31830         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31831         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31832         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31833         (gst_pad_set_caps), (gst_pad_configure_sink),
31834         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31835         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31836         (gst_real_pad_dispose), (gst_real_pad_finalize),
31837         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31838         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31839         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31840         * gst/gstpad.h:
31841         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31842         (pipeline_bus_handler), (gst_pipeline_change_state),
31843         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31844         * gst/gstpipeline.h:
31845         * gst/gstprobe.h:
31846         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31847         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31848         (gst_queue_link_src), (gst_queue_bufferalloc),
31849         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31850         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31851         (gst_queue_loop), (gst_queue_handle_src_event),
31852         (gst_queue_handle_src_query), (gst_queue_src_activate),
31853         (gst_queue_change_state):
31854         * gst/gstqueue.h:
31855         * gst/gstscheduler.c: (gst_scheduler_init),
31856         (gst_scheduler_dispose), (gst_scheduler_create_task),
31857         (gst_scheduler_factory_create):
31858         * gst/gstscheduler.h:
31859         * gst/gststructure.c: (gst_structure_get_type),
31860         (gst_structure_copy_conditional):
31861         * gst/gststructure.h:
31862         * gst/gsttaginterface.h:
31863         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31864         (gst_task_init), (gst_task_dispose), (gst_task_create),
31865         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31866         (gst_task_pause):
31867         * gst/gsttask.h:
31868         * gst/gstthread.c:
31869         * gst/gstthread.h:
31870         * gst/gsttypes.h:
31871         * gst/schedulers/Makefile.am:
31872         * gst/schedulers/cothreads_compat.h:
31873         * gst/schedulers/entryscheduler.c:
31874         * gst/schedulers/faircothreads.c:
31875         * gst/schedulers/faircothreads.h:
31876         * gst/schedulers/fairscheduler.c:
31877         * gst/schedulers/gstbasicscheduler.c:
31878         * gst/schedulers/gstoptimalscheduler.c:
31879         * gst/schedulers/gthread-cothreads.h:
31880         * gst/schedulers/threadscheduler.c:
31881         (gst_thread_scheduler_task_get_type),
31882         (gst_thread_scheduler_task_class_init),
31883         (gst_thread_scheduler_task_init),
31884         (gst_thread_scheduler_task_start),
31885         (gst_thread_scheduler_task_stop),
31886         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31887         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31888         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31889         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31890         (plugin_init):
31891         * libs/gst/Makefile.am:
31892         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31893         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31894         (gst_file_pad_parent_set):
31895         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31896         (gst_dp_event_from_packet):
31897         * tests/complexity.c: (main):
31898         * tests/mass_elements.c: (main):
31899         * testsuite/states/locked.c: (message_received), (main):
31900         * testsuite/states/parent.c: (main):
31901         * tools/gst-inspect.c: (print_element_flag_info),
31902         (print_implementation_info), (print_pad_info):
31903         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31904         (main):
31905         * tools/gst-md5sum.c: (event_loop), (main):
31906         * tools/gst-typefind.c: (main):
31907         * tools/gst-xmlinspect.c: (print_element_info):
31908         Next big merge.
31909         Added GstBus for mainloop integration.
31910         Added GstMessage for sending notifications on the bus.
31911         Added GstTask as an abstraction for pipeline entry points.
31912         Removed GstThread.
31913         Removed Schedulers.
31914         Simplified GstQueue for multithreaded core.
31915         Made _link threadsafe, removed old capsnego.
31916         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31917         Added pad blocking functions.
31918         Reworked scheduling functions in GstPad to prepare for
31919         scheduling updates soon.
31920         Moved events out of data stream.
31921         Simplified GstEvent types.
31922         Added return values to push/pull.
31923         Removed clocking from GstElement.
31924         Added prototypes for state change function for next merge.
31925         Removed iterate from bins and state change management.
31926         Fixed some elements, disabled others for now.
31927         Fixed -inspect and -launch.
31928         Added check for GstBus.
31929
31930 2005-03-10  Wim Taymans  <wim@fluendo.com>
31931
31932         * docs/design/part-MT-refcounting.txt:
31933         * docs/design/part-clocks.txt:
31934         * docs/design/part-gstelement.txt:
31935         * docs/design/part-gstobject.txt:
31936         * docs/design/part-standards.txt:
31937         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31938         (gst_bin_remove_func), (gst_bin_remove):
31939         * gst/gstbin.h:
31940         * gst/gstbuffer.c:
31941         * gst/gstcaps.h:
31942         * testsuite/clock/clock1.c: (main):
31943         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31944         (main):
31945         * testsuite/dlopen/loadgst.c: (do_test):
31946         * testsuite/refcounting/bin.c: (add_remove_test1),
31947         (add_remove_test2), (main):
31948         * testsuite/refcounting/element.c: (main):
31949         * testsuite/refcounting/element_pad.c: (main):
31950         * testsuite/refcounting/pad.c: (main):
31951         * tools/gst-launch.c: (sigint_handler_sighandler):
31952         * tools/gst-typefind.c: (main):
31953         Doc updates.
31954         Added doc about clock.
31955         removed gst_bin_iterate_recurse_up(), marked methods
31956         for removal.
31957         Fix more testsuites.
31958
31959 2005-03-09  Wim Taymans  <wim@fluendo.com>
31960
31961         * gst/gstpad.c: (gst_pad_get_direction),
31962         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31963         (gst_pad_collect_valist):
31964         * testsuite/bins/interface.c: (main):
31965         * testsuite/caps/audioscale.c: (test_caps):
31966         * testsuite/caps/caps.c: (test1), (test2), (test3):
31967         * testsuite/caps/deserialize.c: (main):
31968         * testsuite/caps/enumcaps.c: (main):
31969         * testsuite/caps/filtercaps.c: (main):
31970         * testsuite/caps/intersect2.c: (main):
31971         * testsuite/caps/random.c: (main):
31972         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31973         * testsuite/caps/sets.c: (check_caps):
31974         * testsuite/caps/simplify.c: (check_caps), (main):
31975         * testsuite/caps/subtract.c: (check_caps):
31976         Fix _pad_get_direction wrt ghostpads.
31977         Fix caps testsuite.
31978
31979 2005-03-09  Wim Taymans  <wim@fluendo.com>
31980
31981         * check/Makefile.am:
31982         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31983         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31984         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31985         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31986         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31987         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31988         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31989         (bin_element_is_sink), (gst_bin_iterate_sinks),
31990         (gst_bin_iterate_all_by_interface):
31991         * gst/gstbin.h:
31992         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31993         (gst_element_change_state), (gst_element_dispose),
31994         (gst_element_finalize), (gst_element_set_loop_function):
31995         * gst/gstelement.h:
31996         * gst/gstiterator.c: (find_custom_fold_func):
31997         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31998         (gst_pad_collectv), (gst_pad_collect_valist),
31999         (gst_pad_template_new):
32000         * gst/gstpipeline.c: (gst_pipeline_class_init),
32001         (gst_pipeline_dispose), (gst_pipeline_set_property),
32002         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
32003         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
32004         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
32005         * gst/gstutils.h:
32006         * gst/schedulers/entryscheduler.c:
32007         * gst/schedulers/gstbasicscheduler.c:
32008         (gst_basic_scheduler_cothreaded_chain),
32009         (gst_basic_scheduler_chain_add_element):
32010         * testsuite/bins/interface.c: (main):
32011         Added GstBin test.
32012         Added GstSystemClock test.
32013         Implemented clock distribution code in GstBin.
32014         Implemented iterate sinks method for future use.
32015         Rearranged gstelement.h
32016         Fix GstIterator comparison bug.
32017         Moved some code to GstPipeline, mostly clocking related.
32018
32019 2005-03-09  Wim Taymans  <wim@fluendo.com>
32020
32021         * configure.ac:
32022         * gst/gst_private.h:
32023         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32024         (gst_bin_remove_func), (gst_bin_remove),
32025         (gst_bin_get_by_name_recurse_up):
32026         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
32027         (gst_clock_id_compare_func), (gst_clock_id_wait),
32028         (gst_clock_id_wait_async), (gst_clock_init),
32029         (gst_clock_adjust_unlocked), (gst_clock_get_time):
32030         * gst/gstelement.h:
32031         * gst/gstinfo.c: (_gst_debug_init):
32032         * gst/gstobject.h:
32033         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
32034         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
32035         * gst/gstpad.h:
32036         Bump version number, we're now 0.9.0
32037         Add future debugging category.
32038         Fix NULL _unref() in _get_by_name_recurse_up
32039         Rearrange gstpad.h.
32040         Update some docs.
32041
32042 2005-03-08  Wim Taymans  <wim@fluendo.com>
32043
32044         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
32045         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
32046         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
32047         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
32048         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
32049         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
32050         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
32051         * gst/elements/gstidentity.c: (gst_identity_class_init):
32052         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
32053         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
32054         * gst/elements/gstshaper.c: (gst_shaper_class_init):
32055         * gst/elements/gststatistics.c: (gst_statistics_class_init):
32056         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
32057         (gst_tee_link):
32058         * gst/gstelement.c: (gst_element_class_init),
32059         (gst_element_base_class_init), (gst_element_init),
32060         (gst_element_get_random_pad), (gst_element_wait_state_change),
32061         (gst_element_change_state), (gst_element_dispose),
32062         (gst_element_finalize), (gst_element_set_loop_function):
32063         * gst/gstelement.h:
32064         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
32065         * gst/gstthread.c: (gst_thread_class_init),
32066         (gst_thread_release_children_locks), (gst_thread_change_state):
32067         * gst/schedulers/gstbasicscheduler.c:
32068         (gst_basic_scheduler_loopfunc_wrapper),
32069         (gst_basic_scheduler_chain_wrapper),
32070         (gst_basic_scheduler_src_wrapper),
32071         (gst_basic_scheduler_remove_element):
32072         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
32073         Remove threadsafe properties. Fix elements because GObject
32074         complains when installing a property before declaring a
32075         set/get_property handler.
32076         Rearrange gstelement.h file, use STATE macros for state locks.
32077         Free mutexes in the finalize method instead of dispose.
32078
32079 2005-03-08  Wim Taymans  <wim@fluendo.com>
32080
32081         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
32082         * gst/gstthread.c: (gst_thread_release_children_locks):
32083         Added parentage check.
32084         Fix build og GstThread again.
32085
32086 2005-03-08  Wim Taymans  <wim@fluendo.com>
32087
32088         * docs/design/part-MT-refcounting.txt:
32089         * docs/design/part-conventions.txt:
32090         * docs/design/part-gstobject.txt:
32091         * docs/design/part-relations.txt:
32092         * docs/design/part-standards.txt:
32093         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32094         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32095         (gst_bin_get_by_name), (gst_bin_get_by_interface),
32096         (gst_bin_iterate_all_by_interface):
32097         * gst/gstbuffer.h:
32098         * gst/gstclock.h:
32099         * gst/gstelement.c: (gst_element_class_init),
32100         (gst_element_change_state), (gst_element_set_loop_function):
32101         * gst/gstelement.h:
32102         * gst/gstiterator.c:
32103         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32104         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32105         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32106         (gst_object_set_parent), (gst_object_unparent),
32107         (gst_object_check_uniqueness):
32108         * gst/gstobject.h:
32109         Docs updates, clean up some headers.
32110
32111 2005-03-07  Wim Taymans  <wim@fluendo.com>
32112
32113         * check/.cvsignore:
32114         * check/Makefile.am:
32115         * check/gst-libs/.cvsignore:
32116         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32117         * check/gst/.cvsignore:
32118         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32119         (START_TEST), (gstbus_suite), (main):
32120         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32121         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32122         (gst_data_suite), (main):
32123         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32124         (add_fold_func), (gstiterator_suite), (main):
32125         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32126         (thread_name_object), (thread_name_object_default),
32127         (gst_object_name_compare), (gst_object_suite), (main):
32128         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32129         (gst_pad_suite), (main):
32130         * check/gstcheck.c: (gst_check_log_message_func),
32131         (gst_check_log_critical_func), (gst_check_init):
32132         * check/gstcheck.h:
32133         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32134         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32135         Added checks.
32136
32137 2005-03-07  Wim Taymans  <wim@fluendo.com>
32138
32139         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32140         (gst_list_iterator_next), (gst_list_iterator_resync),
32141         (gst_list_iterator_free), (gst_iterator_new_list),
32142         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32143         (gst_iterator_free), (gst_iterator_push), (filter_next),
32144         (filter_resync), (filter_uninit), (filter_free),
32145         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32146         (gst_iterator_foreach), (find_custom_fold_func),
32147         (gst_iterator_find_custom):
32148         * gst/gstiterator.h:
32149         Added missing files.
32150
32151 2005-03-07  Wim Taymans  <wim@fluendo.com>
32152
32153         * Makefile.am:
32154         * configure.ac:
32155         * docs/design/part-MT-refcounting.txt:
32156         * docs/design/part-conventions.txt:
32157         * docs/design/part-gstobject.txt:
32158         * docs/design/part-relations.txt:
32159         * examples/mixer/mixer.c: (main):
32160         * examples/thread/thread.c: (eos), (main):
32161         * gst/Makefile.am:
32162         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32163         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32164         (gst_spider_plug_from_srcpad):
32165         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32166         (gst_spider_identity_change_state),
32167         (gst_spider_identity_sink_loop_type_finding):
32168         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32169         * gst/elements/gstidentity.c: (gst_identity_init):
32170         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32171         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32172         * gst/elements/gsttypefindelement.c: (free_entry):
32173         * gst/gst.c:
32174         * gst/gst.h:
32175         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32176         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32177         (gst_bin_set_index), (gst_bin_set_element_sched),
32178         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32179         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32180         (gst_bin_iterate_elements), (iterate_child_recurse),
32181         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32182         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32183         (compare_interface), (gst_bin_get_by_interface),
32184         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32185         * gst/gstbin.h:
32186         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32187         (gst_buffer_default_free), (gst_buffer_default_copy),
32188         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32189         (gst_buffer_create_sub):
32190         * gst/gstbuffer.h:
32191         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32192         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32193         (gst_caps_unref), (gst_static_caps_get),
32194         (gst_caps_remove_and_get_structure), (gst_caps_append),
32195         (gst_caps_append_structure), (gst_caps_remove_structure),
32196         (gst_caps_copy_nth), (gst_caps_set_simple),
32197         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32198         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32199         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32200         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32201         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32202         (gst_caps_structure_figure_out_union),
32203         (gst_caps_switch_structures), (gst_caps_do_simplify),
32204         (gst_caps_replace), (gst_caps_from_string),
32205         (gst_caps_copy_conditional):
32206         * gst/gstcaps.h:
32207         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32208         (_gst_clock_id_free), (gst_clock_id_unref),
32209         (gst_clock_id_compare_func), (gst_clock_id_wait),
32210         (gst_clock_id_wait_async), (gst_clock_class_init),
32211         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32212         (gst_clock_get_time), (gst_clock_set_time_adjust),
32213         (gst_clock_set_property), (gst_clock_get_property):
32214         * gst/gstclock.h:
32215         * gst/gstcompat.h:
32216         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32217         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32218         * gst/gstdata.h:
32219         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32220         (gst_element_requires_clock), (gst_element_provides_clock),
32221         (gst_element_set_clock), (gst_element_clock_wait),
32222         (gst_element_wait), (gst_element_set_time_delay),
32223         (gst_element_is_indexable), (gst_element_add_pad),
32224         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32225         (pad_compare_name), (gst_element_get_static_pad),
32226         (gst_element_request_pad), (gst_element_get_request_pad),
32227         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32228         (gst_element_class_get_pad_template_list),
32229         (gst_element_class_get_pad_template), (gst_element_error_func),
32230         (gst_element_get_random_pad), (gst_element_get_event_masks),
32231         (gst_element_send_event), (gst_element_seek),
32232         (gst_element_get_query_types), (gst_element_query),
32233         (gst_element_get_formats), (gst_element_convert),
32234         (gst_element_is_locked_state), (gst_element_set_locked_state),
32235         (gst_element_sync_state_with_parent), (gst_element_change_state),
32236         (gst_element_finalize), (gst_element_yield),
32237         (gst_element_interrupt), (gst_element_set_scheduler),
32238         (gst_element_get_scheduler), (gst_element_set_loop_function):
32239         * gst/gstelement.h:
32240         * gst/gstevent.h:
32241         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32242         (gst_format_get_by_nick), (gst_format_get_details),
32243         (gst_format_iterate_definitions):
32244         * gst/gstformat.h:
32245         * gst/gstindex.c: (gst_index_gtype_resolver):
32246         * gst/gstinfo.c:
32247         * gst/gstinfo.h:
32248         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32249         (gst_mem_chunk_free):
32250         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32251         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32252         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32253         (gst_object_dispatch_properties_changed),
32254         (gst_object_set_name_default), (gst_object_set_name),
32255         (gst_object_get_name), (gst_object_set_name_prefix),
32256         (gst_object_get_name_prefix), (gst_object_set_parent),
32257         (gst_object_get_parent), (gst_object_unparent),
32258         (gst_object_check_uniqueness), (gst_object_save_thyself),
32259         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32260         (gst_object_set_property), (gst_object_get_property),
32261         (gst_object_get_path_string):
32262         * gst/gstobject.h:
32263         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32264         (gst_real_pad_init), (gst_real_pad_get_property),
32265         (gst_pad_custom_new), (gst_pad_get_direction),
32266         (gst_pad_set_active), (gst_pad_is_active),
32267         (gst_pad_set_event_function), (gst_pad_is_linked),
32268         (gst_pad_link_free), (gst_pad_link_intersect),
32269         (gst_pad_link_fixate), (gst_pad_set_caps),
32270         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32271         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32272         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32273         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32274         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32275         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32276         (gst_pad_realize), (gst_pad_get_allowed_caps),
32277         (gst_real_pad_dispose), (gst_real_pad_finalize),
32278         (gst_pad_collectv), (gst_pad_collect_valist),
32279         (gst_pad_template_dispose), (gst_pad_template_new),
32280         (gst_pad_get_internal_links):
32281         * gst/gstpad.h:
32282         * gst/gstpipeline.c: (gst_pipeline_dispose),
32283         (gst_pipeline_change_state):
32284         * gst/gstpipeline.h:
32285         * gst/gstplugin.c:
32286         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32287         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32288         * gst/gstpluginfeature.h:
32289         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32290         * gst/gstquery.c: (_gst_query_type_initialize),
32291         (gst_query_type_register), (gst_query_type_get_by_nick),
32292         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32293         * gst/gstquery.h:
32294         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32295         * gst/gstscheduler.c: (gst_scheduler_add_element),
32296         (gst_scheduler_factory_create):
32297         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32298         (gst_structure_free), (gst_structure_set_name),
32299         (gst_structure_id_set_value), (gst_structure_set_value),
32300         (gst_structure_set_valist), (gst_structure_remove_field),
32301         (gst_structure_remove_fields),
32302         (gst_structure_remove_fields_valist),
32303         (gst_structure_remove_all_fields), (gst_structure_foreach),
32304         (gst_structure_map_in_place),
32305         (gst_caps_structure_fixate_field_nearest_int),
32306         (gst_caps_structure_fixate_field_nearest_double):
32307         * gst/gststructure.h:
32308         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32309         (gst_system_clock_init), (gst_system_clock_dispose),
32310         (gst_system_clock_async_thread),
32311         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32312         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32313         * gst/gstsystemclock.h:
32314         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32315         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32316         * gst/gsttaginterface.c:
32317         * gst/gstthread.c: (gst_thread_dispose),
32318         (gst_thread_release_children_locks), (gst_thread_change_state),
32319         (gst_thread_main_loop):
32320         * gst/gsttrashstack.h:
32321         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32322         * gst/gsttypes.h:
32323         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32324         (gst_element_request_pad), (gst_element_get_pad_from_template),
32325         (gst_element_request_compatible_pad),
32326         (gst_element_get_compatible_pad_filtered),
32327         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32328         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32329         (gst_element_link_many), (gst_element_link),
32330         (gst_element_link_pads), (gst_element_unlink_pads),
32331         (gst_element_unlink_many), (gst_element_unlink),
32332         (gst_pad_can_link_filtered), (gst_pad_can_link),
32333         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32334         (gst_object_default_error), (gst_bin_add_many),
32335         (gst_bin_remove_many), (gst_element_populate_std_props),
32336         (gst_element_class_install_std_props), (gst_buffer_merge),
32337         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32338         (link_fold_func), (gst_pad_proxy_setcaps):
32339         * gst/gstutils.h:
32340         * gst/gstvalue.c: (gst_value_deserialize_string):
32341         * gst/parse/grammar.y:
32342         * gst/schedulers/gstbasicscheduler.c:
32343         (gst_basic_scheduler_cothreaded_chain),
32344         (gst_basic_scheduler_chain_recursive_add),
32345         (gst_basic_scheduler_pad_link):
32346         * gst/schedulers/gstoptimalscheduler.c:
32347         (get_group_schedule_function),
32348         (gst_opt_scheduler_state_transition),
32349         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32350         * libs/gst/bytestream/bytestream.c:
32351         * libs/gst/dataprotocol/dataprotocol.c:
32352         (gst_dp_header_from_buffer):
32353         * po/nb.po:
32354         * po/ru.po:
32355         * tests/threadstate/threadstate2.c: (eos):
32356         * tools/gst-compprep.c: (main):
32357         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32358         (print_pad_info), (print_children_info):
32359         * tools/gst-launch.c: (idle_func), (main):
32360         * tools/gst-md5sum.c: (idle_func), (main):
32361         * tools/gst-xmlinspect.c: (print_element_info):
32362         First THREADED backport attempt, focusing on adding locks and
32363         making sure the API is threadsafe. Needs more work. More docs
32364         follow this week.
32365
32366 2005-02-24  Andy Wingo  <wingo@pobox.com>
32367
32368         * tests/bench-complexity.scm:
32369         * tests/complexity.gnuplot: New files, good for running complexity
32370         benchmarks.
32371
32372         * tests/Makefile.am:
32373         * tests/complexity.c: New test, sets up N elements, at each level
32374         teeing into M streams per element. Eeeenteresting.
32375
32376         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32377         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32378         running bench-mass_elements.scm.
32379
32380         * tests/bench-mass_elements.scm: New script, runs mass_elements
32381         for various numbers of identities, outputting the results to a
32382         file. Requires guile 1.6. Just for testing.
32383
32384 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32385
32386         * gst/schedulers/fairscheduler.c:
32387           compile with debug disabled
32388
32389 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32390
32391         * configure.ac:
32392           hunting season on 0.9 is now OPEN